@techgoblin/gobstack 0.6.0 → 0.7.3

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/bin/goblin.js CHANGED
@@ -9,6 +9,7 @@
9
9
  // gob init [...] -> bin/goblin-init (the prompt+schema engine)
10
10
  // gob verify [...] -> bin/goblin-verify
11
11
  // gob bans [...] -> bin/goblin-bans
12
+ // gob approve-agents "<reason>" [...] -> bin/goblin-approve (AG-01's approval record)
12
13
  // gob mcp -> bin/goblin-mcp.js (the MCP stdio server)
13
14
  // gob uninstall [--target <dir>] -> bin/goblin-install --uninstall
14
15
  // no args | -h/--help | any other first arg -> this file's short usage, exit 2.
@@ -35,7 +36,7 @@ if (arg0 === "--version" || arg0 === "-V" || arg0 === "-v") {
35
36
  process.exit(0);
36
37
  }
37
38
 
38
- const SCRIPT = { init: "goblin-init", verify: "goblin-verify", bans: "goblin-bans", mcp: "goblin-mcp.js" };
39
+ const SCRIPT = { init: "goblin-init", verify: "goblin-verify", bans: "goblin-bans", mcp: "goblin-mcp.js", "approve-agents": "goblin-approve" };
39
40
  const [cmd, ...rest] = process.argv.slice(2);
40
41
 
41
42
  // No args, a help flag, or an unrecognized first arg: short usage, exit 2. A bare
@@ -49,6 +50,7 @@ function usage() {
49
50
  " gob init start here — prints the agent brief + proposal schema; --write installs it",
50
51
  " gob verify run the rule matrix against the current repo",
51
52
  " gob bans run the ban list (per-pattern red lines over the source tree)",
53
+ " gob approve-agents \"<reason>\" record who approved the current AGENTS.md (row AG-01)",
52
54
  " gob mcp serve the harness to your agent over MCP stdio (verify/init tools)",
53
55
  " gob uninstall --target . remove exactly what an install wrote (preimages)",
54
56
  "",
@@ -0,0 +1,163 @@
1
+ # Framework-agnostic audit of the gob rule set — 2026-11-25
2
+
3
+ One question drove this pass: **does every row state a rule that is true regardless of framework,
4
+ and does every skip prove what it could not see?** The answer at `9d277e3` was: 44 rows were
5
+ neutral and fine, 9 were neutral rules gated on an ecosystem, 6 stated framework mechanics
6
+ outright, and 4 could go green without inspecting anything. This document is the record of what
7
+ was removed, what was fixed, and how to bring any of it back.
8
+
9
+ ## Method
10
+
11
+ - Scope: all 63 target rows at `origin/main` `9d277e3` — 31 enforcement (`manifest/enforcement.tsv`)
12
+ + 32 library (`manifest/library.tsv`), plus their engine surface in `bin/goblin-verify` (2456
13
+ lines at that revision).
14
+ - Every row's STATEMENT (the `rule` cell) was read apart from its GATE (the `check` cell and the
15
+ engine function behind it). A row is framework-bound if its statement names mechanics another
16
+ repo in the fleet cannot even have; it is a silent blind spot if its gate can print PASS while
17
+ inspecting zero items.
18
+ - Empirical baseline: the kit was installed (`goblin-install --yes`) into a Godot repo
19
+ (`project.godot` + `.gd`), a Python repo (`pyproject.toml` + `.py`) and a docs-only repo, and
20
+ the full verify was run in each. Baseline at `9d277e3`: **20 PASS / 0 FAIL / 11 SKIP on every
21
+ shape** — including the defects below, which is exactly the problem.
22
+
23
+ ## The four classes
24
+
25
+ | Class | Count | Meaning | Rows |
26
+ |---|---|---|---|
27
+ | A — neutral | 44 | statement and gate are framework-agnostic as they stand | — |
28
+ | B — neutral rule, ecosystem gate | 9 | rule is universal, but it can only observe one ecosystem | BN-01, BN-02, BN-03, BN-05, HV-01, SC-02, SC-06, RC-02, RC-04 |
29
+ | C — framework-bound statement | 6 | the statement itself names another framework's mechanics | BN-06, BN-07, BN-08, BN-09, HV-02, SC-09 |
30
+ | D — silent blind spot | 4 | the gate printed PASS after inspecting nothing | SC-03, SC-04, SC-05, HS-02 |
31
+
32
+ ## D — the silent blind spots, and the fix
33
+
34
+ The standing rule after this audit: **if a check inspected zero items, it returns SKIP(3) with a
35
+ reason naming what it could not see — never PASS, never a vacuous "every …".** Each fix keeps the
36
+ rule text and changes only the gate. Every line below was reproduced before the fix.
37
+
38
+ - **`SC-03`** — reproduced: `PASS SC-03 0 client-visible secret-shaped name(s); no build output
39
+ to scan for clause 2`. Now: no JS-family source file and no declared build output → SKIP
40
+ (`no file in the JS-family set and no declared build output to scan`); PASS requires at least
41
+ one examined artifact; the deliberate-PASS-inside-a-scanned-file behaviour is kept.
42
+ - **`SC-04`** — reproduced: `PASS SC-04 0 cookie write(s) checked; …`. Now: zero cookie writes
43
+ examined → SKIP (`no cookie write found in N examined file(s)`); a Python
44
+ `response.set_cookie` gets the named skip, not a green.
45
+ - **`SC-05`** — reproduced: `PASS SC-05 0 write handler(s), 0 waived; 11 dir(s) declared`. Now:
46
+ undeclared `security.write_routes` → SKIP (`security.write_routes is not declared - there is no
47
+ route surface to check`); declared but nothing matched → SKIP naming the declaration and the
48
+ 0 matches. This was already the file's own contract (goblin-verify: "a declared key that is
49
+ absent is a skip with a reason, never a silent pass").
50
+ - **`HS-02`** — reproduced, zero `checks/*.mjs` with `replay.commit` pinned:
51
+ `PASS HS-02 every harness was RED at <sha>` with zero harnesses replayed. Now: zero replayed
52
+ → SKIP (`no harness in <dir> matched the replay set`); ≥1 keeps the RED-proof semantics and
53
+ names how many were replayed and the extension set; files the replay set does not run are
54
+ listed in a `not replayed:` tail (the excluded extensions are named, not graded).
55
+
56
+ Loose finding fixed alongside: **`HV-01` false-RED** — the gate only recognised `pkg`/`require(`/`import(`
57
+ syntax, so a non-JS harness file was accused instead of skipped. Now: a harness directory whose
58
+ only files are not JS-family → SKIP (`no JS-family harness file in <dir> - the text probe reads
59
+ import/require syntax it cannot see in other languages`).
60
+
61
+ ### Second defect, found reviewing the fixes (2026-11-25)
62
+
63
+ The SC-03/SC-04 zero-inspection gate counted the kit's OWN scaffold. `js_source_count` — the
64
+ "examined" denominator both rows skip on — excluded the build and dependency directories but not
65
+ the declared harness directory, so on a fresh Python install the one JS-family file it found was
66
+ the `checks/assert.mjs` file `goblin-install` itself had written. Measured, same repo, no
67
+ application JS anywhere:
68
+
69
+ PASS SC-03 0 client-visible secret-shaped name(s); no build output to scan for clause 2
70
+
71
+ Move that one scaffold file away and the same row answers:
72
+
73
+ SKIP SC-03 no file in the JS-family set and no declared build output to scan
74
+
75
+ The PASS came from grading the kit's scaffold — the exact pathology class D accused `HV-02` of.
76
+ `SC-04` shared the counter and printed it: `no cookie write found in 1 examined file(s)`, where
77
+ the 1 was the kit's own file. Fix: the harness directory (`AGENTS.md` `harness_dir:`, the
78
+ installer's default `checks/`) is excluded from the JS-family set that decides whether the row
79
+ examined anything. Clause semantics and messages are unchanged; a repo whose only JS-family file
80
+ is the harness is now told so (the SKIP above), and a repo with real application sources still
81
+ PASSes. Re-measured on the same Python fixture: `SKIP SC-03 no file in the JS-family set and
82
+ no declared build output to scan`, `SKIP SC-04 no cookie write found in 0 examined file(s)`.
83
+
84
+ ## C — the withdrawn rows
85
+
86
+ A statement the fleet cannot grade is noise at best and a false green at worst: on every shape
87
+ without the framework it graded nothing and printed PASS. Withdrawn 2026-11-25:
88
+
89
+ | Row | Statement | Where it went |
90
+ |---|---|---|
91
+ | `BN-06` | No renderer has `nodeIntegration: true` | Electron-only; resurrect as an Electron project's local ban (below) |
92
+ | `BN-07` | Renderer context is `contextIsolation: true` + `sandbox: true` | same |
93
+ | `BN-08` | No remote content loaded without `webPreferences` review | same |
94
+ | `BN-09` | No `ipcRenderer.sendSync` / `@electron/remote` in the renderer | same |
95
+ | `HV-02` | A number taken from a live surface carries its viewport guard (`getBoundingClientRect` + Node child-process) | web-automation surface of one project; on other shapes it graded the kit's own scaffold. Resurrect as that project's local check |
96
+ | `SC-09` | Auth is applied consistently across sibling routes | "sibling routes" is web routing; was advisory prose with no check at all. Resurrect as a web project's local advisory row |
97
+
98
+ Mechanics of the withdrawal: rows deleted from `manifest/enforcement.tsv` / `library.tsv`;
99
+ the four Electron `bans.tsv` rows removed with `BN-00` recomputed (`BN-00` still holds: every ban
100
+ has an enforcement row and a named replacement); `check_hv_02` and its helpers deleted from
101
+ `bin/goblin-verify`; the rows' controls deleted from the suites. `--only BN-06` / `--only HV-02` /
102
+ `--only SC-09` on a fresh install now report: *names id(s) in neither the manifest, the library
103
+ nor the local override* (exit 2).
104
+
105
+ ### How to resurrect a withdrawn row
106
+
107
+ 1. Copy the rule text from the table above into the project's own row set — a project-local
108
+ `manifest/enforcement.local.tsv` row, or a ban in the project's `bans.tsv` — never back into
109
+ the shipped manifests.
110
+ 2. Write the gate against the framework's own parser (Electron: `electron/main.js` prefs; browser
111
+ automation: the project's own harness), not against a text probe that other shapes cannot see.
112
+ 3. Prove the skip first: a fixture without the framework must get SKIP(3) with a reason before
113
+ the RED is trusted. A row that cannot prove its skip is a C row, whatever it claims.
114
+ 4. Record the resurrection in the project's own CHANGELOG, not this kit's.
115
+
116
+ ## B — the ecosystem-gated rows, and their skip proofs
117
+
118
+ Each B row now names its ecosystem explicitly: an `ecosystem:<name>` token in the artifact cell
119
+ of the manifest. And each has a control proving that a fixture of ANOTHER shape gets SKIP(3)
120
+ with a reason — never a PASS graded on nothing, never a FAIL (the fixtures live in
121
+ `tests/t-verify-red.sh` under "the ecosystem-gate half of the B rows"):
122
+
123
+ | Row | Ecosystem token | Skip proof (foreign-shape fixture) |
124
+ |---|---|---|
125
+ | `BN-01` | `ecosystem:typescript` | `SKIP BN-01` — a typescript ban over a tree with no typescript source |
126
+ | `BN-02` | `ecosystem:typescript` | same gate, no-op mutation on the TS-free base tree |
127
+ | `BN-03` | `ecosystem:typescript` | same gate |
128
+ | `BN-05` | `ecosystem:typescript` | same gate |
129
+ | `HV-01` | `ecosystem:javascript-harness` | a harness dir whose only file is not JS-family → SKIP naming the language limitation |
130
+ | `SC-02` | `ecosystem:node` | the secret surface with no ignore/dependency surface (`.gitignore` removed) → SKIP |
131
+ | `SC-06` | `ecosystem:node` | no `package.json` to read → SKIP |
132
+ | `RC-02` | `ecosystem:goblin-reference` | reference corpus absent from a foreign shape → SKIP |
133
+ | `RC-04` | `ecosystem:goblin-reference` | same gate |
134
+
135
+ A measured skip line from a fresh docs-only install:
136
+
137
+ SKIP BN-01 No `any` in application TypeScript. (not applicable: no file matches applies_when: **/*.ts **/*.tsx ...)
138
+
139
+ ## Empirical baseline after the curation
140
+
141
+ Fresh `goblin-install --yes` + full verify, measured 2026-11-25/26 on the post-curation tree:
142
+
143
+ | Shape | Result |
144
+ |---|---|
145
+ | Godot (`project.godot` + `.gd`) | `19 passed, 0 failed, 0 advisory, 7 skipped` |
146
+ | Python (`pyproject.toml` + `.py`) | `19 passed, 0 failed, 0 advisory, 7 skipped` |
147
+ | docs-only (`README.md`) | `19 passed, 0 failed, 0 advisory, 7 skipped` |
148
+
149
+ The seven skips are: `AG-01` (no approval record yet), `BN-01`/`BN-02`/`BN-03`/`BN-05`
150
+ (applies_when GLOB matches no source — not applicable), and `FM-01`/`FM-02` (no feature map yet).
151
+ The library count in the summary is `32 off-by-default row(s)` (SC-09 out, PV-01 in).
152
+
153
+ ## The standing rule
154
+
155
+ **Framework-agnostic only.** A row in this kit states a rule that is true for every repo the
156
+ fleet can contain, and its gate proves what it could and could not see. Framework mechanics live
157
+ in the project's local rows and skill, where the framework is a given and a parser exists.
158
+
159
+ ## Loose findings
160
+
161
+ - `HV-01` false-RED on non-JS harness files — fixed (see D above).
162
+ - `docs/GUIDE.md` §439 claimed the guide "names which rows" pass vacuously, but no such list
163
+ existed anywhere in the guide — the guide's vacuous-pass section now carries the real list.
@@ -0,0 +1,170 @@
1
+ # Curation — what the tech-goblin preview round taught gobstack (2026-11-25)
2
+
3
+ One project, mined for rules that are true beyond it. This file is the analysis, not the adoption: every
4
+ proposal is stated so it can be argued with, priced, or refused on the record.
5
+
6
+ **Evidence base.** `tech-goblin.com` frontend, 2026-11-24 → 2026-11-25: one feature (owner-only draft
7
+ preview) built in three rounds — preview mode behind an HMAC cookie, then a decoupling pass that moved the
8
+ preview to its own route namespace and returned the public writing routes to ISR, then a chrome-parity pass
9
+ after the owner rejected the preview because it did not look like the published page. Commits `2d9407d`,
10
+ `453cf80`, `21fc5c2`, `eaa6ac0`, `8ea81ec`, `91a5955`; one verification harness at 25 gates plus one
11
+ browser-only measurement harness. Numbers quoted here were measured on that deployment; the failures named
12
+ are the ones that happened, with the artifact that shows them.
13
+
14
+ **What makes this round worth mining.** Every failure in it was a *review-artifact* failure, not a feature
15
+ failure: the code did what it was asked and the thing the human was shown still led them to the wrong
16
+ conclusion. Three of the six cost a full round (one of them, twice, because the first fix did not address
17
+ the cause).
18
+
19
+ ---
20
+
21
+ ## 0. The standing rule this file is held to
22
+
23
+ A lesson may enter gobstack only if it is true regardless of framework: a row states a rule that holds with
24
+ no framework named, and framework-specific mechanics stay in the project's own skill. A mechanism may read
25
+ per-framework conventions ONLY as heuristics — a repo without those conventions gets `SKIP` with the reason,
26
+ never a RED. This rule governs everything below, including the verdicts in §1, the withdrawal recorded in §3
27
+ and what §5 refuses.
28
+
29
+ ---
30
+
31
+ ## 1. The seven candidates, ranked by leverage
32
+
33
+ | # | Lesson | Class | Mechanisable today | Verdict |
34
+ |---|---|---|---|---|
35
+ | P1 | A surface that exists to be reviewed must render the artifact that will be published | verification / review | partly, import probe | **adopt (opt-in lint)** |
36
+ | P2 | A streaming boundary above a "not found" decision commits the status before the decision is made | verification / web | yes, text probe | **withdrawn after review — framework-specific (`loading.*` / `notFound()`); see §3** |
37
+ | P3 | A build-time list is not a runtime list | publishing / caching | shape only | advisory |
38
+ | P4 | A preload claim needs two timestamps, not one stopwatch | verification | no | advisory |
39
+ | P5 | "Cannot leak" is proven by the absence of a code path, not by the absence of an observed behaviour | isolation / security | partly | advisory (strong later row) |
40
+ | P6 | One working tree, one agent — and the commit proves which branch it landed on | process / governance | shape only | advisory (proposed `AG`-class script) |
41
+ | P7 | A delegated agent's green is a claim, not a state | delegation | already covered | **no new row** — see §4 |
42
+
43
+ ---
44
+
45
+ ## 2. The adoptions, with the failure that justifies each
46
+
47
+ P2 was **withdrawn after review** as framework-specific; its failure story now lives in §3 with the
48
+ withdrawal reason. What follows is the one adoption that survived the standing rule (§0).
49
+
50
+ ### P1 — a review surface must render the artifact that will be published
51
+
52
+ **Failure.** The preview shipped with its own minimal root layout: a banner, the article, nothing else. The
53
+ owner opened it and reported that the floating chips (scroll-to-top, the language switcher) were missing and
54
+ that the language control had moved to a top-left tab strip. He was right, and the round was wasted: the
55
+ review surface existed to let him judge the published render, and it was rendering a different page. The
56
+ fix (`91a5955`) mounts the production shell — the same provider, nav, footer and floating chips, the same
57
+ fonts and dark class — and leaves exactly three differences, each one declared: a banner strip in normal
58
+ flow above the nav, `noindex`, and no analytics/JSON-LD (owner visits must not pollute the numbers).
59
+
60
+ **Rule (project-independent).** *A surface that exists to be reviewed renders the same shell the published
61
+ surface renders; every remaining difference is enumerated in the surface's own source, so a difference is a
62
+ decision rather than an accident.*
63
+
64
+ **Mechanism (proposed `PV-01`, opt-in lint).** For each route directory the project config names as a review
65
+ surface, the layout file must import the same shell module(s) the public layout imports, **or** carry
66
+ `preview_differs: <comma list>` naming every difference it keeps. Red when the surface renders a shell the
67
+ public tree does not use and declares nothing. The detection reads route-tree/shell conventions — what
68
+ counts as a review surface, what names the shell — as heuristics: a repo whose conventions the probe cannot
69
+ read gets `SKIP` with the reason, never a RED (the standing rule, §0). The intersection counts project CODE
70
+ modules only: a shared stylesheet or any style/asset import proves the same theme, never the same shell,
71
+ and a side-effect import wires a module without naming what renders — neither is evidence.
72
+
73
+ **Honest limit (goes in the row's `if_not_why`).** An import probe proves the module is reachable from the
74
+ file, never that the render is identical: a shell imported and then overridden by a local wrapper passes
75
+ while still differing. The stronger form is a design change — one `SiteShell` component both trees import —
76
+ and this project needed the probe *before* it had the design.
77
+
78
+ ---
79
+
80
+ ## 3. The advisory set (no mechanism yet, and why)
81
+
82
+ - **P2 — withdrawn after review (framework-specific).** The failure was real — a draft slug that must 404
83
+ answered **HTTP 200** with a body reading "Not Found": a streaming boundary at the segment flushed `200`
84
+ before the not-found decision could run, and every status-code check read the lie as truth (the same class
85
+ then hid a build-time-params trap behind a passing 404 test). But the rule as stated is only true where
86
+ one framework's conventions exist: the boundary is `loading.*`, the decision API is `notFound()`, both live
87
+ in a single framework's route tree. Under the standing rule (§0) that cannot be a gobstack row — the
88
+ proposed `PV-02` was **removed from `library.tsv`, the verifier and LIMITS** (a one-line tombstone keeps
89
+ the old number stable), and the defect class moved to the project's own skill. The general residue that
90
+ *did* travel: P3 below.
91
+ - **P3 — a build-time list is not a runtime list.** `generateStaticParams` runs at build; `dynamicParams =
92
+ false` then 404s anything published since. The honest mechanism is only a *shape* check ("a page exporting
93
+ generateStaticParams declares `dynamicParams` explicitly"), which proves a decision was made, not that it
94
+ suits a project whose content arrives at runtime. Advisory, with the sentence in the verify-author skill:
95
+ *a static list proves the build, and says nothing about content created after it.*
96
+ - **P4 — a preload claim needs two timestamps.** A coder reported "prefetch proven before click". Measured
97
+ honestly: the RSC request's `startTime` (4353 ms) came *after* the click (4348 ms) — no prefetch happened
98
+ at all, and the 57 ms the harness celebrated was loopback latency. The general form: *an ordering claim
99
+ names the request, its start time and the interaction time, and the comparison is printed.* That is a
100
+ measurement discipline, not a lint (a timestamp comparison inside a harness is exactly the decorative-guard
101
+ case `HV-02` already admits it cannot judge). Advisory; belongs in the verify-author skill beside HV-02.
102
+ - **P5 — "cannot leak" is an absence of code path.** The first preview leaked draft titles into the public
103
+ index because the public tree read the preview cookie. The fix that made the claim *provable* was
104
+ structural: the public tree now contains zero cookie reads and zero draft fetches, so a grep can witness
105
+ the absence, and the preview owns a separate route namespace. A probe would have to know which call is
106
+ "the draft-capable fetch" in each stack; today that is a review question ("show me the grep"), and the
107
+ answer in this project was `grep -r "cookies()" app/(frontend) → 0`. Strong candidate for a later row once
108
+ a second project states the same shape.
109
+ - **P6 — one working tree, one agent.** A commit made while another agent had a different branch checked out
110
+ landed on that branch; the push "succeeded" and `origin/main` never moved, and the discrepancy was found by
111
+ `git branch --contains <sha>` three hours later. The protocol that would mechanise it: a tree declares its
112
+ current owner and intended branch (`.gob/active-branch`), the pre-commit refuses a mismatch. That is a
113
+ coordination protocol, not a check, and gobstak has no per-tree lock concept yet. Advisory, with the
114
+ recovery command recorded because that is what actually saved the round.
115
+ - **P7 — a delegated agent's green is a claim.** Two self-reported gates this round were false (the prefetch
116
+ one, and a `dynamicParams = false` comment asserting a behaviour the framework does not have). Both were
117
+ caught by re-running the measurement, not by reading the report. This is **already** the shape of `HP-03`
118
+ ("every gate number is a measurement with a date, never a copy") plus the delegation tiers in the standard;
119
+ no new row. Recorded here so the next curation does not propose it again.
120
+
121
+ ---
122
+
123
+ ## 4. Where these should live, concretely
124
+
125
+ | Proposal | Matrix row | Skill touch | Doc touch |
126
+ |---|---|---|---|
127
+ | P1 | `PV-01` (opt-in, lint) | `goblin-verify-author`: "render the artifact, not a sketch of it" | LIMITS: an import is not a render |
128
+ | P2 | withdrawn after review (was proposed `PV-02`) — framework-specific | — (defect class in the project skill) | LIMITS: one-line tombstone at the old number |
129
+ | P3, P4 | — (advisory) | `goblin-verify-author`: two sentences, dated failures named | — |
130
+ | P5, P6 | — (advisory, named candidates) | `goblin-handoff` / `practice`: the grep and the branch proof | GUIDE: recovery commands |
131
+ | P7 | none (covered by `HP-03`) | — | — |
132
+
133
+ Cost estimate, from the shape of the existing checks: the surviving `PV-*` row is the `BN-01` class — grep
134
+ over text, no AST — two hours including a negative control that proves the row RED under its own violation.
135
+ It is opt-in: a repo that declares no review surface gets `SKIP` with the reason, never red. (The withdrawn
136
+ `PV-02` would have cost the same and was not paid — see §3.)
137
+
138
+ ---
139
+
140
+ ## 5. What this project must NOT push into gobstack
141
+
142
+ Saying no is half of curation, and the standing rule (§0) **is** the reason this section exists — it is cited
143
+ here instead of re-listing what it refuses: a tech-goblin fact enters gobstack only if it survives being
144
+ separated from its framework. Route-kind behaviour, `loading.*` ownership, `force-dynamic` / ISR /
145
+ `revalidate` semantics as policy, the cookie design and its secret names, the measured numbers (TTFB
146
+ 470–615 → 181–211 ms, 25 harness gates, six commits), the Strapi/webhook shapes, the CMS content model and
147
+ the chrome inventory are this project's facts or this framework's mechanics; they stay here and in the
148
+ project skill. What the rule already admitted: P1 passed the test and became `PV-01`; P2 failed it and was
149
+ withdrawn (§3); P3–P7 are held advisory in §3 for exactly the same test.
150
+
151
+ ---
152
+
153
+ ## 6. What this file leaves open for the next curation
154
+
155
+ Not questions about the adopted rule — that one is decided. These are the things one project could not
156
+ settle, and the next project with a different shape should test:
157
+
158
+ 1. **Is "review surface" a route kind or a config declaration?** `PV-01` reads a directory the config names.
159
+ A repo whose preview is a query parameter, a feature flag, or a separate deploy has no such directory,
160
+ and the rule still applies. The second project decides the shape.
161
+ 2. **Does the status-code lie matter when nothing consumes the status?** Here it mattered because a public
162
+ route answered 200 to crawlers for a page that should not exist. In a repo with no crawler, the same
163
+ defect is cosmetic. A rule that cannot say when it does *not* apply will be disabled everywhere.
164
+ 3. **How does a project prove its harness measured the deployed artifact and not the tree?** Recurring in
165
+ both curations (this round: coder's 57 ms was loopback; earlier: `sha(build) == sha(deployed)` proved the
166
+ deploy, not the behaviour). Still no shared form beyond a release record.
167
+
168
+ The general rule this file is built on, unchanged from the first curation: a lesson earns a row only when its
169
+ failure has been *measured* somewhere, and a rule earns a mechanism only when the mechanism can be proven red
170
+ on demand.