8000 chore(agents): enforce rules in checks and prune agent text by aorumbayev · Pull Request #193 · kagan-sh/kagan · GitHub
[go: up one dir, main page]

Skip to content

chore(agents): enforce rules in checks and prune agent text - #193

Merged
aorumbayev merged 16 commits into
mainfrom
audit-agent-text-to-checks
Dec 5, 2026
Merged

aorumbayev merged 16 commits into
mainfrom
audit-agent-text-to-checks

Conversation

@aorumbayev
@aorumbayev aorumbayev commented Dec 4, 2026 •
Copy link
Copy Markdown
Member

What

Rules a script can check are now checked, and the root agent rules shrink from 12 KB to 6.8 KB. CI fails a PR title of 70 characters or more, a body that breaks the template, a feat or fix that changes core or domain code without docs/behaviour.md (Behaviour: unchanged waives it), anyhow outside kg, a dead_code allow, a tracked CLAUDE.md or GEMINI.md, and a banned word in agent rules.

Why

A pre-registered ablation ran one bug fix 3 times each with full, domain-only and minimal rules: medians 9.0, 9.0 and 8.5 of 10. The text that task exercised earned nothing, and 4 of 6 runs with the behaviour.md rule in context skipped it.

Notes

Rules the task could not test stay, shortened; the cuts are restatements or check-covered. opencode.json is gone: OpenCode loads a crate's AGENTS.md when the agent reads a file there (checked on this machine). Decision 312 follows main's 311. feat/chat-attach also uses 312 and renumbers when it lands after this PR.

@aorumbayev
aorumbayev marked this pull request as ready for review December 4, 2026 23:59
@aorumbayev
aorumbayev merged commit 958d5b9 into main Dec 5, 2026
28 of 29 checks passed
@aorumbayev
aorumbayev deleted the audit-agent-text-to-checks branch December 5, 2026 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0