@techgoblin/gobstack 0.6.1 → 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.
@@ -11,22 +11,18 @@ HP-06 target Every item in the handoff NEXT STEPS is owned with a date, done wit
11
11
  GT-01 target The gate set is declared, never inferred from the stack. gate AGENTS.md goblin-verify --only GT-01 Builtin: every `gate_<name>_cmd:` key in the AGENTS.md gob block is a DECLARED gate and its declaration and command are one line - a gate cannot lose its cmd and survive the count (G8-3, the condition of G8's own score sentence). The count is of declarations, not of runnable pairs. It cannot see whether a declared command is the RIGHT gate for the project: it proves a command exists, not that it is meaningful.
12
12
  GT-02 target Every declared gate runs and exits 0. gate AGENTS.md gates (gate_<name>_cmd:) goblin-verify --only GT-02 —
13
13
  GT-03 target The round reports one line of measured numbers. script .gob/last-gate-line test -f .gob/last-gate-line && [ .gob/last-gate-line -nt "$(git rev-parse --git-dir)/logs/HEAD" ] The freshness reference is HEAD's reflog (`.git/logs/HEAD`), which every HEAD movement rewrites - a commit in an attached or a detached worktree included, and independently of whether the refs are packed. The clause it replaced read `.git/HEAD`, a file a commit never rewrites (only branch operations do), so a commit landing after the measured line left the row GREEN while the round had moved on (D2, measured: `.git/HEAD`'s mtime unchanged across a real commit, `--only GT-03` exit 0). Two limits remain, recorded rather than hidden: a repo with the reflog disabled (`core.logAllRefUpdates=false`) has no reference to compare against, and `-nt` against a missing path is true, so the clause passes vacuously and the row then proves only that a measured line EXISTS (a repo with no commit yet is the same case); and the clause reads ANY HEAD movement as staleness, so a checkout, a branch rename or a reset FAILs it until the next gate run rewrites the line. That second behaviour is what makes a full run self-freshening: `GT-02` writes the line earlier in the same pass, so the row asserts that the line in front of you came from THIS run. `tests/t-gt03-freshness.sh` is the control, in both directions.
14
- HV-02 target A number taken from a live surface carries its guard: a bounding box is asserted inside the capture viewport, and a number parsed from a Node child-process result is asserted finite before it can fail an assertion. lint <harness dir> goblin-verify --only HV-02 Text probe over the harness dir, the same class as BN-01 (no AST): it proves a guard is PRESENT - innerWidth/innerHeight/visualViewport beside a getBoundingClientRect call, Number.isFinite/isNaN beside a number parsed out of execSync/spawnSync stdout, or a guarded: <reason> marker - never that the guard is EFFECTIVE (a decorative one passes), and a pattern inside a string or a comment is read as code. A number parsed by any other means than parseFloat/parseInt/Number( is unseen, and it cannot see a viewport override that silently did not apply - that needs a runtime probe the dependency contract forbids (CURATION-2026-11-07 §2 C2, the measured failure being a measurement reported with no viewport assertion at all).
15
- HV-01 target A check that asserts a user-visible outcome builds its input through the same producer the users input comes through; a hand-written fixture is generated by that producer and pinned. lint <harness dir> goblin-verify --only HV-01 Text probe: it proves a producer is NAMED - a bare-package import/require/dynamic import, or a produced_by: <function> <pinned id> marker beside a doc/board/payload/fixture literal - never that the call path matches the product wiring. A relative import (./ or ../) does not clear it, a literal built by spread or copy from another file is unseen, and a name other than doc/board/payload/fixture is invisible. The stronger form needs the product to export a single make-me-the-thing-the-user-gets factory, which is a design change, not a probe (CURATION-2026-11-07 §2 C1, the failure being a harness green on declared node sizes while the shared payload carried none).
14
+ AG-01 target An instruction file changes only with a recorded approval: AGENTS.md hashes to the value in .gob/agents.approved, which carries the date, the approver and the one-line reason. script .gob/agents.approved goblin-verify --only AG-01 The record proves the file matches an approval, never that the approver read the diff: the row hashes AGENTS.md and compares it with the LAST row of the append-only .gob/agents.approved (latest row wins, and a row carries no file name — only the hash is coverage, so a reason naming some other file clears nothing; the control in tests/t-verify-red.sh pins that). A worker able to write both files can forge a record — the hash is a witness, not a signature — and a change that also rewrites the record is invisible to this row (git history is the backstop; LIMITS #60). No record at all is a SKIP, never a red: an existing install must not turn red just by upgrading to an engine that ships this row (CURATION-2026-11-07 §2 C6).
15
+ HV-01 target A check that asserts a user-visible outcome builds its input through the same producer the users input comes through; a hand-written fixture is generated by that producer and pinned. lint <harness dir> ecosystem:javascript-harness goblin-verify --only HV-01 Text probe: it proves a producer is NAMED - a bare-package import/require/dynamic import, or a produced_by: <function> <pinned id> marker beside a doc/board/payload/fixture literal - never that the call path matches the product wiring. A relative import (./ or ../) does not clear it, a literal built by spread or copy from another file is unseen, and a name other than doc/board/payload/fixture is invisible. The stronger form needs the product to export a single make-me-the-thing-the-user-gets factory, which is a design change, not a probe (CURATION-2026-11-07 §2 C1, the failure being a harness green on declared node sizes while the shared payload carried none).
16
16
  SK-01 target Every shipped skill has name + description frontmatter. lint .hermes/skills/*/SKILL.md goblin-verify --only SK-01 W1: the check is a builtin so the engine.mode=global clause can run - in global mode the procedure tier is emitted per platform (not carried in this repo) and the row SKIPs with that reason instead of passing vacuously on a repo with no skills (§2.5 names SK-01 alongside SK-02/SK-04). In vendored mode it is exactly the old loop: every SKILL.md must open with frontmatter carrying both name and description.
17
17
  SK-02 target The skills on disk match their recorded hashes (no drift). script .hermes/skills/, installed.json goblin-verify --only SK-02 —
18
18
  SK-03 target A rule with no mechanism is labelled advisory, and the advisory count is reported. script manifest/enforcement.tsv goblin-verify --only SK-03 —
19
19
  SK-04 target Every shipped skill says what it cannot see. lint .hermes/skills/*/SKILL.md goblin-verify --only SK-04 Partial: proves the section exists, not that what it says is complete or true - the limit every prose rule carries. Every shipped skill already carries it, so the row is GREEN on a fresh install and RED only under a real violation. W1: the check is a builtin so the engine.mode=global clause can run - in global mode the procedure tier is emitted per platform (not carried in this repo) and the row SKIPs with that reason.
20
20
  SC-01 target No secret file is tracked. lint repo n=$(git ls-files | grep -iE '(^|/)\.env|\.pem$|\.key$' | grep -vcE '\.(example|sample|template)$'); printf '%s tracked secret file(s)\n' "$n"; [ "$n" = 0 ] Partial: it sees tracked PATHS, never contents - a secret pasted into a tracked file is invisible here, and the pattern is a name family, so a credential inside `config.ts` is missed by construction.
21
21
  BN-00 target Every ban has an enforcement row, every ban row names a replacement, and the ban table is not empty. script .gob/manifest/bans.tsv + .gob/manifest/enforcement.tsv goblin-verify --only BN-00 — (this row is the reason the ban list cannot decay into prose: IN-03's shape applied to bans.tsv, and it agrees in both directions)
22
- BN-01 target No `any` in application TypeScript. lint .gob/manifest/bans.tsv + .gob/bans/ goblin-verify --only BN-01 Text probe, not an AST: a `: any` inside a string or a comment is reported, and `Record<string, any>` (no leading colon) is missed. The AST form needs a parser the no-npm contract (docs/GUIDE.md) forbids (docs/LIMITS.md #27). SKIPs when an explicit `bans_disabled:` names it, or its globs match no file.
23
- BN-02 target No `@ts-ignore` / `@ts-expect-error` suppressions. lint .gob/manifest/bans.tsv + .gob/bans/ goblin-verify --only BN-02 Text probe: it sees the directive wherever it appears, including inside a string, and cannot tell a suppression hiding a real error from one on a line that would compile anyway. SKIPs when an explicit `bans_disabled:` names it, or its globs match no file.
24
- BN-03 target No direct network call from a component. lint .gob/manifest/bans.tsv + .gob/bans/ goblin-verify --only BN-03 Text probe over the declared component globs: it stops the call and cannot tell whether a data layer was written or the call merely moved into a helper. SKIPs when an explicit `bans_disabled:` names it, or its globs match no file.
25
- BN-05 target No import across a declared layer boundary. lint .gob/manifest/bans.tsv + .gob/bans/ goblin-verify --only BN-05 Reads the `layers:` list; an empty list SKIPs with a reason, never a vacuous pass. It matches an import path naming the target directory's last segment - module aliases and dynamic imports are not seen. SKIPs when no file matches its globs.
26
- BN-06 target No renderer with Node access (`nodeIntegration: true`). lint .gob/manifest/bans.tsv + .gob/bans/ goblin-verify --only BN-06 Text probe over the ban table's globs, the same mechanism as BN-01..BN-05: it sees `nodeIntegration: true` wherever it appears, including inside a string, and cannot see a webPreferences object built at run time or spread in from another module. The STRONGER form is a runtime measurement - the renderer prints `process.contextIsolated` and `process.sandboxed` and the check requires true/true - and that needs a real Electron process, which the dependency contract (docs/GUIDE.md) does not allow a shipped rule to launch: it is the project's host gate (docs/LIMITS.md #34). SKIPs when an explicit `bans_disabled:` names it, or `package.json` does not name electron (the `dep:electron` predicate).
27
- BN-07 target No renderer with context isolation or the process sandbox turned off. lint .gob/manifest/bans.tsv + .gob/bans/ goblin-verify --only BN-07 One probe for two properties because Electron's own documentation makes them one: disabling `contextIsolation` "also disables process sandboxing", so a repo that has turned either off has lost both. Text probe, with the same false-positive set as BN-06. SKIPs when an explicit `bans_disabled:` names it, or `package.json` does not name electron (the `dep:electron` predicate).
28
- BN-08 target No dangerous webPreferences. lint .gob/manifest/bans.tsv + .gob/bans/ goblin-verify --only BN-08 Four one-line patterns from Electron's own security checklist (`webSecurity: false`, `allowRunningInsecureContent: true`, `enableBlinkFeatures`, `<webview allowpopups>`). Text probe: `enableBlinkFeatures` is banned by name rather than by value, so the string is reported even in a comment. SKIPs when an explicit `bans_disabled:` names it, or `package.json` does not name electron (the `dep:electron` predicate).
29
- BN-09 target No synchronous IPC and no `@electron/remote`. lint .gob/manifest/bans.tsv + .gob/bans/ goblin-verify --only BN-09 The banned-list shape the wave's note 9 asks for, applied to Electron: `sendSync(` and `@electron/remote` block the renderer's own thread, which is the freeze these bans exist to prevent. Text probe - it sees the call site, not the call graph, so a wrapper around `sendSync` in a file the globs do not match is missed. SKIPs when an explicit `bans_disabled:` names it, or `package.json` does not name electron (the `dep:electron` predicate).
22
+ BN-01 target No `any` in application TypeScript. lint .gob/manifest/bans.tsv + .gob/bans/ ecosystem:typescript goblin-verify --only BN-01 Text probe, not an AST: a `: any` inside a string or a comment is reported, and `Record<string, any>` (no leading colon) is missed. The AST form needs a parser the no-npm contract (docs/GUIDE.md) forbids (docs/LIMITS.md #27). SKIPs when an explicit `bans_disabled:` names it, or its globs match no file.
23
+ BN-02 target No `@ts-ignore` / `@ts-expect-error` suppressions. lint .gob/manifest/bans.tsv + .gob/bans/ ecosystem:typescript goblin-verify --only BN-02 Text probe: it sees the directive wherever it appears, including inside a string, and cannot tell a suppression hiding a real error from one on a line that would compile anyway. SKIPs when an explicit `bans_disabled:` names it, or its globs match no file.
24
+ BN-03 target No direct network call from a component. lint .gob/manifest/bans.tsv + .gob/bans/ ecosystem:typescript goblin-verify --only BN-03 Text probe over the declared component globs: it stops the call and cannot tell whether a data layer was written or the call merely moved into a helper. SKIPs when an explicit `bans_disabled:` names it, or its globs match no file.
25
+ BN-05 target No import across a declared layer boundary. lint .gob/manifest/bans.tsv + .gob/bans/ ecosystem:typescript goblin-verify --only BN-05 Reads the `layers:` list; an empty list SKIPs with a reason, never a vacuous pass. It matches an import path naming the target directory's last segment - module aliases and dynamic imports are not seen. SKIPs when no file matches its globs.
30
26
  FM-01 target Every feature file is indexed from the map README, declares its slug and at least one entry path, and carries the four-H2 entry contract. lint <feature_map dir> goblin-verify --only FM-01 SKIPs (exit 3) when feature_map: is empty - a fresh install has no map and must not be born RED (the D8 shape). When a map IS declared: the README must exist, every features/*.md must be linked from it in the (./<slug>.md) form and every relative .md link must resolve, each feature file's `feature:` must equal its filename stem, it must declare >=1 `entry_paths:`, and its H2s must be exactly Sub-features / How to get to it (user POV) / Driving it with <harness> / Gotchas, in that order. Partial: the README's own H2s are prose this row does not read, and 'the map lists every user-facing feature' is not mechanically checkable - that is docs/LIMITS.md #30, not a row.
31
27
  FM-02 target Every entry point a feature declares still resolves in source, and no entry path changed after the map was verified. lint <feature_map dir> + git goblin-verify --only FM-02 SKIPs (exit 3) when feature_map: is empty. A tripwire, not a proof. The token is searched under source_root with occurrences under the map's own directory excluded - without that exclusion the map's own entry-path list satisfies the search and the row could never go RED. Freshness is `git log -1 --format=%cs` on the resolved file against the feature's `verified:` date, and git sees a FILE change, not a behaviour change: the row can be RED-when-stale and never GREEN-means-fresh. A token that also occurs in a vendored copy or a build artifact is read as resolved, and a `verified:` date is itself a claim the row cannot test (docs/LIMITS.md #30). W5-4: the search skips the harness's own directories (`.gob/`, `.hermes/`, the declared `harness_dir`) and the map's own directory, so a stub map whose token occurs only in the install no longer resolves; a token that occurs only in the target's own `docs/`, `tests/` or build output still does (docs/LIMITS.md #37). Z1-6: the resolved file must be TRACKED (`git ls-files --error-unmatch`) before its date is compared - an untracked file used to make the freshness clause skip in silence, so a map could claim `verified: 2020-01-01` over source that was never committed.
32
28
  PR-01 source The installer never writes outside its target. test tests/t-install-* tests/run-tests.sh —
@@ -19,15 +19,17 @@ DOC-01 target A significant change updates the docs that teach it. advisory READ
19
19
  DOC-02 target System-level changes are recorded wherever the project's standard says they live. advisory — advisory Where the recording lives may be owned by a stricter external rule than gobstack may add; the repo can only state it. DOC-02
20
20
  PT-01 target No tenant-specific string inside a reusable rule. lint skills/ manifest/ bin/ templates/ .gob/ .hermes/ for d in skills manifest bin templates .gob .hermes; do [ -d "$d" ] || continue; grep -rniE --exclude=AGENTS.md --exclude=installed.json '(h[a]rvey|tech-g[o]blin|/h[o]me/[a-z]+|g[o]blin-ui|op[e]n-door|sup[r]eme|bb[t]ech|c[l]v)' "$d" && exit 1; done; exit 0 — (the rules an install actually writes live in `.gob/` and `.hermes/`, not in the source layout. Two documented exceptions: `AGENTS.md`, which holds `practice:` - per-machine config, not a rule - and `.gob/installed.json`, which since W1 records the machine's absolute `engine_dir` in its `engine:` block - both per-machine facts, not rules - each excluded by name. The pattern is written with character classes so this row cannot match itself.) PT-01
21
21
  CL-02 target An archive: true project verifies GREEN without a HANDOFF or gates. script AGENTS.md archive: goblin-verify --only CL-02 Falsifiable: FAILs when `archive:` is not `true`/`false`, and when the config's value disagrees with the one the install recorded in `.gob/installed.json` (so the waiver cannot be flipped on by hand). It cannot observe the *effect* of the waiver on the other rows without re-entering the runner. CL-02
22
- SC-02 target The ignore rules cover the whole secret family. gate .gitignore + git check-ignore goblin-verify --only SC-02 Builtin, and behavioural: clause 1 reads `.gitignore`; clause 2 asks git's own matcher (`git check-ignore`) for `.env`, `.env.local` and `.env.production` one path at a time, so a rule that looks right but does not match still fails. It cannot see a secret already in git history, or one committed under a name the family does not cover. SKIPs with a reason when there is no `.gitignore` and no `package.json`. SC-02
22
+ SC-02 target The ignore rules cover the whole secret family. gate .gitignore + git check-ignore ecosystem:node goblin-verify --only SC-02 Builtin, and behavioural: clause 1 reads `.gitignore`; clause 2 asks git's own matcher (`git check-ignore`) for `.env`, `.env.local` and `.env.production` one path at a time, so a rule that looks right but does not match still fails. It cannot see a secret already in git history, or one committed under a name the family does not cover. SKIPs with a reason when there is no `.gitignore` and no `package.json`. SC-02
23
23
  SC-03 target No client-visible name is secret-shaped, and no build output carries a secret literal. lint repo + security's build_output goblin-verify --only SC-03 Builtin, two clauses: the `NEXT_PUBLIC_*_(SECRET|TOKEN|KEY|PASSWORD|PRIVATE)` name pattern over source, and known secret prefixes over the declared build output. Partial: a prefix pattern cannot see a secret that does not look like one, and clause 2 says "no build output to scan" on the line rather than skipping silently. The source scan excludes `.gob/` and `.hermes/`, so it cannot match the row text that describes it. SC-03
24
24
  SC-04 target Every cookie write carries its flags. lint repo goblin-verify --only SC-04 Builtin, same-statement only: a write spread over three lines is not seen, and the row says so. It REPORTS that a JS-written cookie is readable by any script rather than failing on it - that is a design fact, not a bug - so the pass is about the flags, never about the choice. SC-04
25
25
  SC-05 target Every write route validates its input, or is waived. gate security's write_routes goblin-verify --only SC-05 Builtin: it proves a validator is CALLED (`safeParse|zod|valibot|yup|ajv|superstruct|validate(`), never that the schema is right - a schema that accepts everything passes. `.gob/boundary-waivers` is the escape hatch, and the waived count is printed, so a silent pile-up is visible. SC-05
26
- SC-06 target A lockfile exists, and the repo tracks it. gate package.json + lockfile goblin-verify --only SC-06 Builtin: presence, then `git ls-files --error-unmatch`. It cannot see that the lockfile is STALE relative to `package.json` - resolving that needs the package manager, which is a deliberate network-shaped step, not a check. SKIPs with a reason when there is no `package.json`. SC-06
27
- SC-09 target Auth is applied consistently across sibling routes. advisory — advisory Prose on purpose: "consistently" is a semantic judgement about a private surface no repo here has yet. Counted (6 of ceiling 10) so the matrix cannot quietly grow prose. SC-09
26
+ SC-06 target A lockfile exists, and the repo tracks it. gate package.json + lockfile ecosystem:node goblin-verify --only SC-06 Builtin: presence, then `git ls-files --error-unmatch`. It cannot see that the lockfile is STALE relative to `package.json` - resolving that needs the package manager, which is a deliberate network-shaped step, not a check. SKIPs with a reason when there is no `package.json`. SC-06
28
27
  PF-01 target The perf baseline names the commit it measured. lint AGENTS.md perf: + ratchet: goblin-verify --only PF-01 Builtin: the metric must equal `ratchet.name` so the budget and the measurement cannot silently disagree, the value must be numeric, the date must exist, the baseline commit must exist AND be an ancestor of HEAD (`HP-05`'s mechanic, reused rather than re-derived), and `ratchet.ceiling` must equal `perf.baseline_value` - otherwise a one-line ceiling raise passes while the row prints the contradiction, which is `I raised the budget and never measured again` (G8-6b). It cannot see whether the metric is the right one for the product, and it never re-measures: re-anchoring is a deliberate operator action. SKIPs with a reason when no perf metric is declared, or none has been recorded yet. PF-01
29
28
  VA-01 target The generated verification skill's doctor command runs and exits 0. gate AGENTS.md verify_doctor: goblin-verify --only VA-01 SKIPs (exit 3) when verify_doctor: is empty (the replay.commit: "" shape). Runs the DECLARED command exactly as GT-02 runs a declared gate, and never a string read out of file content (the v0.2 blocker). Closes P6's stated-but-unenforced clause 'a generated skill that was never executed is a draft': the doctor is the smallest executable proof that the skill's own instructions still run - and it proves only that, never that the doctor tests the right path. VA-01
30
29
  RC-01 target No file in the shipping tree matches a reference-corpus hash. gate reference-manifest.json + security: build_output: goblin-verify --only RC-01 Four clauses: (1) `reference_manifest:` empty -> SKIP with that reason (the `FM-01`/`VA-01` shape - not born RED); (2) declared but missing or unparseable -> FAIL, never a SKIP; (3) any file under the declared `security: build_output:` whose sha256 appears in an entry's sha256 -> FAIL, naming path + entry; (4) the manifest itself must not sit inside the build output, at the declared path or as a byte-identical copy - it is a listing of every corpus hash, so shipping it ships the corpus's shape. Cannot see: a re-encoded/resized/recoloured asset (level 2), copied text in a shipped string (level 3), or a manifest authored weak - that is `RC-02`. RC-01
31
- RC-02 target The reference manifest is shaped so `RC-01` cannot pass vacuously. lint reference-manifest.json goblin-verify --only RC-02 Schema `reference-manifest/1`; `generated_from` non-empty; `reference_app.package`/`.version`/`apk_sha256` (64 hex); `entries` non-empty; every entry carries `path`, 64-hex `sha256`, numeric `bytes`; `entry_count` equals `len(entries)`. SKIPs with `RC-01`'s reason when the key is empty. Exists because `RC-01` alone carries the `bans.tsv` weakness: a weakened input passes the check it feeds (`LIMITS.md` #28). It cannot see whether the entries are the *right* hashes - that is as strong as tamper hashing, and `installed.json` is unsigned (`LIMITS.md` #18). RC-02
30
+ RC-02 target The reference manifest is shaped so `RC-01` cannot pass vacuously. lint reference-manifest.json ecosystem:goblin-reference goblin-verify --only RC-02 Schema `reference-manifest/1`; `generated_from` non-empty; `reference_app.package`/`.version`/`apk_sha256` (64 hex); `entries` non-empty; every entry carries `path`, 64-hex `sha256`, numeric `bytes`; `entry_count` equals `len(entries)`. SKIPs with `RC-01`'s reason when the key is empty. Exists because `RC-01` alone carries the `bans.tsv` weakness: a weakened input passes the check it feeds (`LIMITS.md` #28). It cannot see whether the entries are the *right* hashes - that is as strong as tamper hashing, and `installed.json` is unsigned (`LIMITS.md` #18). RC-02
32
31
  RC-03 target A lab repo tracks no extracted byte: scripts, notes, manifests, docs only. script manifests/*.sha256 + git ls-files goblin-verify --only RC-03 Two clauses: every tracked path falls under a declared allowlist (`scripts/`, `notes/`, `manifests/`, root docs - the harness's own `.gob/` and `.hermes/` files and the `.gitignore` block it appends are the install, not the lab's content, and are excluded the way `FM-02` excludes them); and no tracked file's sha256 equals any hash in a `manifests/*.sha256`. The manifest itself lists paths and hashes, which the lab repo's own README explicitly permits - the check is about *bytes*, and it must not read the manifest as a violation. SKIPs with a reason when no `manifests/` exists. Cannot see a payload renamed and re-encoded - which is why the allowlist is a second, independent trap. RC-03
33
- RC-04 target The acquisition record exists, and the manifest names the target and its source. lint manifests/*.sha256 header goblin-verify --only RC-04 The header block must name a target slug + version, a source store, and a checksum (md5 or sha256 hex); the manifest must hold a `*.apk` row, the header's named apk must be that row, and a 64-hex token in the header, if present, must equal the row's sha256 (a header carrying only the md5 passes - the comparison is conditional in the engine). Weakest of the four: it proves a record EXISTS, not that the number came from the store (`HP-03`'s defect). It is the first to cut if the matrix gets heavy. RC-04
32
+ RC-04 target The acquisition record exists, and the manifest names the target and its source. lint manifests/*.sha256 header ecosystem:goblin-reference goblin-verify --only RC-04 The header block must name a target slug + version, a source store, and a checksum (md5 or sha256 hex); the manifest must hold a `*.apk` row, the header's named apk must be that row, and a 64-hex token in the header, if present, must equal the row's sha256 (a header carrying only the md5 passes - the comparison is conditional in the engine). Weakest of the four: it proves a record EXISTS, not that the number came from the store (`HP-03`'s defect). It is the first to cut if the matrix gets heavy. RC-04
33
+ PV-01 target A surface that exists to be reviewed renders the same shell the published route renders. lint route-tree preview/draft/staging dirs + their layout.* goblin-verify --only PV-01 An import proves reachability, never that the render is identical: a shell imported and then overridden by a local wrapper passes. The intersection counts project-resolvable modules only - an installed package or builtin is never evidence - so an unresolvable alias (or a runtime-built specifier) is a false RED that a layout carrying preview_differs: <list> declares and clears. PV-01
34
+ GT-06 target Every gate threshold compares an artifact measured in the same run; a gate holding two literals it typed itself can never fail. advisory checks/*.mjs assertion bodies, read by a human Detecting "this assertion compares two typed constants" from text is a heuristic, not a proof: a legitimate gate also compares a measurement against a recorded ceiling, and only the diff history tells a recorded number from an invented one. Advisory on purpose - it costs the reviewer one question (what would make this line red?) where a text lint would cost every harness a false positive. GT-06
35
+ EX-01 target A fragment that carries its own style block anchors every rule to that fragment's own identity; two instances on one page must not share a selector. advisory generated fragments holding a <style> block (SVG, HTML embeds) fragment emitters, read by a human A generated fragment's <style> is a document-wide stylesheet: N instances collide on bare element and class selectors, and the failure is silent and per-instance (one instance's hover rule wins over another's). Not yet an engine check because the engine cannot see the emitter's output - it would have to build the thing first. Fragments assembled at runtime from a string the repo never writes stay outside any check. EX-01
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@techgoblin/gobstack",
3
- "version": "0.6.1",
3
+ "version": "0.7.3",
4
4
  "description": "Agent-discipline toolkit: one verify command, an enforcement matrix, and LIMITS. bash engine, npm shim.",
5
5
  "bin": {
6
6
  "goblin": "bin/goblin.js",
@@ -11,15 +11,15 @@ Use when adopting goblin-stack in a repo, or starting one.
11
11
  no agent skills. Vendor the Hermes project tier with `--skills yes` if you want them installed.
12
12
  2. **`goblin-verify`** — a default install (core procedure tier vendored under `.gob/skills/`)
13
13
  verifies green:
14
- `20 passed, 0 failed, 0 advisory, 10 skipped`, exit 0, once `HANDOFF.md` names a commit that
15
- exists; before that edit the
16
- scaffold's `0000000` placeholder is `HP-05`'s one expected day-one red (`19 passed, 1 failed`).
17
- Ten rows skip with a reason, and the reason matters: `SK-01`, `SK-02` and `SK-04` **run** (the
14
+ `19 passed, 0 failed, 0 advisory, 7 skipped`, exit 0, once `HANDOFF.md` names a commit that
15
+ exists (a target that already has a commit gets it filled in by the install; a repo with no
16
+ commit yet keeps the scaffold's `0000000` placeholder, and that is the day-one red:
17
+ `17 passed, 2 failed` - `HP-05` and `GT-02`).
18
+ Seven rows skip with a reason, and the reason matters: `SK-01`, `SK-02` and `SK-04` **run** (the
18
19
  core procedure tier is vendored on every install, so the product no longer disables its own
19
20
  rows);
20
21
  `BN-01`/`BN-02`/`BN-03`/`BN-05` (this fresh repo has no `.ts` file for a ban's `applies_when`
21
- glob, so each reports *not applicable*) and the four electron bans `BN-06`..`BN-09` (selected by
22
- the `dep:electron` predicate, so with no `package.json` they too report *not applicable*);
22
+ glob, so each reports *not applicable*);
23
23
  and `FM-01`/`FM-02` (no feature map yet). Each is a *not yet*, not a pass. The other 32 target
24
24
  rows are held in the **library** (`gob verify --library`), off by default — the rows that are
25
25
  not right for every repo. The round-shaped rows (a first review, a real gate) are library rows