harness-everything 0.30.7 → 0.30.9
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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.github/workflows/ci.yml +31 -0
- package/CHANGELOG.md +38 -0
- package/README.md +1 -1
- package/ci/fixtures/system-one-resident-stub.py +7 -1
- package/ci/mechanism-system-one-resident.test.js +70 -3
- package/ci/prompt-contract-regressions.test.js +80 -0
- package/docs/workflows/fable-discipline.md +18 -59
- package/docs/workflows/git-commit.md +21 -67
- package/docs/workflows/grill-me.md +20 -12
- package/docs/workflows/grill-with-docs.md +21 -12
- package/evals/fable-discipline/tasks/positive-trigger.yaml +1 -1
- package/evals/git-commit/tasks/positive-trigger.yaml +1 -1
- package/evals/grill-me/tasks/positive-trigger.yaml +1 -1
- package/fable-discipline/SKILL.md +13 -13
- package/fable-discipline/references/discipline-rules.md +4 -4
- package/git-commit/SKILL.md +14 -14
- package/git-commit/references/commit-flow.md +4 -2
- package/grill-me/SKILL.md +19 -21
- package/grill-me/references/grilling-playbook.md +5 -5
- package/grill-with-docs/SKILL.md +3 -3
- package/grill-with-docs/references/session-playbook.md +4 -4
- package/opencode-plugin/plugin.json +1 -1
- package/package.json +1 -1
- package/plugins/harness-everything/.codex-plugin/plugin.json +1 -1
- package/plugins/harness-everything/plugin.json +1 -1
- package/plugins/harness-everything/skills/fable-discipline/SKILL.md +13 -13
- package/plugins/harness-everything/skills/fable-discipline/references/discipline-rules.md +4 -4
- package/plugins/harness-everything/skills/git-commit/SKILL.md +14 -14
- package/plugins/harness-everything/skills/git-commit/references/commit-flow.md +4 -2
- package/plugins/harness-everything/skills/grill-me/SKILL.md +19 -21
- package/plugins/harness-everything/skills/grill-me/references/grilling-playbook.md +5 -5
- package/plugins/harness-everything/skills/grill-with-docs/SKILL.md +3 -3
- package/plugins/harness-everything/skills/grill-with-docs/references/session-playbook.md +4 -4
- package/sbom.cdx.json +7 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Workflow: Grill With Docs
|
|
2
2
|
|
|
3
|
-
> Tests a plan against
|
|
3
|
+
> Tests a plan against recorded domain language and decisions, sharpens terminology, updates CONTEXT.md/ADRs inline, and recommends explicit downstream commands after alignment.
|
|
4
4
|
|
|
5
5
|
Source of truth: `grill-with-docs/SKILL.md`.
|
|
6
6
|
|
|
@@ -15,8 +15,12 @@ graph TD
|
|
|
15
15
|
InlineUpdate --> ADRGate{"ADR warranted: hard to reverse plus surprising without context plus real trade-off?"}
|
|
16
16
|
ADRGate -->|Yes| WriteADR["Offer and write ADR at resolved location"]
|
|
17
17
|
ADRGate -->|No| SkipADR["Skip ADR; keep pure glossary"]
|
|
18
|
-
WriteADR -->
|
|
19
|
-
SkipADR -->
|
|
18
|
+
WriteADR --> SuggestSpec["Recommend explicit /to-spec"]
|
|
19
|
+
SkipADR --> SuggestSpec
|
|
20
|
+
SuggestSpec --> InvokeSpec{"User explicitly invokes /to-spec?"}
|
|
21
|
+
InvokeSpec -->|No| Await["Keep aligned design; await explicit command"]
|
|
22
|
+
InvokeSpec -->|Yes| ToSpec["to-spec enters preview / publication flow"]
|
|
23
|
+
ToSpec --> SuggestExec["Suggest /to-tickets, fable-mode, or tdd as appropriate"]
|
|
20
24
|
```
|
|
21
25
|
|
|
22
26
|
## 2. Triggering and Routing Path
|
|
@@ -24,11 +28,12 @@ graph TD
|
|
|
24
28
|
```mermaid
|
|
25
29
|
graph LR
|
|
26
30
|
DomainStress["Input: stress-testing a plan against domain language and documented decisions"] --> GWD["grill-with-docs / SKILL.md"]
|
|
27
|
-
GWD --> GrillMe["grill-me for unverified design"]
|
|
28
|
-
GWD -->
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
GWD --> GrillMe["Recommend grill-me for unverified design"]
|
|
32
|
+
GWD --> SuggestSpec["For aligned design, suggest explicit /to-spec"]
|
|
33
|
+
SuggestSpec --> InvokeGate{"Explicit /to-spec invoked?"}
|
|
34
|
+
InvokeGate -->|No| Wait["Stop at recommendation"]
|
|
35
|
+
InvokeGate -->|Yes| ToSpec["to-spec preview / publication flow"]
|
|
36
|
+
ToSpec --> SuggestRoutes["Suggest /to-tickets, fable-mode, or tdd"]
|
|
32
37
|
```
|
|
33
38
|
|
|
34
39
|
## 3. Real-World Use Case
|
|
@@ -40,10 +45,13 @@ graph TD
|
|
|
40
45
|
Conflict --> Scenario["Scenario test: burst retry against overload protection limit"]
|
|
41
46
|
Scenario --> GlossaryFix["Inline glossary fix to canonical terms"]
|
|
42
47
|
GlossaryFix --> ADRDecision["ADR offered because limit change is hard to reverse and involves trade-off"]
|
|
43
|
-
ADRDecision -->
|
|
48
|
+
ADRDecision --> Recommend["Recommend explicit /to-spec; suggest execution routes separately"]
|
|
49
|
+
Recommend --> Invoke{"User invokes /to-spec?"}
|
|
50
|
+
Invoke -->|No| End["Keep aligned design; no spec publication"]
|
|
51
|
+
Invoke -->|Yes| Spec["to-spec preview / publication flow"]
|
|
44
52
|
```
|
|
45
53
|
|
|
46
|
-
Concrete example: a retry-limit change is checked against the existing rate-limiting ADR and code. Fuzzy
|
|
54
|
+
Concrete example: a retry-limit change is checked against the existing rate-limiting ADR and code. Fuzzy language is sharpened and the glossary is fixed inline. Once alignment is complete, the skill recommends explicit `/to-spec`; it does not invoke publication or ticket generation automatically. An unverified design is directed back to `grill-me` first.
|
|
47
55
|
|
|
48
56
|
Deep detail: `grill-with-docs/references/session-playbook.md`. Formats: `grill-with-docs/ADR-FORMAT.md`, `grill-with-docs/CONTEXT-FORMAT.md`.
|
|
49
57
|
|
|
@@ -54,6 +62,7 @@ Deep detail: `grill-with-docs/references/session-playbook.md`. Formats: `grill-w
|
|
|
54
62
|
- [ ] Relationships tested with concrete scenarios and claims cross-checked against code
|
|
55
63
|
- [ ] Context glossary updated inline, never batched
|
|
56
64
|
- [ ] ADR offered only when hard to reverse plus surprising without context plus a real trade-off
|
|
57
|
-
- [ ]
|
|
58
|
-
- [ ]
|
|
65
|
+
- [ ] After alignment, explicit `/to-spec` is recommended rather than auto-run
|
|
66
|
+
- [ ] Specification publication requires explicit `/to-spec` invocation
|
|
67
|
+
- [ ] `/to-tickets`, `fable-mode`, and `tdd` are suggestions; explicit-only skills are not auto-invoked
|
|
59
68
|
- [ ] Not used for verifying unstable designs without a grilling pass, and not used for spec publishing without grilling
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
id: positive-fable-discipline-001
|
|
2
2
|
name: On-scope prompt triggers fable-discipline
|
|
3
|
-
description:
|
|
3
|
+
description: Enforce fable-mode context discipline as a shadow guard. Use for staged multi-agent loops to compact state, constrain stage scope, verify handoffs, and surface build divergence without adding an independent hard stop.
|
|
4
4
|
tags:
|
|
5
5
|
- positive-trigger
|
|
6
6
|
inputs:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
id: positive-git-commit-001
|
|
2
2
|
name: On-scope prompt triggers git-commit
|
|
3
|
-
description: "Generate Angular-style commit messages after verifying
|
|
3
|
+
description: "Generate Angular-style commit messages after verifying repo state, submodules, and staged files. Use only for a user-requested or host/workflow-authorized commit; task completion alone is not authorization."
|
|
4
4
|
tags:
|
|
5
5
|
- positive-trigger
|
|
6
6
|
inputs:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
id: positive-grill-me-001
|
|
2
2
|
name: On-scope prompt triggers grill-me
|
|
3
|
-
description:
|
|
3
|
+
description: Stress-test plans and architectures one question at a time, expose blind spots, update domain terminology, and suggest an explicit to-spec handoff when alignment is complete.
|
|
4
4
|
tags:
|
|
5
5
|
- positive-trigger
|
|
6
6
|
inputs:
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: fable-discipline
|
|
3
|
-
description: Enforce fable-mode
|
|
3
|
+
description: Enforce fable-mode context discipline as a shadow guard. Use for staged multi-agent loops to compact state, constrain stage scope, verify handoffs, and surface build divergence without adding an independent hard stop.
|
|
4
4
|
license: Apache-2.0
|
|
5
5
|
metadata:
|
|
6
6
|
author: Miya Daniel
|
|
7
|
-
version: 0.
|
|
7
|
+
version: 0.30.8
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# Fable Discipline (Macro Task Discipline & Safety Net)
|
|
@@ -13,29 +13,29 @@ metadata:
|
|
|
13
13
|
|
|
14
14
|
| Component | Specification |
|
|
15
15
|
| :--- | :--- |
|
|
16
|
-
| **Trigger / Input** | Background shadow for the whole duration `fable-mode` is active — not a standalone
|
|
17
|
-
| **Expected Output** | State compaction after milestones;
|
|
16
|
+
| **Trigger / Input** | Background shadow for the whole duration `fable-mode` is active — not a standalone trigger. |
|
|
17
|
+
| **Expected Output** | State compaction after milestones; authorized commit-boundary guidance; a state manifest at every sub-agent handoff. |
|
|
18
18
|
| **State Mutations** | None of its own — constrains how `fable-mode` and `multi-agent-workspace` mutate state. |
|
|
19
|
-
| **Enforcement Gate** |
|
|
19
|
+
| **Enforcement Gate** | Build divergence is a warning signal: surface it and recommend `zoom-out`. Rule-of-3 owns mandatory reflection. |
|
|
20
20
|
|
|
21
|
-
Shadow guard for `fable-mode`: MUST run in the background for its whole duration.
|
|
21
|
+
Shadow guard for `fable-mode`: **MUST** run in the background for its whole duration.
|
|
22
22
|
|
|
23
23
|
## USE FOR:
|
|
24
24
|
- Long architectural tasks under `fable-mode`
|
|
25
25
|
- Compacting state after milestones
|
|
26
26
|
- Sub-agent handoffs via `multi-agent-workspace`
|
|
27
|
-
-
|
|
27
|
+
- Surfacing diverging build errors
|
|
28
28
|
|
|
29
29
|
## DO NOT USE FOR:
|
|
30
|
-
- Small tasks where `fable-mode` is
|
|
31
|
-
- Standalone one-shot invocation
|
|
30
|
+
- Small tasks where `fable-mode` is inactive
|
|
31
|
+
- Standalone one-shot invocation
|
|
32
32
|
- Routine single-file edits
|
|
33
33
|
|
|
34
34
|
## Core Rules
|
|
35
35
|
|
|
36
|
-
1. **Anti-context bloat**: After each milestone, compact state and decisions;
|
|
37
|
-
2. **Physical boundaries**:
|
|
38
|
-
3. **Agent handoff**: Outgoing agents MUST leave a state manifest
|
|
39
|
-
4. **
|
|
36
|
+
1. **Anti-context bloat**: After each milestone, **MUST** compact state and decisions; avoid irrelevant broad reads.
|
|
37
|
+
2. **Physical boundaries**: **MUST** know the CWD. If commits are authorized, independent logic blocks **SHOULD** remain separate; otherwise leave changes uncommitted.
|
|
38
|
+
3. **Agent handoff**: Outgoing agents **MUST** leave a state manifest; incoming agents **MUST** verify it first.
|
|
39
|
+
4. **Divergence signal**: **MUST** surface diverging errors and recommend `zoom-out`; **SHOULD** map the dependency graph. Divergence alone does not hard-stop execution.
|
|
40
40
|
|
|
41
41
|
Deep dive: <this-skill-dir>/references/discipline-rules.md
|
|
@@ -9,14 +9,14 @@ When executing large architectural tasks, conversation logs expand rapidly, lead
|
|
|
9
9
|
|
|
10
10
|
## 2. Strict Physical Boundaries
|
|
11
11
|
- **Environment Isolation**: Before modifying any core architecture, ensure you are clearly aware of the Current Working Directory (CWD).
|
|
12
|
-
- **Atomic
|
|
12
|
+
- **Atomic Commit Boundaries**: Do not modify dozens of files at once before testing. Treat each independently functioning logic block as a suggested commit boundary. Create the commit only when the user or active host/workflow has authorized commits; otherwise leave changes uncommitted and surface the boundary.
|
|
13
13
|
|
|
14
14
|
## 3. Agent Handoff Protocol
|
|
15
15
|
When `fable-mode` spawns and switches between different sub-agents via `multi-agent-workspace`, strict handoff discipline must be observed:
|
|
16
16
|
- **State Manifest**: The previous agent MUST leave a clear state record (e.g., what APIs were completed, expected inputs/outputs).
|
|
17
17
|
- **Contract Testing**: The very first step for the succeeding agent is to verify if the state manifest left by the previous agent is correct.
|
|
18
18
|
|
|
19
|
-
## 4.
|
|
19
|
+
## 4. Divergence Signal
|
|
20
20
|
- Large tasks easily generate the sunk cost fallacy of "I think it's almost fixed, let me try one more time."
|
|
21
|
-
- If
|
|
22
|
-
-
|
|
21
|
+
- If Build Errors exhibit a divergent trend (the more you fix, the more it breaks), surface the regression immediately and recommend `zoom-out`; divergence alone is not a hard stop.
|
|
22
|
+
- Organize the error dependency graph for the human. Mandatory reflection remains owned by Rule-of-3 after repeated same-signature failures, or by explicit user/host permission boundaries.
|
package/git-commit/SKILL.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: git-commit
|
|
3
|
-
description: "Generate Angular-style commit messages after verifying
|
|
3
|
+
description: "Generate Angular-style commit messages after verifying repo state, submodules, and staged files. Use only for a user-requested or host/workflow-authorized commit; task completion alone is not authorization."
|
|
4
4
|
license: Apache-2.0
|
|
5
5
|
metadata:
|
|
6
6
|
author: Miya Daniel
|
|
7
|
-
version: 0.
|
|
7
|
+
version: 0.30.8
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# Git Commit (Angular Style)
|
|
@@ -13,26 +13,26 @@ metadata:
|
|
|
13
13
|
|
|
14
14
|
| Component | Specification |
|
|
15
15
|
| :--- | :--- |
|
|
16
|
-
| **Trigger / Input** | User requests a commit, or
|
|
16
|
+
| **Trigger / Input** | User requests a commit, or the active host/workflow explicitly authorizes one. A concluded task phase alone is not authorization. |
|
|
17
17
|
| **Expected Output** | Clean Angular-style commit via `git commit -m` or temp file (`git commit -F`). |
|
|
18
|
-
| **State Mutations** | Git
|
|
19
|
-
| **Enforcement Gate** |
|
|
18
|
+
| **State Mutations** | Authorized Git history update; unrelated working-tree changes remain untouched. |
|
|
19
|
+
| **Enforcement Gate** | **MUST** confirm commit authorization first, then run `git status`; nothing staged → prompt user. |
|
|
20
20
|
|
|
21
21
|
## Quick Workflow
|
|
22
22
|
|
|
23
|
-
1. **MUST** run `git status`; no repo → offer `git init` or skip; submodules changed →
|
|
24
|
-
2. **MUST** inspect `git diff --cached` before committing. Nothing staged → prompt user / stage only
|
|
25
|
-
3. Format `<type>(<scope>): <subject>` per `<this-skill-dir>/guides/ANGULAR_STYLE.md`. Multiline/Windows →
|
|
26
|
-
4.
|
|
23
|
+
1. **MUST** confirm authorization and run `git status`; no repo → offer `git init` or skip; submodules changed → follow `<this-skill-dir>/guides/SUBMODULES.md`.
|
|
24
|
+
2. **MUST** inspect `git diff --cached` before committing. Nothing staged → prompt user / stage only authorized targeted files. Unrelated concerns **SHOULD** be split unless coupling or explicit intent justifies one commit.
|
|
25
|
+
3. Format `<type>(<scope>): <subject>` per `<this-skill-dir>/guides/ANGULAR_STYLE.md`. Multiline/Windows → temp file + `git commit -F`.
|
|
26
|
+
4. Commit, then **MUST** verify with `git log -1`.
|
|
27
27
|
|
|
28
28
|
## USE FOR:
|
|
29
|
-
-
|
|
30
|
-
-
|
|
29
|
+
- User-requested or host/workflow-authorized commits
|
|
30
|
+
- Conventional commit formatting
|
|
31
31
|
- Submodule or monorepo commits
|
|
32
32
|
|
|
33
33
|
## DO NOT USE FOR:
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
34
|
+
- Autonomous commits merely because a phase concluded
|
|
35
|
+
- Staging without authorization
|
|
36
|
+
- Branching, rebasing, merging, or pushing
|
|
37
37
|
|
|
38
38
|
Deep dive: <this-skill-dir>/references/commit-flow.md
|
|
@@ -6,7 +6,9 @@ Details moved from SKILL.md. Read when you need the full commit execution flow.
|
|
|
6
6
|
|
|
7
7
|
```mermaid
|
|
8
8
|
flowchart TD
|
|
9
|
-
Start[Trigger:
|
|
9
|
+
Start[Trigger: User / Host-Authorized Commit] --> CheckAuth{0. Commit Authorized?}
|
|
10
|
+
CheckAuth -- No --> Stop[Do Not Commit; Surface Status]
|
|
11
|
+
CheckAuth -- Yes --> CheckGit{1. Is Git Repo Initialized?}
|
|
10
12
|
|
|
11
13
|
CheckGit -- No --> OfferInit[Prompt User: Run git init or Skip Commit]
|
|
12
14
|
CheckGit -- Yes --> CheckSubmodules{2. Has Submodule Changes?}
|
|
@@ -16,7 +18,7 @@ flowchart TD
|
|
|
16
18
|
|
|
17
19
|
CheckStatus --> StagedCheck{4. Are Files Staged?}
|
|
18
20
|
|
|
19
|
-
StagedCheck -- No Staged Files --> AskStage[Prompt User
|
|
21
|
+
StagedCheck -- No Staged Files --> AskStage[Prompt User; Stage Only Authorized Targeted Files] --> Format
|
|
20
22
|
StagedCheck -- Files Staged --> Format[5. Format Angular Commit Message]
|
|
21
23
|
|
|
22
24
|
Format --> CheckShell{6. Shell / Multiline Escaping Check}
|
package/grill-me/SKILL.md
CHANGED
|
@@ -1,43 +1,41 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: grill-me
|
|
3
|
-
description:
|
|
3
|
+
description: Stress-test plans and architectures one question at a time, expose blind spots, update domain terminology, and suggest an explicit to-spec handoff when alignment is complete.
|
|
4
4
|
license: Apache-2.0
|
|
5
5
|
metadata:
|
|
6
6
|
author: Miya Daniel
|
|
7
|
-
version: 0.
|
|
7
|
+
version: 0.30.8
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
-
# Grill Me
|
|
10
|
+
# Grill Me
|
|
11
11
|
|
|
12
|
-
Stress-
|
|
12
|
+
Stress-test a plan one question at a time.
|
|
13
13
|
|
|
14
14
|
## USE FOR:
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
- Resolve decision-tree ambiguity before spec generation
|
|
15
|
+
- vague plans or architecture proposals
|
|
16
|
+
- adversarial design review
|
|
17
|
+
- unresolved decision branches
|
|
19
18
|
|
|
20
19
|
## DO NOT USE FOR:
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
20
|
+
- implementation or spec publication
|
|
21
|
+
- ticket decomposition
|
|
22
|
+
- casual Q&A
|
|
24
23
|
|
|
25
24
|
## Skill Contract
|
|
26
25
|
|
|
27
26
|
| Component | Specification |
|
|
28
27
|
| :--- | :--- |
|
|
29
|
-
| **Trigger / Input** |
|
|
30
|
-
| **Expected Output** |
|
|
31
|
-
| **State Mutations** |
|
|
32
|
-
| **Enforcement Gate** | ONE question at a time
|
|
28
|
+
| **Trigger / Input** | Plan evaluation or explicit "grill me". |
|
|
29
|
+
| **Expected Output** | Resolved decision tree plus explicit `/to-spec` handoff suggestion. |
|
|
30
|
+
| **State Mutations** | May update `CONTEXT.md`; does not auto-run publication/ticket skills. |
|
|
31
|
+
| **Enforcement Gate** | Ask ONE question at a time. Never auto-run `to-spec` or `to-tickets`. |
|
|
33
32
|
|
|
34
33
|
## Workflow
|
|
35
34
|
|
|
36
|
-
1.
|
|
37
|
-
2.
|
|
38
|
-
3.
|
|
39
|
-
4.
|
|
40
|
-
5.
|
|
41
|
-
6. Route execution: `to-tickets`, `fable-mode`, or `tdd`.
|
|
35
|
+
1. Read relevant code, context, and ADRs.
|
|
36
|
+
2. Challenge one branch at a time with project terminology.
|
|
37
|
+
3. Update glossary terms as they resolve.
|
|
38
|
+
4. On consensus, recommend explicit `/to-spec`.
|
|
39
|
+
5. Suggest the next execution route without auto-invoking explicit-only skills.
|
|
42
40
|
|
|
43
41
|
Deep dive: <this-skill-dir>/references/grilling-playbook.md
|
|
@@ -12,9 +12,9 @@ flowchart TD
|
|
|
12
12
|
UpdateGlossary --> MoreBranches{3. Unresolved Decision Branches Remain?}
|
|
13
13
|
|
|
14
14
|
MoreBranches -- Yes --> Loop
|
|
15
|
-
MoreBranches -- No (Consensus Reached) --> ToSpec[4.
|
|
15
|
+
MoreBranches -- No (Consensus Reached) --> ToSpec[4. Recommend explicit /to-spec handoff]
|
|
16
16
|
|
|
17
|
-
ToSpec --> Execution[5.
|
|
17
|
+
ToSpec --> Execution[5. Suggest /to-tickets / fable-mode / tdd as appropriate]
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
## 1. Persona: The Relentless Challenger
|
|
@@ -29,10 +29,10 @@ Your goal is to find loopholes, undefined boundary conditions, and potential per
|
|
|
29
29
|
- **Rule of Single Question**: **You MUST only ask one question at a time**. Listing a long questionnaire with 5 questions is STRICTLY PROHIBITED.
|
|
30
30
|
- **Tree Parsing**: Go deep down every branch of the decision tree. Only move to the next blind spot after resolving the current one.
|
|
31
31
|
- **Provide Your Insight**: When asking a question, attach your professional insight.
|
|
32
|
-
- **Real-time Glossary & Spec Handoff**: As domain terms and blind spots resolve, update `CONTEXT.md` (glossary) inline. Once
|
|
32
|
+
- **Real-time Glossary & Spec Handoff**: As domain terms and blind spots resolve, update `CONTEXT.md` (glossary) inline. Once consensus is complete, recommend explicit `/to-spec`. Do not auto-run `to-spec` or `to-tickets`; publication remains behind their user-approval gates.
|
|
33
33
|
|
|
34
34
|
## 3. Exit Conditions and Handoff
|
|
35
35
|
|
|
36
36
|
- Continue until you and the user reach a **"Shared Understanding with no suspense"**, and all branches of the decision tree are parsed and resolved.
|
|
37
|
-
- **
|
|
38
|
-
- **
|
|
37
|
+
- **Specification suggestion (`/to-spec`)**: Once grilling concludes and all branches resolve, recommend explicit `/to-spec`. Only that explicit invocation may enter `to-spec/SKILL.md` and its preview/publication flow.
|
|
38
|
+
- **Execution suggestion**: Suggest `/to-tickets`, `fable-mode`, or `tdd` as appropriate; do not auto-invoke explicit-only skills.
|
package/grill-with-docs/SKILL.md
CHANGED
|
@@ -4,7 +4,7 @@ description: Challenge the plan against the existing domain model, sharpen termi
|
|
|
4
4
|
license: Apache-2.0
|
|
5
5
|
metadata:
|
|
6
6
|
author: Miya Daniel
|
|
7
|
-
version: 0.
|
|
7
|
+
version: 0.30.8
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# Grill With Docs (Domain Modeling & Architectural Alignment)
|
|
@@ -18,7 +18,7 @@ Interview the design tree one question at a time with recommended answers; explo
|
|
|
18
18
|
| **Trigger / Input** | Stress-testing a plan against domain language and documented decisions. |
|
|
19
19
|
| **Expected Output** | Structured interview; inline `CONTEXT.md` updates; ADR handoff. |
|
|
20
20
|
| **State Mutations** | Writes the context glossary and ADRs at resolved locations. |
|
|
21
|
-
| **Enforcement Gate** | Pure glossary; ADRs meet the 3-part bar;
|
|
21
|
+
| **Enforcement Gate** | Pure glossary; ADRs meet the 3-part bar; suggest explicit `/to-spec` after alignment. Never auto-run `to-spec` or `to-tickets`. |
|
|
22
22
|
|
|
23
23
|
## Workflow
|
|
24
24
|
|
|
@@ -27,7 +27,7 @@ Interview the design tree one question at a time with recommended answers; explo
|
|
|
27
27
|
3. Stress-test relationships with concrete scenarios; cross-check claims against code.
|
|
28
28
|
4. Update the context glossary inline, never batch; zero implementation details.
|
|
29
29
|
5. Offer an ADR only if hard to reverse + surprising without context + a real trade-off.
|
|
30
|
-
6. Hand off unverified design to `grill-me`; aligned design
|
|
30
|
+
6. Hand off unverified design to `grill-me`; for aligned design suggest explicit `/to-spec`; for execution suggest `/to-tickets`, `fable-mode`, or `tdd` as appropriate without auto-invoking explicit-only skills.
|
|
31
31
|
|
|
32
32
|
Deep dive: <this-skill-dir>/references/session-playbook.md
|
|
33
33
|
|
|
@@ -22,9 +22,9 @@ flowchart TD
|
|
|
22
22
|
WriteFallback --> CheckMore
|
|
23
23
|
|
|
24
24
|
CheckMore -- Unresolved Branches Remain --> Frontier
|
|
25
|
-
CheckMore -- All Branches Resolved --> ToSpec[6.
|
|
25
|
+
CheckMore -- All Branches Resolved --> ToSpec[6. Recommend explicit /to-spec handoff]
|
|
26
26
|
|
|
27
|
-
ToSpec --> Execution[7.
|
|
27
|
+
ToSpec --> Execution[7. Suggest /to-tickets / fable-mode / tdd via harness-everything]
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
## Core interview prompt
|
|
@@ -95,5 +95,5 @@ If any of the three is missing, skip the ADR. Use the format in [ADR-FORMAT.md](
|
|
|
95
95
|
|
|
96
96
|
1. **Pre-flight**: If the core proposal is highly vague or its technical robustness (SRE, security, locks, concurrency, fail-safes) is unverified, recommend the user run `grill-me` first. Do not attempt to align a glossary for a broken or unstable design.
|
|
97
97
|
2. **Transition**: Once technical issues are hardened in `grill-me`, transition here to solidify domain terms and record architectural choices.
|
|
98
|
-
3. **Downstream Specification
|
|
99
|
-
4. **Execution
|
|
98
|
+
3. **Downstream Specification Suggestion**: Once alignment is complete, recommend explicit `/to-spec`. Do not auto-run `to-spec` or `to-tickets`; their approval gates remain authoritative.
|
|
99
|
+
4. **Execution Suggestion**: Suggest `/to-tickets`, `fable-mode`, or `tdd` through `harness-everything` as appropriate.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "harness-everything",
|
|
4
|
-
"version": "0.30.
|
|
4
|
+
"version": "0.30.9",
|
|
5
5
|
"description": "Invariant-first engineering harness for routing, verification, and failure recovery while preserving agent autonomy.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Miya Daniel",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: fable-discipline
|
|
3
|
-
description: Enforce fable-mode
|
|
3
|
+
description: Enforce fable-mode context discipline as a shadow guard. Use for staged multi-agent loops to compact state, constrain stage scope, verify handoffs, and surface build divergence without adding an independent hard stop.
|
|
4
4
|
license: Apache-2.0
|
|
5
5
|
metadata:
|
|
6
6
|
author: Miya Daniel
|
|
7
|
-
version: 0.
|
|
7
|
+
version: 0.30.8
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# Fable Discipline (Macro Task Discipline & Safety Net)
|
|
@@ -13,29 +13,29 @@ metadata:
|
|
|
13
13
|
|
|
14
14
|
| Component | Specification |
|
|
15
15
|
| :--- | :--- |
|
|
16
|
-
| **Trigger / Input** | Background shadow for the whole duration `fable-mode` is active — not a standalone
|
|
17
|
-
| **Expected Output** | State compaction after milestones;
|
|
16
|
+
| **Trigger / Input** | Background shadow for the whole duration `fable-mode` is active — not a standalone trigger. |
|
|
17
|
+
| **Expected Output** | State compaction after milestones; authorized commit-boundary guidance; a state manifest at every sub-agent handoff. |
|
|
18
18
|
| **State Mutations** | None of its own — constrains how `fable-mode` and `multi-agent-workspace` mutate state. |
|
|
19
|
-
| **Enforcement Gate** |
|
|
19
|
+
| **Enforcement Gate** | Build divergence is a warning signal: surface it and recommend `zoom-out`. Rule-of-3 owns mandatory reflection. |
|
|
20
20
|
|
|
21
|
-
Shadow guard for `fable-mode`: MUST run in the background for its whole duration.
|
|
21
|
+
Shadow guard for `fable-mode`: **MUST** run in the background for its whole duration.
|
|
22
22
|
|
|
23
23
|
## USE FOR:
|
|
24
24
|
- Long architectural tasks under `fable-mode`
|
|
25
25
|
- Compacting state after milestones
|
|
26
26
|
- Sub-agent handoffs via `multi-agent-workspace`
|
|
27
|
-
-
|
|
27
|
+
- Surfacing diverging build errors
|
|
28
28
|
|
|
29
29
|
## DO NOT USE FOR:
|
|
30
|
-
- Small tasks where `fable-mode` is
|
|
31
|
-
- Standalone one-shot invocation
|
|
30
|
+
- Small tasks where `fable-mode` is inactive
|
|
31
|
+
- Standalone one-shot invocation
|
|
32
32
|
- Routine single-file edits
|
|
33
33
|
|
|
34
34
|
## Core Rules
|
|
35
35
|
|
|
36
|
-
1. **Anti-context bloat**: After each milestone, compact state and decisions;
|
|
37
|
-
2. **Physical boundaries**:
|
|
38
|
-
3. **Agent handoff**: Outgoing agents MUST leave a state manifest
|
|
39
|
-
4. **
|
|
36
|
+
1. **Anti-context bloat**: After each milestone, **MUST** compact state and decisions; avoid irrelevant broad reads.
|
|
37
|
+
2. **Physical boundaries**: **MUST** know the CWD. If commits are authorized, independent logic blocks **SHOULD** remain separate; otherwise leave changes uncommitted.
|
|
38
|
+
3. **Agent handoff**: Outgoing agents **MUST** leave a state manifest; incoming agents **MUST** verify it first.
|
|
39
|
+
4. **Divergence signal**: **MUST** surface diverging errors and recommend `zoom-out`; **SHOULD** map the dependency graph. Divergence alone does not hard-stop execution.
|
|
40
40
|
|
|
41
41
|
Deep dive: <this-skill-dir>/references/discipline-rules.md
|
|
@@ -9,14 +9,14 @@ When executing large architectural tasks, conversation logs expand rapidly, lead
|
|
|
9
9
|
|
|
10
10
|
## 2. Strict Physical Boundaries
|
|
11
11
|
- **Environment Isolation**: Before modifying any core architecture, ensure you are clearly aware of the Current Working Directory (CWD).
|
|
12
|
-
- **Atomic
|
|
12
|
+
- **Atomic Commit Boundaries**: Do not modify dozens of files at once before testing. Treat each independently functioning logic block as a suggested commit boundary. Create the commit only when the user or active host/workflow has authorized commits; otherwise leave changes uncommitted and surface the boundary.
|
|
13
13
|
|
|
14
14
|
## 3. Agent Handoff Protocol
|
|
15
15
|
When `fable-mode` spawns and switches between different sub-agents via `multi-agent-workspace`, strict handoff discipline must be observed:
|
|
16
16
|
- **State Manifest**: The previous agent MUST leave a clear state record (e.g., what APIs were completed, expected inputs/outputs).
|
|
17
17
|
- **Contract Testing**: The very first step for the succeeding agent is to verify if the state manifest left by the previous agent is correct.
|
|
18
18
|
|
|
19
|
-
## 4.
|
|
19
|
+
## 4. Divergence Signal
|
|
20
20
|
- Large tasks easily generate the sunk cost fallacy of "I think it's almost fixed, let me try one more time."
|
|
21
|
-
- If
|
|
22
|
-
-
|
|
21
|
+
- If Build Errors exhibit a divergent trend (the more you fix, the more it breaks), surface the regression immediately and recommend `zoom-out`; divergence alone is not a hard stop.
|
|
22
|
+
- Organize the error dependency graph for the human. Mandatory reflection remains owned by Rule-of-3 after repeated same-signature failures, or by explicit user/host permission boundaries.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: git-commit
|
|
3
|
-
description: "Generate Angular-style commit messages after verifying
|
|
3
|
+
description: "Generate Angular-style commit messages after verifying repo state, submodules, and staged files. Use only for a user-requested or host/workflow-authorized commit; task completion alone is not authorization."
|
|
4
4
|
license: Apache-2.0
|
|
5
5
|
metadata:
|
|
6
6
|
author: Miya Daniel
|
|
7
|
-
version: 0.
|
|
7
|
+
version: 0.30.8
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# Git Commit (Angular Style)
|
|
@@ -13,26 +13,26 @@ metadata:
|
|
|
13
13
|
|
|
14
14
|
| Component | Specification |
|
|
15
15
|
| :--- | :--- |
|
|
16
|
-
| **Trigger / Input** | User requests a commit, or
|
|
16
|
+
| **Trigger / Input** | User requests a commit, or the active host/workflow explicitly authorizes one. A concluded task phase alone is not authorization. |
|
|
17
17
|
| **Expected Output** | Clean Angular-style commit via `git commit -m` or temp file (`git commit -F`). |
|
|
18
|
-
| **State Mutations** | Git
|
|
19
|
-
| **Enforcement Gate** |
|
|
18
|
+
| **State Mutations** | Authorized Git history update; unrelated working-tree changes remain untouched. |
|
|
19
|
+
| **Enforcement Gate** | **MUST** confirm commit authorization first, then run `git status`; nothing staged → prompt user. |
|
|
20
20
|
|
|
21
21
|
## Quick Workflow
|
|
22
22
|
|
|
23
|
-
1. **MUST** run `git status`; no repo → offer `git init` or skip; submodules changed →
|
|
24
|
-
2. **MUST** inspect `git diff --cached` before committing. Nothing staged → prompt user / stage only
|
|
25
|
-
3. Format `<type>(<scope>): <subject>` per `<this-skill-dir>/guides/ANGULAR_STYLE.md`. Multiline/Windows →
|
|
26
|
-
4.
|
|
23
|
+
1. **MUST** confirm authorization and run `git status`; no repo → offer `git init` or skip; submodules changed → follow `<this-skill-dir>/guides/SUBMODULES.md`.
|
|
24
|
+
2. **MUST** inspect `git diff --cached` before committing. Nothing staged → prompt user / stage only authorized targeted files. Unrelated concerns **SHOULD** be split unless coupling or explicit intent justifies one commit.
|
|
25
|
+
3. Format `<type>(<scope>): <subject>` per `<this-skill-dir>/guides/ANGULAR_STYLE.md`. Multiline/Windows → temp file + `git commit -F`.
|
|
26
|
+
4. Commit, then **MUST** verify with `git log -1`.
|
|
27
27
|
|
|
28
28
|
## USE FOR:
|
|
29
|
-
-
|
|
30
|
-
-
|
|
29
|
+
- User-requested or host/workflow-authorized commits
|
|
30
|
+
- Conventional commit formatting
|
|
31
31
|
- Submodule or monorepo commits
|
|
32
32
|
|
|
33
33
|
## DO NOT USE FOR:
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
34
|
+
- Autonomous commits merely because a phase concluded
|
|
35
|
+
- Staging without authorization
|
|
36
|
+
- Branching, rebasing, merging, or pushing
|
|
37
37
|
|
|
38
38
|
Deep dive: <this-skill-dir>/references/commit-flow.md
|
|
@@ -6,7 +6,9 @@ Details moved from SKILL.md. Read when you need the full commit execution flow.
|
|
|
6
6
|
|
|
7
7
|
```mermaid
|
|
8
8
|
flowchart TD
|
|
9
|
-
Start[Trigger:
|
|
9
|
+
Start[Trigger: User / Host-Authorized Commit] --> CheckAuth{0. Commit Authorized?}
|
|
10
|
+
CheckAuth -- No --> Stop[Do Not Commit; Surface Status]
|
|
11
|
+
CheckAuth -- Yes --> CheckGit{1. Is Git Repo Initialized?}
|
|
10
12
|
|
|
11
13
|
CheckGit -- No --> OfferInit[Prompt User: Run git init or Skip Commit]
|
|
12
14
|
CheckGit -- Yes --> CheckSubmodules{2. Has Submodule Changes?}
|
|
@@ -16,7 +18,7 @@ flowchart TD
|
|
|
16
18
|
|
|
17
19
|
CheckStatus --> StagedCheck{4. Are Files Staged?}
|
|
18
20
|
|
|
19
|
-
StagedCheck -- No Staged Files --> AskStage[Prompt User
|
|
21
|
+
StagedCheck -- No Staged Files --> AskStage[Prompt User; Stage Only Authorized Targeted Files] --> Format
|
|
20
22
|
StagedCheck -- Files Staged --> Format[5. Format Angular Commit Message]
|
|
21
23
|
|
|
22
24
|
Format --> CheckShell{6. Shell / Multiline Escaping Check}
|