@punks/cli 4.0.1 → 4.0.3
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/dist/BASELINE_CHANGELOG.md +34 -0
- package/dist/CHANGELOG.md +24 -0
- package/dist/baseline/scaffold-baseline/baseline.json +5 -5
- package/dist/baseline/scaffold-baseline/data/catalog/lint-assets.json +10 -4
- package/dist/baseline/scaffold-baseline/data/catalog/packs.json +2 -3
- package/dist/baseline/scaffold-baseline/data/catalog/skills.json +8 -8
- package/dist/baseline/scaffold-baseline/data/hooks/format-edited-file.mjs +602 -101
- package/dist/baseline/scaffold-baseline/data/scripts/commit-gate-runner.d.ts +11 -0
- package/dist/baseline/scaffold-baseline/data/scripts/commit-gate-runner.mjs +103 -0
- package/dist/baseline/scaffold-baseline/data/scripts/commit-gate-runner.test.ts +144 -0
- package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/adapters/claude.mjs +1 -0
- package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/adapters/codex.mjs +1 -0
- package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/adapters/cursor.mjs +1 -0
- package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/adapters/opencode.mjs +1 -0
- package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/contract.ts +24 -33
- package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/core.mjs +4 -0
- package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/core.test.ts +61 -0
- package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/lint-feedback.test.ts +123 -0
- package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/test-fixtures/claude/actions.json +1 -0
- package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/test-fixtures/codex/actions.json +2 -1
- package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/test-fixtures/cursor/projection.json +1 -0
- package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/test-fixtures/opencode/projection.json +1 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/docs-onboarding/SKILL.md +2 -2
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/SKILL.md +32 -32
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/assets/SPEC-TEMPLATE.md +7 -7
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/readiness.md +14 -13
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/spec-quality-bar.md +26 -19
- package/dist/baseline/scaffold-baseline/skills/agnostic/quality/autoreview/SKILL.md +2 -2
- package/dist/baseline/scaffold-baseline/skills/agnostic/quality/autoreview/scripts/autoreview +3 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/brainstorm/SKILL.md +12 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/requirements-grill/SKILL.md +2 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/EXAMPLES.md +9 -9
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/REFERENCE.md +43 -55
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/SKILL.md +68 -63
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md +26 -29
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/concepts/story-shape.md +5 -5
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/azure-devops-create-payload.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/github-projects-create-payload.md +2 -2
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/linear-create-payload.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/monday-create-payload.md +2 -2
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/business-projection.md +19 -24
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/delivery-status.md +17 -13
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/fog-intake.md +45 -48
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/functional-projection.md +16 -21
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/normalization.md +14 -14
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/project-context.md +32 -27
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/providers/github.md +105 -150
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/providers/linear.md +111 -181
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/technical-projection.md +51 -47
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/scripts/validate-task-blocker-graph.mjs +49 -35
- package/dist/baseline/scaffold-baseline/skills/agnostic/research/parallel-research/DURABLE-REPORT.md +5 -12
- package/dist/baseline/scaffold-baseline/skills/agnostic/research/parallel-research/SKILL.md +7 -8
- package/dist/baseline/scaffold-baseline/skills/agnostic/security/architect-pipeline/SKILL.md +97 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/security/architect-pipeline/agents/openai.yaml +4 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/security/architect-pipeline/references/infrastructure-deployment.md +29 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/security/architect-pipeline/references/security-by-design.md +22 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/security/security-best-practices/references/javascript-typescript-vue-web-frontend-security.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/frameworks/expo/eas-update-insights/references/update-insights-schema.md +2 -6
- package/dist/baseline/scaffold-baseline/skills/frameworks/expo/expo-skill-eval/SKILL.md +6 -7
- package/dist/baseline/scaffold-baseline/skills/frameworks/pulumi/provider-upgrade/SKILL.md +10 -7
- package/dist/baseline/scaffold-baseline/skills/frameworks/pulumi/pulumi-best-practices/SKILL.md +19 -53
- package/dist/baseline/scaffold-baseline/skills/frameworks/pulumi/pulumi-component/SKILL.md +36 -88
- package/dist/baseline/scaffold-baseline/skills/frameworks/tanstack-query/tanstack-query/references/best-practices.md +7 -1
- package/dist/baseline/scaffold-baseline/skills/frameworks/tanstack-query/tanstack-query/templates/devtools-setup.tsx +4 -0
- package/dist/baseline/scaffold-baseline/skills/frameworks/trpc/tanstack-query/references/best-practices.md +7 -1
- package/dist/baseline/scaffold-baseline/skills/frameworks/trpc/tanstack-query/templates/devtools-setup.tsx +4 -0
- package/dist/baseline/scaffold-baseline/skills/languages/typescript/quality-types/SKILL.md +1 -3
- package/dist/baseline/scaffold-baseline/skills/phases/business-finder/SKILL.md +29 -16
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/router.md +10 -8
- package/dist/baseline/scaffold-baseline/skills/phases/design-phase/phases/backlog.md +26 -17
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/AUTHORING-HANDOFF.md +51 -261
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/SKILL.md +22 -25
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/ensure-fog.md +13 -23
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/grilling.md +40 -0
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/handback.md +11 -18
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/prototype.md +13 -21
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/reconcile.md +21 -35
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/research.md +13 -18
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/return-target.md +14 -25
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/router.md +22 -56
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/entrypoint-contract.md +25 -26
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/root-routing.md +12 -20
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/runtime-handoff.md +17 -39
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/state-graph.md +27 -49
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/scripts/finder-contract.mjs +40 -359
- package/dist/baseline/scaffold-baseline/skills/phases/functional-finder/SKILL.md +29 -62
- package/dist/baseline/scaffold-baseline/skills/phases/requirements-phase/SKILL.md +49 -13
- package/dist/baseline/scaffold-baseline.json +5 -5
- package/dist/baseline/scaffold-baseline.tgz +0 -0
- package/dist/data/hooks/format-edited-file.d.mts +21 -0
- package/dist/data/hooks/format-edited-file.mjs +588 -98
- package/dist/data/scripts/commit-gate-runner.mjs +103 -0
- package/dist/data/scripts/harness-projection/adapters/claude.mjs +1 -0
- package/dist/data/scripts/harness-projection/adapters/codex.mjs +1 -0
- package/dist/data/scripts/harness-projection/adapters/cursor.mjs +1 -0
- package/dist/data/scripts/harness-projection/adapters/opencode.mjs +1 -0
- package/dist/data/scripts/harness-projection/core.mjs +4 -0
- package/dist/data/scripts/harness-projection/test-fixtures/claude/actions.json +1 -0
- package/dist/data/scripts/harness-projection/test-fixtures/codex/actions.json +2 -1
- package/dist/data/scripts/harness-projection/test-fixtures/cursor/projection.json +1 -0
- package/dist/data/scripts/harness-projection/test-fixtures/opencode/projection.json +1 -0
- package/dist/index.js +73 -58
- package/dist/skills/agnostic/docs/docs-onboarding/SKILL.md +2 -2
- package/dist/skills/agnostic/planning/create-spec/SKILL.md +32 -32
- package/dist/skills/agnostic/planning/create-spec/assets/SPEC-TEMPLATE.md +7 -7
- package/dist/skills/agnostic/planning/create-spec/references/readiness.md +14 -13
- package/dist/skills/agnostic/planning/create-spec/references/spec-quality-bar.md +26 -19
- package/dist/skills/agnostic/quality/autoreview/SKILL.md +2 -2
- package/dist/skills/agnostic/quality/autoreview/scripts/autoreview +3 -0
- package/dist/skills/agnostic/requirements/brainstorm/SKILL.md +12 -0
- package/dist/skills/agnostic/requirements/requirements-grill/SKILL.md +2 -1
- package/dist/skills/agnostic/requirements/write-backlog/EXAMPLES.md +9 -9
- package/dist/skills/agnostic/requirements/write-backlog/REFERENCE.md +43 -55
- package/dist/skills/agnostic/requirements/write-backlog/SKILL.md +68 -63
- package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md +26 -29
- package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/story-shape.md +5 -5
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/azure-devops-create-payload.md +1 -1
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/github-projects-create-payload.md +2 -2
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/linear-create-payload.md +1 -1
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/monday-create-payload.md +2 -2
- package/dist/skills/agnostic/requirements/write-backlog/references/business-projection.md +19 -24
- package/dist/skills/agnostic/requirements/write-backlog/references/delivery-status.md +17 -13
- package/dist/skills/agnostic/requirements/write-backlog/references/fog-intake.md +45 -48
- package/dist/skills/agnostic/requirements/write-backlog/references/functional-projection.md +16 -21
- package/dist/skills/agnostic/requirements/write-backlog/references/normalization.md +14 -14
- package/dist/skills/agnostic/requirements/write-backlog/references/project-context.md +32 -27
- package/dist/skills/agnostic/requirements/write-backlog/references/providers/github.md +97 -142
- package/dist/skills/agnostic/requirements/write-backlog/references/providers/linear.md +106 -176
- package/dist/skills/agnostic/requirements/write-backlog/references/technical-projection.md +51 -47
- package/dist/skills/agnostic/requirements/write-backlog/scripts/validate-task-blocker-graph.mjs +55 -31
- package/dist/skills/agnostic/research/parallel-research/DURABLE-REPORT.md +5 -12
- package/dist/skills/agnostic/research/parallel-research/SKILL.md +7 -8
- package/dist/skills/agnostic/security/architect-pipeline/SKILL.md +97 -0
- package/dist/skills/agnostic/security/architect-pipeline/agents/openai.yaml +4 -0
- package/dist/skills/agnostic/security/architect-pipeline/references/infrastructure-deployment.md +29 -0
- package/dist/skills/agnostic/security/architect-pipeline/references/security-by-design.md +22 -0
- package/dist/skills/frameworks/pulumi/provider-upgrade/SKILL.md +10 -7
- package/dist/skills/frameworks/pulumi/pulumi-best-practices/SKILL.md +10 -42
- package/dist/skills/frameworks/pulumi/pulumi-component/SKILL.md +18 -58
- package/dist/skills/phases/business-finder/SKILL.md +29 -16
- package/dist/skills/phases/delivery-phase/phases/router.md +10 -8
- package/dist/skills/phases/design-phase/phases/backlog.md +26 -17
- package/dist/skills/phases/finder-phase/AUTHORING-HANDOFF.md +51 -261
- package/dist/skills/phases/finder-phase/SKILL.md +22 -25
- package/dist/skills/phases/finder-phase/phases/ensure-fog.md +13 -23
- package/dist/skills/phases/finder-phase/phases/grilling.md +40 -0
- package/dist/skills/phases/finder-phase/phases/handback.md +11 -18
- package/dist/skills/phases/finder-phase/phases/prototype.md +13 -21
- package/dist/skills/phases/finder-phase/phases/reconcile.md +21 -35
- package/dist/skills/phases/finder-phase/phases/research.md +13 -18
- package/dist/skills/phases/finder-phase/phases/return-target.md +14 -25
- package/dist/skills/phases/finder-phase/phases/router.md +22 -56
- package/dist/skills/phases/finder-phase/references/entrypoint-contract.md +25 -26
- package/dist/skills/phases/finder-phase/references/root-routing.md +12 -20
- package/dist/skills/phases/finder-phase/references/runtime-handoff.md +17 -39
- package/dist/skills/phases/finder-phase/references/state-graph.md +27 -49
- package/dist/skills/phases/finder-phase/scripts/finder-contract.mjs +44 -357
- package/dist/skills/phases/functional-finder/SKILL.md +29 -62
- package/dist/skills/phases/requirements-phase/SKILL.md +49 -13
- package/package.json +7 -5
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/adopt-business-path.md +0 -52
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/business-grilling.md +0 -68
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/functional-grilling.md +0 -53
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/technical-grilling.md +0 -67
- package/dist/baseline/scaffold-baseline/skills/phases/technical-finder/SKILL.md +0 -74
- package/dist/baseline/scaffold-baseline/skills/phases/technical-finder/agents/openai.yaml +0 -2
- package/dist/skills/phases/finder-phase/phases/adopt-business-path.md +0 -52
- package/dist/skills/phases/finder-phase/phases/business-grilling.md +0 -68
- package/dist/skills/phases/finder-phase/phases/functional-grilling.md +0 -53
- package/dist/skills/phases/finder-phase/phases/technical-grilling.md +0 -67
- package/dist/skills/phases/technical-finder/SKILL.md +0 -74
- package/dist/skills/phases/technical-finder/agents/openai.yaml +0 -2
|
@@ -5,17 +5,17 @@ description: Compile confirmed product decisions into SPEC.md. Use when requirem
|
|
|
5
5
|
|
|
6
6
|
# Create Spec
|
|
7
7
|
|
|
8
|
-
`create-spec` is
|
|
8
|
+
`create-spec` is the no-interview compiler of confirmed decisions. Upstream
|
|
9
9
|
Wayfinder, research, prototyping, and grilling own uncertainty. This skill asks
|
|
10
10
|
no questions, runs no local grill, and performs no backlog mutation.
|
|
11
11
|
|
|
12
12
|
## Inputs
|
|
13
13
|
|
|
14
|
-
Accept confirmed
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
parent/base constraints.
|
|
18
|
-
|
|
14
|
+
Accept confirmed decision evidence: grill status and logs, research reports,
|
|
15
|
+
prototype verdicts, ADRs, glossary, axioms, constraints, system facts, accepted
|
|
16
|
+
implementation and testing decisions, dependency evidence, and accepted
|
|
17
|
+
parent/base constraints. Provider backlog items may be source evidence, but
|
|
18
|
+
they are not specification identities or readiness prerequisites.
|
|
19
19
|
|
|
20
20
|
## Steps
|
|
21
21
|
|
|
@@ -24,9 +24,10 @@ routed `requirements-grill` status artifact. Preserve its canonical terms;
|
|
|
24
24
|
route proposed terminology changes through `requirements-grill` instead of
|
|
25
25
|
silently renaming them.
|
|
26
26
|
|
|
27
|
-
1. Resolve the planning surface using
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
1. Resolve the planning surface using
|
|
28
|
+
[folder-naming.md](references/folder-naming.md).
|
|
29
|
+
2. Validate readiness using [readiness.md](references/readiness.md). If required
|
|
30
|
+
evidence is missing, return one atomic `spec-not-ready` result and write no
|
|
30
31
|
partial `SPEC.md`.
|
|
31
32
|
3. Compile [SPEC-TEMPLATE.md](assets/SPEC-TEMPLATE.md). Preserve only confirmed
|
|
32
33
|
decisions; never invent closure. Serialize `Dependency Readiness` and
|
|
@@ -34,36 +35,35 @@ silently renaming them.
|
|
|
34
35
|
4. Apply [spec-quality-bar.md](references/spec-quality-bar.md).
|
|
35
36
|
5. Update existing planning-surface indexes through
|
|
36
37
|
[wiki-bookkeeping.md](references/wiki-bookkeeping.md).
|
|
37
|
-
6. Persist the completed spec and
|
|
38
|
-
|
|
39
|
-
7. Push or explicitly retain the spec commit through
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
8. Invoke `$show-me` to present the completed spec
|
|
44
|
-
only from the compiled spec
|
|
45
|
-
|
|
46
|
-
9. Return `spec-written
|
|
47
|
-
|
|
38
|
+
6. Persist the completed spec and bookkeeping in a dedicated git commit. Never
|
|
39
|
+
stage unrelated changes.
|
|
40
|
+
7. Push or explicitly retain the spec commit through the repository-approved remote
|
|
41
|
+
mechanism. Verify the retained ref contains the spec commit, then construct and
|
|
42
|
+
verify a stable blob URL before `write-backlog` may consume it. A local
|
|
43
|
+
commit SHA plus path is insufficient.
|
|
44
|
+
8. Invoke `$show-me` to present the completed spec in `SPEC.md`. Derive the presentation
|
|
45
|
+
only from the compiled spec and continue without adding an approval gate or
|
|
46
|
+
inferring new closure.
|
|
47
|
+
9. Return `spec-written`, `readiness: agent-ready`, and the verified stable blob
|
|
48
|
+
URL. If retention or URL verification fails, return one atomic
|
|
48
49
|
`spec-not-ready` result and do not invoke backlog projection.
|
|
49
50
|
|
|
50
51
|
## Boundaries
|
|
51
52
|
|
|
52
|
-
- `SPEC.md` is provider-neutral authority for resolved requirements.
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
workers, and validation detail.
|
|
60
|
-
- A mutable path or local-only commit is not a backlog handoff. `write-backlog`
|
|
61
|
-
receives only the verified stable blob URL.
|
|
53
|
+
- `SPEC.md` is the provider-neutral authority for resolved requirements. It
|
|
54
|
+
identifies requirements and outcomes as `OUT-###`; these identifiers imply
|
|
55
|
+
no provider Epic, Story, or Task identity or count.
|
|
56
|
+
- `write-backlog` receives only the verified stable blob URL, then derives or
|
|
57
|
+
reuses the provider Epic, Stories, Tasks, and blocker graph supported by the
|
|
58
|
+
compiled requirements and current provider evidence.
|
|
59
|
+
- A mutable path or local-only commit is not a backlog handoff.
|
|
62
60
|
- Accepted technical and testing decisions belong in the spec. Detailed task
|
|
63
61
|
choreography does not.
|
|
62
|
+
- `create-plan` preserves provider Task identities and owns files, commands,
|
|
63
|
+
workers, and validation detail.
|
|
64
64
|
- `Dependency Readiness` and `Branch/Base Intent` preserve accepted dependency
|
|
65
65
|
evidence and parent/base constraints for `create-plan`.
|
|
66
66
|
- `readiness: agent-ready` is sufficient downstream. Do not add a review or
|
|
67
67
|
approval stop; pause only for a user-requested HITL checkpoint.
|
|
68
|
-
- Compiler state is `compiled`. Human approval, when explicitly requested, is
|
|
69
|
-
separate optional action and is never inferred or stamped by
|
|
68
|
+
- Compiler state is `compiled`. Human approval, when explicitly requested, is
|
|
69
|
+
a separate optional action and is never inferred or stamped by the compiler.
|
package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/assets/SPEC-TEMPLATE.md
CHANGED
|
@@ -15,25 +15,25 @@ updated: YYYY-MM-DD
|
|
|
15
15
|
|
|
16
16
|
## Non-Goals
|
|
17
17
|
|
|
18
|
-
##
|
|
18
|
+
## Requirements and Outcomes
|
|
19
19
|
|
|
20
|
-
###
|
|
20
|
+
### OUT-001: [Observable outcome]
|
|
21
21
|
|
|
22
22
|
## Acceptance Criteria
|
|
23
23
|
|
|
24
24
|
- AC-001: [Binary observable criterion]
|
|
25
|
-
- Covers:
|
|
25
|
+
- Covers: OUT-001
|
|
26
26
|
|
|
27
27
|
## Constraints
|
|
28
28
|
|
|
29
29
|
## Dependency Readiness
|
|
30
30
|
|
|
31
31
|
_Write `No Stack Required` when no dependency exists. Otherwise write `Ready`
|
|
32
|
-
and list each dependency
|
|
32
|
+
and list each dependency's immutable landing or branch/base evidence._
|
|
33
33
|
|
|
34
34
|
## Branch/Base Intent
|
|
35
35
|
|
|
36
|
-
_When accepted intent exists, record the intended parent
|
|
36
|
+
_When accepted intent exists, record the intended parent or base, child branch
|
|
37
37
|
constraint, and supporting evidence. Otherwise write `Not applicable`._
|
|
38
38
|
|
|
39
39
|
## Accepted Technical Decisions
|
|
@@ -43,7 +43,7 @@ constraint, and supporting evidence. Otherwise write `Not applicable`._
|
|
|
43
43
|
## Verification Seams
|
|
44
44
|
|
|
45
45
|
_Name the public interface, event, state transition, command, or observable
|
|
46
|
-
boundary used to verify
|
|
46
|
+
boundary used to verify behavior. If none applies, record the accepted
|
|
47
47
|
not-applicable rationale._
|
|
48
48
|
|
|
49
49
|
## Prototype Verdicts
|
|
@@ -53,7 +53,7 @@ accepted implications. Remove this section when no prototype exists._
|
|
|
53
53
|
|
|
54
54
|
## Parked Decisions
|
|
55
55
|
|
|
56
|
-
_Each item needs an owner and resume trigger. Remove when empty._
|
|
56
|
+
_Each item needs an owner and resume trigger. Remove this section when empty._
|
|
57
57
|
|
|
58
58
|
## Decision Log
|
|
59
59
|
|
package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/readiness.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Readiness
|
|
2
2
|
|
|
3
|
-
Compile only when the decision frontier is closed
|
|
4
|
-
explicitly parked with owner and resume trigger.
|
|
3
|
+
Compile only when the decision frontier is closed and every remaining item is
|
|
4
|
+
explicitly parked with an owner and resume trigger.
|
|
5
5
|
|
|
6
6
|
Required inputs:
|
|
7
7
|
|
|
@@ -9,21 +9,20 @@ Required inputs:
|
|
|
9
9
|
- accepted functional behavior and observable success
|
|
10
10
|
- accepted implementation and testing decisions, when any were made upstream
|
|
11
11
|
- every applicable prototype verdict by immutable commit SHA and path
|
|
12
|
-
-
|
|
13
|
-
- dependency readiness for every declared dependency: proven
|
|
12
|
+
- verification-seam decision, or an explicit not-applicable rationale
|
|
13
|
+
- dependency readiness for every declared dependency: proven landing, or an
|
|
14
14
|
accepted branch/base intent with concrete evidence; blocked or unevidenced
|
|
15
15
|
dependencies fail compilation
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
provider Story precondition.
|
|
17
|
+
Provider backlog items may supply evidence. Compilation never requires a
|
|
18
|
+
preselected provider delivery item.
|
|
20
19
|
|
|
21
20
|
## Dependency output contract
|
|
22
21
|
|
|
23
22
|
Serialize both sections in every compiled spec:
|
|
24
23
|
|
|
25
24
|
- `Dependency Readiness`: write `No Stack Required` when no dependency exists.
|
|
26
|
-
Otherwise write `Ready` and list every dependency
|
|
25
|
+
Otherwise write `Ready` and list every dependency's immutable landing or
|
|
27
26
|
branch/base evidence.
|
|
28
27
|
- `Branch/Base Intent`: when accepted intent exists, record the intended parent
|
|
29
28
|
or base, child branch constraint, and supporting evidence. Otherwise write
|
|
@@ -32,13 +31,15 @@ Serialize both sections in every compiled spec:
|
|
|
32
31
|
Never emit `Blocked` with `readiness: agent-ready`; blocked or unevidenced
|
|
33
32
|
dependencies produce `spec-not-ready` instead.
|
|
34
33
|
|
|
34
|
+
## Outcome coverage contract
|
|
35
|
+
|
|
35
36
|
Validate the compiled traceability graph before writing:
|
|
36
37
|
|
|
37
|
-
- every `
|
|
38
|
-
- every `Covers` reference resolves to an existing `
|
|
39
|
-
|
|
40
|
-
-
|
|
41
|
-
|
|
38
|
+
- every unique `OUT-###` has at least one `AC-###`
|
|
39
|
+
- every `Covers` reference resolves to an existing `OUT-###`
|
|
40
|
+
- all `OUT-###` and `AC-###` identifiers are unique
|
|
41
|
+
- coverage is one-way from each acceptance criterion to its covered outcome;
|
|
42
|
+
outcomes do not identify or prescribe provider delivery items
|
|
42
43
|
|
|
43
44
|
On failure, return one `spec-not-ready` result listing every missing decision or
|
|
44
45
|
evidence item and its upstream route: `finder-phase`, `parallel-research`,
|
|
@@ -4,14 +4,15 @@ Use this reference while filling the template and before saving.
|
|
|
4
4
|
|
|
5
5
|
## Core rule
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
A spec lives in the problem space.
|
|
8
8
|
|
|
9
|
-
- include what, who, why,
|
|
10
|
-
constraints, accepted technical
|
|
11
|
-
verification seams, `Dependency Readiness`, and `Branch/Base Intent`
|
|
9
|
+
- include what, who, why, requirements and outcomes, acceptance criteria,
|
|
10
|
+
non-goals, constraints, accepted technical and testing decisions, prototype
|
|
11
|
+
verdicts, verification seams, `Dependency Readiness`, and `Branch/Base Intent`
|
|
12
12
|
- exclude unaccepted solution design and plan-owned files, commands, workers,
|
|
13
13
|
task graph, or execution order
|
|
14
|
-
-
|
|
14
|
+
- incorporate confirmed source evidence into unified requirements rather than
|
|
15
|
+
treating provider backlog items as specification identities
|
|
15
16
|
|
|
16
17
|
## Acceptance-criteria bar
|
|
17
18
|
|
|
@@ -20,40 +21,46 @@ Every acceptance criterion should be:
|
|
|
20
21
|
- binary
|
|
21
22
|
- observable
|
|
22
23
|
- testable
|
|
23
|
-
- identified as `AC-###` with one or more one-way `
|
|
24
|
+
- identified as `AC-###` with one or more one-way `OUT-###` coverage links
|
|
24
25
|
|
|
25
26
|
Avoid:
|
|
26
27
|
|
|
27
|
-
- vague outcomes
|
|
28
|
+
- vague outcomes such as "works well" or "feels intuitive"
|
|
28
29
|
- hidden implementation requirements disguised as product behavior
|
|
29
30
|
- mixed criteria that bundle several independent outcomes into one line
|
|
30
31
|
|
|
31
32
|
## Capability completeness bar
|
|
32
33
|
|
|
33
|
-
When compiling confirmed capability
|
|
34
|
+
When compiling confirmed capability decisions:
|
|
34
35
|
|
|
35
|
-
- the spec
|
|
36
|
-
-
|
|
37
|
-
|
|
36
|
+
- keep the spec as provider-neutral authority for the capability boundary
|
|
37
|
+
- retain concrete requirements, constraints, and acceptance criteria from all
|
|
38
|
+
accepted source evidence
|
|
39
|
+
- resolve cross-outcome interactions in the spec rather than leaving them
|
|
40
|
+
implicit in backlog items
|
|
41
|
+
- keep specification outcomes independent from provider Epic, Story, and Task
|
|
42
|
+
identities and cardinality
|
|
38
43
|
|
|
39
44
|
Avoid:
|
|
40
45
|
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
|
|
46
|
+
- omitting confirmed requirements from an outcome
|
|
47
|
+
- retaining source backlog items as links without incorporating their product
|
|
48
|
+
details
|
|
49
|
+
- copying overlapping source items separately instead of unifying them
|
|
44
50
|
|
|
45
51
|
## Self-review before saving
|
|
46
52
|
|
|
47
|
-
- ensure frontmatter has a non-empty string `title`, especially for specs saved
|
|
53
|
+
- ensure frontmatter has a non-empty string `title`, especially for specs saved
|
|
54
|
+
directly in routed Fumadocs trees
|
|
48
55
|
- ensure frontmatter contains `readiness: agent-ready`
|
|
49
56
|
- ensure `Dependency Readiness` records `No Stack Required` or `Ready` with
|
|
50
57
|
evidence
|
|
51
58
|
- ensure `Branch/Base Intent` records accepted parent/base constraints or
|
|
52
59
|
`Not applicable`
|
|
53
|
-
-
|
|
54
|
-
- remove empty
|
|
55
|
-
- ensure the document reads cleanly
|
|
56
|
-
- check that terminology matches
|
|
60
|
+
- ensure every outcome passes the one-way coverage contract
|
|
61
|
+
- remove all template scaffolding and empty irrelevant sections
|
|
62
|
+
- ensure the document reads cleanly without ghost instructions
|
|
63
|
+
- check that terminology matches repository domain language
|
|
57
64
|
|
|
58
65
|
## Field naming rule
|
|
59
66
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: autoreview
|
|
3
|
-
description: "Auto Review closeout. Codex review
|
|
3
|
+
description: "Auto Review closeout. Codex review defaults to gpt-5.6-terra with high reasoning when no reviewer settings are set."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Auto Review
|
|
7
7
|
|
|
8
8
|
Run the bundled structured review helper as a closeout check. This is code review, not Guardian `auto_review` approval routing.
|
|
9
9
|
|
|
10
|
-
Codex review is the default when no engine is set. It usually delivers the best review results and should remain the normal final closeout engine.
|
|
10
|
+
Codex review is the default when no engine is set, using gpt-5.6-terra with high reasoning unless explicitly overridden. It usually delivers the best review results and should remain the normal final closeout engine.
|
|
11
11
|
|
|
12
12
|
Use when:
|
|
13
13
|
|
package/dist/baseline/scaffold-baseline/skills/agnostic/quality/autoreview/scripts/autoreview
CHANGED
|
@@ -1007,6 +1007,9 @@ def reviewer_args(args: argparse.Namespace) -> list[argparse.Namespace]:
|
|
|
1007
1007
|
seen.add(engine)
|
|
1008
1008
|
model = inline_model or model_by_engine.get(engine) or global_model
|
|
1009
1009
|
thinking = inline_thinking or thinking_by_engine.get(engine) or global_thinking
|
|
1010
|
+
if engine == "codex":
|
|
1011
|
+
model = model or "gpt-5.6-terra"
|
|
1012
|
+
thinking = thinking or "high"
|
|
1010
1013
|
if thinking and thinking not in THINKING_LEVELS_BY_ENGINE[engine]:
|
|
1011
1014
|
valid = ", ".join(sorted(THINKING_LEVELS_BY_ENGINE[engine])) or "none"
|
|
1012
1015
|
raise SystemExit(f"invalid thinking level for {engine}: {thinking} (valid: {valid})")
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: brainstorm
|
|
3
|
+
description: Brainstorm a bounded system from the operating agent’s perspective. Use when asked to brainstorm a system or another skill invokes `$brainstorm`.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Brainstorm
|
|
7
|
+
|
|
8
|
+
Apply this to the active system boundary:
|
|
9
|
+
|
|
10
|
+
think deeply about how to make this entire system as agent-intuitive, agent-ergonomic, and agent-accretive as you can possibly imagine. Put yourself in the driver's seat and imagine that YOU are the one using this system and driving it. What would most enable you to do an awesome job understanding the situation accurately and optimally controlling everything to drive the best and most accurate results possible, with the least expenditure of resources? Don't just think of the project as an assemblage of various parts or components: really try to profoundly and deeply conceptualize it as a synthetic SYSTEM that is maximally coherent, cohesive, modular, and interconnected, forming a tower of linked abstractions that are maximally legible to you as an agent. Really ruminate and meditate on all of this incredibly deeply before responding or taking any actions.
|
|
11
|
+
|
|
12
|
+
Return evidence-grounded observations and unresolved decisions. They remain candidates until the caller accepts them.
|
package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/requirements-grill/SKILL.md
CHANGED
|
@@ -7,7 +7,7 @@ description: Requirements grilling with durable branch artifacts, glossary/axiom
|
|
|
7
7
|
|
|
8
8
|
Use this skill to turn uncertain product, architecture, or implementation ideas into pinned requirements, canonical glossary, and domain axioms that `create-spec` can compile after closure.
|
|
9
9
|
|
|
10
|
-
This skill composes `$domain-modeling
|
|
10
|
+
This skill composes `$domain-modeling`, `$brainstorm`, and `$grilling` with durable artifacts. Use `requirements-grill` when the result must survive as routed grill log/status/wiki knowledge.
|
|
11
11
|
|
|
12
12
|
This skill has three scoped references:
|
|
13
13
|
|
|
@@ -35,6 +35,7 @@ Both workflows can happen in one long session, but keep the responsibilities dis
|
|
|
35
35
|
- Give `$domain-modeling` the active status glossary before the first question. Invoke it whenever a round changes terminology, relationships, or domain decisions, and persist its accepted results through `artifact-output` before continuing.
|
|
36
36
|
- Inspect relevant routed learning artifacts before grilling requirements that depend on known behavior, prior bugs, project conventions, or domain facts.
|
|
37
37
|
- Before `$grilling` constructs the first frontier, identify every active code- or architecture-bearing branch and complete the technical grounding in `grilling-flow`. Ground each branch in current code evidence, then ask code-grounded questions about its applicable topology, dependency direction and injection, seams, boundaries, persistence, and module shape. Each technical question states the observed constraint and the code consequence of the decision. Persist accepted design in the grill artifacts; keep `GLOSSARY.md` glossary-only.
|
|
38
|
+
- After technical grounding, complete `$brainstorm` before the first frontier. Add its unresolved decisions to the design tree; treat all output as candidate material until accepted. Rerun only when accepted decisions change the active system boundary.
|
|
38
39
|
- Prefer conservative defaults once enough context exists.
|
|
39
40
|
- If the user authorizes auto-pinning defaults, record obvious remaining defaults without needless extra questions.
|
|
40
41
|
- Treat parked branches as preserved knowledge, not deleted scope.
|
package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/EXAMPLES.md
CHANGED
|
@@ -17,15 +17,15 @@ Current Delivery views.
|
|
|
17
17
|
One Fog records a product owner's request.
|
|
18
18
|
|
|
19
19
|
1. **Business**: accepted Business grilling reuses Product Area `Knowledge` and
|
|
20
|
-
Initiative `Reliable answers
|
|
21
|
-
|
|
22
|
-
2. **Functional**:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
20
|
+
Initiative `Reliable answers`. The Fog links to both; no duplicate structure
|
|
21
|
+
is created and the Business ceiling is not exceeded.
|
|
22
|
+
2. **Functional**: accepted Functional grilling reuses that Business structure
|
|
23
|
+
and creates Epic `Source quality`. It never creates a Story or Task.
|
|
24
|
+
3. **Requirements delivery projection**: an authoritative agent-ready `SPEC.md`
|
|
25
|
+
at a stable blob URL derives Story `Reader sees why an answer is trustworthy`
|
|
26
|
+
and the required Tasks `Expose source confidence` and `Render confidence
|
|
27
|
+
explanation`. The Story retains `OUT-001` and `AC-001` traceability. All
|
|
28
|
+
delivery items inherit `V4.0`; the second Task is blocked by the first.
|
|
29
29
|
|
|
30
30
|
The Task graph has stable provider identities, no missing target, no
|
|
31
31
|
future-iteration dependency, no self-edge, and no cycle. Exact readback proves
|
package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/REFERENCE.md
CHANGED
|
@@ -3,29 +3,27 @@
|
|
|
3
3
|
## Public Seam
|
|
4
4
|
|
|
5
5
|
`write-backlog` accepts one semantic operation and returns its exact provider
|
|
6
|
-
result. Callers
|
|
6
|
+
result. Callers neither select provider primitives nor perform writes.
|
|
7
7
|
|
|
8
8
|
Required input:
|
|
9
9
|
|
|
10
|
-
- operation: initialize/reconstruct, Fog
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
or issue reconciliation
|
|
10
|
+
- operation: initialize/reconstruct, Fog/Grilling/support intake, Business
|
|
11
|
+
projection, Functional projection, delivery projection, Normalization,
|
|
12
|
+
delivery status, or issue reconciliation
|
|
14
13
|
- durable wiki identity for every intended object and stable provider identity
|
|
15
14
|
for every known object
|
|
16
|
-
- immutable accepted evidence
|
|
17
|
-
delivery-
|
|
18
|
-
|
|
19
|
-
- proposed semantic delta, source wording, source links, and expected
|
|
15
|
+
- immutable accepted evidence authorizing projection, Normalization, or a
|
|
16
|
+
delivery-state operation; intake instead carries exact parent, kind, durable
|
|
17
|
+
identity, and bounded unknown
|
|
18
|
+
- proposed semantic delta, source wording, immutable source links, and expected
|
|
20
19
|
provider state
|
|
21
|
-
- exact `V*` milestone for
|
|
22
|
-
- structural approval record
|
|
20
|
+
- exact `V*` milestone for every Story and derived Task
|
|
21
|
+
- structural approval record whenever the delta crosses an approval boundary
|
|
23
22
|
|
|
24
|
-
Missing
|
|
25
|
-
|
|
26
|
-
or resumes the unresolved shell that will later carry that evidence.
|
|
23
|
+
Missing, mutable, ambiguous, or conflicting authority returns every gap with
|
|
24
|
+
zero provider mutations.
|
|
27
25
|
|
|
28
|
-
## Topology
|
|
26
|
+
## Semantic Topology
|
|
29
27
|
|
|
30
28
|
```text
|
|
31
29
|
Product/Backlog Root
|
|
@@ -33,58 +31,48 @@ Product/Backlog Root
|
|
|
33
31
|
└── Initiative
|
|
34
32
|
└── Epic
|
|
35
33
|
└── Story [exactly one contextual V*]
|
|
36
|
-
└── Task
|
|
34
|
+
└── Task [same V* + blocker relations when derived]
|
|
37
35
|
|
|
38
36
|
Fog ──lateral provenance/enrichment──> Product Area | Initiative | Epic | Story | Task
|
|
39
37
|
```
|
|
40
38
|
|
|
41
|
-
Product Areas are
|
|
42
|
-
goals. Epics are long-lived business slices
|
|
43
|
-
|
|
44
|
-
ownable delivery units.
|
|
39
|
+
Product Areas are stable product responsibilities. Initiatives are business
|
|
40
|
+
goals. Epics are long-lived business slices. Stories are shippable product
|
|
41
|
+
outcomes. Derived Tasks are atomic, independently ownable delivery units.
|
|
45
42
|
|
|
46
|
-
Business projection
|
|
47
|
-
|
|
48
|
-
Tasks
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
every Task belongs to the same iteration as its Story. A Fog may target one
|
|
53
|
-
fitting iteration. Product Areas, Initiatives, and Epics span iterations.
|
|
43
|
+
Business projection stops at Product Area and Initiative. Functional projection
|
|
44
|
+
may project that structure plus Epics. Neither Finder projection creates Stories
|
|
45
|
+
or Tasks. Delivery projection starts from an immutable agent-ready `SPEC.md`,
|
|
46
|
+
treats `OUT-###` only as traceability, and derives or reuses the accepted Product
|
|
47
|
+
Area → Initiative → Epic → Story → Task placement. Outcome count imposes no
|
|
48
|
+
provider-item cardinality.
|
|
54
49
|
|
|
55
50
|
## Validation Envelope
|
|
56
51
|
|
|
57
52
|
Before the first provider write:
|
|
58
53
|
|
|
59
|
-
1.
|
|
60
|
-
workspace identity.
|
|
54
|
+
1. Prove Product/Backlog Root, repository, wiki, and actual provider workspace.
|
|
61
55
|
2. Read every target and relation from the provider.
|
|
62
|
-
3. Apply the exact create/enrich/stop decision table from
|
|
63
|
-
[issue reconciliation](references/issue-reconciliation.md). A title is
|
|
64
|
-
discovery evidence
|
|
65
|
-
4. Reuse
|
|
66
|
-
|
|
67
|
-
5. Validate hierarchy,
|
|
68
|
-
links, accepted evidence, and
|
|
69
|
-
6.
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
where required.
|
|
56
|
+
3. Apply the exact create/reuse/enrich/stop decision table from
|
|
57
|
+
[issue reconciliation](references/issue-reconciliation.md). A title is only
|
|
58
|
+
discovery evidence.
|
|
59
|
+
4. Reuse exact structure and fitting `V*` milestones. Require preview and
|
|
60
|
+
explicit approval for material topology changes.
|
|
61
|
+
5. Validate hierarchy, adapter representation, memberships, immutable source
|
|
62
|
+
links, accepted evidence, approval state, and historical-ticket exclusion.
|
|
63
|
+
6. Validate every parent Story and the complete reachable Task graph. Reject a
|
|
64
|
+
missing parent or blocker, milestone mismatch, future-iteration edge,
|
|
65
|
+
self-edge, duplicate edge, or cycle.
|
|
66
|
+
7. Validate a small mutation envelope: ordered operations, stable identities,
|
|
67
|
+
preconditions, and the exact readback comparison expected after each write.
|
|
75
68
|
|
|
76
69
|
## Result Envelope
|
|
77
70
|
|
|
78
|
-
Return
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
- created, enriched, repaired, or unchanged classification
|
|
84
|
-
- exact parents, relations, `V*` membership, fields, views, source links, and
|
|
85
|
-
statuses read back from the provider
|
|
86
|
-
- applied approval record and unresolved delta
|
|
87
|
-
- partial writes and recovery point when a provider request fails
|
|
71
|
+
Return provider, workspace, and Product/Backlog Root identities; operation and
|
|
72
|
+
immutable evidence identity; stable provider IDs and durable wiki identities;
|
|
73
|
+
created, enriched, repaired, or unchanged classification; exact parents,
|
|
74
|
+
relations, `V*` membership, semantic fields, views, source links, and statuses;
|
|
75
|
+
the approval record; observed writes; recovery point; and residual delta.
|
|
88
76
|
|
|
89
|
-
Only exact readback proves success. A successful request
|
|
90
|
-
readback
|
|
77
|
+
Only exact readback proves success. A successful provider request with a
|
|
78
|
+
mismatched readback remains unresolved reconciliation.
|