Files
oh-my-pi/packages/coding-agent
Miroslav Drbal ea113ea1d2 Restore MUST weight and variadic-capture guardrail in tool prompts
Review-pass findings:

1. python.md (P3) — "Put workflow explanations in assistant message or
   cell title" lost its **MUST** weight during compression. Agents were
   observed embedding explanations as in-cell comments, polluting the
   kernel and wasting tokens. Restored as "You **MUST** put workflow
   explanations in the assistant message or cell title — never inside
   cell code."

2. ast-grep.md + ast-edit.md (P3) — The variadic-capture warning that
   $$$NAME (three dollars) is correct and $$NAME (two dollars) is
   invalid was dropped during compression. LLMs trained on shell/regex
   conventions where $$ is common are prone to this mistake; ast-grep
   emits a generic parse error rather than a "bad metavariable"
   diagnostic, so the negative example has direct reproduction value.
   Added "Use $$$NAME, **NOT** $$NAME" to both files.

All 6/6 template tests pass; bun check clean.
2026-04-23 22:59:38 +02:00
..
2026-04-17 18:50:13 +02:00

@oh-my-pi/pi-coding-agent

Core implementation package for the omp coding agent in the oh-my-pi monorepo.

For installation, setup, provider configuration, model roles, slash commands, and full CLI reference, see:

Package-specific references: