mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-11-17 21:50:53 +08:00
repo_context() printed the first 120 tracked paths alphabetically, which stopped at config/ on an 846-file tree, so the model never saw docs/ or scripts/ and told a contributor on issue #271 that neither directory exists. The summary now lists the root files, every top-level directory with its file count, the second level, and the workflow, migration, docs and script paths. Both prompts also state that the summary is not a listing, so a path missing from it is never reported as a path that does not exist. scripts/test-bot-context.sh guards the invariant in the shell CI job: every top-level directory must appear in the summary. It fails against the previous version, which is the point.