You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
context: worker prompt — de-duplicate the deliverable-file law #243
worker prompt: de-duplicate the deliverable-file law
Parent: none — independent of #228 family (prompt hygiene)
Problem
Task workers inherit both system.md (chat law: "name full absolute paths in your reply") and task.md (worker law: "your report is all they get; name full absolute paths"). The layering is defensible — but the deliverable-file rule is stated twice in the worker's composite prompt because task.md repeats it verbatim for workers who also read system.md.
Slimming is constrained by the manual law (every slash command, alias, and tool must stay mentioned), so this is a careful surgical edit, not a deletion.
Acceptance
For InTask configs, renderSystemAt does not include the duplicate deliverable-path paragraph from system.md when task.md already carries it (or task.md drops the repeat because system.md has it — pick one owner).
All manual gates pass; the law remains stated once, in the page the worker actually reads.
Data point from today's dev (32fd51c, after #254's trim closed #238): the fixed prefix sits at 47,745 of 48,000 — 255 bytes (~0.5%) of headroom, and #254's commit-message arithmetic (47,168 / 832 under) no longer matches the merged tree (~577 bytes of prompt came back between the sub-commit and the merge). The next prompt or tool landing re-opens #238 almost immediately; this issue's de-duplication is the cheapest headroom available.
Activity
santoshkumarradha commentedon Sep 1, 2026
Data point from today's dev (32fd51c, after #254's trim closed #238): the fixed prefix sits at 47,745 of 48,000 — 255 bytes (~0.5%) of headroom, and #254's commit-message arithmetic (47,168 / 832 under) no longer matches the merged tree (~577 bytes of prompt came back between the sub-commit and the merge). The next prompt or tool landing re-opens #238 almost immediately; this issue's de-duplication is the cheapest headroom available.