Files
clawmates/crates
Omar SobhandClaude Opus 5 a50c41a9c2
deploy / build (push) Canceled after 0s
deploy / test (push) Canceled after 2m12s
feat(skills): the skills section comes right after the identity paragraph, not last
`compose_turn_prompt` appended `# Your skills` after the task, the tool list,
the workspace rules and the marker contract — 87–90% of the way into a 6 KB
prompt. It is the one section that asks the agent to do something BEFORE it
starts (read a procedure), and on the three `index`-arm runs the agents'
narratives never mentioned it. Position was the untested lever in the
retrieval work; this puts the section second, after "You are the … agent"
and before "Task:", and measures it on the next mission.

The readers (`mode_in_prompt`, `skill_was_indexed`, `skill_names_in`) match
lines, not offsets, so every stored prompt still scores. Two tests pin the
order.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WZb5A2kfVfjpdwSochkuHz
2026-09-18 22:36:45 -05:00
..