fix(#2376): emit absolute subagent-facing paths from init/state, convert workflow literals (#2428)

* fix(#2376): emit absolute subagent-facing init/state paths

Make init.* and state.* path fields absolute rather than cwd-relative
so subagent prompts resolve correctly regardless of working directory.
Adds intel_dir/conflicts_path/requirements_path/roadmap_path/state_path
to cmdInitIngestDocs, an absolute debug_dir to cmdStateLoad, and
replaces bare .planning/... literals in 12 workflow Agent() prompt
blocks with the absolute init-JSON path fields. Includes decoy-cwd
regression tests and realpath'd tmpdir fixtures for macOS.

Squashed rebase of the #2376 commit series onto a fresh origin/next
(previous merge ee25543a1 was against a now-stale next).

* chore(#2376): add changeset

* chore(#2376): regenerate golden fixtures + workflow size baseline

Regenerated after rebasing the absolute-path fix onto current next
(picks up #2351's run-with-timeout content in execute-phase.md too).

* fix(#2376): trim execute-phase.md redundancy to stay under the size margin

* chore(#2376): regenerate golden/size baseline after rebase onto next
This commit is contained in:
Tom Boucher
2026-07-19 15:43:48 -04:00
committed by GitHub
parent d04e287fa9
commit 1a46bc068a
42 changed files with 905 additions and 510 deletions

View File

@@ -14,8 +14,8 @@
"code-review-fix.md": 24320,
"code-review.md": 32524,
"complete-milestone.md": 31071,
"debug.md": 19031,
"diagnose-issues.md": 12864,
"debug.md": 19370,
"diagnose-issues.md": 12858,
"discovery-phase.md": 8651,
"discuss-phase-assumptions.md": 27302,
"discuss-phase-power.md": 11273,
@@ -24,7 +24,7 @@
"docs-update.md": 55706,
"edit-phase.md": 12927,
"eval-review.md": 9967,
"execute-phase.md": 93395,
"execute-phase.md": 93384,
"execute-plan.md": 34262,
"explore.md": 10541,
"extract-learnings.md": 12893,
@@ -33,19 +33,19 @@
"graduation.md": 11622,
"health.md": 11868,
"help.md": 1722,
"import.md": 14648,
"import.md": 14636,
"inbox.md": 14407,
"ingest-docs.md": 18380,
"ingest-docs.md": 18870,
"insert-phase.md": 8987,
"list-phase-assumptions.md": 4305,
"list-seeds.md": 6987,
"list-workspaces.md": 5699,
"manager.md": 27302,
"map-codebase.md": 20833,
"map-codebase.md": 20817,
"milestone-summary.md": 11842,
"mvp-phase.md": 13626,
"new-milestone.md": 37581,
"new-project.md": 66182,
"new-milestone.md": 37624,
"new-project.md": 66184,
"new-workspace.md": 11298,
"next.md": 20138,
"node-repair.md": 4173,
@@ -53,19 +53,19 @@
"onboard.md": 8590,
"pause-work.md": 14441,
"plan-milestone-gaps.md": 11809,
"plan-phase.md": 94387,
"plan-phase.md": 94391,
"plan-review-convergence.md": 23713,
"plant-seed.md": 11785,
"pr-branch.md": 15963,
"profile-user.md": 21246,
"progress.md": 31789,
"quick.md": 50699,
"quick.md": 50993,
"reapply-patches.md": 20312,
"remove-phase.md": 8513,
"remove-workspace.md": 7551,
"resume-project.md": 17270,
"review.md": 50497,
"scan.md": 7732,
"scan.md": 7728,
"secure-phase.md": 13622,
"session-report.md": 4044,
"settings-advanced.md": 40019,
@@ -89,5 +89,5 @@
"update.md": 20914,
"validate-phase.md": 10849,
"verify-phase.md": 40949,
"verify-work.md": 40247
"verify-work.md": 40265
}