Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
238 commits
Select commit Hold shift + click to select a range
eaffac6
chore(audit): url 2.5.9 clears RUSTSEC-2026-0592 in three lockfiles
leaderiop Nov 22, 2026
1dd1066
docs(adr): X2 is the share of items with a test id that a standard re…
leaderiop Nov 22, 2026
e09c634
feat(gate): dogfood prints X2 for the ledger fixture (ADR 0388)
leaderiop Nov 22, 2026
7b74a12
feat(gate): dogfood prints X2 for SpecForge and taskboard too
leaderiop Nov 22, 2026
9bb1179
feat(code-facts): places of served items and safe report id parts
leaderiop Nov 22, 2026
7a700c5
refactor(code-facts): relative moves here and file URIs decode to paths
leaderiop Nov 22, 2026
2c86d37
feat(code-lcov): an LCOV tracefile becomes coverage facts per item
leaderiop Nov 22, 2026
d6013af
feat(code-core): declare coverage, the reports pass and code/W104
leaderiop Nov 22, 2026
e87394e
feat(code-lcov): read c8 and LCOV 2.2 tracefiles, refuse bad input
leaderiop Nov 22, 2026
ac049fe
feat(code-api): a cargo public-api snapshot becomes api_item facts
leaderiop Nov 22, 2026
68b2c17
feat(code-core): declare api_item, and W104 for an unmapped API entry
leaderiop Nov 22, 2026
71dd888
feat(code-api): an api-extractor model becomes api_item facts
leaderiop Nov 22, 2026
c3c01b3
feat(code-sarif): a SARIF 2.1.0 log becomes static_finding facts
leaderiop Nov 22, 2026
882c88c
feat(code-core): declare static_finding, and code/W105 for an unknown…
leaderiop Nov 22, 2026
6886c05
feat(code-sarif): read ESLint and rule-less SARIF, refuse bad logs
leaderiop Nov 22, 2026
11e5d40
feat(code-cyclonedx): a CycloneDX BOM becomes dependency facts
leaderiop Nov 22, 2026
180cfb3
feat(code-core): declare dependency, and code/W106 for a purl-less one
leaderiop Nov 22, 2026
f150e09
test(code-cyclonedx): read npm and purl-less BOMs, refuse bad ones
leaderiop Nov 22, 2026
e4c470d
feat(code-osv): an osv-scanner report becomes vulnerability facts
leaderiop Nov 22, 2026
42fa6b1
feat(code-facts): rate an unlabelled OSV record by its CVSS v3 vector
leaderiop Nov 22, 2026
d2709bd
feat(code-core): declare vulnerability, and code/W107 for an unknown …
leaderiop Nov 22, 2026
83784a6
chore(builtins): re-vendor @code/core 1.2.0 and the blobs its readers…
leaderiop Nov 22, 2026
59c46e1
test(code-core): the real blob's reports pass, and explain for W104-W107
leaderiop Nov 22, 2026
f8de517
docs(code-core): the report kinds, their readers, W104-W107 and X2
leaderiop Nov 22, 2026
fb516fd
fix(code-facts): decode only %XX of two hex digits, keep a non-UTF-8 run
leaderiop Nov 22, 2026
46ca332
fix(code-facts): show untrusted report text bounded and escaped
leaderiop Nov 22, 2026
4f5dc62
fix(code-facts): encode every part of an api_item id
leaderiop Nov 22, 2026
46ae212
fix(code-lcov): pair the nth FNDA of a name with its nth FN
leaderiop Nov 22, 2026
2374a75
fix(code-lcov): trim an SF path, and refuse an empty one by name
leaderiop Nov 22, 2026
59e1a36
fix(code-facts): skip an OSV package it cannot place, keep the rest
leaderiop Nov 22, 2026
6c0bba2
fix(code-facts): attribute by ecosystem and exact id, not id order
leaderiop Nov 22, 2026
2a004b7
fix(gate): refuse a reshaped X2 export, log X2 when red, floor percent
leaderiop Nov 22, 2026
394d02e
refactor(code-facts): name vocabulary variants by an exhaustive match
leaderiop Nov 22, 2026
a792a16
chore(builtins): re-vendor the blobs after the phase 10 review fixes
leaderiop Nov 22, 2026
0fc7086
docs(adr): record that the five report kinds are reserved entity names
leaderiop Nov 22, 2026
7f9dfcc
feat(collect): report a collector's warnings as W203
leaderiop Nov 23, 2026
65552d7
feat(codebook): a code names the collected kinds it judges
leaderiop Nov 23, 2026
f2596bf
feat(collect): a collector's report may be a glob
leaderiop Nov 23, 2026
910dfa2
docs(adr): record the report packs and doctor's tool notes
leaderiop Nov 23, 2026
2ff930c
feat(doctor): name a missing collector program and the codes it stops
leaderiop Nov 23, 2026
24a78d3
feat(doctor): see through npx and node scripts when probing a tool
leaderiop Nov 23, 2026
b35978c
feat(code-core): 1.3.0 names the kinds each code judges
leaderiop Nov 23, 2026
3cfde53
feat(rust-coverage): llvm-cov LCOV becomes coverage facts
leaderiop Nov 23, 2026
acf0cf3
test(code-lcov): a recorded c8 12.0.0 tracefile is a reader fixture
leaderiop Nov 23, 2026
959a30e
feat(javascript-coverage): c8 around npm test becomes coverage facts
leaderiop Nov 23, 2026
c43de5c
feat(javascript-lint): ESLint's SARIF becomes static findings
leaderiop Nov 23, 2026
97d43e8
feat(rust-lint): clippy's JSON messages become SARIF results
leaderiop Nov 23, 2026
d242b91
feat(rust-lint): cargo clippy's captured output becomes static findings
leaderiop Nov 23, 2026
764453b
feat(javascript-deps): cyclonedx-npm's BOM becomes dependency facts
leaderiop Nov 23, 2026
557ddc5
feat(javascript-deps): osv-scanner's report becomes vulnerability facts
leaderiop Nov 23, 2026
f9f3e02
feat(rust-deps): every cargo-cyclonedx BOM and the Cargo.lock scan be…
leaderiop Nov 23, 2026
8f3eb61
feat(javascript-api): api-extractor's doc model becomes api_item facts
leaderiop Nov 23, 2026
e950c30
test(code-api): api-extractor 7.60.1's recorded model is a snapshot
leaderiop Nov 23, 2026
f900796
feat(rust-api): cargo public-api's captured text becomes api_item facts
leaderiop Nov 23, 2026
e526730
feat(javascript-vitest): vitest's JUnit report becomes test facts
leaderiop Nov 23, 2026
6a70efb
feat(javascript-jest): jest-junit's report through node's env file
leaderiop Nov 23, 2026
fdc210f
feat(javascript-playwright): Playwright's captured JUnit becomes test…
leaderiop Nov 23, 2026
41a6a58
feat(rust-proof): a Kani harness becomes a placed rust: test fact
leaderiop Nov 23, 2026
3b94675
feat(code-kani): read workspaces and failures, refuse a cut-off output
leaderiop Nov 23, 2026
95edae9
feat(rust-proof): name each Kani run by the crate holding all its har…
leaderiop Nov 23, 2026
2f03899
chore(builtins): embed the twelve report packs and re-vendor
leaderiop Nov 23, 2026
b24821f
test(builtins): the legacy vitest loads beside @javascript/vitest
leaderiop Nov 23, 2026
f441664
test(rust-packs): doctor and collect run the Rust report packs end to…
leaderiop Nov 23, 2026
dac7025
test(javascript-packs): every JavaScript pack collects from its blob
leaderiop Nov 23, 2026
1db5d40
docs(packs): the docs say the twelve report packs ship
leaderiop Nov 23, 2026
93692b5
fix(collect): a report glob ends in a file name and reads at most 64 MiB
leaderiop Nov 23, 2026
afc23a7
fix(rust-packs): a cut or empty capture never reads as a clean run
leaderiop Nov 23, 2026
6e7819e
fix(doctor): a missing tool names only the codes it switches off
leaderiop Nov 23, 2026
632ab32
fix(code-facts): a path naming no file is neither outside nor minted
leaderiop Nov 23, 2026
5fc5274
fix(collect): a glob match linking out of the project is named
leaderiop Nov 23, 2026
ee72648
feat(doctor): look up required programs and workspace npx binaries
leaderiop Nov 23, 2026
b46d457
refactor(globs): one exported wildcard predicate for every glob reader
leaderiop Nov 23, 2026
8ae675c
chore(builtins): re-vendor after the phase 11 review fixes
leaderiop Nov 23, 2026
7a7e533
fix(collect): a report read refuses a hard link through the containment
leaderiop Nov 23, 2026
dc55890
docs(adr): 0390 a milestone computes API breaks and release evidence
leaderiop Nov 23, 2026
8e341cb
fix(code-api): a nameless doc-model member is named by its kind
leaderiop Nov 23, 2026
bc5bd4e
feat(code-api): read the api-extractor `.api.md` report
leaderiop Nov 23, 2026
ec7ba8d
feat(reads): a file read declares `text_max` to be sent a larger file
leaderiop Nov 23, 2026
67533df
feat(registry): a bad `text_max` is W021, and the 2.3.0 docs name it
leaderiop Nov 23, 2026
622903e
feat(code-facts): judge an API entry against the accepted report
leaderiop Nov 23, 2026
1d775ef
test(code-facts): pin every pairing and narrowing rule of the accepte…
leaderiop Nov 23, 2026
a73107d
feat(rust-api): judge each item against the committed public-api.txt
leaderiop Nov 23, 2026
0c0d33f
feat(javascript-api): judge the package against its committed .api.md
leaderiop Nov 23, 2026
30335cf
docs(packs): say what a host-run test command inherits; spec the API …
leaderiop Nov 23, 2026
cd47995
feat(gsd-core): refuse a breaking API change without a major bump (E533)
leaderiop Nov 24, 2026
336ac7f
test(gsd-core): pin the E533 case matrix, its bounds and its escaping
leaderiop Nov 24, 2026
803163f
docs(gsd-core): name milestone.api_breaks and gsd/E533 in the model a…
leaderiop Nov 24, 2026
fb1b293
feat(gsd-core): refuse a release whose packages or version are wrong …
leaderiop Nov 24, 2026
8b3d9c2
feat(gsd-core): gsd-git records a release tag; E535 refuses one unres…
leaderiop Nov 24, 2026
57deb58
feat(gsd-core): trace a milestone's release evidence (milestone-release)
leaderiop Nov 24, 2026
3bfc496
chore(builtins): re-vendor for the interface and release guards
leaderiop Nov 24, 2026
39e504f
test(gsd-core): gsd/E533 refuses the close after a collected API removal
leaderiop Nov 24, 2026
319501c
test(gsd-core): gsd/E535 refuses the close end to end; the route traces
leaderiop Nov 24, 2026
1f5a305
test(gsd)!: the twins keep their own settings and stay clean per profile
leaderiop Nov 24, 2026
e7b3958
docs(adr): 0390 D9 measures the vault twin against the codes it alrea…
leaderiop Nov 24, 2026
1eae50a
test(ops): the embedded API packs read a committed accepted report
leaderiop Nov 24, 2026
6cd3ffb
docs: the accepted API side and the milestone guards; doctor escaping…
leaderiop Nov 24, 2026
a473249
fix(rust-api): two accepted files of one crate are the collector's error
leaderiop Nov 24, 2026
847de48
fix(api-packs): a stray or foreign accepted file warns and collect go…
leaderiop Nov 24, 2026
92cedb0
fix(reads): a truncated accepted read names the walk's entry cap
leaderiop Nov 24, 2026
e438e43
fix(code-api): an unclosed body names its declaration escaped
leaderiop Nov 24, 2026
010da49
fix(code-facts): compare signatures in their own scheme, pair by key
leaderiop Nov 24, 2026
45ab12f
fix(code-api): bound a report's entries and the names their paths copy
leaderiop Nov 24, 2026
3bdc617
fix(reads): one check of `text_max` against the ceiling
leaderiop Nov 24, 2026
55ba4d8
fix(extension-sdk): re-export the text ceiling; the API packs name it
leaderiop Nov 24, 2026
69eb404
fix(reads): a declared file read refuses a hard link when bounded
leaderiop Nov 24, 2026
9afa7f6
fix(gsd-core): escape an echoed API id or package once, at the guard
leaderiop Nov 24, 2026
0884558
fix(gsd-core): look a release tag up by the version as the name wrote it
leaderiop Nov 24, 2026
e3e97ae
fix(gsd-core): E533 and E535 skip a shipped milestone that is no version
leaderiop Nov 24, 2026
14c50ea
docs(gsd-core): E533's code book says it fires on a compatible version
leaderiop Nov 24, 2026
cc5a467
fix(gsd-core): E535 names "the version of milestone 'v1.8'"
leaderiop Nov 24, 2026
dbb7b47
fix(gsd-core): `release` holds each package as a block and counts the…
leaderiop Nov 24, 2026
f4e4bbc
test(gsd-core): pin the release guards' edges the review named
leaderiop Nov 24, 2026
6283b47
test(gsd-core): keep a fixture's own settings only where it commits them
leaderiop Nov 24, 2026
0e9f5f1
test(gsd-core): the twins' close gate is what holds E533 and E535 silent
leaderiop Nov 24, 2026
dc453e3
docs(gsd-core): restore the strict row's list commas, wrap WRITERS' doc
leaderiop Nov 24, 2026
2356a72
fix(rust-cargo): a truncated read's error names the walk's entry cap
leaderiop Nov 24, 2026
51d542e
chore(builtins): re-vendor for the phase 12 review fixes
leaderiop Nov 24, 2026
209f5fa
docs(adr): 0391 gsd import reads a planning folder once
leaderiop Nov 24, 2026
dc5719b
test(gsd-core): a release name with @{, :, a control or a non-ASCII d…
leaderiop Nov 24, 2026
05afa8a
test(project): a glob reads the .planning dot-directory
leaderiop Nov 24, 2026
54ee325
test(ops): a peer's create may hold a harness value
leaderiop Nov 24, 2026
6f16ac1
test(ops): one plan of 2000 creates applies
leaderiop Nov 24, 2026
aa85453
feat(gsd-import): one path from REQUIREMENTS.md to an edit plan
leaderiop Nov 24, 2026
f54cc72
feat(gsd-import): refuse a re-import, a partial read and a plan past …
leaderiop Nov 24, 2026
96f2e2c
feat(gsd-import): one fate per planning file and one home per section
leaderiop Nov 24, 2026
38f0f1f
feat(gsd-import): an escaped, deterministic import report
leaderiop Nov 24, 2026
d7a1268
feat(gsd-import): print config.json as quoted settings lines
leaderiop Nov 24, 2026
78695bc
feat(gsd-import): a bounded frontmatter reader and a literal tag cut
leaderiop Nov 24, 2026
3937256
feat(gsd-import): heading sections, the spec/gsd layout and a require…
leaderiop Nov 24, 2026
cccfb50
feat(gsd-import): read PROJECT.md and report STATE.md
leaderiop Nov 24, 2026
3e6c14c
feat(gsd-import): read flat and milestone-grouped roadmaps
leaderiop Nov 24, 2026
58523c3
feat(gsd-import): read phase plans, tasks and must-haves
leaderiop Nov 24, 2026
17f5284
feat(gsd-import): read summaries, deliverables and quick plans
leaderiop Nov 24, 2026
450a488
feat(gsd-import): read a plan's threat model when @gsd/security is lo…
leaderiop Nov 24, 2026
84db924
feat(gsd-import): read phase context and discussion logs
leaderiop Nov 24, 2026
972d027
feat(gsd-import): read phase research and its items
leaderiop Nov 24, 2026
1d66f62
feat(gsd-import): read verification reports and UAT sessions
leaderiop Nov 24, 2026
ddbd25a
feat(gsd-import): read security audits into @gsd/security kinds
leaderiop Nov 24, 2026
3a8b377
feat(gsd-import): list owed verdicts and prove nothing is dropped
leaderiop Nov 24, 2026
9004ef1
test(gsd-import): drive the import through the binary
leaderiop Nov 24, 2026
1415d68
fix(gsd-import): drop a record whose text no .spec file can hold
leaderiop Nov 24, 2026
3c6d56c
test(gsd-import): hostile planning folders end to end
leaderiop Nov 24, 2026
bd1a7e0
docs(adr): 0392 an import command's plan is judged for host errors only
leaderiop Nov 24, 2026
d6f7d83
feat(gsd-import): an import's plan lands rule errors, host errors refuse
leaderiop Nov 24, 2026
55e5396
test(gsd-import): a comparator for imported and twin entity sets
leaderiop Nov 24, 2026
3c2eb40
test(gsd-import): imported fixtures equal their twins
leaderiop Nov 24, 2026
1e7b467
fix(gsd-import): the owed list names every judged rule core declares
leaderiop Nov 24, 2026
00d61b6
test(gsd-import): imported fixtures report the pinned codes and owe t…
leaderiop Nov 24, 2026
6ce7438
build(builtins): register @gsd/import with a placeholder blob
leaderiop Nov 24, 2026
32f1e25
chore(builtins): vendor @gsd/import and re-vendor @gsd/core
leaderiop Nov 25, 2026
538bbfe
test(sdk): the no-host-contribution pin skips @gsd/import's declarations
leaderiop Nov 25, 2026
29df779
docs(gsd-import): document the shipped importer
leaderiop Nov 25, 2026
088eed3
docs: count and name @gsd/import among the builtins
leaderiop Nov 25, 2026
4c0cf3b
fix(ops): an import lands only an extension's authored-entity rule error
leaderiop Nov 25, 2026
d903c3d
fix(ops): pin an import's first-party refusal and its lock re-judge
leaderiop Nov 25, 2026
42ce671
fix(ops): Lands names its variant at every site, no default
leaderiop Nov 25, 2026
0a9309a
fix(gate): build @gsd/security's wasm by name again
leaderiop Nov 25, 2026
41debd1
fix(ops): imports test doc no longer calls an import a collector's
leaderiop Nov 25, 2026
618227c
fix(ops): the bulk-create test reads @gsd/import's cap from its source
leaderiop Nov 25, 2026
d049ec0
fix(gsd-core): the import harness removes specs inside the project only
leaderiop Nov 25, 2026
ab07bcc
fix(gsd-import): a duplicate's children stay its own, never the first's
leaderiop Nov 25, 2026
0ac2c5e
fix(gsd-import): a dropped list item is left out, its holder kept
leaderiop Nov 25, 2026
ffc3594
fix(gsd-import): read manifest extensions as the host's parse does
leaderiop Nov 25, 2026
a76bfae
fix(gsd-import): find a frontmatter key given twice in linear time
leaderiop Nov 25, 2026
289e5ac
fix(gsd-import): escape every format control in the report
leaderiop Nov 25, 2026
8384427
fix(gsd-import): the spec root is a check, not a manifest field
leaderiop Nov 25, 2026
0da7cfd
fix(gsd-import): report settings keys that flatten to one key
leaderiop Nov 25, 2026
8a4ff60
fix(gsd-import): the report cap counts every printed line
leaderiop Nov 25, 2026
c732871
fix(gsd-import): a SECURITY.md read error refuses only with security
leaderiop Nov 25, 2026
fa1a665
fix(gsd-import): a quick plan's owed checks get their own wording
leaderiop Nov 25, 2026
fa25674
fix(gsd-import): block scalar lines are text; quoted escapes decode
leaderiop Nov 25, 2026
a32ca62
fix(gsd-import): emit drops a record writing outside the table
leaderiop Nov 25, 2026
f09ea13
fix(gsd-import): a timestamp is what E107's RFC3339_UTC accepts
leaderiop Nov 25, 2026
58e3335
fix(gsd-import): no level-1 heading swallows ROADMAP.md or PROJECT.md
leaderiop Nov 25, 2026
dcbd97c
fix(gsd-import): a UAT session with no imported summary is dropped
leaderiop Nov 25, 2026
8de0fd6
fix(gsd-import): frontmatter::read answers its entries
leaderiop Nov 25, 2026
0880aa6
fix(gsd-import): a diagnosed UAT gap keeps its artifacts
leaderiop Nov 25, 2026
fcdf13e
fix(gsd-import): a deliverable and a requires report what they skip
leaderiop Nov 25, 2026
1991491
fix(gsd-import): a milestone heading's version is checked as a bullet's
leaderiop Nov 25, 2026
0043c3b
fix(gsd-import): a sub-section is never written into its parent's field
leaderiop Nov 25, 2026
a9220ed
fix(gsd-import): REQUIREMENTS.md headings come from the family's reader
leaderiop Nov 25, 2026
92f78d1
fix(gsd-import): a heading outside a plan's elements is reported
leaderiop Nov 25, 2026
a04e305
fix(gsd-import): a line no row reads in a mapped section is reported
leaderiop Nov 25, 2026
42e16f1
test(gsd-import): every line of a Tier 1 file is accounted for, on ho…
leaderiop Nov 25, 2026
a3b11e9
test(gsd-import): a listed parity difference checks the import's valu…
leaderiop Nov 25, 2026
f1fce74
docs(sdk): the imports doc comments state ADR 0392's amended rule
leaderiop Nov 25, 2026
47937b1
chore(builtins): re-vendor @gsd/import after the review fixes
leaderiop Nov 25, 2026
8e6f650
fix(gsd-import): a secret flag of any shape is never printed
leaderiop Nov 25, 2026
0c3de36
chore(builtins): re-vendor @gsd/import after the secret fix
leaderiop Nov 25, 2026
4088c02
feat(gate): run each guest under nextest and keep its JUnit report
leaderiop Nov 25, 2026
b6fe9c1
feat(gate): the @gsd workspace's nextest run writes its JUnit report
leaderiop Nov 25, 2026
1a30fad
docs(adr): 0393 X2 is a floor every real test reaches
leaderiop Nov 25, 2026
c39413f
feat(gate): dogfood reads the guests' and gsd reports and drops the g…
leaderiop Nov 25, 2026
80dd715
ci: keep the guests' and gsd JUnit reports for dogfood
leaderiop Nov 25, 2026
72a7986
feat(rust-test): a test compiled out on the host reports as skipped
leaderiop Nov 25, 2026
0dc7453
feat(rust-source): a __guard_only helper carries no test id
leaderiop Nov 25, 2026
25fb45b
feat(rust-cargo): an exclude setting leaves fixture crates out of a p…
leaderiop Nov 25, 2026
12d4cb7
feat(javascript-source): a test call becomes an item with node-test's…
leaderiop Nov 25, 2026
e5eee93
test(javascript-source): suites, subtests, shorthands and dynamic names
leaderiop Nov 25, 2026
3431e06
feat(parity): record the JS fixtures' coverage reports
leaderiop Nov 25, 2026
869725e
feat(gate): dogfood collects vault and JS coverage with no warning
leaderiop Nov 25, 2026
21f2f6f
feat(parity): record and collect the ledger's Rust tool reports
leaderiop Nov 25, 2026
eeea7d1
fix(gsd-core): the record-script snapshot reads the reports directories
leaderiop Nov 25, 2026
a84152f
fix(rust-deps): the SBOM argv names the file cyclonedx actually writes
leaderiop Nov 25, 2026
97f6836
chore(builtins): re-vendor five guests for X2 at 100% and the SBOM argv
leaderiop Nov 25, 2026
df40e20
feat(spec): SpecForge leaves its fixture crates out of its census
leaderiop Nov 25, 2026
1af700e
feat(gate): X2 is a floor every project must reach
leaderiop Nov 25, 2026
364fca5
test(gate): an end-to-end control proves the X2 floor fails
leaderiop Nov 25, 2026
5cf29aa
docs: X2 is a floor and every real test reaches it
leaderiop Nov 25, 2026
267e859
fix(gsd-ab): the vault W103 baseline names the line it moved to
leaderiop Nov 25, 2026
c571f8b
fix(gate): the X2 control judges through dogfood's own verdict path
leaderiop Nov 25, 2026
1e88ee6
fix(gate): each parity fixture's count of test ids is pinned
leaderiop Nov 25, 2026
8471c01
fix(gate): a local dogfood run judges only the reports it writes
leaderiop Nov 25, 2026
7981b8a
fix(gate): a guest's nextest store holds any checkout path
leaderiop Nov 25, 2026
0da60dc
fix(gate): two guests sharing a slug are refused, not overwritten
leaderiop Nov 25, 2026
8a0fe43
fix(gate): a guest library's doctests run under the guests check
leaderiop Nov 25, 2026
d1a08a0
fix(gate): dogfood names the unix host its X2 floor assumes
leaderiop Nov 25, 2026
af7d8b8
test(gate): the guests' nextest profiles are held to the root's
leaderiop Nov 25, 2026
cf6e8cc
fix(parity): record-reports refuses a dirty fixture and replaces repo…
leaderiop Nov 25, 2026
2a421ff
test(gate): the CI report uploads are held to their shard and event
leaderiop Nov 25, 2026
1c08938
fix(gate): the X2 control builds its test binary under the compile turn
leaderiop Nov 25, 2026
1a595af
fix(gate): dogfood's guest re-run command uses the guests' target dir
leaderiop Nov 25, 2026
cf746af
fix(javascript-source): a test call's id follows node's testcase rule
leaderiop Nov 25, 2026
d2d7306
fix(javascript-source): test calls come from the files node --test runs
leaderiop Nov 25, 2026
01242fe
fix(javascript-source): an unparsed test file is a warning, not an error
leaderiop Nov 25, 2026
d4db27e
fix(rust-test): the cfg evaluator reads the host's family from its input
leaderiop Nov 25, 2026
b1f8407
fix(rust-source): an item records the cfgs of its modules and its file
leaderiop Nov 25, 2026
068e508
fix(rust-source): stacked spec-link attributes register as the macro …
leaderiop Nov 25, 2026
11a08bc
fix(rust-cargo): an exclude entry is normalized or refused
leaderiop Nov 25, 2026
14ef38d
docs(rust-cargo): the exclude setting says what it does
leaderiop Nov 25, 2026
9a8469b
test(project): the settings test is named for the two builtins that d…
leaderiop Nov 25, 2026
479e823
chore(builtins): re-vendor the guests the phase 14 review fixed
leaderiop Nov 25, 2026
d29be27
test(gate): the @rust/cargo exclude list hides no crate whose tests run
leaderiop Nov 25, 2026
b0f19e5
fix(gsd-parity): record-reports.sh copies regular report files only
leaderiop Nov 25, 2026
e9b4c38
test(gsd-core): pin record-reports.sh's container isolation
leaderiop Nov 25, 2026
4419062
test(gsd-core): pin record-reports.sh's regular-file-only copy
leaderiop Nov 25, 2026
3cf28c0
test(component): pin the @gsd/core errors an import lands
leaderiop Nov 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 25 additions & 0 deletions .config/nextest-guests.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# The extension guests' nextest profiles (ADR 0393 D1). Each guest is its own workspace, so nextest finds no
# config of its own: the gate's `guests` check prefixes this file with a `[store]` table (the repository root's
# `target/nextest`) and appends a `[profile.<p>.junit]` path per guest, then passes the result with
# `--config-file`. The bodies are `.config/nextest.toml`'s, line for line (a gate test holds them in step); its package
# overrides and JUnit tables stay there (they name root packages, and nextest refuses to parse them against a guest
# manifest).

[profile.default]
retries = 0
fail-fast = true
slow-timeout = { period = "30s", terminate-after = 2 }
status-level = "fail"

[profile.ci]
retries = 1
fail-fast = false
slow-timeout = { period = "60s", terminate-after = 3 }
status-level = "all"

[profile.gate]
retries = 0
fail-fast = false
slow-timeout = { period = "60s", terminate-after = 3 }
status-level = "fail"
final-status-level = "slow"
13 changes: 13 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,19 @@ path = "junit.xml"
filter = "package(specforge-cli) & test(=extension_authoring::a_scaffolded_extension_builds_and_validates)"
slow-timeout = { period = "60s", terminate-after = 10 }

# Applies one edit plan of as many creates as the `gsd import` operation cap
# (`MAX_OPS` in gsd/import/src/limits.rs, ADR 0391 D9): ~38 s at 2,000 on an
# idle machine, past the default 60 s bound when loaded.
[[profile.default.overrides]]
filter = "package(specforge-ops) & test(=plans::one_plan_of_many_creates_applies)"
slow-timeout = { period = "60s", terminate-after = 3 }

# The X2 floor's negative control (ADR 0393 D8) collects the ledger twice with
# the real specforge: a cold wasm compile of the packs.
[[profile.default.overrides]]
filter = "package(gate) & test(=dogfood::tests::x2_floor_fails_a_ledger_copy_missing_one_case)"
slow-timeout = { period = "120s", terminate-after = 3 }

# absorb's end-to-end tests load `@gsd/core` and the old builtins cold on a
# Windows runner, where a compile takes longer than the default kill bound
# allows (ADR 0375 D4). Windows only: the Linux and macOS bounds are unchanged.
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Bootstrap

# A cold clone rebuilds every committed blob. It takes ~8 min uncached, so a PR runs it only when what the blobs
# compile from changes (the paths every `inputs.json` records, plus the build tooling); main runs it on every push.
# A gsd input runs it too: `gsd/core/**`, `gsd/kit/**`, `gsd/.cargo/**` (the SDK patch) and `gsd/Cargo.lock`, which
# A gsd input runs it too: `gsd/core/**`, `gsd/import/**`, `gsd/kit/**`, `gsd/.cargo/**` (the SDK patch) and `gsd/Cargo.lock`, which
# `@gsd/core`'s record hashes whole. A gate test holds these paths to every input any record lists.
# A PR that misses it still has the `builtins` check (ci.yml), which compares each blob's recorded inputs.
on:
Expand All @@ -21,6 +21,7 @@ on:
- "fixtures/**"
- "examples/marketing/extension/**"
- "gsd/core/**"
- "gsd/import/**"
- "gsd/kit/**"
- "gsd/Cargo.lock"
- "gsd/.cargo/**"
Expand Down
28 changes: 25 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,23 @@ jobs:
# A PR runs the checks its diff reaches (quick's triggers); main runs the whole list.
- name: Run the shard's checks
run: cargo gate ci --only ${{ matrix.checks }} ${{ github.event_name == 'pull_request' && format('--since origin/{0}', github.base_ref) || '' }}
# The artifact's name is its directory, so the dogfood job's download lands where a local run writes (ADR 0393 D2).
- name: Keep the guests' JUnit reports for dogfood
if: github.event_name == 'push' && matrix.shard == 'specs'
uses: actions/upload-artifact@v4
with:
name: junit-guests
path: target/nextest/ci/junit-guests
if-no-files-found: error
retention-days: 1
- name: Keep the gsd JUnit report for dogfood
if: github.event_name == 'push' && matrix.shard == 'gsd'
uses: actions/upload-artifact@v4
with:
name: junit-gsd
path: target/nextest/ci/junit-gsd
if-no-files-found: error
retention-days: 1
- name: Build-time budget
shell: bash
run: |
Expand Down Expand Up @@ -375,8 +392,9 @@ jobs:
echo "$line"

dogfood:
# Each tests partition's nextest JUnit report lands in its own directory under target/nextest/ci (no
# merge-multiple: every partition writes junit.xml); dogfood merges them and judges the requirements' proof.
# Each tests partition's nextest JUnit report, the guests' (junit-guests) and the gsd one (junit-gsd) land in their
# own directories under target/nextest/ci (no merge-multiple: every partition writes junit.xml); dogfood merges
# them and judges the requirements' proof.
name: Check list (dogfood)
needs: [ci, tests]
if: github.event_name == 'push'
Expand All @@ -397,9 +415,13 @@ jobs:
prefix-key: ${{ env.CACHE_PREFIX }}
shared-key: specs
save-if: false
# dogfood runs the X2 floor's negative control under nextest (ADR 0393 D8).
- uses: taiki-e/install-action@v2
with:
tool: nextest
- uses: actions/download-artifact@v4
with:
pattern: junit-tests-*
pattern: junit-*
path: target/nextest/ci
- name: Run dogfood
run: cargo gate ci --only dogfood
Expand Down
17 changes: 15 additions & 2 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ How SpecForge is built. For what it is and why it exists, start with the [README

The compiler is a **pure typed-graph engine**. It knows how to parse `keyword name { fields }` blocks, resolve references, detect orphans and cycles, and emit a validated graph — but it carries **no domain vocabulary**. Every entity kind, edge type, and validation rule comes from an extension. If a new domain required a compiler change, the architecture would have failed.

Fifteen extensions ship as builtins, embedded in the binary. A first-party builtin is `@specforge/<name>`; a builtin of a family is `@<family>/<pack>` (`@code/core`), its crate `extensions/<family>/<pack>`, and its codes print namespaced (`code/E101`, [ADR 0328](docs/adr/0328-a-builtin-is-embedded-and-a-non-specforge-builtin-catalogues-its-codes.md)). `@gsd/core` is the one builtin outside `extensions/`: its crate is `gsd/core`, and its codes print namespaced `gsd/…` ([ADR 0366](docs/adr/0366-gsd-core-is-vendored-as-a-builtin-with-a-size-allowance-of-its-own.md)). Enable one with `specforge add <name>` (or `specforge init --extensions ...`); it is recorded in `specforge.json`, with nothing to download:
Twenty-eight extensions ship as builtins, embedded in the binary. A first-party builtin is `@specforge/<name>`; a builtin of a family is `@<family>/<pack>` (`@code/core`), its crate `extensions/<family>/<pack>`, and its codes print namespaced (`code/E101`, [ADR 0328](docs/adr/0328-a-builtin-is-embedded-and-a-non-specforge-builtin-catalogues-its-codes.md)). Two builtins live outside `extensions/`, in the gsd workspace: `@gsd/core`, whose crate is `gsd/core` and whose codes print namespaced `gsd/…` ([ADR 0366](docs/adr/0366-gsd-core-is-vendored-as-a-builtin-with-a-size-allowance-of-its-own.md)), and `@gsd/import`, whose crate is `gsd/import` ([ADR 0391](docs/adr/0391-gsd-import-reads-a-planning-folder-once-into-one-edit-plan.md)). Enable one with `specforge add <name>` (or `specforge init --extensions ...`); it is recorded in `specforge.json`, with nothing to download:

| Extension | Entity kinds | Purpose |
|-----------|-------------|---------|
Expand All @@ -17,14 +17,27 @@ Fifteen extensions ship as builtins, embedded in the binary. A first-party built
| **`@specforge/testing`** | — | Test vocabulary: which kinds accept `verify` obligations and of which kinds (W004/W009). Enabled with `@specforge/software`; test-runner extensions build on it ([ADR 0002](docs/adr/0002-test-runner-extensions.md)). |
| **`@specforge/cargo-test`** | — | Rust test runner: `specforge collect` runs `cargo test` (after you approve the command once per project) and records which entities the `#[specforge_test]`-annotated tests prove. Enabled by `init` in a Cargo project; `specforge add` also enables `@specforge/testing`. |
| **`@specforge/vitest`** | — | vitest runner: `specforge collect` runs the project's own vitest (after you approve the command once per project) and records which entities tests name in their `meta.specforge`. Enabled by `init` in a vitest project; `specforge add` also enables `@specforge/testing`. |
| **`@code/core`** | test · test_run (collector-written) | The neutral base of test facts ([ADR 0329](docs/adr/0329-code-core-holds-test-facts-and-their-ids.md)): the kinds a runner pack collects into, and the checks of the references a spec writes to them (`code/E101`, `code/W102`, `code/W401`, `code/I402`). Declares no collector. |
| **`@code/core`** | test · test_run · item · package · coverage · api_item · static_finding · dependency · vulnerability (collector-written) | The neutral base of code facts ([ADR 0329](docs/adr/0329-code-core-holds-test-facts-and-their-ids.md)): the kinds a runner, source or manifest pack collects into, the report kinds a standard report's reader mints ([ADR 0388](docs/adr/0388-x2-is-the-share-of-test-ids-a-standard-report-saw.md)), and the checks of the references a spec writes to them (`code/E101`, `code/W102`, `code/W401`, `code/I402`) and of what a report leaves unmapped (`code/W104` to `code/W107`). Declares no collector. |
| **`@specforge/checks`** | — | The generic value checkers: files, formats, check digits, links and git, each family behind a setting ([ADR 0338](docs/adr/0338-one-foundation-extension-holds-the-generic-value-checkers.md)). |
| **`@javascript/node-test`** | — | node --test runner: `specforge collect` runs the project's own node test runner (after you approve the command once per project) and records its tests as `test`/`test_run` facts, cited as `js:<package>/<file>#<test>`. `specforge add` also enables `@code/core`. |
| **`@rust/cargo`** | — | Reads every `Cargo.toml` with cargo's own manifest model into `package` facts (`pkg:cargo/<name>`): version, edition, targets, the project packages it depends on. Runs nothing ([ADR 0348](docs/adr/0348-a-collector-declares-a-config-file-and-the-rust-packs.md)). `specforge add` also enables `@code/core`. |
| **`@rust/source`** | — | Walks each cargo target's module tree and has the host's reader parse it into `item` facts (`rust:<crate>::<path>`), a test function with the id nextest gives it and the entity its `#[specforge_test]` names. `specforge add` also enables `@rust/cargo`. |
| **`@rust/test`** | — | nextest runner: `specforge collect` runs `cargo-nextest` (after you approve the command and the config file it reads, once per project) and records its tests as `test`/`test_run` facts, cited as `rust:<binary id>#<path>`; an ignored test is held as `skipped`. `specforge add` also enables `@rust/source`. |
| **`@javascript/source`** | — | Has the host's reader parse a JavaScript or TypeScript project's source (test files and generated output left out) into `item` facts (`js:<package>/<file>::<name>[.<member>]`), whether an importer reaches each, and a `package` fact per named `package.json` (`pkg:npm/<name>`). Runs nothing. `specforge add` also enables `@code/core`. |
| **`@rust/coverage`** | — | Runs `cargo-llvm-cov` over nextest (after you approve the command once per project) and records its LCOV as `coverage` facts of the items each line lands in; a file outside the project is skipped and shown as W203 ([ADR 0389](docs/adr/0389-report-packs-run-standard-tools-and-doctor-names-a-missing-one.md)). `specforge add` also enables `@rust/source`. |
| **`@rust/lint`** | — | Runs `cargo-clippy` (after approval), captures its JSON messages and records each diagnostic as a `static_finding` fact citing the item holding it. `specforge add` also enables `@rust/source`. |
| **`@rust/deps`** | — | Runs `cargo-cyclonedx` (after approval), reads each BOM it wrote fresh, and records `dependency` facts; runs `osv-scanner` on `Cargo.lock` and records `vulnerability` facts. `specforge add` also enables `@rust/source`. |
| **`@rust/api`** | — | Runs `cargo-public-api` (after approval), captures its text and records the crate's public API as `api_item` facts. `specforge add` also enables `@rust/source`. |
| **`@rust/proof`** | — | Runs Kani (after approval, Linux x86_64 and macOS only), captures its output and records each proof harness as a `test`/`test_run` fact, `rust:<crate>#<harness>`, placed at its function; a cut-off output is refused, never half-read. `specforge add` also enables `@rust/source`. |
| **`@javascript/coverage`** | — | Runs c8 around the project's own `npm test` (after approval) and records its LCOV as `coverage` facts. `specforge add` also enables `@javascript/source`. |
| **`@javascript/lint`** | — | Runs ESLint with its SARIF formatter (after approval) and records each result as a `static_finding` fact. `specforge add` also enables `@javascript/source`. |
| **`@javascript/deps`** | — | Runs cyclonedx-npm on `package-lock.json` (after approval) for `dependency` facts, and `osv-scanner` for `vulnerability` facts. `specforge add` also enables `@javascript/source`. |
| **`@javascript/api`** | — | Runs api-extractor (after approval) on a config file the host writes and records the package's public API as `api_item` facts. `specforge add` also enables `@javascript/source`. |
| **`@javascript/vitest`** | — | vitest runner: runs `vitest run` with its JUnit reporter (after approval) and records its tests as `test`/`test_run` facts, `js:<package>/<file>#<test>`; the legacy `@specforge/vitest` stays beside it. `specforge add` also enables `@javascript/source`. |
| **`@javascript/jest`** | — | jest runner: runs jest with jest-junit through an env file the host writes (after approval) and records its tests as `test`/`test_run` facts. `specforge add` also enables `@javascript/source`. |
| **`@javascript/playwright`** | — | Playwright runner: runs `playwright test` (after approval), captures its JUnit and records its tests as `test`/`test_run` facts. `specforge add` also enables `@javascript/source`. |
| **`@gsd/core`** | requirement · milestone · phase · plan · task · summary · verification · … (61 kinds, scoped) | The GSD spec framework as one extension: its roadmap, plans, execution, verification and UAT kinds, its judged rules and codes, settings and profiles, and the prompts, agents, skills, slash commands and hooks it installs into a coding agent's host ([ADR 0366](docs/adr/0366-gsd-core-is-vendored-as-a-builtin-with-a-size-allowance-of-its-own.md), [ADR 0370](docs/adr/0370-gsd-core-holds-exactly-gsd-cores-kinds-and-fields.md)). |
| **`@gsd/import`** | — (one command) | `specforge gsd import` reads a GSD `.planning/` once into one edit plan writing `spec/gsd/`, with a report of everything it does not map ([ADR 0391](docs/adr/0391-gsd-import-reads-a-planning-folder-once-into-one-edit-plan.md)). Its required peer is `@gsd/core`. |

Anyone can author and publish their own extension ([Extension Protocol](docs/extension-protocol.md)); the open Graph Protocol is the moat, not the implementation. The full catalog is in the [extension inventory](docs/extension-inventory.md).

Expand Down
11 changes: 9 additions & 2 deletions CONTEXT.md
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,8 @@ Terms the code, the specs and the docs use with one meaning. Architecture decisi
(`specforge_project::ExtensionLoad`: `NoRuntime`, or what was loaded `In` a runtime).
- **Builtin**: a component this specforge embeds, a row of `BUILTINS`, loaded by name (`specforge add @code/core`),
whatever its scope. Its crate is `extensions/<dir>` (named `@specforge/<dir>`), `extensions/<family>/<pack>`
(named `@<family>/<pack>`), or `gsd/core` for `@gsd/core`, the one builtin outside `extensions/` (ADR 0366), and
(named `@<family>/<pack>`), or `gsd/core` for `@gsd/core` and `gsd/import` for `@gsd/import`, the two builtins outside `extensions/`
(ADR 0366, ADR 0391), and
holds a `wasm/` dir. Not the same as first party: a builtin outside `@specforge/`
catalogues its codes and prints them namespaced, as a third party's do (`code/E101`, ADR 0328).
- **First-party extension**: an extension of the `@specforge/` scope. Its codes are bare, in the static catalogue that
Expand All @@ -566,7 +567,13 @@ Terms the code, the specs and the docs use with one meaning. Architecture decisi
(`extensions/code/`); its builtins are named `@<family>/<pack>`. The family `specforge` is refused (ADR 0328 D3).
- **Extension library**: a crate in an extension family with no `wasm/` dir: an rlib named `specforge-<family>-<dir>`,
never embedded, that builtins link (`extensions/code/junit`, `extensions/code/facts`). Editing it re-vendors the
builtins that link it.
builtins that link it. The six report readers are `specforge-code-lcov`, `-api`, `-sarif`, `-cyclonedx` and `-osv`
(`extensions/code/{lcov,api,sarif,cyclonedx,osv}`, linking code-facts, ADR 0388) and `specforge-code-kani`
(`extensions/code/kani`, Kani's regular output, linking nothing). The report packs link them (ADR 0389), so editing
a reader re-vendors exactly the packs that link it; `specforge-code-kani` feeds `@rust/proof` only.
- **X2**: the share of items carrying a test id whose id a test fact holds, that is, a standard test report saw it,
whatever its status. `cargo gate full`'s dogfood check prints it for SpecForge, taskboard and ledger, with no floor
(`gate/src/x2.rs`, ADR 0388).
- **Builtin's name**: the name a builtin this specforge embeds declares. Only that builtin loads under it: a `.wasm` file entry whose component declares it is refused by the load's admit (E028), and add, update, init, publish, extension validate and extension init refuse a candidate declaring it (`extension_conflict`). One predicate, `Builtins::contains` (ADR 0028 D7, ADR 0214).
- **Load key**: the key the runtime holds an entry's component under while its declaration is read: a builtin's or a locked entry's name, a `.wasm` file entry's `file:<entry>`, a candidate's `__candidate`. Every name the load admits is a package name and no temporary key is one, so a load never replaces another entry's extension (`load_key`, ADR 0223).
- **Extension inventory**: every extension a project has, one row per name: enabled by a
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion crates/app/ops/src/analysis/analyze.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,12 +382,14 @@ pub fn analyze(
}
// An analyze pass reads what changed as the compile it analyzes takes it (ADR 0376 D6).
let delta = view.project().pass_delta();
// A pass's declared file reads go through the view's containment: a bounded one refuses a hard link (ADR 0146).
let disk = view.containment().file_reads_disk();
if let Some(runtime) = view.runtime() {
let context = PassContext {
test_results: report.as_deref(),
proved_claims: proved.as_ref().map(|_| &proved_claims),
judgements: Some(view.project().judgements()),
files: Some(view.env().file_source(&specforge_registry::PlainDisk)),
files: Some(view.env().file_source(&disk)),
delta: delta.as_deref(),
..PassContext::of(view.entities())
};
Expand Down
Loading
Loading