Define the weighted-decision block format and threshold sweep #248
Labels
No labels
P0
P1
P2
P3
bug
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
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#248
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?
Map: #239
Blocked by #241
Question
What is the machine-parseable format for weighted-recommendation decision blocks in ticket bodies (percentage, reasoning, reversal cost), and how does the recommender-blind sweep read them — where does the threshold live so the recommending agent can never see it?
Resolution
Decided (grilling session 2026-08-04):
recommendation,confidence(integer %),reversal_cost(cheap|moderate|expensive),reasoning(one line). Prose A/B analysis (decision-memo format) stays in ordinary markdown above it. Renders legibly for humans, parses with any YAML loader, and a missing/malformed block is trivially detectable.plugins/os-backlog/(e.g.bin/decision-sweep): fetches decision children, parses the blocks, emits pass/fail. The recommending agent's skill never mentions the number — blindness holds structurally because the gate is code the recommender never loads (same principle as os-sdlc's gate-logic-in-Ruby rule). Rejected: config-file (readable by any agent, blindness by convention only) and prompt-held threshold.reversal_cost: cheap): sweep adopts the recommendation and closes the child with the three-part resolution comment (#244) citing the block. Fail (below threshold, non-cheap reversal, or malformed/missing block): comment naming the failed gate +ready-for-human, stays open for HITL. Composes with #240's no-partial-execution rule: assembly still waits for every decision child to close, by either path.Implementation of the CLI itself is sequencing fog for after this map (related: #186 deterministic ticket-filing CLI surface).
Amendment (2026-08-04, post-review)
Two clarifications folded into the merged design (
docs/os-backlog-lifecycle.md,ea9d019) after Codex review of spec #250: (a) the sweep-failureready-for-humanexplicitly overrides #246's wayfinder readiness-label exemption (sweep verdict, not readiness tier — ADR-0096 amended); (b) linkage grammar: refine appendsBlocked by #NNNto the parent ticket per decision child, and "all children closed" is computed from those lines; an unfetchable reference is a validation failure. Mutation ordering: comment first, then labels/close; re-runs idempotent.