# Check an AI plan’s file map before code changes begin

Canonical: https://githtml.com/guides/review-ai-plan-file-change-map
Published: 2026-12-03
Publisher: WaveTech LLC / gitHtml

A file map should explain why each proposed change is needed and how the pieces relate. Check it against the actual repository revision before trusting it. The goal is to catch surprising scope and missing dependencies, not to assume that an agent must predict every line before it starts implementation.

## Require a purpose for each file

A list of paths becomes useful when each path has a reason. Ask whether the file contains user interface, domain behavior, persistence, configuration, or verification. A login change touching a marketing carousel deserves an explanation. Conversely, a new persisted setting with no storage change may reveal a missing step. Read the map as a dependency story rather than judging its quality by the number of files named.

## Separate existing and proposed paths

An agent can confidently cite a file that does not exist or use a naming convention from a different project. Mark existing paths separately from new ones. Back at your development environment, verify the important locations against the specified revision. gitHtml renders the HTML plan; it does not inspect the repository code to validate those references. Treat the report as an index to investigate, not as a verified inventory.

## Look for ownership and generated output

Identify files maintained by a generator, package manager, migration system, or another team. Editing generated output without its source can create a change that disappears on the next build. Configuration may also affect more than the feature under discussion. Ask which command or source produces each derived artifact and whether the proposed modification belongs there. Keep unrelated local edits outside the implementation's intended scope.

## Use uncertainty to define a checkpoint

A useful map can say that an integration point needs investigation. Ask the agent to pause and update the plan if that investigation changes the approach materially. This is more honest than an overly precise file list built on guesses. Record the few surprising paths as questions in your reading notes, then resolve them before approving a broad change. Small discoveries can proceed within the agreed scope without turning the plan into bureaucracy.

1. Label existing files, new files, generated output, and shared configuration.
2. Ask why every surprising path belongs in the change.
3. Define when a discovery requires a revised plan rather than silent scope growth.

## Sources and further reading

- [gitHtml product capabilities](https://githtml.com/)

## Related guides

- [Build an evidence ledger for AI-generated documentation](https://githtml.com/guides/ai-documentation-evidence-ledger)
- [Review configuration changes without exposing secrets](https://githtml.com/guides/review-configuration-changes)
- [Check AI document summaries for missing conditions and decisions](https://githtml.com/guides/review-ai-summary-critical-omissions)
- [Check version and platform claims in AI-written documentation](https://githtml.com/guides/verify-ai-compatibility-version-claims)

Editorial approach: https://githtml.com/guides/about
