prizmkit 1.1.111 → 1.1.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/VERSION.json +3 -3
- package/bundled/adapters/codex/skill-adapter.js +4 -0
- package/bundled/agents/prizm-dev-team-reviewer.md +12 -1
- package/bundled/dev-pipeline/SCHEMA_ANALYSIS.md +10 -10
- package/bundled/dev-pipeline/prizmkit_runtime/interoperability.py +1 -0
- package/bundled/dev-pipeline/scripts/generate-bootstrap-prompt.py +20 -73
- package/bundled/dev-pipeline/scripts/generate-bugfix-prompt.py +290 -421
- package/bundled/dev-pipeline/scripts/generate-recovery-prompt.py +1 -1
- package/bundled/dev-pipeline/scripts/generate-refactor-prompt.py +259 -481
- package/bundled/dev-pipeline/scripts/init-bugfix-pipeline.py +34 -0
- package/bundled/dev-pipeline/scripts/init-pipeline.py +12 -0
- package/bundled/dev-pipeline/scripts/init-refactor-pipeline.py +24 -1
- package/bundled/dev-pipeline/scripts/prompt_framework.py +312 -0
- package/bundled/dev-pipeline/scripts/update-bug-status.py +87 -20
- package/bundled/dev-pipeline/scripts/update-feature-status.py +82 -16
- package/bundled/dev-pipeline/scripts/update-refactor-status.py +68 -28
- package/bundled/dev-pipeline/scripts/utils.py +171 -0
- package/bundled/dev-pipeline/templates/bootstrap-prompt.md +1 -1
- package/bundled/dev-pipeline/templates/bootstrap-tier1.md +7 -1
- package/bundled/dev-pipeline/templates/bootstrap-tier2.md +17 -19
- package/bundled/dev-pipeline/templates/bootstrap-tier3.md +21 -26
- package/bundled/dev-pipeline/templates/bug-fix-list-schema.json +9 -1
- package/bundled/dev-pipeline/templates/bugfix-bootstrap-prompt.md +11 -8
- package/bundled/dev-pipeline/templates/refactor-bootstrap-prompt.md +122 -182
- package/bundled/dev-pipeline/templates/sections/bugfix-artifacts.md +16 -0
- package/bundled/dev-pipeline/templates/sections/bugfix-critical-paths.md +12 -0
- package/bundled/dev-pipeline/templates/sections/bugfix-mission.md +9 -0
- package/bundled/dev-pipeline/templates/sections/bugfix-phase-commit-report.md +31 -0
- package/bundled/dev-pipeline/templates/sections/bugfix-phase-critic.md +22 -0
- package/bundled/dev-pipeline/templates/sections/bugfix-phase-diagnose-plan.md +23 -0
- package/bundled/dev-pipeline/templates/sections/bugfix-phase-implement.md +20 -0
- package/bundled/dev-pipeline/templates/sections/bugfix-phase-init.md +9 -0
- package/bundled/dev-pipeline/templates/sections/bugfix-phase-manual-verification.md +15 -0
- package/bundled/dev-pipeline/templates/sections/bugfix-phase-review.md +29 -0
- package/bundled/dev-pipeline/templates/sections/bugfix-reminders.md +11 -0
- package/bundled/dev-pipeline/templates/sections/bugfix-session-context.md +7 -0
- package/bundled/dev-pipeline/templates/sections/bugfix-session-status.md +31 -0
- package/bundled/dev-pipeline/templates/sections/bugfix-task-contract.md +40 -0
- package/bundled/dev-pipeline/templates/sections/failure-capture.md +2 -2
- package/bundled/dev-pipeline/templates/sections/phase-browser-verification-auto.md +8 -2
- package/bundled/dev-pipeline/templates/sections/phase-browser-verification-opencli.md +7 -1
- package/bundled/dev-pipeline/templates/sections/phase-browser-verification.md +7 -1
- package/bundled/dev-pipeline/templates/sections/refactor-artifacts.md +17 -0
- package/bundled/dev-pipeline/templates/sections/refactor-critical-paths.md +13 -0
- package/bundled/dev-pipeline/templates/sections/refactor-mission.md +9 -0
- package/bundled/dev-pipeline/templates/sections/refactor-phase-commit-report.md +37 -0
- package/bundled/dev-pipeline/templates/sections/refactor-phase-critic.md +22 -0
- package/bundled/dev-pipeline/templates/sections/refactor-phase-implement.md +16 -0
- package/bundled/dev-pipeline/templates/sections/refactor-phase-init.md +9 -0
- package/bundled/dev-pipeline/templates/sections/refactor-phase-plan.md +22 -0
- package/bundled/dev-pipeline/templates/sections/refactor-phase-review.md +19 -0
- package/bundled/dev-pipeline/templates/sections/refactor-reminders.md +11 -0
- package/bundled/dev-pipeline/templates/sections/refactor-session-context.md +7 -0
- package/bundled/dev-pipeline/templates/sections/refactor-session-status.md +28 -0
- package/bundled/dev-pipeline/templates/sections/refactor-task-contract.md +52 -0
- package/bundled/dev-pipeline/tests/test_generate_bootstrap_prompt.py +104 -26
- package/bundled/dev-pipeline/tests/test_generate_bugfix_prompt.py +14 -0
- package/bundled/dev-pipeline/tests/test_python_runner_parity.py +239 -0
- package/bundled/dev-pipeline/tests/test_unified_cli.py +6 -2
- package/bundled/dev-pipeline/tests/test_utils.py +66 -1
- package/bundled/skills/_metadata.json +1 -1
- package/bundled/skills/app-planner/SKILL.md +8 -7
- package/bundled/skills/app-planner/references/project-brief-guide.md +2 -2
- package/bundled/skills/app-planner/references/rules/backend/derivation-rules.md +1 -1
- package/bundled/skills/app-planner/references/rules/frontend/derivation-rules.md +1 -1
- package/bundled/skills/app-planner/references/rules-configuration.md +53 -26
- package/bundled/skills/bug-fix-workflow/SKILL.md +191 -336
- package/bundled/skills/bug-planner/SKILL.md +6 -5
- package/bundled/skills/bug-planner/references/critic-and-verification.md +3 -3
- package/bundled/skills/bug-planner/references/schema-validation.md +2 -1
- package/bundled/skills/bug-planner/scripts/validate-bug-list.py +70 -1
- package/bundled/skills/bugfix-pipeline-launcher/SKILL.md +21 -21
- package/bundled/skills/bugfix-pipeline-launcher/references/configuration.md +2 -2
- package/bundled/skills/feature-pipeline-launcher/SKILL.md +25 -26
- package/bundled/skills/feature-planner/SKILL.md +9 -11
- package/bundled/skills/feature-planner/assets/planning-guide.md +1 -1
- package/bundled/skills/feature-planner/references/decomposition-patterns.md +1 -1
- package/bundled/skills/feature-planner/references/error-recovery.md +2 -1
- package/bundled/skills/feature-planner/references/incremental-feature-planning.md +2 -2
- package/bundled/skills/feature-planner/references/new-project-planning.md +35 -39
- package/bundled/skills/feature-planner/scripts/validate-and-generate.py +1 -1
- package/bundled/skills/feature-workflow/SKILL.md +170 -298
- package/bundled/skills/prizmkit/SKILL.md +103 -57
- package/bundled/skills/prizmkit-code-review/SKILL.md +97 -116
- package/bundled/skills/prizmkit-code-review/references/review-report-template.md +1 -0
- package/bundled/skills/prizmkit-code-review/references/reviewer-agent-prompt.md +14 -3
- package/bundled/skills/prizmkit-committer/SKILL.md +59 -47
- package/bundled/skills/prizmkit-deploy/SKILL.md +162 -381
- package/bundled/skills/prizmkit-deploy/references/database-setup.md +12 -3
- package/bundled/skills/prizmkit-deploy/references/ssh-adapter-flow.md +220 -0
- package/bundled/skills/prizmkit-implement/SKILL.md +51 -40
- package/bundled/skills/prizmkit-init/SKILL.md +4 -3
- package/bundled/skills/prizmkit-plan/SKILL.md +85 -70
- package/bundled/skills/prizmkit-prizm-docs/SKILL.md +94 -73
- package/bundled/skills/prizmkit-prizm-docs/assets/prizm-docs-format.md +20 -18
- package/bundled/skills/prizmkit-prizm-docs/references/op-init.md +11 -13
- package/bundled/skills/prizmkit-prizm-docs/references/op-update.md +18 -14
- package/bundled/skills/prizmkit-retrospective/SKILL.md +56 -48
- package/bundled/skills/prizmkit-retrospective/references/structural-sync-steps.md +79 -27
- package/bundled/skills/prizmkit-test/SKILL.md +138 -141
- package/bundled/skills/prizmkit-test/references/boundary-coverage-protocol.md +1 -1
- package/bundled/skills/prizmkit-test/references/examples.md +11 -9
- package/bundled/skills/prizmkit-test/references/test-generation-steps.md +1 -1
- package/bundled/skills/prizmkit-test/references/test-report-template.md +2 -2
- package/bundled/skills/recovery-workflow/SKILL.md +195 -256
- package/bundled/skills/recovery-workflow/evals/evals.json +21 -13
- package/bundled/skills/recovery-workflow/references/detection.md +48 -39
- package/bundled/skills/recovery-workflow/scripts/detect-recovery-state.py +258 -322
- package/bundled/skills/refactor-pipeline-launcher/SKILL.md +32 -13
- package/bundled/skills/refactor-planner/SKILL.md +2 -2
- package/bundled/skills/refactor-planner/references/behavior-preservation.md +24 -19
- package/bundled/skills/refactor-planner/references/fast-path.md +2 -4
- package/bundled/skills/refactor-planner/references/planning-phases.md +2 -2
- package/bundled/skills/refactor-workflow/SKILL.md +174 -307
- package/package.json +1 -1
- package/src/scaffold.js +5 -0
- package/bundled/dev-pipeline/templates/agent-prompts/reviewer-review.md +0 -6
- package/bundled/skills/feature-workflow/references/brainstorm-guide.md +0 -137
- package/bundled/skills/refactor-workflow/references/brainstorm-guide.md +0 -116
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
# Brainstorm Guide — Detailed Procedures
|
|
2
|
-
|
|
3
|
-
Procedural details for Phase 1 brainstorming in feature-workflow.
|
|
4
|
-
|
|
5
|
-
## Step 1.3: Parallel Deep Reading
|
|
6
|
-
|
|
7
|
-
**Goal**: Build comprehensive understanding of the project context before discussing detailed requirements. Spawn multiple agents in parallel to read all relevant materials simultaneously.
|
|
8
|
-
|
|
9
|
-
**Parallel reading tasks** (launch concurrently):
|
|
10
|
-
|
|
11
|
-
| Agent | What to read | Purpose |
|
|
12
|
-
|-------|-------------|---------|
|
|
13
|
-
| Agent A | User-provided code paths — read existing source files | Understand current architecture, patterns, conventions |
|
|
14
|
-
| Agent B | User-provided documents — design docs, specs, PRDs | Understand intended requirements and constraints |
|
|
15
|
-
| Agent C | `.prizmkit/prizm-docs/` — root.prizm, L1/L2 docs, TRAPS, RULES | Understand existing architecture knowledge and known pitfalls |
|
|
16
|
-
| Agent D | Database/schema files + `.prizmkit/config.json` | Understand data model and tech stack preferences |
|
|
17
|
-
|
|
18
|
-
**Also gather** (can be included in any agent's task):
|
|
19
|
-
- Directory structure of the project
|
|
20
|
-
- Existing test patterns and conventions
|
|
21
|
-
- Dependency relationships between existing modules
|
|
22
|
-
|
|
23
|
-
**After all agents complete**: Synthesize findings into a coherent understanding before proceeding to discussion.
|
|
24
|
-
|
|
25
|
-
## Step 1.4: Discuss Requirements
|
|
26
|
-
|
|
27
|
-
**Now** — with deep knowledge of the actual codebase and documents — discuss the requirements with the user. This discussion is grounded in real context, not abstract questions.
|
|
28
|
-
|
|
29
|
-
Present what you learned from the parallel reading:
|
|
30
|
-
- Current project structure and patterns (with specific references)
|
|
31
|
-
- Existing data model and schema conventions
|
|
32
|
-
- Known TRAPS and pitfalls from `.prizmkit/prizm-docs/`
|
|
33
|
-
- Integration points with existing modules
|
|
34
|
-
|
|
35
|
-
Then ask targeted questions based on what you read. **Adapt question depth to the feature complexity** — a simple CRUD feature needs fewer questions than a real-time collaboration system.
|
|
36
|
-
|
|
37
|
-
### Functional Requirements
|
|
38
|
-
- What are the core user actions/workflows?
|
|
39
|
-
- What inputs does the system accept? What outputs does it produce?
|
|
40
|
-
- What are the key business rules and validation logic?
|
|
41
|
-
- Are there different user roles with different permissions?
|
|
42
|
-
|
|
43
|
-
### Data Model & Database (if applicable)
|
|
44
|
-
- What entities/data need to be stored?
|
|
45
|
-
- What are the relationships between entities?
|
|
46
|
-
- Are there existing database tables this feature must integrate with?
|
|
47
|
-
- What fields are required vs optional? What data types?
|
|
48
|
-
- Any unique constraints, indexes, or special query patterns needed?
|
|
49
|
-
- **RULE**: If the project has existing database tables, ALL new table designs must reference and conform to the existing schema style (naming conventions, ID strategy, timestamp patterns, constraint patterns). Ask the user to confirm the data model before proceeding.
|
|
50
|
-
|
|
51
|
-
### User Experience
|
|
52
|
-
- What does the user see and interact with?
|
|
53
|
-
- What is the expected flow/sequence of actions?
|
|
54
|
-
- How should errors be displayed to the user?
|
|
55
|
-
- Are there any specific UI/UX requirements?
|
|
56
|
-
|
|
57
|
-
### Integration & Architecture
|
|
58
|
-
- "Based on the existing code, this feature would integrate with [modules]. Does that match your expectations?"
|
|
59
|
-
- Any external APIs or services involved?
|
|
60
|
-
- What authentication/authorization model applies?
|
|
61
|
-
- Any real-time requirements (WebSocket, SSE, polling)?
|
|
62
|
-
|
|
63
|
-
### Edge Cases & Error Handling
|
|
64
|
-
- What happens when things go wrong? (network failure, invalid input, concurrent access)
|
|
65
|
-
- What are the boundary conditions? (empty states, max limits, permissions denied)
|
|
66
|
-
- Any rate limiting, quotas, or resource constraints?
|
|
67
|
-
|
|
68
|
-
### Non-Functional Requirements
|
|
69
|
-
- Performance expectations? (response time, throughput)
|
|
70
|
-
- Scalability considerations?
|
|
71
|
-
- Security requirements? (encryption, audit logs, compliance)
|
|
72
|
-
|
|
73
|
-
## Comparison with Alternative Workflows
|
|
74
|
-
|
|
75
|
-
| Dimension | feature-workflow | bug-fix-workflow | refactor-workflow |
|
|
76
|
-
|-----------|-----------------|------------------|--------------------|
|
|
77
|
-
| **Purpose** | New features (batch) | Single bug fix (interactive) | Code restructuring (batch) |
|
|
78
|
-
| **Brainstorming** | Yes — collect materials, parallel read, discuss | No (bug report is input) | Yes — clarify type, collect materials, parallel read, discuss |
|
|
79
|
-
| **Planning Skill** | `feature-planner` | None (triage built-in) | `refactor-planner` |
|
|
80
|
-
| **Branch** | Pipeline manages per-feature | `fix/<BUG_ID>-*` | Pipeline manages per-refactor |
|
|
81
|
-
| **Execution** | Foreground or background daemon | In-session, interactive | Foreground or background daemon |
|
|
82
|
-
| **Input** | Rough idea or requirements | Bug report / stack trace | Rough refactoring idea or target |
|
|
83
|
-
| **Output** | Multiple `feat()` commits | Single `fix()` commit | Multiple `refactor()` commits |
|
|
84
|
-
| **Behavior Change** | Expected (new functionality) | Fix behavior | Forbidden (structure only) |
|
|
85
|
-
| **Batch alternative** | (this is the batch flow) | `bug-planner` + `bugfix-pipeline-launcher` | (this is the batch flow) |
|
|
86
|
-
|
|
87
|
-
## Completion Signs
|
|
88
|
-
|
|
89
|
-
**Signs that brainstorming is complete:**
|
|
90
|
-
- All functional requirements have concrete acceptance criteria
|
|
91
|
-
- Data model entities and relationships are defined
|
|
92
|
-
- Edge cases and error handling are addressed
|
|
93
|
-
- Integration points are identified
|
|
94
|
-
- The user has confirmed the summary is accurate
|
|
95
|
-
|
|
96
|
-
**Signs that more questions are needed:**
|
|
97
|
-
- User's answers contain vague terms ("handle it appropriately", "make it user-friendly", "standard behavior")
|
|
98
|
-
- Core business rules are undefined ("depends on the situation")
|
|
99
|
-
- Data relationships are unclear ("somehow connected")
|
|
100
|
-
- User says "I'm not sure" — help them think through it with concrete options
|
|
101
|
-
|
|
102
|
-
## Requirements Summary Template
|
|
103
|
-
|
|
104
|
-
Once brainstorming is complete, produce a structured requirements summary using the following format. Present the summary to the user and get explicit confirmation before proceeding.
|
|
105
|
-
|
|
106
|
-
```markdown
|
|
107
|
-
## Requirements Summary
|
|
108
|
-
|
|
109
|
-
### Project/Feature: [Name]
|
|
110
|
-
|
|
111
|
-
### Core Functionality
|
|
112
|
-
- [Bullet list of what the system does]
|
|
113
|
-
|
|
114
|
-
### User Roles
|
|
115
|
-
- [Role]: [What they can do]
|
|
116
|
-
|
|
117
|
-
### Data Model Overview
|
|
118
|
-
- [Entity]: [Key fields, relationships]
|
|
119
|
-
|
|
120
|
-
### Key Business Rules
|
|
121
|
-
- [Rule 1]
|
|
122
|
-
- [Rule 2]
|
|
123
|
-
|
|
124
|
-
### Integration Points
|
|
125
|
-
- [External system/API/module]
|
|
126
|
-
|
|
127
|
-
### Edge Cases & Error Handling
|
|
128
|
-
- [Case]: [Expected behavior]
|
|
129
|
-
|
|
130
|
-
### Non-Functional Requirements
|
|
131
|
-
- [Requirement]
|
|
132
|
-
|
|
133
|
-
### Reference Materials Reviewed
|
|
134
|
-
- [List of code paths, documents, .prizmkit/prizm-docs/ files that were read]
|
|
135
|
-
|
|
136
|
-
### Confirmed by user: ✓
|
|
137
|
-
```
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
# Brainstorm Guide — Refactoring Context
|
|
2
|
-
|
|
3
|
-
Procedural details for deep code analysis and discussion during refactor-workflow Phase 1.
|
|
4
|
-
|
|
5
|
-
## Step 1.3: Parallel Deep Reading
|
|
6
|
-
|
|
7
|
-
**Goal**: Build comprehensive understanding of the target code and context before discussing plans. Spawn multiple agents in parallel to read all relevant materials simultaneously.
|
|
8
|
-
|
|
9
|
-
**Parallel reading tasks** (launch concurrently):
|
|
10
|
-
|
|
11
|
-
| Agent | What to read | Purpose |
|
|
12
|
-
|-------|-------------|---------|
|
|
13
|
-
| Agent A | User-provided code paths — read full source files | Understand current structure, interfaces, dependencies |
|
|
14
|
-
| Agent B | User-provided documents — design docs, proposals, wiki pages | Understand intended direction and constraints |
|
|
15
|
-
| Agent C | `.prizmkit/prizm-docs/` for affected modules — L1/L2 docs, TRAPS, RULES | Understand existing architecture knowledge and known pitfalls |
|
|
16
|
-
| Agent D | Test files for the target area — find and read existing tests | Understand current test coverage and behavior contracts |
|
|
17
|
-
|
|
18
|
-
**Also gather** (can be included in any agent's task):
|
|
19
|
-
- `.prizmkit/config.json` → tech stack preferences
|
|
20
|
-
- Directory structure of the target area
|
|
21
|
-
- Dependency relationships (imports/exports between target and other modules)
|
|
22
|
-
|
|
23
|
-
**After all agents complete**: Synthesize findings into a coherent understanding before proceeding to discussion.
|
|
24
|
-
|
|
25
|
-
## Step 1.4: Discuss Refactoring Plan
|
|
26
|
-
|
|
27
|
-
**Now** — with deep knowledge of the actual code and documents — discuss the refactoring plan with the user. This discussion is grounded in real code, not abstract questions.
|
|
28
|
-
|
|
29
|
-
Present what you learned from the parallel reading:
|
|
30
|
-
- Current code structure and its problems (with specific file/function references)
|
|
31
|
-
- Existing test coverage status (which areas are safe, which are risky)
|
|
32
|
-
- Known TRAPS and pitfalls from `.prizmkit/prizm-docs/`
|
|
33
|
-
- Dependencies and potential impact on other modules
|
|
34
|
-
|
|
35
|
-
Then ask targeted questions based on what you read. **Adapt question depth to the refactoring complexity** — a simple extract-method refactor needs fewer questions than a full module decomposition.
|
|
36
|
-
|
|
37
|
-
### Code Structure
|
|
38
|
-
- "I see the current structure does X — is the target state Y, or something different?"
|
|
39
|
-
- What's the target state? What should the code look like after refactoring?
|
|
40
|
-
- Are there specific code smells you've noticed? (duplication, deep nesting, god classes, tight coupling)
|
|
41
|
-
|
|
42
|
-
### Scope
|
|
43
|
-
- Based on the code I read, these modules are affected: [list]. Anything else in/out of scope?
|
|
44
|
-
- For incremental refactoring: what's the order of priority?
|
|
45
|
-
|
|
46
|
-
### Behavior Preservation
|
|
47
|
-
- "These public APIs/interfaces exist: [list]. Which must remain unchanged?"
|
|
48
|
-
- "I found these tests: [list]. Are they passing currently?"
|
|
49
|
-
- Any undocumented behavior that callers depend on?
|
|
50
|
-
|
|
51
|
-
### Risk Assessment
|
|
52
|
-
- "I found these TRAPS in .prizmkit/prizm-docs/: [list]. Any other known gotchas?"
|
|
53
|
-
- Does this code have external consumers (other teams, published APIs)?
|
|
54
|
-
- Any concurrent development happening in the target area?
|
|
55
|
-
|
|
56
|
-
### Constraints
|
|
57
|
-
- Timeline or urgency? (affects whether to do incremental vs comprehensive)
|
|
58
|
-
- Team coordination needed? (other developers working in the same area)
|
|
59
|
-
- Deployment concerns? (feature flags, backward compatibility, migration)
|
|
60
|
-
|
|
61
|
-
## Completion Signs
|
|
62
|
-
|
|
63
|
-
**Signs that brainstorming is complete:**
|
|
64
|
-
- All refactoring goals have concrete target state descriptions
|
|
65
|
-
- Scope boundaries are clearly defined (in/out)
|
|
66
|
-
- Behavior preservation contracts are identified
|
|
67
|
-
- Risk areas are acknowledged and mitigation is discussed
|
|
68
|
-
- The user has confirmed the summary is accurate
|
|
69
|
-
|
|
70
|
-
**Signs that more questions are needed:**
|
|
71
|
-
- User's answers contain vague terms ("clean it up", "make it better", "fix the structure")
|
|
72
|
-
- Scope is undefined ("refactor everything" without specifics)
|
|
73
|
-
- No awareness of test coverage for the target area
|
|
74
|
-
- Risk areas are handwaved ("it should be fine")
|
|
75
|
-
- User says "I'm not sure" — help them think through it with concrete options
|
|
76
|
-
|
|
77
|
-
## Refactoring Goals Summary Template
|
|
78
|
-
|
|
79
|
-
Once brainstorming is complete, produce a structured goals summary using this template:
|
|
80
|
-
|
|
81
|
-
```markdown
|
|
82
|
-
## Refactoring Goals Summary
|
|
83
|
-
|
|
84
|
-
### Target: [Module/area name]
|
|
85
|
-
|
|
86
|
-
### Refactoring Type: [Incremental / Comprehensive / Targeted]
|
|
87
|
-
|
|
88
|
-
### Refactoring Objectives
|
|
89
|
-
- [Bullet list of what structural changes are needed and why]
|
|
90
|
-
|
|
91
|
-
### Current Problems
|
|
92
|
-
- [What's wrong with the current structure — with specific code references]
|
|
93
|
-
|
|
94
|
-
### Target State
|
|
95
|
-
- [What the code should look like after refactoring]
|
|
96
|
-
|
|
97
|
-
### Scope
|
|
98
|
-
- **In scope**: [files, modules, directories]
|
|
99
|
-
- **Out of scope**: [explicitly excluded areas]
|
|
100
|
-
|
|
101
|
-
### Behavior Preservation Contracts
|
|
102
|
-
- [What behavior must remain unchanged]
|
|
103
|
-
- [Key APIs/interfaces that must be preserved]
|
|
104
|
-
- [Existing test coverage status]
|
|
105
|
-
|
|
106
|
-
### Risk Assessment
|
|
107
|
-
- [Risk]: [Mitigation strategy]
|
|
108
|
-
|
|
109
|
-
### Reference Materials Reviewed
|
|
110
|
-
- [List of code paths, documents, .prizmkit/prizm-docs/ files that were read]
|
|
111
|
-
|
|
112
|
-
### Constraints
|
|
113
|
-
- [Timeline, coordination, deployment concerns]
|
|
114
|
-
|
|
115
|
-
### Confirmed by user: ✓
|
|
116
|
-
```
|