@techgoblin/gobstack 0.6.0-alpha.4 → 0.6.0-beta.2
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 +59 -0
- package/README.md +249 -116
- 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 +345 -259
- package/bin/goblin-install +269 -213
- package/bin/goblin-lib.sh +63 -66
- package/bin/goblin-map +130 -579
- package/bin/goblin-mcp.js +9 -14
- package/bin/goblin-verify +411 -993
- package/bin/goblin.js +4 -9
- package/docs/CURATION-2026-11-07-gobigrams.md +223 -0
- package/docs/GUIDE.md +727 -179
- package/docs/LIMITS.md +297 -301
- package/docs/RECORD-NOTES.md +1 -2
- package/manifest/bans.tsv +9 -9
- package/manifest/categories.tsv +18 -0
- package/manifest/enforcement.tsv +14 -67
- 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-handoff/SKILL.md +5 -0
- package/skills/goblin-verify-author/SKILL.md +14 -2
- package/skills/practice/SKILL.md +4 -4
- package/templates/AGENTS.md.tmpl +6 -6
- package/templates/HANDOFF.md.tmpl +8 -6
- 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 -365
- 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 -218
- 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/bin/goblin.js
CHANGED
|
@@ -7,17 +7,14 @@
|
|
|
7
7
|
//
|
|
8
8
|
// v2 SURFACE (AI-driven development):
|
|
9
9
|
// gob init [...] -> bin/goblin-init (the prompt+schema engine)
|
|
10
|
-
// gob map [...] -> bin/goblin-map (prompt+schema; --heuristic fallback)
|
|
11
10
|
// gob verify [...] -> bin/goblin-verify
|
|
12
11
|
// gob bans [...] -> bin/goblin-bans
|
|
13
|
-
// gob extras [...] -> bin/goblin-extras (curated catalogue)
|
|
14
12
|
// gob mcp -> bin/goblin-mcp.js (the MCP stdio server)
|
|
15
13
|
// gob uninstall [--target <dir>] -> bin/goblin-install --uninstall
|
|
16
14
|
// no args | -h/--help | any other first arg -> this file's short usage, exit 2.
|
|
17
15
|
//
|
|
18
|
-
// UNWIRED (code kept, deletion is session 3): audit,
|
|
19
|
-
//
|
|
20
|
-
// naming what replaced it — never silently executed.
|
|
16
|
+
// UNWIRED (code kept, deletion is session 3): audit, install. The usage() list is the product's
|
|
17
|
+
// contract: a verb absent from it is refused, naming what replaced it — never silently executed.
|
|
21
18
|
//
|
|
22
19
|
// Non-negotiables: args are passed as an ARRAY, never a shell string (no injection
|
|
23
20
|
// surface); `bash` is named explicitly (a packager stripping the executable bit must not
|
|
@@ -38,7 +35,7 @@ if (arg0 === "--version" || arg0 === "-V" || arg0 === "-v") {
|
|
|
38
35
|
process.exit(0);
|
|
39
36
|
}
|
|
40
37
|
|
|
41
|
-
const SCRIPT = { init: "goblin-init",
|
|
38
|
+
const SCRIPT = { init: "goblin-init", verify: "goblin-verify", bans: "goblin-bans", mcp: "goblin-mcp.js" };
|
|
42
39
|
const [cmd, ...rest] = process.argv.slice(2);
|
|
43
40
|
|
|
44
41
|
// No args, a help flag, or an unrecognized first arg: short usage, exit 2. A bare
|
|
@@ -52,9 +49,7 @@ function usage() {
|
|
|
52
49
|
" gob init start here — prints the agent brief + proposal schema; --write installs it",
|
|
53
50
|
" gob verify run the rule matrix against the current repo",
|
|
54
51
|
" gob bans run the ban list (per-pattern red lines over the source tree)",
|
|
55
|
-
" gob
|
|
56
|
-
" gob map print the feature-map prompt + schema; --heuristic scans instead",
|
|
57
|
-
" gob mcp serve the harness to your agent over MCP stdio (verify/map/init tools)",
|
|
52
|
+
" gob mcp serve the harness to your agent over MCP stdio (verify/init tools)",
|
|
58
53
|
" gob uninstall --target . remove exactly what an install wrote (preimages)",
|
|
59
54
|
"",
|
|
60
55
|
"start here: npx @techgoblin/gobstack init",
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
# Curation — what Gobigrams taught gobstack (2026-11-07)
|
|
2
|
+
|
|
3
|
+
One project, mined for rules that are true beyond it. This file is the analysis, not the adoption: every proposal
|
|
4
|
+
below is stated so it can be argued with, priced, or refused on the record.
|
|
5
|
+
|
|
6
|
+
**Evidence base.** `diagram-studio` → Gobigrams, 2026-10-23 → 2026-11-07: ~35 rounds, four publish cycles
|
|
7
|
+
(0.4.0 → 0.4.5), one npm scope move, three adapters over one core (web app, MCP server, Obsidian plugin), one
|
|
8
|
+
renderer extracted into `@techgoblin/gobi-core`, and a launch on a public URL. Numbers quoted here were measured
|
|
9
|
+
in that repo; the commits named are the ones that carry them.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## 1. The twelve candidates, ranked by leverage
|
|
14
|
+
|
|
15
|
+
| # | Lesson | Class | Mechanisable today | Verdict |
|
|
16
|
+
|---|---|---|---|---|
|
|
17
|
+
| C1 | A check's input must come from the producer the user's input comes from | verification | yes, text probe | **adopt** |
|
|
18
|
+
| C2 | A measurement must prove its own instrument first | verification | yes, text probe | **adopt** |
|
|
19
|
+
| C3 | Cancelled is not pending | handoff | yes, awk probe | **adopt** |
|
|
20
|
+
| C4 | A release claim names the artifact the user downloads + one number inside it | release | yes, gate | **adopt** |
|
|
21
|
+
| C5 | An artifact declares, inside itself, what it was built from | versioning | yes, gate | **adopt** |
|
|
22
|
+
| C6 | Instruction files change only with a recorded approval | governance | yes, hash record | **adopt** |
|
|
23
|
+
| C7 | Two agents disagreeing is settled by one written recipe, not a third opinion | process | no | advisory |
|
|
24
|
+
| C8 | An advertised capability must be reachable in N actions | product | partly | advisory |
|
|
25
|
+
| C9 | Generated state needs retention, and harnesses write only in a scratch namespace | hygiene | yes | later (needs a data-dir concept gobstack does not have) |
|
|
26
|
+
| C10 | A gate parsing a tool's output must fail with a named cause, and be proven under every version in play | gate robustness | partly | advisory |
|
|
27
|
+
| C11 | One core, N adapters, one conformance corpus that ships with the core | architecture | partly | advisory (class-shaped, not check-shaped) |
|
|
28
|
+
| C12 | Every surface that draws a thing must be proven to draw it, not just to compute it | verification | no | rejected for now — see §5 |
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## 2. The five adoptions, with the failure that justifies each
|
|
33
|
+
|
|
34
|
+
### C1 — the payload the check uses must be the payload the user gets
|
|
35
|
+
|
|
36
|
+
**Failure.** `round-embed-fit` read 10/10 green while the product clipped a 6-node diagram inside an 800×450
|
|
37
|
+
iframe. The harness built its fixture with **declared node sizes**; the payload a user actually shares comes from
|
|
38
|
+
`compileGobi()` → `toBoardDoc()` and carries **none**. Two different inputs, one green light, one broken product.
|
|
39
|
+
|
|
40
|
+
**Rule (project-independent).** *A check that asserts a user-visible outcome constructs its input through the same
|
|
41
|
+
producer the user's input comes through; a fixture typed by hand is generated by that producer and pinned.*
|
|
42
|
+
|
|
43
|
+
**Mechanism.** `HV-01`, lint over the harness tree. The probe reads every file that renders, parses or compiles
|
|
44
|
+
product input and asserts it either imports the production producer or carries a `produced_by:` marker naming the
|
|
45
|
+
producer plus a pinned id. Honest limit (goes in the row's `if_not_why`): it proves the producer is *named and
|
|
46
|
+
reachable*, not that the call path matches the product's wiring — a stronger version needs the product to export a
|
|
47
|
+
single "make me the thing a user would get" factory, which is a design change, not a probe.
|
|
48
|
+
|
|
49
|
+
### C2 — a measurement proves its instrument before it accuses the product
|
|
50
|
+
|
|
51
|
+
**Failure, in three acts.** (a) The orchestrator's browser window was **780×437** while the iframe under test was
|
|
52
|
+
**802×452**; every screenshot cut the frame's bottom edge, and the vision read called that "the diagram is
|
|
53
|
+
clipped". The product was reported broken **three times**, and four coder rounds were spent chasing a defect that
|
|
54
|
+
did not exist — the final numbers were `matrix(0.427527,…)`, 6 nodes, `bbox 251,43 → 529,394`, all inside
|
|
55
|
+
780×437. (b) `Emulation.setDeviceMetricsOverride` silently did not change `innerWidth` in a fresh session, so the
|
|
56
|
+
instrument believed it had a viewport it did not have. (c) Earlier in the same project, a venv hid `fontTools`, the
|
|
57
|
+
probe printed `NaNpx`, and two harnesses convicted a layout that was fine (`ec7077b`).
|
|
58
|
+
|
|
59
|
+
**Rule.** *A number taken from a live surface carries its guard: a bounding box is asserted inside the capture
|
|
60
|
+
viewport, a measurement is asserted non-`NaN` and non-zero, and a missing dependency raises a named error instead
|
|
61
|
+
of degrading to a default.*
|
|
62
|
+
|
|
63
|
+
*Scope, measured after implementation:* the probe reads Node shapes (`execSync`/`execFileSync`/`spawnSync`/
|
|
64
|
+
`child_process` beside `parseFloat`/`parseInt`/`Number(`). A shell harness that parses a number is **not** seen —
|
|
65
|
+
the row says `Node child-process result` for that reason, and `docs/LIMITS.md` #57 names the blind spot.
|
|
66
|
+
|
|
67
|
+
**Mechanism.** `HV-02`, lint. Files calling `getBoundingClientRect()` must also reference `innerWidth`/`innerHeight`
|
|
68
|
+
(or carry `guarded:`), and files that shell out to a text-metrics tool must raise a named missing-module error.
|
|
69
|
+
Honest limit: it cannot tell a correct guard from a decorative one.
|
|
70
|
+
|
|
71
|
+
### C3 — cancelled is not pending
|
|
72
|
+
|
|
73
|
+
**Failure.** Phase 7 ("five real users") sat in the handoff as an open item for a week after Harvey had decided the
|
|
74
|
+
first release did not need strangers. The queue lied: any agent reading the handoff saw work that would never be
|
|
75
|
+
done, and every status report inherited the lie.
|
|
76
|
+
|
|
77
|
+
**Rule.** *Every item in the handoff's NEXT STEPS is one of three shapes: owned with a date, done with evidence, or
|
|
78
|
+
cancelled with a date and the decision verbatim. "Open" is not a shape.*
|
|
79
|
+
|
|
80
|
+
**Mechanism.** `FM-03`… numbered `HP-06` in the matrix (HP is the handoff family): awk over the `NEXT STEPS`
|
|
81
|
+
section, each bullet must contain a date and one of `owner`/`done`/`cancelled`. Cheap, deterministic, impossible to
|
|
82
|
+
game without writing something true.
|
|
83
|
+
|
|
84
|
+
### C4 — a release is verified at the layer the user touches, by a number
|
|
85
|
+
|
|
86
|
+
**Failure.** `sha(build) == sha(deployed)` proved the *deploy*, not the *behaviour*; the same night, a renderer
|
|
87
|
+
defect that only appeared in the downloaded SVG was found by Harvey in production (`9c3b0cc`). Symmetrically, the
|
|
88
|
+
npm publish was "done" while the registry still served the old version for ~90 s, and an install from the registry
|
|
89
|
+
was what settled it.
|
|
90
|
+
|
|
91
|
+
**Rule.** *A release record names the artifact the user downloads (URL or path), its sha256, and one assertion
|
|
92
|
+
measured **inside** that artifact — not in the tree it was built from.*
|
|
93
|
+
|
|
94
|
+
**Mechanism.** `RL-01`, gate over `.gob/release-record.tsv`:
|
|
95
|
+
`date · artifact · sha256 · assertion · command`. The gate checks the file exists, each row has all five fields,
|
|
96
|
+
the date is measured, and the sha256 column hashes the same length as the artifact. It cannot re-download the
|
|
97
|
+
artifact (that is a network act); it forces the *shape* of the claim, which is what was missing.
|
|
98
|
+
|
|
99
|
+
### C5 — an artifact says what it was built from
|
|
100
|
+
|
|
101
|
+
**Failure.** The Obsidian plugin on the store was `0.1.0` built against core `0.4.3` while the app ran `0.4.5`;
|
|
102
|
+
three renderer fixes were invisible to every plugin user and nothing in the release said so. The fix that made it
|
|
103
|
+
visible was a marker string inside the bundle: `gobi-core:0.4.5 9674bc0`, verified by downloading the release asset
|
|
104
|
+
and grepping it.
|
|
105
|
+
|
|
106
|
+
**Rule.** *Every built artifact embeds `<dependency>:<version> <source-sha>`, machine-readable, and the version gate
|
|
107
|
+
compares that marker with the declared dependency.*
|
|
108
|
+
|
|
109
|
+
**Mechanism.** `VR-01` (new versioning family), gate: for each declared artifact in the project config, grep the
|
|
110
|
+
built file for the marker pattern and compare against the lockstep table. This is the single cheapest defence
|
|
111
|
+
against "the fix is in the repo but not in the thing people installed".
|
|
112
|
+
|
|
113
|
+
### C6 — instruction files change only with a recorded approval
|
|
114
|
+
|
|
115
|
+
**Failure.** Mid-run, the coder could not write the measured placement rule into `AGENTS.md`; the confirmation
|
|
116
|
+
dialog timed out and the work stalled until Harvey pressed Allow. Good outcome, no record: nothing in the repo says
|
|
117
|
+
who approved that edit or when, and nothing would have noticed if an agent had written it silently.
|
|
118
|
+
|
|
119
|
+
**Rule.** *`AGENTS.md` (and any file the agent reads as instructions) is hashed into an approval record; an edit
|
|
120
|
+
without a matching re-approval is red.*
|
|
121
|
+
|
|
122
|
+
**Mechanism.** `AG-01`, script: `.gob/agents.approved` holds `sha256 · date · approver · one-line reason`;
|
|
123
|
+
`goblin-verify --only AG-01` recomputes. Same shape as `IN-02`, applied to the file that governs the agent.
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## 3. The advisory set (no mechanism yet, and why)
|
|
128
|
+
|
|
129
|
+
- **C7 — the tie-breaker recipe.** When two agents' numbers disagree, the fix that worked was *one recipe both
|
|
130
|
+
sides run*: cross-origin host page, built dist, the payload a user produces, both numbers pasted. Writing a
|
|
131
|
+
"recipe" as a check is not possible; the honest form is a sentence in the `practice` skill plus a template.
|
|
132
|
+
- **C8 — advertised capability is reachable.** Gobigrams hit the *seventh* instance of "the capability exists and
|
|
133
|
+
nothing surfaces it" (custom colour: model accepted a hex, `resolveColorKey` returned null, `swatchRow` had an
|
|
134
|
+
unused parameter, no UI reached any of it). The reverse also bit: a help sheet advertising four capabilities that
|
|
135
|
+
the product did not need. A check would need a per-surface definition of "reachable"; keep it as a review
|
|
136
|
+
question with a number ("N actions from a cold start").
|
|
137
|
+
- **C10 — tool-output shape.** `npm pack --dry-run --json` changed from an array to an object between npm 11 and
|
|
138
|
+
12; the publish guard read `[0].files`, died, and reported **six** failures that were one failure
|
|
139
|
+
(`f36c7af`). The lesson generalises to every gate that parses another tool: accept the shapes in play, fail with
|
|
140
|
+
a named cause, and prove the gate under each version. Partly mechanisable (the named-cause half), not worth a
|
|
141
|
+
row yet.
|
|
142
|
+
- **C11 — one core, N adapters.** The pattern that held: the corpus travelled *with* the package (24 → 26
|
|
143
|
+
fixtures), and every adapter was proven byte-identical against it — app, MCP server, Obsidian plugin. A check
|
|
144
|
+
cannot decide whether a project has one core; it can only verify the corpus is versioned with it. Belongs in the
|
|
145
|
+
architect spec template, not the matrix.
|
|
146
|
+
|
|
147
|
+
---
|
|
148
|
+
|
|
149
|
+
## 4. Where these should live, concretely
|
|
150
|
+
|
|
151
|
+
| Proposal | Matrix row | Skill touch | Doc touch |
|
|
152
|
+
|---|---|---|---|
|
|
153
|
+
| C1 | `HV-01` (target, lint) | `goblin-verify-author`: "pick the input the user gets" | LIMITS: what the probe cannot see |
|
|
154
|
+
| C2 | `HV-02` (target, lint) | `goblin-verify-author`: "the instrument first" | LIMITS: guards can be decorative |
|
|
155
|
+
| C3 | `HP-06` (target, lint) | `goblin-handoff`: the three bullet shapes | GUIDE §8 (keeping HANDOFF honest) |
|
|
156
|
+
| C4 | `RL-01` (target, gate) | `goblin-verify-author`: release record | GUIDE §11 reference: `.gob/release-record.tsv` |
|
|
157
|
+
| C5 | `VR-01` (target, gate) | `goblin-bootstrap`: markers in built artifacts | GUIDE §4 (Step 2 — commit, then verify) |
|
|
158
|
+
| C6 | `AG-01` (target, script) | `goblin-bootstrap` | LIMITS: approval is a hash, not a signature |
|
|
159
|
+
|
|
160
|
+
Cost estimate, from the shape of the existing checks: `HP-06` and `AG-01` are an afternoon each (awk + a hash
|
|
161
|
+
file + one negative-control test each). `HV-01`/`HV-02` are text probes, same class as `BN-*`, two hours each
|
|
162
|
+
including a control. `RL-01` and `VR-01` need a small config surface (`.gob/release-record.tsv`, an `artifacts:`
|
|
163
|
+
block in the one config) — that is a design decision before it is a probe.
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
## 5. What this project must NOT push into gobstack
|
|
168
|
+
|
|
169
|
+
Saying no is half of curation. These are Gobigrams facts with no general form:
|
|
170
|
+
|
|
171
|
+
- The `.gobi` grammar, its closed-world rule, the shape palette, the layout constants. Product, not practice.
|
|
172
|
+
- React Flow pins, byte budgets, the `client_js_bytes` ceiling. Ratchets are per-project policy.
|
|
173
|
+
- The publish allowlist and the Forgejo→GitHub snapshot. It is one answer to "public repo from a private workshop",
|
|
174
|
+
shaped by Harvey's hosting choice.
|
|
175
|
+
- The three-surface conformance *numbers* (24/26 fixtures). The **pattern** is worth keeping (C11); the numbers are
|
|
176
|
+
not.
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## 6. Decisions taken (Harvey: "làm sao theo ý bạn")
|
|
181
|
+
|
|
182
|
+
Both open questions are answered here rather than left hanging, and the order of work is fixed.
|
|
183
|
+
|
|
184
|
+
1. **gobstack gets a release family — but opt-in.** `RL-01`/`VR-01` were the whole argument for a fifth family, and
|
|
185
|
+
the argument holds: the gap that produced the plugin-bundling-an-old-core incident is real and general. But not
|
|
186
|
+
every project ships an artifact — a library workspace has nothing to download, and a mandatory release record
|
|
187
|
+
would manufacture red for a non-problem. So the family is declared in the one config (`artifacts:` block plus
|
|
188
|
+
`.gob/release-record.tsv`); a repo without that block gets `SKIP` with the reason, exactly the way `IN-01`
|
|
189
|
+
already skips a declaration-only repo.
|
|
190
|
+
2. **C2 is a text probe now, and the limit is stated out loud.** A probe can prove a guard is *present*, not that it
|
|
191
|
+
is *effective*. That is the same honest boundary `BN-01` already draws ("text probe, not an AST"), and it is
|
|
192
|
+
enough to catch the failure that actually happened — a measurement reported with no viewport assertion at all.
|
|
193
|
+
A runtime helper becomes worth its cost only when a project already owns a shared harness library; until then,
|
|
194
|
+
shipping one would bind gobstack to a language for a benefit no check can measure.
|
|
195
|
+
|
|
196
|
+
**Order of work, cheapest and most preventative first.**
|
|
197
|
+
|
|
198
|
+
| Phase | Rules | Why this order |
|
|
199
|
+
|---|---|---|
|
|
200
|
+
| 1 (now) | `HV-02`, `HP-06`, `HV-01` | an afternoon of probes with negative controls; kills the two failure classes that cost the most (a false accusation, and a queue that lies) |
|
|
201
|
+
| 2 | `AG-01` | same shape as `IN-02`, but touches install/inspect paths — do it with fresh attention |
|
|
202
|
+
| 3 | `RL-01`, `VR-01` | needs the `artifacts:` config surface designed before the probe is written |
|
|
203
|
+
| never | C12, plus everything in §5 | project-specific or class-shaped, not check-shaped |
|
|
204
|
+
|
|
205
|
+
---
|
|
206
|
+
|
|
207
|
+
## 7. What this file leaves open for the next curation
|
|
208
|
+
|
|
209
|
+
Not questions about the rules above — those are decided. These are the things one project could not settle, and the
|
|
210
|
+
next project with a different shape should test:
|
|
211
|
+
|
|
212
|
+
1. **Does a false accusation cost more than a missed defect in every domain?** `HV-02` assumes yes: it is written to
|
|
213
|
+
stop the instrument from convicting a product. In a safety domain the trade flips. Nothing in gobstack can decide
|
|
214
|
+
that per-project yet.
|
|
215
|
+
2. **What is the cheapest honest form of "reachable in N actions"?** C8 stayed advisory because "reachable" has no
|
|
216
|
+
shared definition. Gobigrams measured it as a checklist of six tasks; another product will measure it differently,
|
|
217
|
+
and the second measurement is where the definition will come from.
|
|
218
|
+
3. **Does the release family survive a project that ships ten artifacts?** `RL-01` assumes one record file with one
|
|
219
|
+
row per release. A monorepo with five packages will want a row per artifact, and the `artifacts:` config has not
|
|
220
|
+
been designed against that shape yet — design it against the second project, not this one.
|
|
221
|
+
|
|
222
|
+
The general rule this file is built on: a lesson earns a row only when its failure has been *measured* somewhere,
|
|
223
|
+
and a rule earns a mechanism only when the mechanism can be proven red on demand.
|