@punks/cli 5.1.0 → 5.2.0
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/AGENTS.md +28 -10
- package/dist/BASELINE_CHANGELOG.md +11 -1
- package/dist/CHANGELOG.md +51 -0
- package/dist/baseline/scaffold-baseline/baseline.json +5 -10
- package/dist/baseline/scaffold-baseline/data/catalog/packs.json +1 -1
- package/dist/baseline/scaffold-baseline/data/catalog/skills.json +0 -8
- package/dist/baseline/scaffold-baseline/data/scripts/commit-gate-runner.mjs +118 -41
- package/dist/baseline/scaffold-baseline/data/scripts/commit-gate-runner.test.ts +345 -26
- package/dist/baseline/scaffold-baseline/data/scripts/sync-subagents-validator.test.ts +39 -0
- package/dist/baseline/scaffold-baseline/data/scripts/sync-subagents.mjs +8 -2
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/write-graph-based-skills/phases/define-handoffs.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/write-graph-based-skills/phases/model-state.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/write-graph-based-skills/phases/test-routes.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/write-graph-based-skills/phases/write-phases.md +2 -2
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/write-graph-based-skills/phases/write-router.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/write-graph-based-skills/references/authoring-contract.md +8 -8
- package/dist/baseline/scaffold-baseline/skills/agnostic/quality/autoreview/SKILL.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/quality/make-tsuite/SKILL.md +2 -2
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/brainstorm/SKILL.md +21 -11
- package/dist/baseline/scaffold-baseline/skills/phases/debugging-phase/SKILL.md +3 -4
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/SKILL.md +2 -2
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/debug.md +2 -2
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/human-steering.md +25 -0
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/implement.md +2 -2
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/review.md +2 -2
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/router.md +3 -2
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/references/context-continuity.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/references/failure-continuity.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/references/phase-handoff.md +4 -3
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/AUTHORING-HANDOFF.md +9 -9
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/SKILL.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/ensure-fog.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/grilling.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/human-steering.md +25 -0
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/prototype.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/reconcile.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/research.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/router.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/state-graph.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/review-phase/phases/return-route.md +6 -5
- package/dist/baseline/scaffold-baseline/skills/phases/review-phase/phases/router.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/review-phase/phases/run-review.md +2 -1
- package/dist/baseline/scaffold-baseline/skills/phases/review-phase/references/state-graph.md +3 -3
- package/dist/baseline/scaffold-baseline.json +5 -5
- package/dist/baseline/scaffold-baseline.tgz +0 -0
- package/dist/data/AGENTS.md +22 -5
- package/dist/data/scripts/commit-gate-runner.mjs +118 -41
- package/dist/data/scripts/sync-subagents.mjs +8 -2
- package/dist/index.js +117 -110
- package/dist/skills/agnostic/docs/write-graph-based-skills/phases/define-handoffs.md +1 -1
- package/dist/skills/agnostic/docs/write-graph-based-skills/phases/model-state.md +1 -1
- package/dist/skills/agnostic/docs/write-graph-based-skills/phases/test-routes.md +1 -1
- package/dist/skills/agnostic/docs/write-graph-based-skills/phases/write-phases.md +2 -2
- package/dist/skills/agnostic/docs/write-graph-based-skills/phases/write-router.md +1 -1
- package/dist/skills/agnostic/docs/write-graph-based-skills/references/authoring-contract.md +8 -8
- package/dist/skills/agnostic/quality/autoreview/SKILL.md +1 -1
- package/dist/skills/agnostic/quality/make-tsuite/SKILL.md +2 -2
- package/dist/skills/agnostic/requirements/brainstorm/SKILL.md +21 -11
- package/dist/skills/phases/debugging-phase/SKILL.md +3 -4
- package/dist/skills/phases/delivery-phase/SKILL.md +2 -2
- package/dist/skills/phases/delivery-phase/phases/debug.md +2 -2
- package/dist/skills/phases/delivery-phase/phases/human-steering.md +25 -0
- package/dist/skills/phases/delivery-phase/phases/implement.md +2 -2
- package/dist/skills/phases/delivery-phase/phases/review.md +2 -2
- package/dist/skills/phases/delivery-phase/phases/router.md +3 -2
- package/dist/skills/phases/delivery-phase/references/context-continuity.md +1 -1
- package/dist/skills/phases/delivery-phase/references/failure-continuity.md +1 -1
- package/dist/skills/phases/delivery-phase/references/phase-handoff.md +4 -3
- package/dist/skills/phases/finder-phase/AUTHORING-HANDOFF.md +6 -6
- package/dist/skills/phases/finder-phase/SKILL.md +1 -1
- package/dist/skills/phases/finder-phase/phases/ensure-fog.md +1 -1
- package/dist/skills/phases/finder-phase/phases/grilling.md +1 -1
- package/dist/skills/phases/finder-phase/phases/human-steering.md +25 -0
- package/dist/skills/phases/finder-phase/phases/prototype.md +1 -1
- package/dist/skills/phases/finder-phase/phases/reconcile.md +1 -1
- package/dist/skills/phases/finder-phase/phases/research.md +1 -1
- package/dist/skills/phases/finder-phase/phases/router.md +1 -1
- package/dist/skills/phases/finder-phase/references/state-graph.md +1 -1
- package/dist/skills/phases/review-phase/phases/return-route.md +6 -5
- package/dist/skills/phases/review-phase/phases/router.md +1 -1
- package/dist/skills/phases/review-phase/phases/run-review.md +2 -1
- package/dist/skills/phases/review-phase/references/state-graph.md +3 -3
- package/package.json +12 -6
- package/dist/baseline/scaffold-baseline/skills/agnostic/generic/handback/SKILL.md +0 -27
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/handback.md +0 -27
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/handback.md +0 -29
- package/dist/skills/agnostic/generic/handback/SKILL.md +0 -27
- package/dist/skills/phases/delivery-phase/phases/handback.md +0 -27
- package/dist/skills/phases/finder-phase/phases/handback.md +0 -29
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# Handback Phase
|
|
2
|
-
|
|
3
|
-
## Guard
|
|
4
|
-
|
|
5
|
-
The router selected current evidence that triggers `$handback`.
|
|
6
|
-
|
|
7
|
-
## Bounded Action
|
|
8
|
-
|
|
9
|
-
1. Invoke `$handback` with the active delivery evidence.
|
|
10
|
-
2. Retain its complete outcome in the durable state artifact; put its Context
|
|
11
|
-
Pointer and exact blocker in the compact Delivery Handoff.
|
|
12
|
-
3. Stop.
|
|
13
|
-
|
|
14
|
-
## Completion Evidence
|
|
15
|
-
|
|
16
|
-
- the durable `$handback` outcome
|
|
17
|
-
- unchanged accepted bounds and in-bounds artifacts
|
|
18
|
-
- no expanded design, implementation, delegation, or review
|
|
19
|
-
|
|
20
|
-
## Exit
|
|
21
|
-
|
|
22
|
-
Return terminal `human_steering_required`. Resume routing only after the
|
|
23
|
-
`$handback` authority guard passes.
|
|
24
|
-
|
|
25
|
-
Emit the [common Phase Result](../references/context-continuity.md#common-phase-result)
|
|
26
|
-
with pointers to this completion evidence. Stop in every mode until the
|
|
27
|
-
`$handback` authority guard passes.
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# Human Steering Gate
|
|
2
|
-
|
|
3
|
-
## Entry guard
|
|
4
|
-
|
|
5
|
-
Fog identity, immutable lens, child relevance, support relation, evidence,
|
|
6
|
-
scope, or projection ceiling is ambiguous or conflicting under current
|
|
7
|
-
authority.
|
|
8
|
-
|
|
9
|
-
## Bounded action
|
|
10
|
-
|
|
11
|
-
Invoke `$handback` with the exact conflict and minimum human decision. Persist
|
|
12
|
-
its complete outcome as `human_steering_required`, prove that no mutation intent
|
|
13
|
-
was emitted after detecting the conflict, and stop.
|
|
14
|
-
|
|
15
|
-
## Completion evidence
|
|
16
|
-
|
|
17
|
-
Durable `$handback` outcome, exact missing authority or decision, and zero-write
|
|
18
|
-
proof.
|
|
19
|
-
|
|
20
|
-
## Declared exits
|
|
21
|
-
|
|
22
|
-
- `human_steering_required` -> terminal non-success state.
|
|
23
|
-
- `authority_guard_passed` -> router re-entry with the new human decision.
|
|
24
|
-
|
|
25
|
-
## Durable handoff
|
|
26
|
-
|
|
27
|
-
Persist conflict evidence, minimum required decision, complete `$handback`
|
|
28
|
-
outcome, and terminal state. The router keeps returning this terminal while the
|
|
29
|
-
authority guard remains unsatisfied.
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: handback
|
|
3
|
-
description: Hand control back when a blocker or proposed next step crosses accepted goal bounds, changes accepted requirements, weakens a gate, or substantially redesigns implementation.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Handback
|
|
7
|
-
|
|
8
|
-
Autonomy applies only while the next action remains inside the accepted goal.
|
|
9
|
-
|
|
10
|
-
Return `human_steering_required` with:
|
|
11
|
-
|
|
12
|
-
- initial goal and accepted bounds
|
|
13
|
-
- current phase and last known-good state
|
|
14
|
-
- attempts and evidence
|
|
15
|
-
- blocker and what it prevents
|
|
16
|
-
- proposed next action
|
|
17
|
-
- why it changes scope or authority
|
|
18
|
-
- exact human decision required
|
|
19
|
-
|
|
20
|
-
Preserve completed in-bounds work, then stop. The authority guard passes only
|
|
21
|
-
on explicit human authorization for the proposed next action. A proposal is not
|
|
22
|
-
authority. “All steps”, “full
|
|
23
|
-
delivery”, “do not stop”, and equivalent persistence language apply only within
|
|
24
|
-
accepted bounds.
|
|
25
|
-
|
|
26
|
-
`human_steering_required` is a terminal, non-success outcome. Expanded design,
|
|
27
|
-
implementation, delegation, and recursive review begin only after authority.
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# Handback Phase
|
|
2
|
-
|
|
3
|
-
## Guard
|
|
4
|
-
|
|
5
|
-
The router selected current evidence that triggers `$handback`.
|
|
6
|
-
|
|
7
|
-
## Bounded Action
|
|
8
|
-
|
|
9
|
-
1. Invoke `$handback` with the active delivery evidence.
|
|
10
|
-
2. Retain its complete outcome in the durable state artifact; put its Context
|
|
11
|
-
Pointer and exact blocker in the compact Delivery Handoff.
|
|
12
|
-
3. Stop.
|
|
13
|
-
|
|
14
|
-
## Completion Evidence
|
|
15
|
-
|
|
16
|
-
- the durable `$handback` outcome
|
|
17
|
-
- unchanged accepted bounds and in-bounds artifacts
|
|
18
|
-
- no expanded design, implementation, delegation, or review
|
|
19
|
-
|
|
20
|
-
## Exit
|
|
21
|
-
|
|
22
|
-
Return terminal `human_steering_required`. Resume routing only after the
|
|
23
|
-
`$handback` authority guard passes.
|
|
24
|
-
|
|
25
|
-
Emit the [common Phase Result](../references/context-continuity.md#common-phase-result)
|
|
26
|
-
with pointers to this completion evidence. Stop in every mode until the
|
|
27
|
-
`$handback` authority guard passes.
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# Human Steering Gate
|
|
2
|
-
|
|
3
|
-
## Entry guard
|
|
4
|
-
|
|
5
|
-
Fog identity, immutable lens, child relevance, support relation, evidence,
|
|
6
|
-
scope, or projection ceiling is ambiguous or conflicting under current
|
|
7
|
-
authority.
|
|
8
|
-
|
|
9
|
-
## Bounded action
|
|
10
|
-
|
|
11
|
-
Invoke `$handback` with the exact conflict and minimum human decision. Persist
|
|
12
|
-
its complete outcome as `human_steering_required`, prove that no mutation intent
|
|
13
|
-
was emitted after detecting the conflict, and stop.
|
|
14
|
-
|
|
15
|
-
## Completion evidence
|
|
16
|
-
|
|
17
|
-
Durable `$handback` outcome, exact missing authority or decision, and zero-write
|
|
18
|
-
proof.
|
|
19
|
-
|
|
20
|
-
## Declared exits
|
|
21
|
-
|
|
22
|
-
- `human_steering_required` -> terminal non-success state.
|
|
23
|
-
- `authority_guard_passed` -> router re-entry with the new human decision.
|
|
24
|
-
|
|
25
|
-
## Durable handoff
|
|
26
|
-
|
|
27
|
-
Persist conflict evidence, minimum required decision, complete `$handback`
|
|
28
|
-
outcome, and terminal state. The router keeps returning this terminal while the
|
|
29
|
-
authority guard remains unsatisfied.
|