prizmkit 1.1.102 → 1.1.105
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/dev-pipeline/README.md +6 -7
- package/bundled/dev-pipeline/assets/prizm-dev-team-integration.md +3 -3
- package/bundled/dev-pipeline/prizmkit_runtime/daemon.py +1 -1
- package/bundled/dev-pipeline/prizmkit_runtime/runner_models.py +4 -2
- package/bundled/dev-pipeline/prizmkit_runtime/runners.py +357 -157
- package/bundled/dev-pipeline/prizmkit_runtime/sessions.py +146 -7
- package/bundled/dev-pipeline/scripts/generate-bootstrap-prompt.py +37 -28
- package/bundled/dev-pipeline/scripts/generate-recovery-prompt.py +4 -3
- package/bundled/dev-pipeline/templates/bootstrap-tier2.md +62 -38
- package/bundled/dev-pipeline/templates/bootstrap-tier3.md +57 -49
- package/bundled/dev-pipeline/templates/sections/critical-paths-agent.md +0 -1
- package/bundled/dev-pipeline/templates/sections/critical-paths-full.md +0 -1
- package/bundled/dev-pipeline/templates/sections/directory-convention-agent.md +2 -2
- package/bundled/dev-pipeline/templates/sections/directory-convention-full.md +2 -2
- package/bundled/dev-pipeline/templates/sections/phase-implement-agent.md +1 -0
- package/bundled/dev-pipeline/templates/sections/phase-implement-full.md +1 -0
- package/bundled/dev-pipeline/tests/test_generate_bootstrap_prompt.py +46 -0
- package/bundled/dev-pipeline/tests/test_python_runner_parity.py +118 -10
- package/bundled/dev-pipeline/tests/test_unified_cli.py +76 -0
- package/bundled/skills/_metadata.json +1 -1
- package/package.json +1 -1
- package/bundled/dev-pipeline/templates/agent-prompts/dev-implement.md +0 -71
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"<!-- DEPRECATED (P0-6): This prompt was injected into a Dev subagent spawn.
|
|
2
|
-
The orchestrator now implements directly (see phase-implement-agent.md / phase-implement-full.md).
|
|
3
|
-
This file is retained only so load_agent_prompts() does not break; it is no longer referenced
|
|
4
|
-
by any phase section. Do not add new rules here — add them to the phase-implement-* sections instead.
|
|
5
|
-
The rules below are the legacy Dev-subagent version, kept for reference only. -->
|
|
6
|
-
|
|
7
|
-
Read {{DEV_SUBAGENT_PATH}}. Implement feature {{FEATURE_ID}} (slug: {{FEATURE_SLUG}}).
|
|
8
|
-
|
|
9
|
-
## Task Summary Card
|
|
10
|
-
|
|
11
|
-
**Objective**: Implement {{FEATURE_TITLE}}.
|
|
12
|
-
|
|
13
|
-
**Primary files** (see context-snapshot.md Section 4 for full manifest):
|
|
14
|
-
- Review plan.md Tasks section for the complete task-to-file mapping.
|
|
15
|
-
- Each task's `— file:` suffix identifies the target file.
|
|
16
|
-
|
|
17
|
-
**Test command**: `{{TEST_CMD}}`
|
|
18
|
-
|
|
19
|
-
**Known baseline failures**: `{{BASELINE_FAILURES}}`
|
|
20
|
-
|
|
21
|
-
**DO NOT**:
|
|
22
|
-
- Re-read source files already listed in context-snapshot.md Section 4 File Manifest
|
|
23
|
-
- Create new files unless a plan.md task explicitly requires it
|
|
24
|
-
- Run git commands
|
|
25
|
-
- Use mock success data or fake rows in UI/tests
|
|
26
|
-
|
|
27
|
-
## Required Inputs
|
|
28
|
-
|
|
29
|
-
1. Read `.prizmkit/specs/{{FEATURE_SLUG}}/context-snapshot.md` first.
|
|
30
|
-
2. Use Section 4 File Manifest for targeted reads.
|
|
31
|
-
3. Do not expand scope beyond the Task Contract and Verification Gates.
|
|
32
|
-
4. Do not re-read source files already listed in Section 4 unless implementation details are missing from the manifest.
|
|
33
|
-
|
|
34
|
-
## Work
|
|
35
|
-
|
|
36
|
-
Run `/prizmkit-implement` to execute `plan.md`.
|
|
37
|
-
|
|
38
|
-
Test command:
|
|
39
|
-
`{{TEST_CMD}}`
|
|
40
|
-
|
|
41
|
-
Known baseline failures:
|
|
42
|
-
`{{BASELINE_FAILURES}}`
|
|
43
|
-
|
|
44
|
-
If plan.md has more than 5 tasks, update durable checkpoints/artifacts after every 3 tasks, minimize output, and rely on runner continuation if context overflow occurs. In an interactive Claude Code session operated manually outside the headless pipeline, `/compact` may be used as an optional convenience only.
|
|
45
|
-
|
|
46
|
-
## Required Outputs
|
|
47
|
-
|
|
48
|
-
Before returning, append `## Implementation Log` to `context-snapshot.md` with:
|
|
49
|
-
- files changed/created
|
|
50
|
-
- key decisions
|
|
51
|
-
- deviations from plan
|
|
52
|
-
- test results
|
|
53
|
-
- Verification Gate status
|
|
54
|
-
- unresolved blockers, if any
|
|
55
|
-
|
|
56
|
-
## Protocol References
|
|
57
|
-
|
|
58
|
-
- Follow the global Context Budget Rules.
|
|
59
|
-
- Carry forward the Dev-isolated subset: skip scaffold/generated files listed in `context-snapshot.md`; verify dependency versions before install/build commands that resolve dependencies; after build/compile commands, ensure outputs are ignored and never commit generated artifacts.
|
|
60
|
-
- If tests fail, follow this Test Failure Recovery subset: classify failures as baseline, new regression, brittle test, or environment/tooling; fix new regressions and brittle tests while progress is being made; document baseline failures; write `failure-log.md` for blockers.
|
|
61
|
-
- Do not run git commands; staging and commit are handled by the orchestrator.
|
|
62
|
-
- **Edit safety**: If an Edit fails with 'String to replace not found', grep for the target text before retrying. Never guess file offsets — verify them with a Read or grep first.
|
|
63
|
-
- **Read safety**: If 3 consecutive Reads to the same file return 'shorter than offset' or 'Wasted call', STOP and report BLOCKED.
|
|
64
|
-
- **Test gate placement**: Do not run mandatory periodic or full-suite tests here. The scoped/full test gate runs after code review; only use tiny targeted checks when needed for local debugging.
|
|
65
|
-
|
|
66
|
-
Do not return success unless:
|
|
67
|
-
1. implementation tasks are complete;
|
|
68
|
-
2. `## Implementation Log` exists;
|
|
69
|
-
3. every Verification Gate is verified.
|
|
70
|
-
|
|
71
|
-
If any Verification Gate is blocked, write `failure-log.md` and return a blocked/incomplete result instead of success."
|