Codex Docs Change Sync
Purpose
Identify documentation that is likely affected by code changes.
Activation
- •Activate during workflow
docssteps. - •Activate on explicit
$codex-docs-change-sync.
Script Invocation
- •Windows:
python "$env:USERPROFILE\.codex\skills\codex-docs-change-sync\scripts\map_changes_to_docs.py" --project-root <path> --diff-scope <scope> - •macOS/Linux:
python "$HOME/.codex/skills/codex-docs-change-sync/scripts/map_changes_to_docs.py" --project-root <path> --diff-scope <scope>
Enhanced Diff Scope
If scope is not specified, use auto mode:
- •staged changes
- •unstaged changes
- •last commit
Report which scope was selected.
Behavior
- •Run script and parse JSON output.
- •Report changed files and candidate docs with reason/confidence.
- •Keep MVP in report-only mode; do not auto-edit docs unless user requests it.
Fallback
If script cannot run, inspect diffs manually and report likely docs:
docs/, README.md, CHANGELOG.md, and module-specific docs.