Document map drafting and the promote-map step #882
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.
Depends on
Reference
jared/cc-os#882
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
ADR-0258 decision 9 lets map-router draft
maps/drafts/<name>.yaml, and makes promotion tomaps/a human decision driven by recurrence. The map-making skill and the map-router agent (#869) teach selection only.plugins/os-sdlc/references/escalation-procedure.mdstep 4 has no step where the orchestrator assesses whether a misfit will recur and captures a "promote map X" ticket.Reproduce
n/a: prose change, nothing to reproduce.
Approach
plugins/os-sdlc/skills/map-making/SKILL.md: add a drafting section. When to draft (no approved map'sfits:matches); where (<drafts root>/<name>.yaml, where the drafts root isMap.drafts_dir(env), the per-user data directory in ADR-0264); what a draft must hold (name,fits,entries, the waiting node, the map-router node, escalate routes, and every path from an entry tomerge-readythroughrequired-workandsuite); how to read a validator error from the reroute gate and redraft (at most 2 rounds).plugins/os-sdlc/agents/map-router.md: say when to draft instead of select, and that a drafted map is a file under the catalog drafts root (Map.drafts_dir(env)) and the handoff carries no draft flag.plugins/os-sdlc/references/escalation-procedure.md: add the recurrence step. Beforeos-sdlc-reroute-request, the orchestrator decides whether this ticket shape is likely to recur. If yes, it lets map-router draft and captures a "promote map " ticket with/os-backlog:capture. Promotion tomaps/stays a human decision, and it ismv <drafts root>/<name>.yaml plugins/os-sdlc/maps/<name>.yamlfollowed bygit add, notgit mv, because a draft is unversioned until promoted (ADR-0264, amending ADR-0261; no Ruby promotion method). Each later run that would have used the draft is recorded as anos-backlog occurrencecomment on the "promote map " ticket; that is the usage evidence for the decision. Drafts are never selectable by change-auditor reroutes.Required work:
Map.drafts_dirinplugins/os-sdlc/skills/map-making/SKILL.mdMap.drafts_dirinplugins/os-sdlc/agents/map-router.mdpromote mapinplugins/os-sdlc/references/escalation-procedure.mdAcceptance criteria
fits:matches, then the skill tells it where to write a draft, what the draft must contain, and how to redraft from a reroute-gate validator error.mvplusgit add, plus occurrence comments on that ticket.Owner sketch
n/a: prose only.
Authoring guidance (user ruling, verbatim)
Use existing project agents/skills (plugins/os-sdlc/agents/.md, plugins/os-sdlc/skills/) as examples, plus the orwell-writing skill, the os-sdlc:technical-communication skill, cc-architect (plugins/cc-architect, incl. references/conventions/cc-os-naming.md: never
name:in SKILL.md frontmatter, no commands/ dir), and the mattpocock-skills:writing-for-agents skill, to guide language and structure.Origin
Parent: #859
Blocked by: #869, #874, #881
Work started on branch ticket-882 (os-sdlc pipeline, map poodr-ticket-implementation).
Resolution
Done: Documented map drafting and promotion. map-making SKILL.md gains a Draft a map section (drafts root Map.drafts_dir(env), redraft from map-update validator errors, (drafted) label, promotion is a human step). map-router.md: drafts one map when none fits and the misfit will recur; write the file, then map-update, fix and rerun on refusal; description updated. escalation-procedure.md step 4: recurrence decision, promote-map ticket via capture, promotion by mv plus index add per ADR-0264, occurrence comments per ADR-0261 decision 6, change-auditor reroutes never select a draft.
Evidence: Branch ticket-882:
15e15981,494861a8,d2aaf0e2. Required-work greps: Map.drafts_dir in map-making SKILL.md (1), Map.drafts_dir in map-router.md (1), promote map in escalation-procedure.md (1). Hand-finished: implementation 15 escalated unexpected_pass (prose-only) and was abandoned with reason.Follow-ups: Dropped: whether os-backlog occurrence accepts a non-recurring promote-map ticket is unverified; ADR-0261 decision 6 prescribes it and the CLI fails loudly if it refuses, so the first real promote ticket settles it.