Audit agent-to-agent steps that pass markdown where YAML or JSON belongs #1290
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
rule-proposal
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#1290
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Jared's standing rule: agent output that code or another agent reads is machine-readable (JSON or YAML). Some os-* steps still pass markdown or
Key: valueline blocks that code parses with regexes. Each such parser breaks silently when a model adds bold, a heading, a code fence, or reorders lines. No list of these steps exists, so each one is found only when it fails.Deliverable: a table with one row per step that passes agent output to code or to another agent:
Then one follow-up ticket, through
/os-backlog:capture, for each conversion worth doing. A row whose consumer is a human only gets no ticket.Scope: the os-* plugins in
plugins/: agent definitions (agents/*.md), skills (skills/*/SKILL.mdand their references), the os-me StoreENTRY.md(~/dev/os-me-store/ENTRY.md), and the hooks and CLIs that parse agent output.Observed
The os-me predictor returns a
Key: valueline block that regexes parse.~/dev/os-me-store/ENTRY.mdsection 5, lines 50-52 and on (PREDICTION,Action:,Toward:,He would type:,Why:,Confidence:), plus the four lever linesSource:,Cost:,Band:,Evidence:thatplugins/os-me/skills/predict/SKILL.md:27adds.plugins/os-me/lib/os_me/prediction_parser.rb:6(RULING),:7(CONFIDENCE, which allows optional**bold),:10(LEVER_LINES).plugins/os-me/lib/os_me/cli/append_request.rb:12and:17(append, called by the Stop hookrecord_prediction.rb).Reproduce
n/a: audit ticket
Origin
plugins/os-me/lib/os_me/prediction_parser.rb:6-10) ← agent output specified asKey: valuelines (~/dev/os-me-store/ENTRY.mdsection 5) ← DESIGN: no rule at write time that agent-to-code output is JSON or YAMLVERDICT: CREATE (user-approved; backlog search only)