|
| 1 | +--- |
| 2 | +id: IP-083.PHASE-01 |
| 3 | +slug: 083-strengthen_audit_to_spec_reconciliation_and_spec_revision_authorship_skills-phase-01 |
| 4 | +name: "IP-083 Phase 01 — Apply authorship skill changes" |
| 5 | +created: '2026-03-09' |
| 6 | +updated: '2026-03-09' |
| 7 | +status: draft |
| 8 | +kind: phase |
| 9 | +--- |
| 10 | + |
| 11 | +```yaml supekku:phase.overview@v1 |
| 12 | +schema: supekku.phase.overview |
| 13 | +version: 1 |
| 14 | +phase: IP-083.PHASE-01 |
| 15 | +plan: IP-083 |
| 16 | +delta: DE-083 |
| 17 | +objective: >- |
| 18 | + Update the affected skills and direct governance surfaces so the settled |
| 19 | + audit-to-spec authorship path is executable without reopening design. |
| 20 | +entrance_criteria: |
| 21 | + - DR-083 resolves the dedicated-skill question and the branch criteria |
| 22 | + - DE-079 boundary is accepted: no schema or gating changes in this phase |
| 23 | + - Direct revision targets are identified as PROD-011 and SPEC-151 |
| 24 | +exit_criteria: |
| 25 | + - audit-change teaches existing-spec patch -> revision -> revision-led new spec |
| 26 | + - shape-revision teaches post-audit triage, doctrine pass, and section-by-section authorship |
| 27 | + - PROD-011 reflects the canonical audit-to-spec reconciliation path and concession posture |
| 28 | + - SPEC-151 states the strengthened skills subsystem responsibilities |
| 29 | + - Need for PROD-001 or PROD-002 edits is resolved and any required edits are applied |
| 30 | + - Installed skill copies and delta docs are reconciled after the packaged changes |
| 31 | +verification: |
| 32 | + tests: |
| 33 | + - uv run spec-driver skills sync |
| 34 | + - uv run spec-driver show delta DE-083 |
| 35 | + evidence: |
| 36 | + - Updated packaged and installed skill wording for audit-change and shape-revision |
| 37 | + - Revised PROD-011 and SPEC-151 text aligned with DR-083 |
| 38 | + - Notes capturing whether PROD-001 and PROD-002 required direct changes |
| 39 | +tasks: |
| 40 | + - id: "1.1" |
| 41 | + title: Update audit-change with explicit authorship ordering |
| 42 | + status: todo |
| 43 | + - id: "1.2" |
| 44 | + title: Upgrade shape-revision into the post-audit authorship loop |
| 45 | + status: todo |
| 46 | + - id: "1.3" |
| 47 | + title: Reassess spec-driver wording for the revision-led create-spec branch |
| 48 | + status: todo |
| 49 | + - id: "1.4" |
| 50 | + title: Revise PROD-011 for canonical audit-to-spec reconciliation |
| 51 | + status: todo |
| 52 | + - id: "1.5" |
| 53 | + title: Replace the SPEC-151 stub boundary with explicit responsibilities |
| 54 | + status: todo |
| 55 | + - id: "1.6" |
| 56 | + title: Patch PROD-001 or PROD-002 only if implementation proves a direct wording gap |
| 57 | + status: todo |
| 58 | + - id: "1.7" |
| 59 | + title: Sync installed skills and reconcile DE/IP/notes |
| 60 | + status: todo |
| 61 | +risks: |
| 62 | + - description: New-spec wording could drift into a peer audit disposition and conflict with DE-079 |
| 63 | + mitigation: Keep the new-spec case nested under revision in every touched surface |
| 64 | + - description: Direct spec revisions could sprawl into collaborator surfaces without clear need |
| 65 | + mitigation: Treat PROD-001 and PROD-002 as opt-in edits gated by explicit wording gaps |
| 66 | +``` |
| 67 | +
|
| 68 | +```yaml supekku:phase.tracking@v1 |
| 69 | +schema: supekku.phase.tracking |
| 70 | +version: 1 |
| 71 | +phase: IP-083.PHASE-01 |
| 72 | +``` |
| 73 | +
|
| 74 | +# Phase 1 - Apply authorship skill changes |
| 75 | +
|
| 76 | +## 1. Objective |
| 77 | +Update the skills and direct governance surfaces identified by DR-083 so the |
| 78 | +post-audit authorship path is concrete enough to execute without re-opening the |
| 79 | +design questions. |
| 80 | +
|
| 81 | +## 2. Links & References |
| 82 | +- **Delta**: DE-083 |
| 83 | +- **Design Revision Sections**: |
| 84 | + - Foundational Triage |
| 85 | + - Architecture Intent / Branch Criteria |
| 86 | + - Code Impact Summary |
| 87 | + - Readiness Outcome |
| 88 | +- **Specs / PRODs**: |
| 89 | + - `PROD-011` |
| 90 | + - `SPEC-151` |
| 91 | + - `PROD-001` (collaborator surface; edit only if needed) |
| 92 | + - `PROD-002` (collaborator surface; edit only if needed) |
| 93 | +- **Support Docs**: |
| 94 | + - `supekku/skills/audit-change/SKILL.md` |
| 95 | + - `supekku/skills/shape-revision/SKILL.md` |
| 96 | + - `supekku/skills/spec-driver/SKILL.md` |
| 97 | + - `.spec-driver/deltas/DE-055-tighten_skill_routing_and_boot_time_workflow_guidance/DR-055.md` |
| 98 | + - `.spec-driver/deltas/DE-079-implement_canonical_audit_reconciliation_contract/DR-079.md` |
| 99 | + |
| 100 | +## 3. Entrance Criteria |
| 101 | +- [x] DR-083 resolves the dedicated-skill question and branch criteria |
| 102 | +- [x] Direct vs collaborator governance surfaces are identified |
| 103 | +- [x] DE-079 ownership boundary is clear and excludes runtime/schema changes from this phase |
| 104 | + |
| 105 | +## 4. Exit Criteria / Done When |
| 106 | +- [ ] `audit-change` teaches `spec_patch -> revision -> revision-led new spec` |
| 107 | +- [ ] `shape-revision` teaches post-audit triage, doctrine consultation, and section-by-section authorship |
| 108 | +- [ ] `PROD-011` reflects the canonical audit-to-spec reconciliation path |
| 109 | +- [ ] `SPEC-151` captures the strengthened skills subsystem responsibilities |
| 110 | +- [ ] Need for `PROD-001` or `PROD-002` edits is resolved, with any required edits applied |
| 111 | +- [ ] Packaged and installed skill copies are synchronized and DE/IP/notes reflect the work |
| 112 | + |
| 113 | +## 5. Verification |
| 114 | +- Tests to run: |
| 115 | + - `uv run spec-driver skills sync` |
| 116 | + - `uv run spec-driver show delta DE-083` |
| 117 | +- Tooling/commands: |
| 118 | + - `sed -n '1,260p' supekku/skills/audit-change/SKILL.md` |
| 119 | + - `sed -n '1,260p' supekku/skills/shape-revision/SKILL.md` |
| 120 | + - `sed -n '1,260p' .spec-driver/product/PROD-011/PROD-011.md` |
| 121 | + - `sed -n '1,200p' .spec-driver/tech/SPEC-151/SPEC-151.md` |
| 122 | +- Evidence to capture: |
| 123 | + - packaged and installed skill wording matches the DR-083 branch criteria |
| 124 | + - direct governance surfaces match the settled authorship boundary |
| 125 | + - notes record whether collaborator surfaces stayed untouched or required edits |
| 126 | + |
| 127 | +## 6. Assumptions & STOP Conditions |
| 128 | +- Assumptions: |
| 129 | + - `spec-driver create spec` remains sufficient for the rare revision-led new-spec branch |
| 130 | + - no new audit disposition kind is required beyond `spec_patch` and `revision` |
| 131 | +- STOP when: |
| 132 | + - implementation reveals a need to change DE-079 audit schema, validation, or gate behaviour |
| 133 | + - a dedicated spec-authoring skill becomes necessary to express the design cleanly |
| 134 | + - required governance edits expand beyond `PROD-011`, `SPEC-151`, `PROD-001`, and `PROD-002` |
| 135 | + |
| 136 | +## 7. Tasks & Progress |
| 137 | +*(Status: `[ ]` todo, `[WIP]`, `[x]` done, `[blocked]`)* |
| 138 | + |
| 139 | +| Status | ID | Description | Parallel? | Notes | |
| 140 | +| --- | --- | --- | --- | --- | |
| 141 | +| [ ] | 1.1 | Update `audit-change` with explicit authorship ordering | [ ] | Closure-grade skill surface | |
| 142 | +| [ ] | 1.2 | Upgrade `shape-revision` into the post-audit authorship loop | [ ] | Reuse DR authoring patterns where justified | |
| 143 | +| [ ] | 1.3 | Reassess `spec-driver` wording for revision-led `create spec` | [P] | Only if current wording leaves a real gap | |
| 144 | +| [ ] | 1.4 | Revise `PROD-011` for canonical audit-to-spec reconciliation | [ ] | Direct governance target | |
| 145 | +| [ ] | 1.5 | Replace the `SPEC-151` stub boundary with explicit responsibilities | [ ] | Direct technical target | |
| 146 | +| [ ] | 1.6 | Patch `PROD-001` or `PROD-002` only if needed | [P] | Collaborator surfaces, not defaults | |
| 147 | +| [ ] | 1.7 | Sync installed skills and reconcile DE/IP/notes | [ ] | Finish with aligned artefacts | |
| 148 | + |
| 149 | +## 8. Risks & Mitigations |
| 150 | +| Risk | Mitigation | Status | |
| 151 | +| --- | --- | --- | |
| 152 | +| New-spec wording drifts into a peer audit disposition | keep every touched surface aligned with `revision -> optional new spec` | active | |
| 153 | +| Collaborator-surface edits sprawl | require an explicit wording gap before touching `PROD-001` or `PROD-002` | active | |
| 154 | +| Packaged and installed skill copies diverge | run `uv run spec-driver skills sync` before phase close-out | active | |
| 155 | + |
| 156 | +## 9. Decisions & Outcomes |
| 157 | +- `2026-03-09` - Phase planning starts at execution, not retrospective design capture. Rationale: DR-083 already settled the design questions before the first phase sheet was created. |
| 158 | + |
| 159 | +## 10. Findings / Research Notes |
| 160 | +- DR-083 settled the branch order as existing-spec patch -> revision -> revision-led new spec. |
| 161 | +- Direct revision targets are `PROD-011` and `SPEC-151`; `PROD-001` and `PROD-002` are collaborator surfaces to justify before touching. |
| 162 | + |
| 163 | +## 11. Wrap-up Checklist |
| 164 | +- [ ] Exit criteria satisfied |
| 165 | +- [ ] Verification evidence stored |
| 166 | +- [ ] Spec/Delta/Plan updated with lessons |
| 167 | +- [ ] Hand-off notes to next phase (if any) |
0 commit comments