@punks/cli 4.0.2 → 4.0.4
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 +29 -0
- package/dist/CHANGELOG.md +25 -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 +0 -1
- package/dist/baseline/scaffold-baseline/data/catalog/skills.json +0 -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/data/scripts/sync-subagents-validator.test.ts +59 -0
- package/dist/baseline/scaffold-baseline/data/scripts/sync-subagents.d.mts +1 -0
- package/dist/baseline/scaffold-baseline/data/scripts/sync-subagents.mjs +27 -14
- 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 +18 -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/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/pulumi-best-practices/SKILL.md +1 -3
- package/dist/baseline/scaffold-baseline/skills/frameworks/pulumi/pulumi-component/SKILL.md +2 -14
- 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/SKILL.md +1 -1
- 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/data/scripts/sync-subagents.d.mts +1 -0
- package/dist/data/scripts/sync-subagents.mjs +30 -13
- package/dist/data/shared-agents.md +2 -60
- package/dist/index.js +73 -64
- 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 +18 -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/phases/business-finder/SKILL.md +29 -16
- package/dist/skills/phases/delivery-phase/SKILL.md +1 -1
- 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
|
@@ -52,13 +52,12 @@ Present it as a **multi-select**. When "Build from an uploaded screenshot" is pi
|
|
|
52
52
|
|
|
53
53
|
**Always confirm what to verify** unless the request makes it unambiguous. Present these options and let the user pick one or more (defaults in bold based on the skill's `references/runtime-matrix.md` entry):
|
|
54
54
|
|
|
55
|
-
| Option
|
|
56
|
-
|
|
|
57
|
-
| **Runtime + screenshots**
|
|
58
|
-
| **Trigger accuracy**
|
|
59
|
-
| **Code checks (no device)**
|
|
60
|
-
|
|
61
|
-
**Present these as ONE multi-select question — _"What do you want to verify?"_** These are _grading dimensions_ (how to judge what gets built) — distinct from the **Prompts** phase (what to build). The user may pick any combination. When a prompt is an **uploaded screenshot** (see **Prompts**), include **"Runtime + screenshots"** so the harness captures the generated app and the grader can score it against the target.
|
|
55
|
+
| Option | What it does | When to suggest as default |
|
|
56
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
57
|
+
| **Runtime + screenshots** | Full pipeline: fixture → executor → static gate → run the app on iOS/Android and screenshot it. The runner (Expo Go or dev build) is a separate question — don't name it here. | **Default** for any skill that renders an app screen (the `expo-go`/`dev-build` rows in `references/runtime-matrix.md`). Requires a booted simulator/emulator. |
|
|
58
|
+
| **Trigger accuracy** | Run realistic prompts via `claude -p`, check whether the skill is read. Measures recall (should-trigger queries only). | Always useful as a standalone check. |
|
|
59
|
+
| **Code checks (no device)** | `tsc --noEmit` + diff-aware lint + `expo export`, plus the grader checks the generated code against any custom expectations you provide. No device. | **Default** for `static-only` and `n/a` skills, and whenever you want to verify code patterns (correct import path, a `Host` wrapper, …) without running the app. |
|
|
60
|
+
| **Present these as ONE multi-select question — _"What do you want to verify?"_** These are _grading dimensions_ (how to judge what gets built) — distinct from the **Prompts** phase (what to build). The user may pick any combination. When a prompt is an **uploaded screenshot** (see **Prompts**), include **"Runtime + screenshots"** so the harness captures the generated app and the grader can score it against the target. |
|
|
62
61
|
|
|
63
62
|
Read `references/runtime-matrix.md` to find the skill's default mode before suggesting. If the request already specifies a mode (e.g. "just check if it triggers", "run it on device"), skip the question and proceed.
|
|
64
63
|
|
package/dist/baseline/scaffold-baseline/skills/frameworks/pulumi/pulumi-best-practices/SKILL.md
CHANGED
|
@@ -139,9 +139,7 @@ const bucketPolicy = new aws.s3.BucketPolicy("app-bucket-policy", {
|
|
|
139
139
|
policy: policyDoc,
|
|
140
140
|
});
|
|
141
141
|
const originAccessIdentity = new aws.cloudfront.OriginAccessIdentity("app-oai");
|
|
142
|
-
const distribution = new aws.cloudfront.Distribution("app-cdn", {
|
|
143
|
-
/* ... */
|
|
144
|
-
});
|
|
142
|
+
const distribution = new aws.cloudfront.Distribution("app-cdn", {/* ... */});
|
|
145
143
|
```
|
|
146
144
|
|
|
147
145
|
**Right**:
|
|
@@ -359,20 +359,8 @@ class Database extends pulumi.ComponentResource {
|
|
|
359
359
|
constructor(name: string, args: DatabaseArgs, opts?: pulumi.ComponentResourceOptions) {
|
|
360
360
|
super("myorg:index:Database", name, {}, opts);
|
|
361
361
|
|
|
362
|
-
const sg = new aws.ec2.SecurityGroup(
|
|
363
|
-
|
|
364
|
-
{
|
|
365
|
-
/* ... */
|
|
366
|
-
},
|
|
367
|
-
{ parent: this },
|
|
368
|
-
);
|
|
369
|
-
const cluster = new aws.rds.Cluster(
|
|
370
|
-
`${name}-cluster`,
|
|
371
|
-
{
|
|
372
|
-
/* ... */
|
|
373
|
-
},
|
|
374
|
-
{ parent: this },
|
|
375
|
-
);
|
|
362
|
+
const sg = new aws.ec2.SecurityGroup(`${name}-sg`, {/* ... */}, { parent: this });
|
|
363
|
+
const cluster = new aws.rds.Cluster(`${name}-cluster`, {/* ... */}, { parent: this });
|
|
376
364
|
|
|
377
365
|
this.endpoint = cluster.endpoint;
|
|
378
366
|
this.port = cluster.port;
|
|
@@ -61,7 +61,13 @@ function GoodUserProfile({ userId }) {
|
|
|
61
61
|
|
|
62
62
|
```tsx
|
|
63
63
|
// Global
|
|
64
|
-
[
|
|
64
|
+
[
|
|
65
|
+
"todos",
|
|
66
|
+
] // All todos
|
|
67
|
+
[
|
|
68
|
+
("todos", { status: "done" })
|
|
69
|
+
] // Filtered todos
|
|
70
|
+
[("todos", 123)]; // Single todo
|
|
65
71
|
|
|
66
72
|
// Invalidation hierarchy
|
|
67
73
|
queryClient.invalidateQueries({ queryKey: ["todos"] }); // Invalidates ALL todos
|
|
@@ -32,10 +32,13 @@ createRoot(document.getElementById("root")!).render(
|
|
|
32
32
|
<ReactQueryDevtools
|
|
33
33
|
// Start collapsed (default: false)
|
|
34
34
|
initialIsOpen={false}
|
|
35
|
+
|
|
35
36
|
// Button position on screen
|
|
36
37
|
buttonPosition="bottom-right" // "top-left" | "top-right" | "bottom-left" | "bottom-right"
|
|
38
|
+
|
|
37
39
|
// Panel position when open
|
|
38
40
|
position="bottom" // "top" | "bottom" | "left" | "right"
|
|
41
|
+
|
|
39
42
|
// Custom styles for toggle button
|
|
40
43
|
toggleButtonProps={{
|
|
41
44
|
style: {
|
|
@@ -43,6 +46,7 @@ createRoot(document.getElementById("root")!).render(
|
|
|
43
46
|
marginRight: "1rem",
|
|
44
47
|
},
|
|
45
48
|
}}
|
|
49
|
+
|
|
46
50
|
// Custom styles for panel
|
|
47
51
|
panelProps={{
|
|
48
52
|
style: {
|
|
@@ -61,7 +61,13 @@ function GoodUserProfile({ userId }) {
|
|
|
61
61
|
|
|
62
62
|
```tsx
|
|
63
63
|
// Global
|
|
64
|
-
[
|
|
64
|
+
[
|
|
65
|
+
"todos",
|
|
66
|
+
] // All todos
|
|
67
|
+
[
|
|
68
|
+
("todos", { status: "done" })
|
|
69
|
+
] // Filtered todos
|
|
70
|
+
[("todos", 123)]; // Single todo
|
|
65
71
|
|
|
66
72
|
// Invalidation hierarchy
|
|
67
73
|
queryClient.invalidateQueries({ queryKey: ["todos"] }); // Invalidates ALL todos
|
|
@@ -32,10 +32,13 @@ createRoot(document.getElementById("root")!).render(
|
|
|
32
32
|
<ReactQueryDevtools
|
|
33
33
|
// Start collapsed (default: false)
|
|
34
34
|
initialIsOpen={false}
|
|
35
|
+
|
|
35
36
|
// Button position on screen
|
|
36
37
|
buttonPosition="bottom-right" // "top-left" | "top-right" | "bottom-left" | "bottom-right"
|
|
38
|
+
|
|
37
39
|
// Panel position when open
|
|
38
40
|
position="bottom" // "top" | "bottom" | "left" | "right"
|
|
41
|
+
|
|
39
42
|
// Custom styles for toggle button
|
|
40
43
|
toggleButtonProps={{
|
|
41
44
|
style: {
|
|
@@ -43,6 +46,7 @@ createRoot(document.getElementById("root")!).render(
|
|
|
43
46
|
marginRight: "1rem",
|
|
44
47
|
},
|
|
45
48
|
}}
|
|
49
|
+
|
|
46
50
|
// Custom styles for panel
|
|
47
51
|
panelProps={{
|
|
48
52
|
style: {
|
|
@@ -38,9 +38,7 @@ type State = { loading: boolean; user?: User; error?: string };
|
|
|
38
38
|
|
|
39
39
|
// Do — only valid states exist
|
|
40
40
|
type State =
|
|
41
|
-
| { status: "
|
|
42
|
-
| { status: "success"; user: User }
|
|
43
|
-
| { status: "error"; error: string };
|
|
41
|
+
{ status: "loading" } | { status: "success"; user: User } | { status: "error"; error: string };
|
|
44
42
|
```
|
|
45
43
|
|
|
46
44
|
## Let the types flow end-to-end
|
|
@@ -1,30 +1,43 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: business-finder
|
|
3
|
-
description:
|
|
3
|
+
description: Capture uncertain product intent in business language and optionally project structure through Initiative.
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Business Finder
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
Explicit human entrypoint for a colleague without technical capability. Use
|
|
10
|
+
familiar business language and explain backlog terms before using them.
|
|
11
|
+
Unknown values remain explicit.
|
|
12
12
|
|
|
13
|
-
##
|
|
13
|
+
## Intake profile
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
Capture the actor or affected party, problem or opportunity, desired outcome
|
|
16
|
+
and value, evidence, constraints, non-goals, urgency, and open questions.
|
|
17
|
+
Preserve the human's wording when it already lands. This profile asks no
|
|
18
|
+
implementation or architecture questions.
|
|
19
|
+
|
|
20
|
+
Use `$wait-what` when a request or project term does not land: pause, repitch it
|
|
21
|
+
in familiar language, and ask again. Use `$show-me` before each structure
|
|
22
|
+
decision to present all relevant existing Product Areas and Initiatives with
|
|
23
|
+
the proposed impact. Presentation informs the human and grants no mutation
|
|
24
|
+
authority.
|
|
18
25
|
|
|
19
26
|
## Composition
|
|
20
27
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
owns the
|
|
24
|
-
|
|
28
|
+
Compose [the shared Finder engine](../finder-phase/SKILL.md) with immutable
|
|
29
|
+
intake lens `Business`, this presentation profile, and projection ceiling
|
|
30
|
+
`Initiative`. The engine alone owns the Fog lifecycle, generic support work,
|
|
31
|
+
resume routing, and durable handoff.
|
|
32
|
+
|
|
33
|
+
Optional structure may reuse, enrich, or create Product Areas and Initiatives
|
|
34
|
+
through `$write-backlog`. The ceiling is Initiative: Business Finder never
|
|
35
|
+
projects an Epic, Story, or Task. Skipping projection, or returning an
|
|
36
|
+
unresolved projection, never blocks a valid Fog result.
|
|
25
37
|
|
|
26
|
-
##
|
|
38
|
+
## Bounded return
|
|
27
39
|
|
|
28
|
-
Return the exact Fog identity,
|
|
29
|
-
|
|
30
|
-
|
|
40
|
+
Return the exact Fog identity, immutable Business intake lens, generic support
|
|
41
|
+
work and evidence, optional exact Product Area and Initiative readback,
|
|
42
|
+
unresolved decisions, and durable Finder handoff. Return control without
|
|
43
|
+
asserting that the Fog is resolved or complete.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: delivery-phase
|
|
3
|
-
description:
|
|
3
|
+
description: Human-invoked router for a scoped delivery goal using current artifacts and evidence.
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -46,11 +46,13 @@ state take precedence over inferred artifact order.
|
|
|
46
46
|
otherwise [closeout.md](closeout.md).
|
|
47
47
|
12. For durable `docs_ingest`, load [docs-ingest.md](docs-ingest.md).
|
|
48
48
|
13. For durable `closeout`, load [closeout.md](closeout.md).
|
|
49
|
-
14. If no matching agent-ready `SPEC.md` exists
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
49
|
+
14. If no matching agent-ready `SPEC.md` exists for bounded requirements, or the
|
|
50
|
+
specification is stale, contradictory, incomplete, or lacks verified remote
|
|
51
|
+
retention, route them to Requirements Phase. Requirements Phase owns the
|
|
52
|
+
Requirements Grill, Create Spec, and Write Backlog sequence.
|
|
53
|
+
15. If a verified specification lacks its current Write Backlog result, route
|
|
54
|
+
the retained specification authority to Requirements Phase for
|
|
55
|
+
delivery-depth projection and exact readback.
|
|
54
56
|
16. If no execution-ready matching plan exists, or it lacks dependencies, owned
|
|
55
57
|
paths, validation gates, or wave boundaries, load [plan.md](plan.md).
|
|
56
58
|
17. If accepted plan work is incomplete, load [implement.md](implement.md).
|
|
@@ -63,9 +65,9 @@ state take precedence over inferred artifact order.
|
|
|
63
65
|
19. Route remaining docs-affecting work to [docs-ingest.md](docs-ingest.md),
|
|
64
66
|
otherwise [closeout.md](closeout.md).
|
|
65
67
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
68
|
+
Finder context is optional. Route direct bounded input to Requirements Phase
|
|
69
|
+
without creating a Finder artifact. When the caller supplies Finder context,
|
|
70
|
+
pass only its exact handle for Requirements Phase to resolve.
|
|
69
71
|
|
|
70
72
|
When a linked provider Task has a newly observed work start, blocker, pull
|
|
71
73
|
request, merge, staging deployment, or production deployment without exact
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Backlog Phase
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Route approved design evidence into the accepted delivery scope.
|
|
4
4
|
|
|
5
5
|
Before naming or rewriting domain concepts, read the canonical glossary in the
|
|
6
6
|
routed `requirements-grill` status artifact. Preserve its canonical terms;
|
|
@@ -9,28 +9,37 @@ silently renaming them.
|
|
|
9
9
|
|
|
10
10
|
## Prerequisite
|
|
11
11
|
|
|
12
|
-
An authoritative agent-ready `SPEC.md`
|
|
12
|
+
An authoritative agent-ready `SPEC.md` with a verified stable blob URL links at
|
|
13
|
+
least one fresh approved artifact set and its artifact contract.
|
|
13
14
|
|
|
14
15
|
## Steps
|
|
15
16
|
|
|
16
|
-
1. Verify the
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
1. Verify the specification authority, approved artifact links, durable asset
|
|
18
|
+
links, accepted scope, constraints, and acceptance checks.
|
|
19
|
+
2. Decide whether the approved evidence fits the retained specification and
|
|
20
|
+
its already accepted delivery items.
|
|
21
|
+
3. When the evidence requires new Stories or Tasks, retain the accepted design
|
|
22
|
+
evidence and return it to Requirements Phase. Requirements Phase closes the
|
|
23
|
+
changed scope and alone authorizes a new delivery-depth projection.
|
|
24
|
+
4. When the evidence fits the accepted scope, use `repo-asset-management` for
|
|
25
|
+
backlog attachments, with its repo-provider fallback when direct
|
|
26
|
+
attachments are unavailable or unsuitable. Preserve the existing backlog
|
|
27
|
+
identities.
|
|
28
|
+
5. Record the linked backlog identities and preserve the
|
|
29
|
+
`spec -> backlog -> delivery` handoff.
|
|
24
30
|
|
|
25
31
|
## Rules
|
|
26
32
|
|
|
27
|
-
-
|
|
28
|
-
|
|
29
|
-
-
|
|
33
|
+
- `repo-asset-management` owns provider upload commands and attachment
|
|
34
|
+
fallbacks.
|
|
35
|
+
- Record a durable fallback path or blocker when visual evidence cannot be
|
|
36
|
+
attached.
|
|
37
|
+
- Unapproved scope returns to Requirements Phase before backlog mutation.
|
|
30
38
|
|
|
31
39
|
## Output
|
|
32
40
|
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
41
|
+
- Retained design evidence and approved artifact links.
|
|
42
|
+
- Existing backlog identities and URLs when scope is unchanged.
|
|
43
|
+
- Requirements Phase return when scope needs new Stories or Tasks.
|
|
44
|
+
- Attachment fallback blockers.
|
|
45
|
+
- Phase handoff next route: delivery-handoff.
|