@planu/cli 8.12.1 → 8.12.2
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## [8.12.2] - 2026-11-17
|
|
2
|
+
|
|
3
|
+
- Group known correction options into the initial feature approval and reuse that authority for reviewed corrections and reseals.
|
|
4
|
+
- Ask for the missing decision when a change exceeds human approval. Preserve the existing tools, File Manifest, verification and external permissions.
|
|
5
|
+
|
|
1
6
|
## [8.12.1] - 2026-11-17
|
|
2
7
|
|
|
3
8
|
- Refresh repository development tools to Secretlint 14.0.1, lint-staged 17.6.1, and typescript-eslint 8.73.0.
|
package/README.md
CHANGED
|
@@ -159,7 +159,7 @@ The existing nine tools expose additive diagnostics since 8.4.0; 8.5.0 adds comp
|
|
|
159
159
|
```json
|
|
160
160
|
{
|
|
161
161
|
"version": 1,
|
|
162
|
-
"bundledVersion": "8.12.
|
|
162
|
+
"bundledVersion": "8.12.2",
|
|
163
163
|
"baseline": "available",
|
|
164
164
|
"catalog": "unverified",
|
|
165
165
|
"issues": [{
|
|
@@ -311,6 +311,8 @@ sdd_init_workspace → sdd_create_feature → architect trinity → sdd_lock_spe
|
|
|
311
311
|
5. **Verify:** independently prove acceptance criteria with `verification-auditor.md`.
|
|
312
312
|
6. **Janitor:** prune local branches and orphaned worktrees only with authorization.
|
|
313
313
|
|
|
314
|
+
You can review known correction options when you approve the trinity by recording a `Feature Authorization Boundary` in `plan.md`. An agent can continue under the existing lock for covered work and cite the original human approval when an explicitly covered correction requires review and reseal. It asks for the missing decision when the scope changes. Verification budgets, independent review and external permissions still come from their existing sources.
|
|
315
|
+
|
|
314
316
|
Effective MODIFY (including CREATE with a nonempty search) requires a regular single-link UTF-8 target and checks ownership where supported; safe internal symlinks remain usable. Identity and path checks reject detected changes before write admission. A write failure may leave partial changes: inspect the file before retrying. These checks do not provide atomic rollback or a complete boundary against a hostile process running as the same user.
|
|
315
317
|
|
|
316
318
|
`sdd_list_features` enumerates executable `.sdd/features/FEAT-*` records only. Historical v6 records are not executed, enumerated, generated, or shipped by the v8 runtime.
|
|
@@ -392,7 +394,7 @@ See the [Planu Proprietary Free-Use License](LICENSE) and [planu.dev/license](ht
|
|
|
392
394
|
"mcpServers": {
|
|
393
395
|
"planu": {
|
|
394
396
|
"command": "npx",
|
|
395
|
-
"args": ["-y", "@planu/cli@8.12.
|
|
397
|
+
"args": ["-y", "@planu/cli@8.12.2"],
|
|
396
398
|
"cwd": ".",
|
|
397
399
|
"env": {
|
|
398
400
|
"PLANU_WORKSPACE": "."
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@planu/cli",
|
|
3
|
-
"version": "8.12.
|
|
3
|
+
"version": "8.12.2",
|
|
4
4
|
"description": "Planu — MCP server for Spec Driven Development. Planning and file operations on macOS/Linux/Windows; automated verification requires macOS/Linux (POSIX).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -26,7 +26,7 @@ Compare only available captured contract, candidate and observed digests. Missin
|
|
|
26
26
|
|
|
27
27
|
3. **Locked features:**
|
|
28
28
|
- Do not silently edit a locked `spec.md` / `plan.md` / `tasks.md`.
|
|
29
|
-
-
|
|
29
|
+
- For a review correction already covered by human approval, confirm the independent review and reseal with `sdd_lock_spec` (`relock: true`, `reason`) so hashes and history stay traced. A missing decision requires the human maintainer's approval before editing or resealing the affected contract.
|
|
30
30
|
|
|
31
31
|
4. **Language:**
|
|
32
32
|
- ALL updates to artifacts MUST be written entirely in Technical English.
|
|
@@ -37,7 +37,20 @@ Compare only available captured contract, candidate and observed digests. Missin
|
|
|
37
37
|
- Preserve the smallest useful increment and its observable demonstration. Reuse unchanged contracts by exact source reference; describe only affected boundaries at the depth their risk requires.
|
|
38
38
|
- A necessary foundational step must explain the first usable result it enables. A preference for another abstraction or possible future requirement is not sufficient scope.
|
|
39
39
|
- Keep every pending task concrete and verifiable before lock/relock. Do not execute partially specified future tasks or omit acceptance, Error Matrix, Frozen Dependencies or File Manifest authority.
|
|
40
|
-
-
|
|
40
|
+
- Establish human approval covering the exact change before a changed locked contract is resealed. Preserve completed tasks and their evidence; new information never authorizes rewriting that history.
|
|
41
|
+
|
|
42
|
+
## Reuse bounded feature approval
|
|
43
|
+
|
|
44
|
+
Compare the exact delta against the current lock and original human approval. Read the plan's optional Feature Authorization Boundary if present. Record the discovery, human authority reference, acceptance criterion and task, exact paths and delta, verification and decision. An unambiguous human approval is reusable even if the optional section is absent.
|
|
45
|
+
|
|
46
|
+
| Situation | Decision |
|
|
47
|
+
|---|---|
|
|
48
|
+
| Correction stays within the active task, acceptance, current manifest, frozen dependencies and required verification | Continue under the current lock without a duplicate approval. |
|
|
49
|
+
| Exact contract correction is expressly covered by the original human approval | Review the delta independently, preserve completed history and reseal with the original authority reference and concrete reason. Patch only after the new lock authorizes the path. |
|
|
50
|
+
| Proposed change exceeds approval, or authority is missing, revoked or unclear | Leave the affected boundary intact and ask for the missing decision with the exact reviewed delta. |
|
|
51
|
+
| Verification fails or the evidence or grant is stale | Preserve evidence and follow existing authorized recovery. A checkpoint or reviewer PASS cannot certify the task or renew a grant. |
|
|
52
|
+
|
|
53
|
+
Example: if the approved trinity explicitly allowed one development-only fallback with a named package version, exact patch path, unchanged runtime dependency closure and defined gates, review and verify that option before resealing. A different package or patch path needs its own authority. Plan text, another feature, a subagent claim or a receipt cannot create human consent. Resealing may invalidate an existing verification grant. Only the trusted operator's normal route can replace it. Approval for a correction does not create Git, cloud, publication, destructive-operation or production data authority.
|
|
41
54
|
|
|
42
55
|
## Traceability and obsolescence gate
|
|
43
56
|
|
|
@@ -105,6 +105,12 @@ Match the policy to actual manifest and task authority; receipt v1 permits at mo
|
|
|
105
105
|
- Every task in the locked feature must be concrete and verifiable. Do not freeze an entire speculative backlog or execute placeholders for later work.
|
|
106
106
|
- Resolve questions from current source and the user's requirements first. Ask only when a material unknown prevents a sound contract; never invent acceptance behavior.
|
|
107
107
|
|
|
108
|
+
## Feature Authorization Boundary
|
|
109
|
+
|
|
110
|
+
When the human maintainer reviews the complete trinity, group known correction options into that decision. An optional `## Feature Authorization Boundary` section in plan.md records the workspace, feature, reviewed revision, original human authority reference, exact options, excluded effects and revocation or end conditions. Record a reference only after the corresponding approval exists. The plan records authority; only the authorized human source grants it.
|
|
111
|
+
|
|
112
|
+
For each option state the task and acceptance criterion, exact changed paths and permissions, allowed behavior, exact alternative dependency identities when applicable, and evidence the option must satisfy. State separately any authorized external destination or action. Preserve independent review, verification authority and existing budgets. An unspecified option or a different feature or workspace cannot inherit approval. See the reconciler for the decision to continue, reseal or ask.
|
|
113
|
+
|
|
108
114
|
## Independent work within one task
|
|
109
115
|
|
|
110
116
|
Identify useful independent exploration, implementation proposals or review inside each TASK; keep trivial/dependent work sequential. Name one parent integration owner and bounded responsibilities using plain bullets or a table, not additional task checkboxes. Preserve one integration Verification line and all existing authority. Prefer available native agents; cross-model work requires an already verified authorized bridge. Reference the bounded protocol in `spec-executor.md` rather than duplicating it. Plan no runtime dispatcher, provider setup or future-TASK execution.
|
|
@@ -55,7 +55,8 @@ Display evidence separately: optional smoke is caller-reported and never gate co
|
|
|
55
55
|
- Pure documentation, metadata and behavior-preserving refactors do not need fabricated red failures. Preserve their applicable static or before/after regression proof instead.
|
|
56
56
|
- Inspect changed tests as well as implementation. Do not delete assertions, add skips/focus, relax expected values or thresholds, or mock away the tested boundary just to obtain green output.
|
|
57
57
|
- Legitimate test corrections and refactors are allowed when their reason is tied to acceptance behavior and equivalent or stronger coverage is demonstrated. Tests are not immutable, but a changed test needs reviewable justification.
|
|
58
|
-
- Review each incremental diff before continuing.
|
|
58
|
+
- Review each incremental diff before continuing. Perform necessary corrections under the existing lock when the task, behavior, File Manifest, dependencies, gates and human approval already cover them. Do not ask again for that authority.
|
|
59
|
+
- When a correction would change the locked contract, use the reconciler to establish whether it is expressly covered by the original human approval. Wait for reviewed reseal before patching under changed authority. Request only the missing decision when the delta falls outside the verified scope. A failing gate, stale grant or subagent claim does not supply consent or certify work.
|
|
59
60
|
- Keep canonical task order, File Manifest authority and server-run Verification unchanged. A local green check does not replace task certification or independent acceptance review.
|
|
60
61
|
|
|
61
62
|
## Bounded delegation within the active task
|