@techgoblin/gobstack 0.6.0-alpha.3 → 0.6.0-beta.1
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/CHANGELOG.md +45 -0
- package/README.md +256 -120
- package/VERSION +1 -1
- package/bans/README.md +5 -5
- package/bans/grep-ban.sh +1 -1
- package/bin/goblin-bans +103 -27
- package/bin/goblin-init +346 -211
- package/bin/goblin-install +281 -204
- package/bin/goblin-lib.sh +79 -76
- package/bin/goblin-map +130 -571
- package/bin/goblin-mcp.js +37 -16
- package/bin/goblin-verify +254 -998
- package/bin/goblin.js +4 -9
- package/docs/GUIDE.md +727 -181
- package/docs/LIMITS.md +273 -301
- package/docs/RECORD-NOTES.md +1 -2
- package/manifest/bans.tsv +9 -9
- package/manifest/categories.tsv +18 -0
- package/manifest/enforcement.tsv +12 -68
- package/manifest/glossary.tsv +6 -12
- package/manifest/library.tsv +33 -0
- package/package.json +1 -4
- package/skills/goblin-bootstrap/SKILL.md +20 -32
- package/skills/goblin-feature-map/SKILL.md +1 -1
- package/skills/goblin-verify-author/SKILL.md +2 -2
- package/skills/practice/SKILL.md +4 -4
- package/templates/AGENTS.md.tmpl +6 -6
- package/templates/HANDOFF.md.tmpl +1 -1
- package/templates/SPEC.md.tmpl +2 -2
- package/templates/agents-block.tmpl +1 -10
- package/adapters/_template/adapter.tsv +0 -16
- package/adapters/_template/detect.sh +0 -10
- package/adapters/_template/emit.sh +0 -5
- package/adapters/_template/verify.sh +0 -4
- package/adapters/claude/adapter.tsv +0 -8
- package/adapters/claude/detect.sh +0 -8
- package/adapters/claude/verify.sh +0 -47
- package/adapters/codex/adapter.tsv +0 -12
- package/adapters/codex/detect.sh +0 -9
- package/adapters/codex/verify.sh +0 -45
- package/adapters/copilot/adapter.tsv +0 -10
- package/adapters/copilot/detect.sh +0 -8
- package/adapters/copilot/verify.sh +0 -45
- package/adapters/cursor/adapter.tsv +0 -11
- package/adapters/cursor/detect.sh +0 -10
- package/adapters/cursor/verify.sh +0 -45
- package/adapters/gemini/adapter.tsv +0 -15
- package/adapters/gemini/detect.sh +0 -11
- package/adapters/gemini/verify.sh +0 -49
- package/adapters/hermes/adapter.tsv +0 -9
- package/adapters/hermes/detect.sh +0 -8
- package/adapters/hermes/verify.sh +0 -27
- package/adapters/opencode/adapter.tsv +0 -14
- package/adapters/opencode/detect.sh +0 -9
- package/adapters/opencode/verify.sh +0 -45
- package/automations/README.md +0 -53
- package/automations/bugreporter-intake.sh +0 -145
- package/automations/drift-audit.sh +0 -139
- package/automations/report.schema.tsv +0 -10
- package/bin/goblin +0 -144
- package/bin/goblin-audit +0 -143
- package/bin/goblin-doctor +0 -233
- package/bin/goblin-emit +0 -495
- package/bin/goblin-extras +0 -360
- package/bin/goblin-model +0 -105
- package/bin/goblin-upgrade +0 -580
- package/docs/ADOPTION.md +0 -173
- package/docs/CI.md +0 -190
- package/docs/CONTRACTS.md +0 -215
- package/docs/DESIGN.md +0 -92
- package/docs/ENFORCEMENT.md +0 -228
- package/docs/FLOWS.md +0 -164
- package/docs/GLOSSARY.md +0 -40
- package/docs/GUARDRAILS.md +0 -126
- package/docs/INTEGRATION.md +0 -92
- package/docs/LOOP.md +0 -165
- package/docs/RE-PLAYBOOK.md +0 -183
- package/docs/RISKS.md +0 -70
- package/docs/ROLES.md +0 -105
- package/extras-catalogue/catalogue.tsv +0 -42
- package/extras-catalogue/payload/README.md +0 -14
- package/extras-catalogue/payload/taste-skill/taste/REFERENCE.md +0 -3
- package/extras-catalogue/payload/taste-skill/taste/SKILL.md +0 -9
- package/manifest/classes.tsv +0 -51
- package/manifest/playbooks.tsv +0 -16
- package/presets/electron-overlay.yaml +0 -38
- package/presets/fleet.yaml +0 -43
- package/presets/game.yaml +0 -38
- package/presets/research.yaml +0 -41
- package/presets/service.yaml +0 -40
- package/presets/software.yaml +0 -48
- package/roles.yaml +0 -54
- package/skills/goblin-bugfix/SKILL.md +0 -26
- package/skills/goblin-bugreporter/SKILL.md +0 -52
- package/skills/goblin-drift-audit/SKILL.md +0 -43
- package/skills/goblin-eval/SKILL.md +0 -68
- package/skills/goblin-feature/SKILL.md +0 -26
- package/skills/goblin-investigation/SKILL.md +0 -26
- package/skills/goblin-judge/SKILL.md +0 -74
- package/skills/goblin-loop/SKILL.md +0 -88
- package/skills/goblin-mode/SKILL.md +0 -70
- package/skills/goblin-overnight/SKILL.md +0 -42
- package/skills/goblin-pr-gate/SKILL.md +0 -42
- package/skills/goblin-re-mobile/SKILL.md +0 -51
- package/skills/goblin-refactor/SKILL.md +0 -23
- package/skills/goblin-sweep/SKILL.md +0 -23
- package/skills/goblin-tdd-repro/SKILL.md +0 -27
- package/templates/audit-waiver.tsv.tmpl +0 -10
- package/templates/install-hooks.allowlist.tmpl +0 -9
- package/templates/report.yaml.tmpl +0 -16
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,29 @@
|
|
|
3
3
|
One line per released version. `goblin-install --upgrade` prints the delta between the
|
|
4
4
|
version recorded in a target's `.goblin/installed.json` and the source `VERSION`.
|
|
5
5
|
|
|
6
|
+
## Unreleased (v3 core: a default row set + a library)
|
|
7
|
+
|
|
8
|
+
- **The default verifier is the ~19-row core; the rest lives in a library.** `verify` now runs a
|
|
9
|
+
row set that is right for every repo — `IN-01..04`, `HP-01/02/03/05`, `GT-01/02/03`,
|
|
10
|
+
`FM-01/02`, `SC-01`, `SK-01..04`, `BN-00`, plus the 8 `applies_when`-gated bans. The other 32
|
|
11
|
+
target rows moved to `manifest/library.tsv` (off by default, available-but-off); nothing was
|
|
12
|
+
deleted or commented out. `gob verify --library` lists each off row with its id, a one-line
|
|
13
|
+
purpose and the enable hint — the discovery surface for the extend mechanism. The default run
|
|
14
|
+
never executes a library row and its summary counts them, so a green run is never the whole
|
|
15
|
+
story. No moved check lost its control: `t-verify-red.sh` enables a library row before running
|
|
16
|
+
its negative control.
|
|
17
|
+
- **A repo turns a library row on through a repo-local override.** `.gob/manifest/enforcement.local.tsv`
|
|
18
|
+
(versioned with the repo) is merged into the run alongside the matrix: a row pasted there behaves
|
|
19
|
+
exactly like a built-in row — PASS, FAIL with its `remedy:` line, or reported not-applicable — and
|
|
20
|
+
the summary names it `enabled-locally`. The file is optional (absent = the default set, no noise).
|
|
21
|
+
`gob verify --library` prints each off-by-default row's exact paste-ready line, not just its id.
|
|
22
|
+
**The honesty gate:** a local row that names no check the engine can run is refused (exit 3, with a
|
|
23
|
+
named remedy), never silently green — an id in neither the matrix nor the library, a
|
|
24
|
+
`goblin-verify --only <ID>` marker whose builtin does not exist, a check that cannot execute, or a
|
|
25
|
+
bare id with no check cell. `tests/t-extend.sh` proves the loop end to end through the real file:
|
|
26
|
+
a library row off, then on and green, then red under its violation with its remedy, then refused
|
|
27
|
+
when miswritten, then off again.
|
|
28
|
+
|
|
6
29
|
## Unreleased (feat/extras-catalogue)
|
|
7
30
|
|
|
8
31
|
- **`gob extras`: the curated catalogue (the surface is seven verbs).** The catalogue
|
|
@@ -19,6 +42,28 @@ version recorded in a target's `.goblin/installed.json` and the source `VERSION`
|
|
|
19
42
|
promotes them into catalogue.tsv by PR or edit. `--write` honours only the proposal's TICKED
|
|
20
43
|
rows, through `gob extras install` itself — one allowlist, one code path.
|
|
21
44
|
|
|
45
|
+
## 0.6.0-beta.1
|
|
46
|
+
|
|
47
|
+
The v3 release: the goblin-stack rewrite merged to main (ce203953) — one verify command,
|
|
48
|
+
an enforcement matrix and LIMITS, bash engine, npm shim, skills library, feature map,
|
|
49
|
+
extras catalogue and license gate.
|
|
50
|
+
|
|
51
|
+
## 0.6.0-alpha.4
|
|
52
|
+
|
|
53
|
+
The v2 QA-fixes wave. Ten issues found against the v2 surface, all resolved: the extras
|
|
54
|
+
payload-aware pre-tick and a pre-flight validation so a partial install cannot happen; the
|
|
55
|
+
GUIDE's own `Version:` stamp caught up with the tree; v2 command names in every user-facing
|
|
56
|
+
string; neutral machine-defaults; `map --write` accepting the brief's own state and the
|
|
57
|
+
README-as-feature stem fix; the MCP `gob_verify` tool honouring its target and echoing the
|
|
58
|
+
verified path; and a gawk-5.2 fatal in the remedy word-fold.
|
|
59
|
+
|
|
60
|
+
## 0.6.0-alpha.3
|
|
61
|
+
|
|
62
|
+
The license gate for the curated extras catalogue. Every `catalogue.tsv` row carries a
|
|
63
|
+
`license_status` (`verified` / `pending` / `proprietary-confirmed-ok`) and install REFUSES any
|
|
64
|
+
row whose status is not `verified` - a data-driven gate that flips with a column edit, not a
|
|
65
|
+
code change. Two rows (vercel / anthropics) are held LICENSE-PENDING by decision.
|
|
66
|
+
|
|
22
67
|
## 0.6.0-alpha.2
|
|
23
68
|
|
|
24
69
|
The v2 breaking release: rules-first. The rules a repo is judged by move from a config file the
|
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# gobstack
|
|
2
2
|
|
|
3
|
+
> **Personal layer note (2026-10-10):** this is Harvey's personal agent-enhancement layer — owner of one, zero users. Install = clone this repo + `gob init`; the npm package is FROZEN at 0.6.0-beta.1 and is not the install path.
|
|
4
|
+
|
|
3
5
|
**gobstack** (npm: [`@techgoblin/gobstack`](https://www.npmjs.com/package/@techgoblin/gobstack))
|
|
4
6
|
installs an **executable rule manifest**, a **vendored verifier**, and an **AGENTS.md-frontmatter
|
|
5
7
|
config** into any project — so that an AI coding session never re-improvises, and a rule that
|
|
@@ -17,7 +19,7 @@ or install the CLI globally (it is a CLI, not a library):
|
|
|
17
19
|
|
|
18
20
|
**The v2 flow is `init`-first.** `gob init` prints an AGENT BRIEF — a structured prompt telling
|
|
19
21
|
whichever agent is already running in the repo exactly what to scan (package.json, routes, tests,
|
|
20
|
-
CI configs) and what to decide (
|
|
22
|
+
CI configs) and what to decide (the first gate command and the feature map) — plus the
|
|
21
23
|
schema of the proposal file the agent writes back. `gob init --write <proposal>` validates the
|
|
22
24
|
proposal and installs. The heuristic detector (`--heuristic`) is a fallback that appends
|
|
23
25
|
pre-scanned hints to the brief; it never decides.
|
|
@@ -36,58 +38,60 @@ at all**: the engine lives in the repo, and `bash .gob/bin/goblin-verify` on a p
|
|
|
36
38
|
The installer writes only paths it records, hash-compares before writing, and prints `no-op` on a
|
|
37
39
|
second run with the same arguments. It never overwrites `HANDOFF.md`, `AGENTS.md`, a `*-SPEC.md`,
|
|
38
40
|
`reviews/`, or the `.gitignore` block. Full option list and the three kinds
|
|
39
|
-
of file it manages: `docs/
|
|
41
|
+
of file it manages: `docs/GUIDE.md`.
|
|
40
42
|
|
|
41
43
|
A repo that already has its own `HANDOFF.md` exits 1 on the refusal. That is the contract, not a
|
|
42
|
-
failure: reconcile the file rather than forcing over it — `docs/
|
|
44
|
+
failure: reconcile the file rather than forcing over it — `docs/GUIDE.md`.
|
|
43
45
|
|
|
44
46
|
**The config is the AGENTS.md frontmatter.** There is no separate config file in v2: every knob
|
|
45
|
-
the harness reads —
|
|
47
|
+
the harness reads — gates, ratchet, bans, replay, opt-outs — is a `key: value`
|
|
46
48
|
line inside the `<!-- gob:begin --> … <!-- gob:end -->` marker block at the top of `AGENTS.md`.
|
|
47
49
|
Edit it in place; the parser reads only that block, and the installer never rewrites it after the
|
|
48
50
|
first install.
|
|
49
51
|
|
|
50
|
-
**`class:` picks the preset**: **software** (the default — shipped features, PRs, review gates),
|
|
51
|
-
**service** (backend jobs, config, unattended runs), **game** (playable builds, perf budgets),
|
|
52
|
-
**research** (specs, replays, reference corpora) and **fleet** (config-of-the-agent repos).
|
|
53
|
-
The single letters `A`–`E` are accepted aliases. What each preset turns on is the matrix in
|
|
54
|
-
`docs/ADOPTION.md`.
|
|
55
|
-
|
|
56
52
|
After installing, in this order:
|
|
57
53
|
|
|
58
54
|
cd <target> && git add -A && git commit # the install is a change like any other
|
|
59
55
|
.gob/bin/goblin-verify # or gob verify, anywhere in the target
|
|
60
56
|
|
|
61
|
-
**A default
|
|
62
|
-
|
|
63
|
-
scaffold's `0000000` placeholder is the one expected red.**
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
`
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
57
|
+
**A default install verifies green — `17 passed, 0 failed, 0 advisory,
|
|
58
|
+
10 skipped`, exit 0 — once `HANDOFF.md` names a commit that exists. Before that edit the
|
|
59
|
+
scaffold's `0000000` placeholder is the one expected red.** Ten rows skip: `SK-01`, `SK-02` and
|
|
60
|
+
`SK-04` **run** (the core procedure tier is vendored under `.gob/skills/` on every install);
|
|
61
|
+
`BN-01`/`BN-02`/`BN-03`/`BN-05` match only `.ts`/`.tsx`/`.js`/`.jsx` and have no such source, so
|
|
62
|
+
each reports itself *not applicable*; the four electron bans `BN-06`–`BN-09` are selected by the
|
|
63
|
+
`dep:electron` predicate, so with no `package.json` they too report *not applicable* — never
|
|
64
|
+
running vacuously off the harness's own `.mjs`/`.json`;
|
|
65
|
+
and `FM-01`/`FM-02` have no feature map yet. **Thirty-two further rows are OFF by default** —
|
|
66
|
+
they are not skipped, they are held in the **library** (`gob verify --library`), the discovery
|
|
67
|
+
surface for the extend mechanism: the spec/round rows (`SP-01`..`SP-03`), the ratchet rows
|
|
68
|
+
(`GT-04`/`GT-05`), the replay rows (`HS-01`..`HS-03`), commit hygiene (`CM-02`/`CM-03`),
|
|
69
|
+
the PR-gate rows (`PG-01`..`PG-03`), the runtime-data rows (`DS-01`/`DS-02`), the doc rows
|
|
70
|
+
(`DOC-01`/`DOC-02`), the security rows (`SC-02`..`SC-06`, `SC-09`), the perf baseline (`PF-01`),
|
|
71
|
+
the reference corpus (`RC-01`..`RC-04`), the archive switch (`CL-02`), the portability row
|
|
72
|
+
(`PT-01`) and the doctor row (`VA-01`). A default run states the library count in its summary, so
|
|
73
|
+
a green run is never the whole story. Full inventory: `gob verify --library`. Turn one on by
|
|
74
|
+
pasting the line `--library` prints into `.gob/manifest/enforcement.local.tsv` (repo-local,
|
|
75
|
+
committed with the repo); the run then names it `enabled-locally` in its summary. The file is
|
|
76
|
+
optional, and a local row that names no check the engine can run is refused (exit 3), never
|
|
77
|
+
silently green. The
|
|
78
|
+
parts that only a round can produce — a first review note, a gate that is not the shipped floor —
|
|
79
|
+
pass *vacuously* rather than failing, and `P8` (`goblin-bootstrap`) still walks them as work to
|
|
80
|
+
do. The measurement and the vacuous-pass reading are in `docs/GUIDE.md`.
|
|
76
81
|
|
|
77
82
|
## The `gob` CLI
|
|
78
83
|
|
|
79
|
-
The v2 surface is
|
|
80
|
-
is unwired in this alpha: the shim refuses the verb by name
|
|
84
|
+
The v2 surface is six verbs — `init`, `map`, `verify`, `bans`, `mcp`, `uninstall`. Everything
|
|
85
|
+
else — audit, install — is unwired in this alpha: the shim refuses the verb by name
|
|
86
|
+
and prints the usage.
|
|
81
87
|
|
|
82
88
|
| command | what it does |
|
|
83
89
|
|---|---|
|
|
84
90
|
| `gob init` | the first step: print the AGENT BRIEF + proposal schema; `--heuristic` appends scanned hints as a fallback; `--write <proposal> [--yes]` validates the proposal and installs; `--target <dir>` aims elsewhere; `--dry-run` validates without writing |
|
|
85
|
-
| `gob map` | the feature-map prompt + schema (`--heuristic [target]` runs the starter scanner); `--write <dir> [--force]` validates an agent-written map and installs it; never clobbers — an existing map refuses until `--force` |
|
|
86
91
|
| `gob verify` | run the rule matrix against the current repo — `PASS`/`FAIL`/`SKIP` per row, exit 0 pass · 1 a check failed · 2 could not run · 3 the manifest is broken |
|
|
87
92
|
| `gob bans` | run the ban list (per-pattern red lines over the source tree) |
|
|
88
|
-
| `gob extras` | the curated extras catalogue: `list [category]` / `show <id>` / `install <id...> [-target <dir>] [--platform <id>] [--with-mcp-config]` — init only SUGGESTS; installs come from the catalogue (the allowlist rule), never the web |
|
|
89
93
|
| `gob mcp` | serve the harness to your coding agent over MCP stdio — three tools (`gob_verify`, `gob_map_status`, `gob_init_status`), local only, no SDK, no network |
|
|
90
|
-
| `gob uninstall` | remove everything an install wrote, byte-exactly (`
|
|
94
|
+
| `gob uninstall` | remove everything an install wrote, byte-exactly (the same job as `goblin-install --target <dir> --uninstall` from the checkout/install tree) |
|
|
91
95
|
|
|
92
96
|
`goblin` remains as a legacy alias for every command above — existing scripts keep working, but
|
|
93
97
|
new commands and docs use `gob`.
|
|
@@ -102,7 +106,7 @@ exposes three tools:
|
|
|
102
106
|
|---|---|
|
|
103
107
|
| `gob_verify` | run the project discipline gate in the repo the agent has open — `PASS`/`FAIL` per row, each FAIL carrying its remedy line. The description is the trigger: *call this before reporting any coding task complete* |
|
|
104
108
|
| `gob_map_status` | read `features/` and the `feature_map:` key: which features exist, their `verified:` dates, and whether each declared entry path still resolves (the read-only half of `FM-02`) |
|
|
105
|
-
| `gob_init_status` | is this repo under the harness — the `AGENTS.md` gob block, its
|
|
109
|
+
| `gob_init_status` | is this repo under the harness — the `AGENTS.md` gob block, its gates, the engine version |
|
|
106
110
|
|
|
107
111
|
Register it one of three ways:
|
|
108
112
|
|
|
@@ -113,77 +117,26 @@ Register it one of three ways:
|
|
|
113
117
|
{ "mcpServers": { "gob": { "command": "npx", "args": ["-y", "@techgoblin/gobstack", "mcp"] } } }
|
|
114
118
|
|
|
115
119
|
# 3. repo-distributed (Claude Code and Cursor auto-detect a repo-root .mcp.json):
|
|
116
|
-
gob init --
|
|
120
|
+
# `gob init --write <proposal>` writes it as part of the install — no extra command
|
|
117
121
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
get.
|
|
122
|
+
`init --write` writes the repo-root `.mcp.json` alongside the harness, so the user runs no
|
|
123
|
+
separate gob command. It is ask-once: the generated bytes written again are a named no-op,
|
|
124
|
+
and a file that carries anything else is **kept untouched** — a registration you customized
|
|
125
|
+
is the project's and is never overwritten. `gob uninstall` removes it only when it still
|
|
126
|
+
matches the generated bytes, by the same hash-compare the decision records get.
|
|
123
127
|
|
|
124
128
|
## Agent skills
|
|
125
129
|
|
|
126
|
-
**Agent skills are opt-in
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
explicit command. The source of truth is `extras-catalogue/catalogue.tsv`, reviewed and
|
|
137
|
-
carried by the curator (one row per candidate: source repo, license, stars, last push, which
|
|
138
|
-
stacks it `matches`, what it `conflicts` with, and a verdict).
|
|
139
|
-
|
|
140
|
-
gob extras list [category] # the catalogue, grouped: frontend | testing | game | node
|
|
141
|
-
gob extras show <id> # one row, every field, + the install hint
|
|
142
|
-
gob extras install <id...> # the only way an extra lands in your repo
|
|
143
|
-
[--target <dir>] [--platform <id>] [--with-mcp-config] [--dry-run]
|
|
144
|
-
|
|
145
|
-
The verdict decides what each row can do: `RECOMMEND` rows are pre-ticked when `gob init`
|
|
146
|
-
suggests, `MAYBE` rows are listed but never pre-ticked, and a `SKIP` row refuses install —
|
|
147
|
-
it stays visible so the curation history is readable, but the curator declined it.
|
|
148
|
-
|
|
149
|
-
**The license gate is hard.** A verdict alone never installs anything: every row carries a
|
|
150
|
-
`license_status` (verified | pending | proprietary-confirmed-ok) and the date it was checked.
|
|
151
|
-
Only `verified` installs. A row whose license is not yet resolved carries verdict
|
|
152
|
-
`LICENSE-PENDING` — it is never pre-ticked at init, and `gob extras install` refuses it with
|
|
153
|
-
`license pending verification` until a curator verifies the license and flips the row's data
|
|
154
|
-
in `catalogue.tsv`. The gate reads the data, not the code: flipping a row installable is a
|
|
155
|
-
catalogue edit (a new `license_status` + `license_check_date`), never an engine change.
|
|
156
|
-
|
|
157
|
-
**The catalogue is the allowlist.** An id that is not a row in `catalogue.tsv` is refused by
|
|
158
|
-
name; nothing is ever installed from a URL, a repo name, or a web search. Installs are
|
|
159
|
-
offline by contract: skill and workflow rows copy from the vendored payload the curator
|
|
160
|
-
maintains under `extras-catalogue/payload/` (a row with no payload refuses, with the named
|
|
161
|
-
fix — it is never downloaded); `mcp` rows print the `mcp.json` snippet, and
|
|
162
|
-
`--with-mcp-config` merges it into the target's `.mcp.json` — ask-once, never overwriting an
|
|
163
|
-
entry you customized. A `--platform <id>` skill install copies into that platform's project
|
|
164
|
-
skills root (the same paths the sync adapters record); with no `--platform`, skills land in
|
|
165
|
-
the repo-neutral `.gob/extras/<skill-name>/`, and workflow rows copy into
|
|
166
|
-
`.gob/playbooks/<id>/`. An existing file with different content is never clobbered.
|
|
167
|
-
|
|
168
|
-
**`gob init` suggests; it never installs.** The AGENT BRIEF carries a
|
|
169
|
-
`catalogue_suggestions` section: rows whose `matches:` column names the stack the scan found,
|
|
170
|
-
RECOMMEND rows pre-ticked and MAYBE rows visible but unticked. The heuristic fallback
|
|
171
|
-
(`--heuristic`) suggests from the same `matches:` column. `init --write` honours the
|
|
172
|
-
proposal's TICKED rows and only those — unticked MAYBE lines install nothing — and it does
|
|
173
|
-
the honouring by calling `gob extras install` itself, so the allowlist, the verdict refusals
|
|
174
|
-
and the payload contract are one code path.
|
|
175
|
-
|
|
176
|
-
**The `discover_extras` tier is proposals only.** The brief also asks the agent to search the
|
|
177
|
-
web — with its own tools — for skills/MCPs/workflows that match the stack and are NOT in the
|
|
178
|
-
catalogue, and to propose them under `discover_extras:` with a live `source_url`, the
|
|
179
|
-
`license` found, and a one-line `rationale`. Nothing auto-installs from discovery: a human
|
|
180
|
-
reviews the proposals, and the curator promotes accepted discoveries into `catalogue.tsv` by
|
|
181
|
-
PR or direct edit. Until a row exists in the catalogue, `gob extras install` refuses it.
|
|
182
|
-
|
|
183
|
-
**How a row is added** (the curation surface): propose it by PR or edit
|
|
184
|
-
`extras-catalogue/catalogue.tsv` directly — the columns are the row schema
|
|
185
|
-
`gob extras show` prints. A row lands with a verdict, a reviewer and a date; the tests pin
|
|
186
|
-
the file's shape so a malformed row cannot ship.
|
|
130
|
+
**Agent skills are opt-in.** The default install vendors the **core procedure tier** — the seven
|
|
131
|
+
skills whose rows (`SK-01`/`SK-02`/`SK-04`) ride every install — under `.gob/skills/`, so a fresh
|
|
132
|
+
repo runs those rows instead of skipping them. The wider **Hermes project tier** is the opt-in:
|
|
133
|
+
`--skills yes` (or `init --write` with skills on) copies the full skill set under `.hermes/skills/`.
|
|
134
|
+
|
|
135
|
+
The repo ships eighteen skills. The other eleven are the **skill library** — off by default,
|
|
136
|
+
chosen per repo with `--skills all` (every skill) or `--skills <name>[,<name>...]` (exactly those;
|
|
137
|
+
an unknown name is refused). `gob init --list-skills` prints every skill, its tier and its
|
|
138
|
+
one-line purpose, so the set is discoverable without opening the repo. This is the same shape the
|
|
139
|
+
rule library uses: a default set on, the rest held back and selectable.
|
|
187
140
|
|
|
188
141
|
## What it is not
|
|
189
142
|
|
|
@@ -201,24 +154,13 @@ below is the reference material the guide points into, so the two do not compete
|
|
|
201
154
|
|
|
202
155
|
| file | what it decides |
|
|
203
156
|
|---|---|
|
|
204
|
-
| `docs/GUIDE.md` | **read this first**: the first week
|
|
205
|
-
| `
|
|
206
|
-
| `docs/FLOWS.md` | the 15 playbooks, with the 11 cuts and a reason for each |
|
|
207
|
-
| `docs/GUARDRAILS.md` | the security and perf rows (`SC-01`..`SC-09`, `PF-01`), the rung ladder, and what they cannot see |
|
|
208
|
-
| `docs/ROLES.md` | roles versus profiles, the model-mapping contract, the fan-out rule |
|
|
209
|
-
| `docs/ENFORCEMENT.md` | the matrix rendered for a human, and how a rule is added |
|
|
210
|
-
| `docs/CONTRACTS.md` | the installer/verifier interface, exit codes, idempotency, uninstall |
|
|
211
|
-
| `docs/INTEGRATION.md` | the board, cron, the skills precedence order, the referenced standard |
|
|
212
|
-
| `docs/RISKS.md` | the risk register, the advisory rows named, the non-goals |
|
|
213
|
-
| `docs/LOOP.md` | the judge role and the loop contract: what a goal-mode loop actually does, the record, and what neither can see |
|
|
214
|
-
| `docs/RECORD-NOTES.md` | the wave codes the changelog and the matrix parentheticals use, one line each |
|
|
215
|
-
| `docs/GLOSSARY.md` | every term of art in one table (rendered from the shipped `.gob/manifest/glossary.tsv`) |
|
|
216
|
-
| `docs/ADOPTION.md` | the five classes, the preset matrix, the adoption order |
|
|
157
|
+
| `docs/GUIDE.md` | **read this first**: the first week in order, the installer/verifier interface, the rule matrix, the 5-skill payload, the integration points |
|
|
158
|
+
| `README.md` | this file: the thesis and rejected alternatives, the risk register and non-goals, the glossary (all below) |
|
|
217
159
|
| `docs/LIMITS.md` | where this is weaker than its sources, and what is unproven |
|
|
160
|
+
| `docs/RECORD-NOTES.md` | the wave codes the changelog and the matrix parentheticals use, one line each |
|
|
218
161
|
|
|
219
|
-
`manifest/enforcement.tsv` is the source of truth for rules; `
|
|
220
|
-
|
|
221
|
-
vocabulary.
|
|
162
|
+
`manifest/enforcement.tsv` is the source of truth for rules; the shipped `skills/` payload for the
|
|
163
|
+
flows; `manifest/glossary.tsv` for the vocabulary.
|
|
222
164
|
|
|
223
165
|
## Verify
|
|
224
166
|
|
|
@@ -231,8 +173,8 @@ run · `3` the manifest is broken. Every run prints what it cannot see.
|
|
|
231
173
|
|
|
232
174
|
bash tests/run-tests.sh
|
|
233
175
|
|
|
234
|
-
Runs the source-scope rules (PR-01..PR-
|
|
235
|
-
one control per target-scope row (
|
|
176
|
+
Runs the source-scope rules (PR-01..PR-04) and the test scripts, including `t-verify-red.sh` —
|
|
177
|
+
one control per target-scope row (114 over 59 target rows), each required to go RED and then
|
|
236
178
|
restored. **A verifier that only ever prints GREEN is a failure**, so that file is the one that
|
|
237
179
|
matters most.
|
|
238
180
|
|
|
@@ -254,14 +196,17 @@ capability.
|
|
|
254
196
|
|
|
255
197
|
gob uninstall --target .
|
|
256
198
|
|
|
257
|
-
(
|
|
199
|
+
(the same job as `goblin-install --target . --uninstall` — through the legacy alias, spell it `goblin`
|
|
258
200
|
instead of `gob`). The uninstall is **byte-exact**: it removes exactly the files
|
|
259
201
|
`installed.json` records — hash-compared preimages, so a file you edited after install is
|
|
260
202
|
reported and kept, never clobbered — then every directory that leaves empty, and it strips the
|
|
261
203
|
`<!-- gob:begin --> … <!-- gob:end -->` block out of `AGENTS.md` (the body prose stays). After
|
|
262
204
|
it, the repo has zero harness files; only the project's own record (`HANDOFF.md`, `AGENTS.md`'s
|
|
263
205
|
prose, `reviews/`, the `.gitignore` block) survives, because that is the project's, not the
|
|
264
|
-
harness's to delete.
|
|
206
|
+
harness's to delete. Two residues are left **by design, and named in the output**: the
|
|
207
|
+
`.gitignore` ignore-rules block stays (removing it could eat a line the project added inside
|
|
208
|
+
it — delete that block by hand if you want it gone), and prose that named `.gob/` paths
|
|
209
|
+
(HANDOFF, the AGENTS.md body, SPECs) now points at removed files. And because the engine is vendored, the repo needs no gobstack installed to
|
|
265
210
|
run this — it is self-contained until the moment you remove it.
|
|
266
211
|
|
|
267
212
|
The short version, for a full removal from a machine and its repos: (b) in each initialized
|
|
@@ -269,13 +214,13 @@ repo, then (a).
|
|
|
269
214
|
|
|
270
215
|
## Re-pin the referenced standard
|
|
271
216
|
|
|
272
|
-
|
|
217
|
+
goblin-install --target <dir> --re-pin # from the gobstack checkout / install tree
|
|
273
218
|
|
|
274
219
|
`practice_sha256:` in the AGENTS.md gob block pins the referenced standard and `IN-02`
|
|
275
220
|
re-checks it, so editing that standard — a legitimate, intended edit — reds `IN-02` in every
|
|
276
221
|
installed repo. `--re-pin` re-records that one line and prints the old and new hash; `IN-02`
|
|
277
222
|
then reports `practice pin ok`. Nothing re-pins automatically, not even a re-install, and the
|
|
278
|
-
`practice EDITED` failure prints this command. The whole contract: `docs/
|
|
223
|
+
`practice EDITED` failure prints this command. The whole contract: `docs/GUIDE.md`,
|
|
279
224
|
"An edited standard is not a dead end".
|
|
280
225
|
|
|
281
226
|
## Dependencies
|
|
@@ -286,3 +231,194 @@ jq, no yq, no network at verify time.
|
|
|
286
231
|
## License
|
|
287
232
|
|
|
288
233
|
MIT.
|
|
234
|
+
|
|
235
|
+
---
|
|
236
|
+
|
|
237
|
+
## Design
|
|
238
|
+
|
|
239
|
+
### The thesis
|
|
240
|
+
|
|
241
|
+
gobstack is a small portable repository that installs three things into any target repo:
|
|
242
|
+
|
|
243
|
+
1. an **executable rule manifest** — every rule carries a runnable check or is explicitly
|
|
244
|
+
counted as advisory;
|
|
245
|
+
2. a set of **Hermes project-local skills** that carry the flows;
|
|
246
|
+
3. an **installer and a verifier** that prove the first two are still true.
|
|
247
|
+
|
|
248
|
+
It is not a rules document. A rules document has no enforcement, and the published evidence is
|
|
249
|
+
that an LLM-generated context file costs tokens and can reduce resolution. A rule that cannot
|
|
250
|
+
be checked is counted and capped instead of asserted.
|
|
251
|
+
|
|
252
|
+
It is not a port of any Cursor harness. The primitives that carry those harnesses —
|
|
253
|
+
`subagent_type`, `/loop`, `/goal`, `environment: "cloud"`, `readonly`, a vendored plugin
|
|
254
|
+
directory — do not exist in Hermes. What transfers is the *shape*: an executable matrix, a
|
|
255
|
+
bounded panel, a pinned-SHA verdict. What does not transfer is cut, with the reason recorded in
|
|
256
|
+
`docs/GUIDE.md`.
|
|
257
|
+
|
|
258
|
+
### Three load-bearing decisions
|
|
259
|
+
|
|
260
|
+
#### D1 — the enforcement matrix is an executable artifact, not a document
|
|
261
|
+
|
|
262
|
+
`manifest/enforcement.tsv` has one row per rule. The `check` column holds a real command, the
|
|
263
|
+
literal `advisory`, or the marker `goblin-verify --only <ID>` for a check that needs more than
|
|
264
|
+
one shell line. A self-check row (IN-03) fails the manifest when a row has neither, and SK-03
|
|
265
|
+
caps the advisory count. **The number of unenforceable rules is itself a gate.**
|
|
266
|
+
|
|
267
|
+
#### D2 — skills install as *project-local* skills, never into a profile
|
|
268
|
+
|
|
269
|
+
Hermes discovers skills at `<project-root>/.hermes/skills/` and gives the project tier the
|
|
270
|
+
highest precedence — above `~/.hermes/skills/` and above any profile copy. Project dirs are
|
|
271
|
+
treated as repo-owned, so autonomous skill maintenance never rewrites them, and they are
|
|
272
|
+
versioned with the code they govern.
|
|
273
|
+
|
|
274
|
+
This is the design that removes a whole class of rot instead of managing it. Two living copies
|
|
275
|
+
of the same rule with no equality check drift; one copy plus a recorded hash does not. The
|
|
276
|
+
installer puts the skills in the repo, and `SK-02` hashes what it installed.
|
|
277
|
+
|
|
278
|
+
#### D3 — the gate is chosen by the change, not by the repo, and every review names its SHA
|
|
279
|
+
|
|
280
|
+
The stakes ladder S0–S4 was the `goblin-pr-gate` playbook (cut to `attic/` in v3); its rows PG-01–PG-03 remain in the matrix and the review-note contract lives on in `docs/GUIDE.md`. The one-line upgrade that
|
|
281
|
+
applies at every tier — including a direct push — is that a review note names the SHA it
|
|
282
|
+
reviewed: `reviews/<slug>-<head7>.md` with `head:`, `base:`, `patch-id:`, `stakes:`,
|
|
283
|
+
`checks-run:`. A verdict is a claim about an artifact, not about a moment, and `PG-03`
|
|
284
|
+
re-checks the patch-id so a new head voids it.
|
|
285
|
+
|
|
286
|
+
### The composition decision: the house style is referenced, never copied
|
|
287
|
+
|
|
288
|
+
The split is by **kind**, and it is checkable.
|
|
289
|
+
|
|
290
|
+
- The **standard this repo references** owns the house style: the HANDOFF shape and the
|
|
291
|
+
stale-sentence rule, the SPEC lifecycle, the harness house style and the pinned-commit
|
|
292
|
+
REPLAY, the gate vocabulary, commit discipline, the delegation tiers, data safety, the
|
|
293
|
+
documentation duty, adopt-don't-replace.
|
|
294
|
+
- **gobstack owns the mechanism**: which rule is enforced by what, how it is installed, how
|
|
295
|
+
it is verified, which flow applies, which role runs a flow.
|
|
296
|
+
|
|
297
|
+
gobstack carries **no copy** of the standard's text. The `AGENTS.md` gob block holds
|
|
298
|
+
`practice:` and `practice_sha256:`; `goblin-verify` re-checks the hash, so a silently edited
|
|
299
|
+
standard is visible rather than assumed. An edit that *is* intended is re-pinned by one explicit,
|
|
300
|
+
printed command (`goblin-install --target <dir> --re-pin`), never automatically — the pin exists
|
|
301
|
+
to catch a silent edit, so it may not update itself. If no standard is configured, the checks that
|
|
302
|
+
depend on it report advisory, never a failure — that is what makes the repo portable.
|
|
303
|
+
|
|
304
|
+
### Rejected alternatives
|
|
305
|
+
|
|
306
|
+
| Rejected | Why |
|
|
307
|
+
|---|---|
|
|
308
|
+
| A file-for-file port of a Cursor harness | Most of its playbooks are inert without a plugin that is not shipped, and its primitives do not exist here. |
|
|
309
|
+
| A "gobstack rules" document | The #1 anti-pattern: a rules doc with no enforcement is a measured net cost. |
|
|
310
|
+
| Copying the referenced standard into this repo | It is the strongest artifact on the box and must not be weakened; a second copy is exactly the duplication that already rots. |
|
|
311
|
+
| Replacing the referenced standard | Would discard the pinned-commit REPLAY rule, the stale-sentence rule, the data-safety rule and adopt-don't-replace — four things no imported source has. |
|
|
312
|
+
| Per-project bespoke harnesses | The *gate vocabulary* differs by language, not the harness. One default config plus a real off switch. |
|
|
313
|
+
| Fan-out by default, auto-merge, or an unattended hillclimb | The axis is read-versus-write, parallel lanes cost about N times the tokens, and no reviewed source ships unconditional auto-merge. |
|
|
314
|
+
| A plugin or marketplace package | There is no marketplace here. The portable unit is a `SKILL.md` plus a bash installer. |
|
|
315
|
+
| Shipping a workflow (the W4 position, reversed in v3) | Measured: a workflow file is not a gate (a required check can self-skip, and the forge settings are not in the repo), and CI and `goblin-verify` were free to report different truths about one SHA. v3 cut the lane and ships no workflow; a project that wants CI wires its own. |
|
|
316
|
+
|
|
317
|
+
### What it deliberately does not do
|
|
318
|
+
|
|
319
|
+
See `docs/LIMITS.md` and the non-goals in `README.md`. The short version: it does not choose
|
|
320
|
+
models, does not write the vault, does not replace any project's existing gate, writes nothing
|
|
321
|
+
outside its target, and does not pretend the prose rules are enforced.
|
|
322
|
+
|
|
323
|
+
**Amended at W4, reversed at v3.** It used to say *"there is no CI workflow"*; W4 wrote at most one workflow. v3 cut the lane: it ships **no** workflow and reads
|
|
324
|
+
none. The reason the W4 experiment was reversed is recorded in `docs/LIMITS.md` #34 — a workflow
|
|
325
|
+
file is not a gate (the required-check list, the bypass switch and the push identity are forge
|
|
326
|
+
state), and CI and `goblin-verify` were free to report different truths about one SHA.
|
|
327
|
+
|
|
328
|
+
---
|
|
329
|
+
|
|
330
|
+
## Risks and non-goals
|
|
331
|
+
|
|
332
|
+
### Risks
|
|
333
|
+
|
|
334
|
+
| # | Risk | Counter-measure | Status |
|
|
335
|
+
|---|---|---|---|
|
|
336
|
+
| K1 | **Model promotion churn** breaks a role binding | Roles are capabilities, never slugs, and v3 removed the model surface entirely: the harness names no model and reads no mapping file. A campaign that changes nine profiles changes nothing here. | Handled by design |
|
|
337
|
+
| K2 | **Profile drift across the fleet** | The attack surface is removed, not managed: project procedures live in the repo's `.hermes/skills/`, so there is no second copy to drift. `SK-02` hashes what is installed. The existing divergence outside gobstack's scope is a separate, escalated cleanup. | Handled in scope; fleet-side cleanup escalated |
|
|
338
|
+
| K3 | **Skills duplicating between profiles** | Same as K2. The precedence order is stated in `docs/GUIDE.md` so a future agent knows which copy wins instead of guessing. | Handled by design |
|
|
339
|
+
| K4 | **The vendored copy rots** (a repo sits at an old version) | `installed.json` records version and hashes; `goblin-verify` reports the installed version; `--upgrade` prints created/updated/unchanged. Accepted for repos that stop being worked on — the alternative (a network call at verify time) violates the offline dependency contract. | Accepted, with detection |
|
|
340
|
+
| K5 | **The harness decays into prose** | `IN-03` plus `SK-03`: a row without a command must say `advisory`, and the advisory count is capped (`advisory_ceiling`, default 10). The cap is the ratchet. | Handled by design |
|
|
341
|
+
| K6 | **A HANDOFF carries a stale number** | `HP-03` requires `measured <date>`; `HP-05` requires a commit that exists. | Partial: proves a date exists, not that the number is fresh. V1 anchored the row on the gate names the config declares (and skips the template's example sentence), so the real gate line can no longer lose its date in silence - but nothing re-measures the number, and a gate-bearing line that names no declared gate and carries no gate-shaped keyword is still unseen |
|
|
342
|
+
| K7 | **The gate is theatre** (self-skipping checks, admin bypass) | The CI lane is cut in v3, but the hazard it named is a fact about CI in general: a required check that self-skips reports success, and a protected branch whose only admin is the person pushing protects nothing. The harness ships no workflow and reads none, so the hazard is documented here and in `docs/LIMITS.md` #13/#34, not mechanised. | Not solvable from a repo: the required-check list, the bypass switch and the push identity are forge state |
|
|
343
|
+
| K8 | **Cost** | Roles plus effort tokens; the panel only at S3+; sweeps are cron-and-one-line; no playbook fans out without a named predicate. | Handled by policy |
|
|
344
|
+
| K9 | **The builder may only install into its own repo plus a scratch copy** | The install proof target is a throwaway copy under the scratch directory; the recipe is in `docs/GUIDE.md`. | Constraint, satisfied |
|
|
345
|
+
| K10 | **A fleet-config repo is the least-governed artifact in an estate** | An artifact-scoped gate (a commit exists). The underlying staleness bug in a backup job is named and escalated — gobstack can detect staleness but cannot fix another repository. | Escalated |
|
|
346
|
+
| K11 | **The pre-change tree is unknown in a repo with no git history** | Repos with no `.git` are ordered *after* `git init`. `HS-02` is **skipped with a reason** rather than faked while no pinned commit exists. | Handled by ordering |
|
|
347
|
+
| K12 | **A check green on both trees** (the failure mode the REPLAY exists for) | `HS-02` runs the harness set against the pinned pre-change commit and requires **every** harness to be RED there. The shipped scaffold harness is deliberately such a check and is therefore reported as unproven until it is replaced. | Handled by design; see `docs/LIMITS.md` |
|
|
348
|
+
| K13 | **A nightly automation files the same defect twice, or files one that is not there** | Cut in v3 with `automations/` and `AU-02`. A project that runs its own intake keeps a content-only dedup key (`--idempotency-key`) plus the board's own `recent_success` and `active_pr` guards; a report whose `revision` does not resolve is a refusal, not a card; `--max-runtime`, `--max-retries 1` and the failure limit auto-block a looping card. | Handled by design; the key is a dedup, not a mutex (`docs/LIMITS.md` #20) |
|
|
349
|
+
| K14 | **A waiver becomes a permanent blind spot** - a dated exception nobody re-decides | `SC-05`'s boundary waivers are recorded decisions the row reads where it runs, and the waiver count is printed on the gate line so the debt stays loud | Handled by design |
|
|
350
|
+
| K15 | **gobstack installs agent-authored skills, and the one controlled study of that practice puts it BELOW the no-skill baseline.** SkillsBench 1.1's self-generated condition (the agent authors its own Skills before solving) reports all three tested configurations below their no-Skills baseline (-8.1, -11.3, -11.5 points), while curated Skills rose +16.6 points across 18 configurations. A generated skill accepted after a skim is a different proposition from a written one. | `P6` hands every generated verification skill to `P12`, and `verified:` does not advance until an eval record exists; the record's shape, the eleven-token ban, the cheap-checks-first ladder and the pass condition (every seeded defect detected, the control at zero, every correction RED before GREEN) are specified in `skills/goblin-eval/SKILL.md`. The evidence is cited with its pin in `docs/LIMITS.md` #15. | **Stated requirement, not an enforced one**: the runner is not shipped and no row reads a lane (`docs/LIMITS.md` #31) |
|
|
351
|
+
| K16 | **The feature map rots, or claims coverage it does not have** - a route renamed under a recipe that still "works", a feature file nobody indexed, a `verified:` date nobody drove | `FM-01` (every feature file indexed, the four-H2 entry contract, the slug matches the filename), `FM-02` (every declared entry path still resolves under `source_root:`, no entry path changed after its `verified:` date), `VA-01` (the declared `verify_doctor:` exits 0); the upkeep pass and the rot table live in `skills/goblin-feature-map/SKILL.md`. | Handled by design for everything the map LISTED; completeness is not checkable (`docs/LIMITS.md` #30) |
|
|
352
|
+
|
|
353
|
+
| K18 | **A workflow is mistaken for a gate** — a file in `.github/workflows/` with no required-check entry, with the admin-bypass switch on, or pushed under the sole admin's own identity, is decoration that reads as enforcement | The harness ships no workflow (the CI lane is cut in v3) and no row reads one; the four settings that make a workflow a gate are recorded in `docs/LIMITS.md` #34; the verifier's "cannot see" footer no longer names the lane (FIX 2: it names only lanes a run still walks) | The file half is gone with the lane; the forge half was never observable from a repo |
|
|
354
|
+
|
|
355
|
+
### The advisory rows, named
|
|
356
|
+
|
|
357
|
+
No row of the shipped matrix is labelled `advisory` — the **six advisory rows moved to the
|
|
358
|
+
library**, so a default run sits at **0 of 10** on the `SK-03` cap (`gob verify --library` lists
|
|
359
|
+
them). Those six carry **no executable check at all**:
|
|
360
|
+
|
|
361
|
+
- **HP-04** — a stale sentence is corrected in place with a dated parenthetical, never deleted.
|
|
362
|
+
- **HS-03** — source probes read text with comments blanked first.
|
|
363
|
+
- **CM-02** — the commit message was written to a file, not passed inline.
|
|
364
|
+
- **DOC-01** — a significant change updates the docs that teach it.
|
|
365
|
+
- **DOC-02** — system-level changes are recorded wherever the project's standard says they live.
|
|
366
|
+
- **SC-09** — auth is applied consistently across sibling routes.
|
|
367
|
+
|
|
368
|
+
`HP-04` and `CM-02` additionally print a heuristic when run with `--only`. A heuristic is not a
|
|
369
|
+
check: it never fails a run. A counted rule is still not an enforced one, and the cap is a policy,
|
|
370
|
+
not a proof.
|
|
371
|
+
|
|
372
|
+
### Non-goals
|
|
373
|
+
|
|
374
|
+
Stated so no future reader infers them:
|
|
375
|
+
|
|
376
|
+
- not a plugin or a marketplace package; no slash commands;
|
|
377
|
+
- **no auto-merge** — no reviewed source ships it unconditionally, and merging is a different
|
|
378
|
+
decision from a green gate;
|
|
379
|
+
- not a fleet orchestrator — the board owns that;
|
|
380
|
+
- does not provision, migrate or verify models;
|
|
381
|
+
- does not write the vault;
|
|
382
|
+
- does not replace any project's existing gate (adopt, don't replace);
|
|
383
|
+
- is not a monorepo tool and not a CI tool. **v3:** it ships no workflow and reads none — a project
|
|
384
|
+
that wants CI wires its own, and CI is out of the product (`docs/LIMITS.md` #55);
|
|
385
|
+
- does not manage profile skill libraries;
|
|
386
|
+
- writes nothing outside the target repo;
|
|
387
|
+
- does not attempt to make the *prose* rules enforceable — it counts them instead.
|
|
388
|
+
|
|
389
|
+
---
|
|
390
|
+
|
|
391
|
+
## Glossary
|
|
392
|
+
|
|
393
|
+
Every term of art in one table, rendered from `manifest/glossary.tsv` — that file is the source;
|
|
394
|
+
edit it there and re-render (or hand-render: one row per term, alphabetical, the definition one
|
|
395
|
+
sentence). A term a new reader might trip on belongs here, not in a footnote.
|
|
396
|
+
|
|
397
|
+
| term | definition | source |
|
|
398
|
+
|---|---|---|
|
|
399
|
+
| advisory | A rule with no executable check. Counted in the verify summary and capped by advisory_ceiling; never a silent pass. | R6 sec.5 |
|
|
400
|
+
| archive | An opt-in flag: verify requires no HANDOFF and no gates, and the summary says so. | R7 sec.2.4 |
|
|
401
|
+
| drift | A file whose current bytes no longer match the hash recorded at install time. IN-02 reports it; the remedy column says how to recover. | UX-review-2026-10-06 |
|
|
402
|
+
| engine | The bash programs plus the manifest a verify run actually resolved: per-repo (.gob/bin) or global (engine_dir:). Named in every run's footer. | UX-review-2026-10-06 |
|
|
403
|
+
| forge | The hosting platform a repo pushes to (GitHub, GitLab, ...). What the forge itself enforces — the required-check list, the bypass switch, the push identity — is not observable from inside a repo. | UX-review-2026-10-06 |
|
|
404
|
+
| foreman | The orchestrating agent that delegates work to the fleet; the role that reads HANDOFF.md first and writes it last. | UX-review-2026-10-06 |
|
|
405
|
+
| gate | A declared command that must exit 0. Declared per project, never inferred from the stack. | PP sec.4 |
|
|
406
|
+
| HANDOFF | The session-boundary contract at the repo root: START HERE / State / Gates / Next steps / NOT verified. | PP sec.1 |
|
|
407
|
+
| harness | An asserting check file: a failures counter, an assert(name, ok, detail) printer, and a non-zero exit on failure. | PP sec.3 |
|
|
408
|
+
| lane | A family of rules that share a mechanism and a blind spot: the ban lane, the reference-corpus lane. The cannot-see footer reports per lane (the CI lane is cut in v3 and is not named). | UX-review-2026-10-06 |
|
|
409
|
+
| opt-out | A part recorded in disabled: so its required checks report SKIP (opt-out) instead of failing. | R6 sec.6.3 |
|
|
410
|
+
| overnight | P10: an unattended run over a fixed goal, stopped by an escape hatch. | R6 sec.3 |
|
|
411
|
+
| part | One installable unit: handoff, spec, gate, replay, ratchet, pr-gate, review-panel, skills, tokens. | R7 sec.5 |
|
|
412
|
+
| patch-id | git patch-id --stable of base..head. A new head voids a verdict; a matching commit message does not restore it. | R1 sec.10 |
|
|
413
|
+
| playbook | A named, ordered procedure with a measurable verification step. The catalogue is cut (v3): the payload ships 5 gate-coupled skills. | R6 sec.3 |
|
|
414
|
+
| preimage | The input that produces a known hash. The hash checks here prove non-drift, not preimage resistance - they are tamper-evidence, not signatures (docs/LIMITS.md #18). | UX-review-2026-10-06 |
|
|
415
|
+
| profile | A worker identity in the Hermes fleet (architect, coder, reviewer, ...). Owns memory and skills. | R4 |
|
|
416
|
+
| review-panel | N independent verdict lanes, each its own card with its own resolved model. Only at stakes S3+. | R6 sec.4.3 |
|
|
417
|
+
| REPLAY | Re-running each assertion against the pinned pre-change commit and requiring it to be RED there. A check green on both trees proves nothing. | PP sec.3 |
|
|
418
|
+
| ratchet | A count that must not rise, with a declared ceiling; a rise is allowed only when re-anchored with the arithmetic (old + N new = new). | PP sec.4 |
|
|
419
|
+
| round | One full pass of the work cycle: plan, implement, gate, replay, hand off. The unit a wave code counts. | UX-review-2026-10-06 |
|
|
420
|
+
| skill | A Hermes SKILL.md directory. gobstack installs its skills into the target repo at .hermes/skills/ (project tier), never into a profile. | R6 sec.0.1 / sec.7.3 |
|
|
421
|
+
| SPEC | A per-round document written before implementation: measured root cause plus an AC: list checkable without a human. | PP sec.2 |
|
|
422
|
+
| stakes | The S0-S4 ladder that chooses the review gate strength by the change, not by the repo. | R5 sec.3.2 |
|
|
423
|
+
| sweep | P11: the same change or question across many projects, enumerated by glob, one card each. | R6 sec.3 |
|
|
424
|
+
| vendored | Copied into the repo rather than read from the package, so it survives offline and is hashed by IN-02 like any installed file. | UX-review-2026-10-06 |
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.6.0-
|
|
1
|
+
0.6.0-beta.1
|
package/bans/README.md
CHANGED
|
@@ -7,9 +7,9 @@ probes. Dune's rule 2, made a gate: **a ban without a mechanism is a wish.** A b
|
|
|
7
7
|
## How a ban is run
|
|
8
8
|
|
|
9
9
|
```
|
|
10
|
-
.
|
|
11
|
-
.
|
|
12
|
-
.
|
|
10
|
+
.gob/bin/goblin-bans # every ban the config's `bans:` list turns on
|
|
11
|
+
.gob/bin/goblin-bans --only BN-01 # one ban
|
|
12
|
+
.gob/bin/goblin-bans --list # the table
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
A `detect` command runs from the repo root and exits
|
|
@@ -32,7 +32,7 @@ every violation inside an exempted path would be a permanent RED with no remedy
|
|
|
32
32
|
**W5-1**, measured `rc 0` at `72490f0` → `rc 1` at `7fec08f`).
|
|
33
33
|
|
|
34
34
|
```
|
|
35
|
-
bans_exempt: # in .
|
|
35
|
+
bans_exempt: # in the AGENTS.md gob block — a path prefix, or a whole path
|
|
36
36
|
- BN-03 src/legacy # <ban id> <path prefix>: that ban, that path, nothing else
|
|
37
37
|
```
|
|
38
38
|
|
|
@@ -64,7 +64,7 @@ stays RED. That is deliberate — the failure is **closed**, never open — and
|
|
|
64
64
|
|
|
65
65
|
## No npm, no AST
|
|
66
66
|
|
|
67
|
-
The engine uses `bash`/`grep`/`awk` only — the dependency contract in `docs/
|
|
67
|
+
The engine uses `bash`/`grep`/`awk` only — the dependency contract in `docs/GUIDE.md`. So
|
|
68
68
|
these are **text probes**, not AST checks: a `: any` inside a string or a comment is reported,
|
|
69
69
|
and `Record<string, any>` (no leading `:`) is missed. The AST-grade form of the same bans needs
|
|
70
70
|
a parser the contract does not allow; that gap is `docs/LIMITS.md` #27, stated rather than
|
package/bans/grep-ban.sh
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
#
|
|
11
11
|
# It reads TEXT, with no AST and no comments blanked: a `: any` inside a string or a
|
|
12
12
|
# comment is reported. That limit is stated, not hidden - the AST-grade form needs a
|
|
13
|
-
# parser the no-npm contract (docs/
|
|
13
|
+
# parser the no-npm contract (docs/GUIDE.md) does not allow (docs/LIMITS.md #27).
|
|
14
14
|
#
|
|
15
15
|
# NARROW, EXPLICIT EXCEPTIONS (Dune rule 5). The engine exports two variables, and the hits are
|
|
16
16
|
# filtered BEFORE the exit code is chosen - a filter applied to stdout after the fact cannot
|