compound-workflow 1.8.0 → 1.9.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/README.md +61 -69
- package/package.json +2 -8
- package/scripts/check-pack-readme.mjs +1 -16
- package/scripts/check-workflow-contracts.mjs +34 -44
- package/scripts/install-cli.mjs +273 -555
- package/src/AGENTS.md +59 -192
- package/src/{.agents/agents → agents}/research/best-practices-researcher.md +2 -2
- package/src/{.agents/commands → commands}/assess.md +4 -4
- package/src/commands/install.md +43 -0
- package/src/{.agents/commands → commands}/metrics.md +1 -1
- package/src/commands/workflow-agents.md +101 -0
- package/src/{.agents/commands → commands}/workflow-compound.md +1 -1
- package/src/{.agents/commands → commands}/workflow-plan.md +24 -33
- package/src/commands/workflow-work.md +836 -0
- package/src/{.agents/references → references}/README.md +1 -1
- package/src/{.agents/skills → skills}/capture-skill/SKILL.md +1 -1
- package/src/{.agents/skills → skills}/compound-docs/SKILL.md +6 -6
- package/src/{.agents/skills → skills}/compound-docs/references/yaml-schema.md +2 -2
- package/src/skills/setup-agents/SKILL.md +250 -0
- package/src/skills/standards/SKILL.md +79 -0
- package/src/skills/standards/references/architecture.md +228 -0
- package/src/skills/standards/references/code-quality.md +192 -0
- package/src/skills/standards/references/presentation.md +515 -0
- package/src/skills/standards/references/services.md +172 -0
- package/src/skills/standards/references/state-management.md +936 -0
- package/.claude-plugin/plugin.json +0 -7
- package/.cursor-plugin/plugin.json +0 -20
- package/.cursor-plugin/registration.json +0 -5
- package/scripts/check-version-parity.mjs +0 -36
- package/scripts/generate-platform-artifacts.mjs +0 -230
- package/src/.agents/commands/install.md +0 -51
- package/src/.agents/commands/workflow-work.md +0 -690
- package/src/.agents/registry.json +0 -48
- package/src/.agents/scripts/self-check.mjs +0 -227
- package/src/.agents/scripts/sync-opencode.mjs +0 -362
- package/src/.agents/skills/presentation-composability/SKILL.md +0 -72
- package/src/.agents/skills/react-ddd-mvc-frontend/SKILL.md +0 -51
- package/src/.agents/skills/react-ddd-mvc-frontend/references/feature-structure.md +0 -25
- package/src/.agents/skills/react-ddd-mvc-frontend/references/implementation-principles.md +0 -21
- package/src/.agents/skills/react-ddd-mvc-frontend/references/responsibility-gates.md +0 -41
- package/src/.agents/skills/react-ddd-mvc-frontend/references/source-map.md +0 -11
- package/src/.agents/skills/standards/SKILL.md +0 -747
- package/src/.agents/skills/xstate-actor-orchestration/SKILL.md +0 -197
- package/src/.agents/skills/xstate-actor-orchestration/agents/openai.yaml +0 -4
- package/src/.agents/skills/xstate-actor-orchestration/assets/statecharts/.gitkeep +0 -0
- package/src/.agents/skills/xstate-actor-orchestration/references/actor-system-patterns.md +0 -71
- package/src/.agents/skills/xstate-actor-orchestration/references/event-contracts.md +0 -73
- package/src/.agents/skills/xstate-actor-orchestration/references/functional-domain-patterns.md +0 -53
- package/src/.agents/skills/xstate-actor-orchestration/references/machine-structure-and-tags.md +0 -36
- package/src/.agents/skills/xstate-actor-orchestration/references/react-container-pattern.md +0 -45
- package/src/.agents/skills/xstate-actor-orchestration/references/reliability-observability.md +0 -39
- package/src/.agents/skills/xstate-actor-orchestration/references/skill-validation.md +0 -33
- package/src/.agents/skills/xstate-actor-orchestration/references/source-map.md +0 -44
- package/src/.agents/skills/xstate-actor-orchestration/references/statechart-review-and-signoff.md +0 -59
- package/src/.agents/skills/xstate-actor-orchestration/references/testing-strategy.md +0 -35
- package/src/.agents/skills/xstate-actor-orchestration/scripts/create-statechart-artifact.sh +0 -71
- package/src/.agents/skills/xstate-actor-orchestration/scripts/validate-skill.sh +0 -138
- package/src/generated/opencode.managed.json +0 -115
- /package/src/{.agents/agents → agents}/research/framework-docs-researcher.md +0 -0
- /package/src/{.agents/agents → agents}/research/git-history-analyzer.md +0 -0
- /package/src/{.agents/agents → agents}/research/learnings-researcher.md +0 -0
- /package/src/{.agents/agents → agents}/research/repo-research-analyst.md +0 -0
- /package/src/{.agents/agents → agents}/review/agent-native-reviewer.md +0 -0
- /package/src/{.agents/agents → agents}/review/planning-technical-reviewer.md +0 -0
- /package/src/{.agents/agents → agents}/workflow/bug-reproduction-validator.md +0 -0
- /package/src/{.agents/agents → agents}/workflow/lint.md +0 -0
- /package/src/{.agents/agents → agents}/workflow/spec-flow-analyzer.md +0 -0
- /package/src/{.agents/commands → commands}/test-browser.md +0 -0
- /package/src/{.agents/commands → commands}/workflow-brainstorm.md +0 -0
- /package/src/{.agents/commands → commands}/workflow-review.md +0 -0
- /package/src/{.agents/commands → commands}/workflow-tech-review.md +0 -0
- /package/src/{.agents/commands → commands}/workflow-triage.md +0 -0
- /package/src/{.agents/references → references}/standards/README.md +0 -0
- /package/src/{.agents/skills → skills}/agent-browser/SKILL.md +0 -0
- /package/src/{.agents/skills → skills}/audit-traceability/SKILL.md +0 -0
- /package/src/{.agents/skills → skills}/brainstorming/SKILL.md +0 -0
- /package/src/{.agents/skills → skills}/compound-docs/assets/critical-pattern-template.md +0 -0
- /package/src/{.agents/skills → skills}/compound-docs/assets/resolution-template.md +0 -0
- /package/src/{.agents/skills → skills}/compound-docs/schema.project.yaml +0 -0
- /package/src/{.agents/skills → skills}/compound-docs/schema.yaml +0 -0
- /package/src/{.agents/skills → skills}/data-foundations/SKILL.md +0 -0
- /package/src/{.agents/skills → skills}/document-review/SKILL.md +0 -0
- /package/src/{.agents/skills → skills}/file-todos/SKILL.md +0 -0
- /package/src/{.agents/skills → skills}/file-todos/assets/todo-template.md +0 -0
- /package/src/{.agents/skills → skills}/financial-workflow-integrity/SKILL.md +0 -0
- /package/src/{.agents/skills → skills}/git-worktree/SKILL.md +0 -0
- /package/src/{.agents/skills → skills}/pii-protection-prisma/SKILL.md +0 -0
- /package/src/{.agents/skills → skills}/process-metrics/SKILL.md +0 -0
- /package/src/{.agents/skills → skills}/process-metrics/assets/daily-template.md +0 -0
- /package/src/{.agents/skills → skills}/process-metrics/assets/monthly-template.md +0 -0
- /package/src/{.agents/skills → skills}/process-metrics/assets/weekly-template.md +0 -0
- /package/src/{.agents/skills → skills}/technical-review/SKILL.md +0 -0
package/README.md
CHANGED
|
@@ -1,111 +1,103 @@
|
|
|
1
|
-
|
|
1
|
+
# Compound Workflow
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
It follows a simple cycle: **clarify -> plan -> execute -> verify -> capture**.
|
|
3
|
+
A portable, command-first system for shipping software with less ambiguity and stronger verification.
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
Inspired by [Compound Engineering](https://every.to/guides/compound-engineering) — the idea that small, consistent improvements compound over time into significantly better outcomes. Applied here: every piece of work follows the same cycle, every decision is captured, and every session makes the next one faster.
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
---
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
## What it does
|
|
11
10
|
|
|
12
|
-
-
|
|
13
|
-
- Structured execution with explicit review gates
|
|
14
|
-
- A repeatable process that captures reusable learnings
|
|
11
|
+
Compound Workflow gives your AI agent a structured process for turning a request into validated, documented output. Instead of ad-hoc conversations, you get a repeatable cycle:
|
|
15
12
|
|
|
16
|
-
|
|
13
|
+
**Clarify → Plan → Execute → Verify → Capture**
|
|
17
14
|
|
|
18
|
-
|
|
15
|
+
Each step has an explicit gate. Work doesn't move forward until the previous step is done. Learnings are captured so the next similar problem takes minutes, not hours.
|
|
19
16
|
|
|
20
|
-
|
|
21
|
-
flowchart LR
|
|
22
|
-
A["brainstorm"] --> B["plan"] --> C["work (includes triage)"] --> D["review"] --> E["capture"] --> F["metrics"]
|
|
23
|
-
```
|
|
17
|
+
---
|
|
24
18
|
|
|
25
19
|
## Get Started
|
|
26
20
|
|
|
27
|
-
**1. Install the package**
|
|
28
|
-
|
|
29
21
|
```bash
|
|
30
22
|
npm install compound-workflow
|
|
31
23
|
```
|
|
32
24
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
The package’s `postinstall` script runs and configures your repo: `AGENTS.md`, standard directories, and OpenCode wiring. No separate npx step is needed.
|
|
36
|
-
|
|
37
|
-
**3. If lifecycle scripts were skipped**
|
|
25
|
+
Postinstall runs automatically and sets up your repo: `AGENTS.md`, standard directories, and OpenCode wiring.
|
|
38
26
|
|
|
39
|
-
If your package manager
|
|
27
|
+
If your package manager skipped the lifecycle script, or after updating the package:
|
|
40
28
|
|
|
41
29
|
```bash
|
|
42
30
|
npx compound-workflow install
|
|
43
31
|
```
|
|
44
32
|
|
|
45
|
-
|
|
33
|
+
---
|
|
46
34
|
|
|
47
|
-
|
|
35
|
+
## The Workflow
|
|
48
36
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
npx compound-workflow install
|
|
37
|
+
```
|
|
38
|
+
brainstorm → plan → work → review → compound → metrics
|
|
53
39
|
```
|
|
54
40
|
|
|
55
|
-
|
|
41
|
+
### `/workflow:brainstorm`
|
|
42
|
+
Clarify what to build before any planning starts. The agent asks structured questions, surfaces ambiguities, and produces a brief that confirms intent and constraints. Nothing gets designed until the "what" is agreed.
|
|
56
43
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
- `opencode.json` managed entries pointing at `node_modules/compound-workflow/src/.agents/*`
|
|
44
|
+
### `/workflow:plan`
|
|
45
|
+
Turn the brief into an executable plan. Declares fidelity level (Low / Medium / High), confidence, solution scope, and open questions. Cites local code references and prior solutions. No code is written here.
|
|
60
46
|
|
|
61
|
-
|
|
47
|
+
### `/workflow:work`
|
|
48
|
+
Execute the approved plan. The agent derives todo contracts, isolates work in a git worktree, applies the standards gate, runs triage, delegates to subagents, and collects verified output. Evidence is required before any todo moves to complete.
|
|
62
49
|
|
|
63
|
-
|
|
64
|
-
|
|
50
|
+
### `/workflow:review`
|
|
51
|
+
Independent quality check before the work is considered done. Runs in a separate pass from the implementer. Emits a clear pass / fail with standards compliance noted. Required for code and config changes.
|
|
65
52
|
|
|
66
|
-
|
|
53
|
+
### `/workflow:compound`
|
|
54
|
+
Capture what was learned. Writes a structured solution doc to `docs/solutions/` with searchable YAML frontmatter. The first time you solve a problem takes research — document it and the next occurrence takes minutes.
|
|
67
55
|
|
|
68
|
-
|
|
56
|
+
### `/metrics` and `/assess`
|
|
57
|
+
Log session outcomes and spot trends. `/metrics` records a single session. `/assess` rolls up recent entries and proposes concrete improvements to commands, skills, or config.
|
|
69
58
|
|
|
70
|
-
|
|
71
|
-
2. `/workflow:plan` for implementation design
|
|
72
|
-
3. `/workflow:work` to execute against the approved plan (includes automatic triage)
|
|
73
|
-
4. `/workflow:review` to validate quality before completion
|
|
74
|
-
5. `/workflow:compound` to capture reusable learnings
|
|
59
|
+
---
|
|
75
60
|
|
|
76
|
-
Optional
|
|
61
|
+
## Optional Commands
|
|
77
62
|
|
|
78
|
-
|
|
79
|
-
- `/metrics` and `/assess` for process improvement
|
|
63
|
+
**`/workflow:triage`** — Manually curate and prioritise a backlog before execution. `/workflow:work` runs triage automatically, but this gives you explicit control when the queue is complex.
|
|
80
64
|
|
|
81
|
-
|
|
65
|
+
**`/workflow:tech-review`** — Technical correctness check on a plan before build. Use when the approach needs a second opinion before committing to implementation.
|
|
82
66
|
|
|
83
|
-
|
|
67
|
+
**`/test-browser`** — Browser-level validation of affected routes. Useful for UI changes where automated tests aren't enough.
|
|
84
68
|
|
|
85
|
-
|
|
86
|
-
| ---------------------- | ------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
87
|
-
| `/install` | Configure workflow files and runtime wiring in the repo | install CLI (no workflow skill routing) | none |
|
|
88
|
-
| `/workflow:brainstorm` | Clarify what to build through structured discussion | `brainstorming` (primary), `document-review` (optional refinement) | `repo-research-analyst` |
|
|
89
|
-
| `/workflow:plan` | Convert intent into an executable plan with fidelity/confidence | state-orchestration skill when needed (for example `xstate-actor-orchestration`) | `repo-research-analyst`, `learnings-researcher`, `best-practices-researcher`, `framework-docs-researcher`, `git-history-analyzer`, `spec-flow-analyzer`, `planning-technical-reviewer` |
|
|
90
|
-
| `/workflow:triage` | Manual queue curation for complex/multi-item backlogs (optional; `/workflow:work` runs triage automatically) | `file-todos` | none |
|
|
91
|
-
| `/workflow:work` | Execute plan/todos with quality gates and validation evidence | `git-worktree`, `file-todos`, `standards`, state-orchestration skill when needed | `repo-research-analyst`, `learnings-researcher`, `best-practices-researcher`, `framework-docs-researcher`, `git-history-analyzer` |
|
|
92
|
-
| `/workflow:review` | Perform independent quality review before completion | `git-worktree` (for non-current targets), `standards` | `learnings-researcher`, `lint`, `bug-reproduction-validator`, `git-history-analyzer`, `framework-docs-researcher`, `agent-native-reviewer` |
|
|
93
|
-
| `/workflow:compound` | Capture reusable implementation learnings in `docs/solutions/` | `compound-docs` (primary), `document-review` (optional) | `learnings-researcher`, `best-practices-researcher`, `framework-docs-researcher` |
|
|
94
|
-
| `/metrics` | Log session outcomes and improvement actions | `process-metrics`, `file-todos` (optional for follow-ups) | none |
|
|
95
|
-
| `/assess` | Aggregate metrics trends and propose process improvements | `file-todos` (for approved follow-up actions) | none |
|
|
96
|
-
| `/test-browser` | Validate affected routes with browser-level checks | `agent-browser`, `git-worktree` (optional branch isolation) | none |
|
|
69
|
+
**`/install`** — Re-run setup. Safe to run again after updating the package or adding a new harness.
|
|
97
70
|
|
|
98
|
-
|
|
71
|
+
---
|
|
99
72
|
|
|
100
|
-
##
|
|
73
|
+
## How it's structured
|
|
74
|
+
|
|
75
|
+
Skills and agents are the internals. Commands are the public API — stable entry points that compose the right skills for each phase.
|
|
76
|
+
|
|
77
|
+
| Layer | What it is |
|
|
78
|
+
| --- | --- |
|
|
79
|
+
| **Commands** (`src/commands/`) | What you invoke. Orchestrate the workflow steps. |
|
|
80
|
+
| **Skills** (`src/skills/`) | Focused capabilities loaded by commands when needed. |
|
|
81
|
+
| **Agents** (`src/agents/`) | Specialised subagents for research, review, and analysis. |
|
|
82
|
+
| **AGENTS.md** | Project config: repo settings, harness list, skill index. |
|
|
83
|
+
|
|
84
|
+
On install, files are copied into whichever harness directories are present in your project (`.agents/`, `.cursor/`, `.claude/`). No symlinks, no generated manifests.
|
|
101
85
|
|
|
102
|
-
|
|
103
|
-
- Project command and policy index: [src/AGENTS.md](src/AGENTS.md)
|
|
104
|
-
- Command definitions: [src/.agents/commands/](src/.agents/commands/)
|
|
86
|
+
---
|
|
105
87
|
|
|
106
|
-
|
|
88
|
+
## Guardrails
|
|
107
89
|
|
|
108
|
-
|
|
90
|
+
- **Independent review policy:** code/config changes require `/workflow:review` before workflow completion. Docs-only changes are exempt.
|
|
91
|
+
- **Standards baseline policy:** `/workflow:work` and `/workflow:review` both apply the standards baseline. Violations block completion.
|
|
92
|
+
- **No ad-hoc artifacts** — output goes to `docs/plans`, `docs/solutions`, `todos`, or `docs/metrics`. Nothing else.
|
|
93
|
+
|
|
94
|
+
If docs conflict: follow `docs/principles/workflow-baseline-principles.md`, then `AGENTS.md`, then command docs, then skill docs.
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## Learn More
|
|
109
99
|
|
|
110
|
-
-
|
|
111
|
-
-
|
|
100
|
+
- [Workflow principles](docs/principles/workflow-baseline-principles.md)
|
|
101
|
+
- [AGENTS.md](src/AGENTS.md) — command index, repo config, skill routing
|
|
102
|
+
- [Commands](src/commands/) — full command specs
|
|
103
|
+
- [Skills](src/skills/) — skill docs and templates
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "compound-workflow",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "Clarify → plan → execute → verify → capture. One Install action for Cursor, Claude, and OpenCode.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -12,16 +12,10 @@
|
|
|
12
12
|
},
|
|
13
13
|
"files": [
|
|
14
14
|
"src",
|
|
15
|
-
"scripts"
|
|
16
|
-
".cursor-plugin",
|
|
17
|
-
".claude-plugin"
|
|
15
|
+
"scripts"
|
|
18
16
|
],
|
|
19
17
|
"scripts": {
|
|
20
18
|
"postinstall": "node scripts/postinstall.mjs",
|
|
21
|
-
"prepublishOnly": "npm run generate:artifacts",
|
|
22
|
-
"generate:artifacts": "node scripts/generate-platform-artifacts.mjs",
|
|
23
|
-
"check:artifacts": "node scripts/generate-platform-artifacts.mjs --check",
|
|
24
|
-
"check:version-parity": "node scripts/check-version-parity.mjs",
|
|
25
19
|
"check:pack-readme": "node scripts/check-pack-readme.mjs",
|
|
26
20
|
"test:install": "node --test tests/install-cli.test.mjs"
|
|
27
21
|
},
|
|
@@ -31,9 +31,6 @@ try {
|
|
|
31
31
|
|
|
32
32
|
const files = Array.isArray(report) && report[0]?.files ? report[0].files : [];
|
|
33
33
|
const hasRootReadme = files.some((file) => /^readme(?:\.[^/]+)?$/i.test(file.path));
|
|
34
|
-
const hasGeneratedManifest = files.some((file) => file.path === "src/generated/opencode.managed.json");
|
|
35
|
-
const hasCursorPlugin = files.some((file) => file.path === ".cursor-plugin/plugin.json");
|
|
36
|
-
const hasClaudePlugin = files.some((file) => file.path === ".claude-plugin/plugin.json");
|
|
37
34
|
|
|
38
35
|
if (!hasRootReadme) {
|
|
39
36
|
console.error("Package guard failed: root README is missing from the packed tarball.");
|
|
@@ -41,16 +38,4 @@ if (!hasRootReadme) {
|
|
|
41
38
|
process.exit(1);
|
|
42
39
|
}
|
|
43
40
|
|
|
44
|
-
|
|
45
|
-
console.error("Package guard failed: src/generated/opencode.managed.json is missing from the packed tarball.");
|
|
46
|
-
console.error("Ensure 'src' is in package.json 'files' and the file is committed or generated before publish.");
|
|
47
|
-
process.exit(1);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
if (!hasCursorPlugin || !hasClaudePlugin) {
|
|
51
|
-
console.error("Package guard failed: .cursor-plugin/plugin.json and .claude-plugin/plugin.json must be in the packed tarball.");
|
|
52
|
-
console.error("Ensure '.cursor-plugin' and '.claude-plugin' are in package.json 'files'.");
|
|
53
|
-
process.exit(1);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
console.log("Package guard passed: root README, opencode.managed.json, and plugin manifests are present in npm pack output.");
|
|
41
|
+
console.log("Package guard passed: root README is present in npm pack output.");
|
|
@@ -58,126 +58,116 @@ const requiredChecks = [
|
|
|
58
58
|
description: "README standards baseline guardrail",
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
|
-
file: "src
|
|
61
|
+
file: "src/commands/workflow-plan.md",
|
|
62
62
|
pattern: "Contract precedence:",
|
|
63
63
|
description: "plan command precedence note",
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
|
-
file: "src
|
|
66
|
+
file: "src/commands/workflow-triage.md",
|
|
67
67
|
pattern: "Contract precedence:",
|
|
68
68
|
description: "triage command precedence note",
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
|
-
file: "src
|
|
71
|
+
file: "src/commands/workflow-triage.md",
|
|
72
72
|
pattern: "independently runnable",
|
|
73
73
|
description: "triage command explicitly standalone while work auto-runs triage",
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
|
-
file: "src
|
|
76
|
+
file: "src/commands/workflow-work.md",
|
|
77
77
|
pattern: "Contract precedence:",
|
|
78
78
|
description: "work command precedence note",
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
|
-
file: "src
|
|
81
|
+
file: "src/commands/workflow-plan.md",
|
|
82
82
|
pattern: "Start `/workflow:work`",
|
|
83
83
|
description: "plan command default next-step routes to work",
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
|
-
file: "src
|
|
87
|
-
pattern: "
|
|
88
|
-
description: "worktree hard-gate
|
|
86
|
+
file: "src/commands/workflow-work.md",
|
|
87
|
+
pattern: "Environment Setup (Hard Gate)",
|
|
88
|
+
description: "worktree hard-gate section in work command",
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
|
-
file: "src
|
|
92
|
-
pattern: "
|
|
93
|
-
description: "
|
|
91
|
+
file: "src/commands/workflow-work.md",
|
|
92
|
+
pattern: "Opt-out requires explicit user confirmation.",
|
|
93
|
+
description: "worktree decision requires explicit opt-out in work command",
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
|
-
file: "src
|
|
97
|
-
pattern: "
|
|
98
|
-
description: "worktree decision
|
|
96
|
+
file: "src/commands/workflow-work.md",
|
|
97
|
+
pattern: "Yes / No — explicit opt-out required",
|
|
98
|
+
description: "worktree decision prompt is explicit yes/no in work command",
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
|
-
file: "src
|
|
101
|
+
file: "src/commands/workflow-work.md",
|
|
102
102
|
pattern:
|
|
103
103
|
"No file writes, implementation commands, test/lint/typecheck commands, or dependency-install commands may run before this gate passes.",
|
|
104
104
|
description: "pre-gate write/command prohibition in work command",
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
|
-
file: "src
|
|
108
|
-
pattern: "
|
|
109
|
-
description: "
|
|
107
|
+
file: "src/commands/workflow-work.md",
|
|
108
|
+
pattern: "gate_status: passed",
|
|
109
|
+
description: "gate_status must be recorded before proceeding in work command",
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
|
-
file: "src
|
|
113
|
-
pattern: "Standards Compliance Gate (REQUIRED for code/config changes)",
|
|
114
|
-
description: "required standards gate in work command",
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
file: "src/.agents/commands/workflow-work.md",
|
|
118
|
-
pattern: "This gate cannot run until the isolation/worktree gate is passed and recorded (`gate_status: passed`).",
|
|
119
|
-
description: "standards gate ordering with worktree gate",
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
file: "src/.agents/commands/workflow-review.md",
|
|
112
|
+
file: "src/commands/workflow-review.md",
|
|
123
113
|
pattern: "Contract precedence:",
|
|
124
114
|
description: "review command precedence note",
|
|
125
115
|
},
|
|
126
116
|
{
|
|
127
|
-
file: "src
|
|
117
|
+
file: "src/commands/workflow-review.md",
|
|
128
118
|
pattern: "Independent Reviewer Pass (REQUIRED)",
|
|
129
119
|
description: "required independent reviewer pass in review command",
|
|
130
120
|
},
|
|
131
121
|
{
|
|
132
|
-
file: "src
|
|
122
|
+
file: "src/commands/workflow-review.md",
|
|
133
123
|
pattern: "review_independence_mode: independent|degraded",
|
|
134
124
|
description: "explicit review independence mode in review command",
|
|
135
125
|
},
|
|
136
126
|
{
|
|
137
|
-
file: "src
|
|
127
|
+
file: "src/commands/workflow-review.md",
|
|
138
128
|
pattern: "what was skipped and why",
|
|
139
129
|
description: "review skipped-pass disclosure requirement",
|
|
140
130
|
},
|
|
141
131
|
{
|
|
142
|
-
file: "src
|
|
132
|
+
file: "src/commands/workflow-review.md",
|
|
143
133
|
pattern: "standards_compliance: pass|pass-with-notes|fail",
|
|
144
134
|
description: "review standards compliance output field",
|
|
145
135
|
},
|
|
146
136
|
{
|
|
147
|
-
file: "src
|
|
137
|
+
file: "src/commands/workflow-review.md",
|
|
148
138
|
pattern: "standards `MUST` violations => blocking finding and review recommendation `fail`",
|
|
149
139
|
description: "review must-violation fail criteria",
|
|
150
140
|
},
|
|
151
141
|
{
|
|
152
|
-
file: "src
|
|
153
|
-
pattern: "## Mandatory
|
|
154
|
-
description: "standards mandatory
|
|
142
|
+
file: "src/skills/standards/SKILL.md",
|
|
143
|
+
pattern: "## Mandatory Gates",
|
|
144
|
+
description: "standards mandatory gates section",
|
|
155
145
|
},
|
|
156
146
|
{
|
|
157
|
-
file: "src
|
|
158
|
-
pattern: "
|
|
159
|
-
description: "standards
|
|
147
|
+
file: "src/skills/standards/SKILL.md",
|
|
148
|
+
pattern: "pass|fail",
|
|
149
|
+
description: "standards gates are pass/fail",
|
|
160
150
|
},
|
|
161
151
|
];
|
|
162
152
|
|
|
163
153
|
const forbiddenChecks = [
|
|
164
154
|
{
|
|
165
|
-
file: "src
|
|
155
|
+
file: "src/commands/workflow-work.md",
|
|
166
156
|
pattern: "## When to Use Reviewer Agents",
|
|
167
157
|
description: "legacy optional reviewer section in work command",
|
|
168
158
|
},
|
|
169
159
|
{
|
|
170
|
-
file: "src
|
|
160
|
+
file: "src/commands/workflow-work.md",
|
|
171
161
|
pattern: "**Don't use by default.**",
|
|
172
162
|
description: "legacy skip-by-default reviewer wording in work command",
|
|
173
163
|
},
|
|
174
164
|
{
|
|
175
|
-
file: "src
|
|
165
|
+
file: "src/commands/workflow-work.md",
|
|
176
166
|
pattern: "skip specialist reviewers by default",
|
|
177
167
|
description: "legacy skip-by-default specialist reviewer wording",
|
|
178
168
|
},
|
|
179
169
|
{
|
|
180
|
-
file: "src
|
|
170
|
+
file: "src/commands/workflow-work.md",
|
|
181
171
|
pattern: "Follow project coding standards (see AGENTS.md)",
|
|
182
172
|
description: "legacy advisory-only coding standards wording in work command",
|
|
183
173
|
},
|