Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
265 commits
Select commit Hold shift + click to select a range
870670d
docs(phase2): record validated v0.12 PLAN evidence
eybersjp Oct 7, 2026
0814033
docs(phase2): index Phase 2 validation evidence
eybersjp Oct 7, 2026
2c26a65
docs(phase2): lock v0.12 PLAN in project memory
eybersjp Oct 7, 2026
604b465
feat(v0.12): add generic Cost Observatory runtime
eybersjp Oct 7, 2026
9ef419e
feat(v0.12): add Cost Observatory record schema
eybersjp Oct 7, 2026
f57920f
feat(v0.12): add T01 Development Contract generator
eybersjp Oct 7, 2026
ef7c1dc
test(v0.12): cover Cost Observatory acceptance criteria
eybersjp Oct 7, 2026
3827ce4
feat(v0.12): export Cost Observatory API
eybersjp Oct 7, 2026
a79c534
docs(v0.12): document T01 Development Contract generator
eybersjp Oct 7, 2026
61ef2df
docs(v0.12): index T01 Development Contract generator
eybersjp Oct 7, 2026
49b8b2b
chore(v0.12): ignore Cost Observatory runtime telemetry
eybersjp Oct 7, 2026
433163c
test(v0.12): add Cost Observatory validation command
eybersjp Oct 7, 2026
1d02733
ci(v0.12): validate Cost Observatory increment
eybersjp Oct 7, 2026
869bde4
test(v0.12): compare acceptance semantics independent of timestamp
eybersjp Oct 7, 2026
3b6164d
fix(v0.12): align T01 derived gates with validated PLAN
eybersjp Oct 7, 2026
5f09d04
docs(v0.12): record T01 code and architecture review
eybersjp Oct 7, 2026
4339ea1
docs(v0.12): record Phase 3 T01 validation and acceptance
eybersjp Oct 7, 2026
2a4d7c1
docs(v0.12): index Phase 3 T01 evidence
eybersjp Oct 7, 2026
d1cf199
docs(v0.12): record accepted T01 in project memory
eybersjp Oct 7, 2026
2087aa6
feat(v0.12): add T02 Development Contract generator
eybersjp Oct 7, 2026
c230ee6
feat(v0.12): add generic Workspace Target Engine
eybersjp Oct 7, 2026
a501266
feat(v0.12): add Workspace Target Registry schema
eybersjp Oct 7, 2026
7976417
feat(v0.12): bind Development Contracts to workspace targets
eybersjp Oct 7, 2026
8494433
feat(v0.12): extend Development Contract schema for target bindings
eybersjp Oct 7, 2026
3ccaa78
feat(v0.12): export Workspace Target Engine API
eybersjp Oct 7, 2026
83728d6
chore(v0.12): register DKF workspace target
eybersjp Oct 7, 2026
1f38032
test(v0.12): cover Workspace Target Engine acceptance criteria
eybersjp Oct 7, 2026
1033ac1
test(v0.12): add Workspace Target Engine validation command
eybersjp Oct 7, 2026
2175bdb
ci(v0.12): validate Workspace Target Engine increment
eybersjp Oct 7, 2026
10e2f6b
test(v0.12): follow canonical Development Contract schema version
eybersjp Oct 7, 2026
f03c4c1
docs(v0.12): document T02 Development Contract generator
eybersjp Oct 7, 2026
74a0f56
docs(v0.12): index T02 Development Contract generator
eybersjp Oct 7, 2026
a472a7a
test(v0.12): keep configuration readiness schema expectation current
eybersjp Oct 7, 2026
94a10a7
test(v0.12): prove target registry drift blocks acceptance
eybersjp Oct 7, 2026
d285fc2
docs(v0.12): record T02 Workspace Target Engine review
eybersjp Oct 7, 2026
2638622
docs(v0.12): record Phase 4 T02 validation and acceptance
eybersjp Oct 7, 2026
7037a81
docs(v0.12): index T02 review and validation evidence
eybersjp Oct 7, 2026
279d6b3
docs(v0.12): record accepted T02 in project memory
eybersjp Oct 7, 2026
cef34fa
feat(v0.12): add T03 Development Contract generator
eybersjp Oct 7, 2026
17012ca
feat(v0.12): add deterministic repository context cache
eybersjp Oct 7, 2026
559a79e
feat(v0.12): add deterministic Execution Capsule runtime
eybersjp Oct 7, 2026
4f1c814
feat(v0.12): feed fresh Execution Capsules into role contexts
eybersjp Oct 7, 2026
52d1a6b
feat(v0.12): expose capsule-aware context APIs
eybersjp Oct 7, 2026
5a454a0
fix(v0.12): make context cache fingerprints timestamp-independent
eybersjp Oct 7, 2026
8f37198
feat(v0.12): add Execution Capsule schema
eybersjp Oct 7, 2026
bf969a4
feat(v0.12): add context cache entry schema
eybersjp Oct 7, 2026
843f631
test(v0.12): verify deterministic context cache invalidation
eybersjp Oct 7, 2026
2d8fd4e
test(v0.12): cover Execution Capsules and context economy
eybersjp Oct 7, 2026
a3f0ea7
docs(v0.12): document T03 Development Contract generator
eybersjp Oct 7, 2026
b4a70fa
docs(v0.12): index T03 Development Contract generator
eybersjp Oct 7, 2026
99f2ff8
test(v0.12): add Execution Capsule validation command
eybersjp Oct 7, 2026
23ea0ae
ci(v0.12): validate Execution Capsules and context cache
eybersjp Oct 7, 2026
09a63ff
fix(v0.12): stabilize context cache configuration invalidation
eybersjp Oct 7, 2026
54291b8
fix(v0.12): require runtime fact identities
eybersjp Oct 7, 2026
f24003b
fix(v0.12): confine context cache IO to project cache root
eybersjp Oct 7, 2026
8b7acae
fix(v0.12): harden capsule cache trust and changed-file invalidation
eybersjp Oct 7, 2026
eac116b
test(v0.12): harden cache path and configuration invalidation coverage
eybersjp Oct 7, 2026
765a64a
test(v0.12): harden capsule trust and emit cost evidence
eybersjp Oct 7, 2026
cfab333
docs(v0.12): record T03 architecture code and security review
eybersjp Oct 7, 2026
c7d6079
docs(v0.12): record Phase 5 T03 validation and acceptance
eybersjp Oct 7, 2026
91b7e6f
docs(v0.12): index T03 review and validation evidence
eybersjp Oct 7, 2026
b0d848b
docs(v0.12): record accepted T03 in project memory
eybersjp Oct 7, 2026
4cfe10f
feat(v0.12): add T04 State Engine V2 Development Contract
eybersjp Oct 7, 2026
09f97c6
feat(v0.12): add generic State Engine V2 core
eybersjp Oct 7, 2026
057c55a
feat(v0.12): add State Engine V2 legacy migration
eybersjp Oct 7, 2026
f88226a
feat(v0.12): add latest-entity state lookup
eybersjp Oct 7, 2026
7346378
feat(v0.12): route Autopilot state through State Engine V2 after safe…
eybersjp Oct 7, 2026
97f33e1
feat(v0.12): route orchestration transition state through State Engin…
eybersjp Oct 7, 2026
d47d2f0
feat(v0.12): add State Engine V2 event schema
eybersjp Oct 7, 2026
d5b521c
feat(v0.12): add State Engine V2 snapshot schema
eybersjp Oct 7, 2026
8736b7f
feat(v0.12): add State Engine V2 index schema
eybersjp Oct 7, 2026
4884029
feat(v0.12): expose State Engine V2 APIs
eybersjp Oct 7, 2026
48f9892
chore(v0.12): ignore project-local State Engine V2 runtime state
eybersjp Oct 7, 2026
1d47637
test(v0.12): verify State Engine V2 canonical history and rebuilds
eybersjp Oct 7, 2026
4bd39a7
test(v0.12): verify State Engine V2 migration equivalence and file re…
eybersjp Oct 7, 2026
acced00
test(v0.12): align Autopilot recovery regression with State Engine V2
eybersjp Oct 7, 2026
31ed81d
fix(v0.12): include legacy migration adapter in T04 contract scope
eybersjp Oct 7, 2026
8333faa
docs(v0.12): document T04 Development Contract generator
eybersjp Oct 7, 2026
cc82749
docs(v0.12): index T04 Development Contract generator
eybersjp Oct 7, 2026
695847d
test(v0.12): add State Engine V2 validation command
eybersjp Oct 7, 2026
98ca636
ci(v0.12): validate State Engine V2 increment
eybersjp Oct 7, 2026
c5d67d7
test(v0.12): update lifecycle persistence regression for State Engine V2
eybersjp Oct 7, 2026
e7a2c30
fix(v0.12): keep Phase 1 legacy state baseline historically stable
eybersjp Oct 7, 2026
e7560ae
fix(v0.12): harden State Engine truncation and realpath integrity
eybersjp Oct 7, 2026
4b53ab0
test(v0.12): verify truncation and state-root escape rejection
eybersjp Oct 7, 2026
d620d44
fix(v0.12): require verified migration completion for legacy cutover
eybersjp Oct 7, 2026
7c7df91
fix(v0.12): keep legacy Autopilot authoritative until migration compl…
eybersjp Oct 7, 2026
65a5887
fix(v0.12): keep legacy run state authoritative until migration compl…
eybersjp Oct 7, 2026
8de72a4
test(v0.12): prove partial migration cannot trigger state cutover
eybersjp Oct 7, 2026
282d3fb
fix(v0.12): gate orchestration V2 reads on verified migration cutover
eybersjp Oct 7, 2026
bda8ebf
fix(v0.12): gate Autopilot V2 recovery on verified migration cutover
eybersjp Oct 7, 2026
9f4b394
fix(v0.12): preserve migration idempotence after normal V2 progress
eybersjp Oct 7, 2026
923b113
test(v0.12): prove migration rerun after V2 progress is a no-op
eybersjp Oct 7, 2026
f6c74a0
fix(v0.12): harden State Engine schema and read-path boundaries
eybersjp Oct 7, 2026
0090c30
fix(v0.12): require contiguous semantically anchored legacy state chains
eybersjp Oct 7, 2026
be88d9f
fix(v0.12): fail closed on incomplete or tampered V2 read layout
eybersjp Oct 7, 2026
0732022
test(v0.12): reject tampered State Engine schema on read
eybersjp Oct 7, 2026
e3e4b16
test(v0.12): reject incomplete or unanchored legacy revision chains
eybersjp Oct 7, 2026
1012fae
docs(v0.12): record T04 architecture code migration and security review
eybersjp Oct 7, 2026
6a0f182
docs(v0.12): record Phase 6 T04 validation and acceptance
eybersjp Oct 7, 2026
895a230
docs(v0.12): index T04 review and validation evidence
eybersjp Oct 7, 2026
de4c426
docs(v0.12): record accepted T04 in project memory
eybersjp Oct 7, 2026
5975a14
test(T04): reproduce event rewrite, stale lock stealing and multiproc…
eybersjp Oct 9, 2026
2a3f5a5
test(T04): include hardening regressions in full release validation
eybersjp Oct 9, 2026
0439ca8
fix(T04): serialize writers under owner-aware locks and append crash-…
eybersjp Oct 9, 2026
b49630b
fix(T04): confine backup restore paths and prevent junction/symlink w…
eybersjp Oct 9, 2026
4b1aea0
test(T04): block backup restoration through symlinked directories and…
eybersjp Oct 9, 2026
53a1bd6
test(T04): add crash-recovery and dead-lock regression coverage
eybersjp Oct 9, 2026
21f8563
fix(T04): preserve valid same-revision Autopilot transition semantics
eybersjp Oct 9, 2026
a9bfdf1
fix(T04): harden state-file symlink confinement and fsync durable jou…
eybersjp Oct 9, 2026
bc3c44e
test(T04): reject canonical event symlink redirection
eybersjp Oct 9, 2026
6d8d57e
test(T04): add reproducible 300-transition endurance and write-amplif…
eybersjp Oct 9, 2026
74f992a
test(T04): register measured state-engine endurance benchmark
eybersjp Oct 9, 2026
f12b7b3
ci(T04): measure 300-transition endurance on Windows and Ubuntu
eybersjp Oct 9, 2026
3661588
docs(T04): document new cross-platform durability benchmark
eybersjp Oct 9, 2026
e4b3a0b
docs(T04): index endurance evidence reference in documentation
eybersjp Oct 9, 2026
e1302c5
docs(T04): index endurance evidence reference in documentation
eybersjp Oct 9, 2026
949ec8c
docs(T04): archive hardening verification, measured benchmarks and me…
eybersjp Oct 9, 2026
4928b72
test(T04): reproduce missing ledger separator and stale-lock recheck …
eybersjp Oct 9, 2026
1bd32f4
fix(T04): preserve JSONL separators and retry stale-lock reclamation …
eybersjp Oct 9, 2026
359f0a3
test(T04): model concurrent snapshot writer/read visibility race
eybersjp Oct 9, 2026
e955450
test(T04): reject hard-linked backup-restore overwrite destinations
eybersjp Oct 9, 2026
da038aa
fix(T04): distinguish concurrent snapshot advances from witnessed led…
eybersjp Oct 9, 2026
ffe49ff
fix(T04): refuse backup overwrites through multiply-linked files
eybersjp Oct 9, 2026
36caa4b
docs(T04): record 13 adversarial regressions and passing cross-platfo…
eybersjp Oct 9, 2026
fe4dd14
test(T04): reproduce transient Windows EPERM on lock create under con…
eybersjp Oct 9, 2026
af7f8c5
fix(T04): retry bounded Windows transient lock-file sharing violations
eybersjp Oct 9, 2026
25b727f
test(T04): reproduce stale-lock contention, canonical hardlinks, cras…
eybersjp Oct 9, 2026
d5e3bcb
test(T04): reproduce restoration overwrite-time hardlink swap
eybersjp Oct 9, 2026
a74526b
fix(T04): serialize stale-lock recovery under exclusive guard and rej…
eybersjp Oct 9, 2026
416a9a4
fix(T04): stage and atomically promote legacy restores to defeat path…
eybersjp Oct 9, 2026
f352071
fix(T04): repair pending transaction views durably and serialize deri…
eybersjp Oct 9, 2026
55ae40c
fix(T04): make target restore preflight read-only; create directories…
eybersjp Oct 9, 2026
c2d633a
test(T04): enforce non-mutating target preflight before staged atomic…
eybersjp Oct 9, 2026
332692c
fix(T04): retain safe restoration into previously nonexistent target …
eybersjp Oct 9, 2026
785c987
test(T04): preserve recovery support for initially nonexistent destin…
eybersjp Oct 9, 2026
cf504f7
docs(T04): record independently discovered P1/P2 remediation and H15–…
eybersjp Oct 9, 2026
41b40ff
test(T04): reproduce a canonical ledger symlink swap at append-open b…
eybersjp Oct 9, 2026
5866a11
test(T04): require staged restore to preserve POSIX root permissions …
eybersjp Oct 9, 2026
4ae24c1
fix(T04): bind append descriptor to verified canonical inode and bloc…
eybersjp Oct 9, 2026
6722b16
fix(T04): preserve destination root ownership, mode and timestamps on…
eybersjp Oct 9, 2026
aa3266d
docs(T04): record symlink-open and root-permission regressions H22–H23
eybersjp Oct 9, 2026
e00f639
fix(T04): prevent Windows writer starvation with bounded lock sleeps …
eybersjp Oct 9, 2026
e5544e2
fix(T04): record stale-guard owner and add fail-closed explicit offli…
eybersjp Oct 9, 2026
0ca5ab8
fix(T04): journal interrupted restore promotion and require explicit …
eybersjp Oct 9, 2026
e9c858e
test(T04): enforce explicit offline restore and verify durable two-re…
eybersjp Oct 9, 2026
2d5ff85
test(T04): verify guarded offline recovery of abandoned lock reclamat…
eybersjp Oct 9, 2026
a1f135c
test(T04): model single crash at promotion without blocking in-proces…
eybersjp Oct 9, 2026
06664ce
fix(T04): retire displaced restore tree only after durable journal ac…
eybersjp Oct 9, 2026
d6818b5
test(T04): verify real child-process termination leaves resumable res…
eybersjp Oct 9, 2026
223982f
fix(T04): use portable bigint inode witnesses in durable restore jour…
eybersjp Oct 9, 2026
994fbb5
docs(T04): define explicitly trusted offline recovery boundary and du…
eybersjp Oct 9, 2026
65674a2
docs(T04): register offline restore trust boundary and crash protocol
eybersjp Oct 9, 2026
6f8041e
fix(T04): fsync restored file tree before journaled directory promotion
eybersjp Oct 9, 2026
aa7d1af
docs(T04): record recovery-journal tests, offline trust boundary and …
eybersjp Oct 9, 2026
c80dc25
fix(T04): flush staged Windows file buffers through write-capable han…
eybersjp Oct 9, 2026
e9aa32f
test(T04): reproduce unsafe pending-commit truncate after swapped can…
eybersjp Oct 9, 2026
010fa3a
fix(T04): recover pending append with one no-follow inode-verified FD…
eybersjp Oct 9, 2026
40a0394
test(T04): reproduce descendant ownership and root-atime drift under …
eybersjp Oct 9, 2026
4caba95
fix(T04): preserve staged descendants ownership/mode and replay times…
eybersjp Oct 9, 2026
a6eaf3f
ci(T04): test restoring files owned by a different Unix UID in isolat…
eybersjp Oct 9, 2026
9a6ad47
docs(T04): record descriptor-bound recovery and recursive metadata se…
eybersjp Oct 9, 2026
810c44d
test(T04): compute risk-3 acceptance through authoritative DKF runtim…
eybersjp Oct 9, 2026
0fce377
ci(T04): run DKF risk-3 acceptance engine after complete release gate…
eybersjp Oct 9, 2026
3a9922d
ci(T04): include hidden persisted acceptance evidence in uploaded job…
eybersjp Oct 9, 2026
e50d560
docs(T04): document deterministic runtime acceptance gate, provenance…
eybersjp Oct 9, 2026
43f15f8
docs(T04): register risk-3 acceptance gate reference
eybersjp Oct 9, 2026
c5f6a48
docs(T04): register risk-3 acceptance gate reference
eybersjp Oct 9, 2026
022fd49
fix(authority): preserve explicit multiple requirement-to-criterion t…
eybersjp Oct 9, 2026
282a65d
fix(authority): require explicit verified edges for multi-requirement…
eybersjp Oct 9, 2026
186ebc0
fix(T04): map all 10 approved requirements to their existing five acc…
eybersjp Oct 9, 2026
a1715a7
fix(authority): validate explicit requirementIds against approved con…
eybersjp Oct 9, 2026
f03140e
fix(T04): preserve relative symlinks and reject aliased backup destin…
eybersjp Oct 9, 2026
475038e
test(T04): cover relative symlink fidelity and duplicate normalized b…
eybersjp Oct 9, 2026
2eb5932
test(authority): verify explicit many-to-one traceability and fail cl…
eybersjp Oct 9, 2026
4fadf97
schema(authority): document single/multi requirement traceability fie…
eybersjp Oct 9, 2026
89bd713
fix(T04): fail closed on case/Unicode aliases across Windows macOS an…
eybersjp Oct 9, 2026
d43e016
fix(T04): replace synthetic reviewer passes with authenticated source…
eybersjp Oct 9, 2026
689c8b3
chore(T04): initialize independent reviewer attestation receipts pend…
eybersjp Oct 9, 2026
af12cc2
ci(T04): grant read-only authenticated GitHub reviewer provenance acc…
eybersjp Oct 9, 2026
176fea7
test(T04): reject case-folded restore aliases on all target filesystems
eybersjp Oct 9, 2026
2960614
fix(T04): authenticate external clean-review reactions as source-boun…
eybersjp Oct 9, 2026
005ae9f
fix(T04): reject unpaired surrogate restore paths before decoding fil…
eybersjp Oct 9, 2026
c0b7ccc
test(T04): reproduce malformed Unicode path alias and fail before res…
eybersjp Oct 9, 2026
f65b181
ci(T04): gate acceptance only after both Ubuntu and Windows validatio…
eybersjp Oct 9, 2026
b8dd5d7
fix(T04): bind entire source tree, verify reviewer role outcomes by I…
eybersjp Oct 9, 2026
c2e3ff9
fix(T04): bind reviewed checkout file modes as well as every tracked …
eybersjp Oct 9, 2026
d255f1b
docs(T04): record H32–H35 and externally authenticated risk-3 accepta…
eybersjp Oct 9, 2026
7427306
docs(T04): preserve traceable security review provenance and current …
eybersjp Oct 9, 2026
ac73ff3
fix(T04): reject edited GitHub review requests whose content postdate…
eybersjp Oct 9, 2026
a575433
fix(T04): pin State Engine directory inode for durable journal and ma…
eybersjp Oct 9, 2026
6b37e3c
test(T04): block state-directory swap redirecting pending journal to …
eybersjp Oct 9, 2026
d288e2f
fix(T04): pin acceptance actions, enforce request immutability, and b…
eybersjp Oct 12, 2026
e1d1ab8
fix(ci): pin checkout and setup-node actions in prerequisite validate…
eybersjp Oct 12, 2026
3faa15a
fix(T04): pin state directory identity across transaction, reject tra…
eybersjp Oct 12, 2026
9cc6668
fix(T04): query review-thread resolution via GraphQL before rejecting…
eybersjp Oct 12, 2026
de21d63
fix(T04): keep state directory descriptor open across full transactio…
eybersjp Oct 12, 2026
67f90a2
fix(state-engine-v2): bind canonical append and derived writes to pin…
eybersjp Oct 12, 2026
474828b
test(state-engine-v2): recognize descriptor-relative paths in linux m…
eybersjp Oct 12, 2026
c38df9a
fix(state-engine-v2): acquire pinned dirFd before reading canonical l…
eybersjp Oct 12, 2026
bc6a149
fix(t04-gate): reject unresolved P1 review threads from any reviewer …
eybersjp Oct 12, 2026
295d3e4
fix: keep layout path derivation descriptor-bound and detect unbadged…
eybersjp Oct 12, 2026
d472fac
fix(t04-gate): correctly match bracketed and colon P1 markers (PRRT_k…
eybersjp Oct 12, 2026
3628857
fix(state-engine-v2): resolve recovery files relative to pinned direc…
eybersjp Oct 12, 2026
777205b
fix(state-engine-v2): bind commit preparation read and identity witne…
eybersjp Oct 12, 2026
a85917a
fix: hold ledger descriptor across commit transaction and check block…
eybersjp Oct 12, 2026
706a421
test(ui-preview): tolerate Windows EBUSY retry during directory cleanup
eybersjp Oct 12, 2026
705f763
fix(state-engine-v2): verify canonical ledger directory entry remains…
eybersjp Oct 12, 2026
404ebda
fix(state-engine-v2): verify recovered ledger directory entry after f…
eybersjp Oct 12, 2026
a51271f
fix(state-engine-v2): verify canonical ledger directory entry before …
eybersjp Oct 12, 2026
03b7951
fix(state-engine-v2): verify canonical ledger binding atomically insi…
eybersjp Oct 12, 2026
e710f90
fix(state-engine-v2): adopt trusted-runtime threat model, drop non-at…
eybersjp Oct 12, 2026
cf0fd82
fix(t04): resolve missing-ledger fail-closed, contract validation sha…
eybersjp Oct 12, 2026
b1ef78a
fix(t04): always fsync recovered ledger before clearing pending journal
eybersjp Oct 12, 2026
52b00ae
fix(t04): fsync recovered restore rollback before journal cleanup
eybersjp Oct 12, 2026
e97faad
test(t04): reject all unresolved review threads in risk-3 acceptance
eybersjp Oct 12, 2026
53b1c4b
test(t04): reject all unresolved review threads in risk-3 acceptance
eybersjp Oct 12, 2026
f7a5d72
fix(t04): gate independent acceptance on zero unresolved review threads
eybersjp Oct 12, 2026
7f3c923
test(t04): guard journal acknowledgement until complete recovered suf…
eybersjp Oct 12, 2026
24f3d7b
test(t04): prove rollback parent fsync precedes restore journal deletion
eybersjp Oct 12, 2026
71dcfc1
test(t04): include reviewer-thread acceptance regression in CI valida…
eybersjp Oct 12, 2026
c8be224
docs(t04): document review-thread blocker module for documentation va…
eybersjp Oct 12, 2026
01bfaf8
docs(t04): index reviewer-thread acceptance tests
eybersjp Oct 12, 2026
ad8acc1
docs(t04): correct stale acceptance provenance and zero-unresolved-re…
eybersjp Oct 12, 2026
c93740e
docs(t04): register reviewer-thread module in documentation summary
eybersjp Oct 12, 2026
0111966
docs(t04): record PO decision to defer same-account isolation to issu…
eybersjp Oct 12, 2026
c3f3fd9
docs(t04): record H46-H47 regression and scoped security-defer decision
eybersjp Oct 12, 2026
f798060
fix(t04): enforce canonical review request SHA and fail-closed GraphQ…
eybersjp Oct 12, 2026
5da21fc
fix(t04): reject ambiguous review commit requests and malformed threa…
eybersjp Oct 12, 2026
32540f6
test(t04): exercise conflicting review SHA and null GraphQL review pages
eybersjp Oct 12, 2026
bc93216
docs(t04): document authenticated commit parsing and fail-closed Grap…
eybersjp Oct 12, 2026
a3f9c8d
feat(t04): add fail-closed native Windows write-through directory ren…
eybersjp Oct 12, 2026
e95ec40
fix(t04): use Win32 write-through rename for journaled rollback and f…
eybersjp Oct 12, 2026
59b0346
fix(t04): keep Win32 extended paths and native error semantics intact
eybersjp Oct 12, 2026
c62ad6a
test(t04): exercise native Windows write-through rollback and journal…
eybersjp Oct 12, 2026
369a4f4
docs(t04): document native Windows write-through rollback helper and …
eybersjp Oct 12, 2026
0cc8492
docs(t04): register native Windows restore recovery helper
eybersjp Oct 12, 2026
c180ec4
docs(t04): index Windows native rollback recovery helper
eybersjp Oct 12, 2026
b13c5a3
docs(t04): document Windows write-through recovery and remaining cras…
eybersjp Oct 12, 2026
c046157
docs(t04): audit A04/A05 and H48 Windows native rollback evidence
eybersjp Oct 12, 2026
3f48fc9
fix(T04): require unambiguous independent reviewer PASS with adversar…
eybersjp Oct 13, 2026
747009c
fix(t04): establish uniform directory flush barrier for Windows resto…
eybersjp Oct 13, 2026
762b7cf
fix(t04): enforce Windows namespace fsync on State Engine journal pub…
eybersjp Oct 13, 2026
4e918d5
test(t04): prove Windows pending-journal flush gates canonical append
eybersjp Oct 13, 2026
baf1308
fix(t04): enforce closed review response grammar and canonical single…
eybersjp Oct 13, 2026
9f189fd
test(t04): reject contradiction prose and malformed multi-SHA reviewe…
eybersjp Oct 13, 2026
06771d5
docs(t04): specify Windows runtime journal and restore durability pro…
eybersjp Oct 13, 2026
3b02310
docs(t04): register Windows durability protocol in authoritative docu…
eybersjp Oct 13, 2026
3686d5c
test(t04): require actual Windows parent-directory inode flush after …
eybersjp Oct 13, 2026
e7fb4b4
fix(t04): reject trailing newline as extra unstructured review body f…
eybersjp Oct 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .development-kit/workspace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"schemaVersion": 1,
"targets": {
"dkf-framework": {
"path": ".",
"kind": "development-framework",
"dependencies": [],
"commands": {
"test": "npm run release:validate",
"test:orchestration": "npm run orchestration-core:validate"
},
"capabilities": [
"dkf-control-plane",
"node-runtime",
"release-validation"
],
"verification": [
"test",
"test:orchestration"
],
"adapter": null
}
}
}
67 changes: 65 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:

permissions:
contents: read
pull-requests: read
issues: read

jobs:
validate:
Expand All @@ -20,10 +22,10 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v7
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.0

- name: Set up Node.js
uses: actions/setup-node@v7
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 22

Expand Down Expand Up @@ -83,6 +85,31 @@ jobs:
npm run token-efficiency:test
npm run token:audit:check

- name: Run Scale/Context Phase 0-1 baseline
run: node scripts/phase01-scale-context-baseline.mjs

- name: Validate Scale/Context v0.12 Phase 2 PLAN
run: node scripts/phase02-scale-context-plan-validate.mjs

- name: Validate v0.12 Cost Observatory increment
run: npm run cost-observatory:test

- name: Validate v0.12 Workspace Target Engine increment
run: npm run workspace-targets:test

- name: Validate v0.12 Execution Capsules & Context Cache increment
run: npm run execution-capsule:test

- name: Validate v0.12 State Engine V2 increment
run: npm run state-engine-v2:test

- name: Validate cross-owner legacy restore metadata
if: ${{ matrix.os == 'ubuntu-latest' && github.event.pull_request.head.repo.full_name == github.repository }}
run: sudo "$(command -v node)" --test --test-name-pattern='T04-H30' scripts/state-engine-v2-migration.test.mjs

- name: Benchmark v0.12 State Engine V2 append endurance
run: npm run state-engine-v2:benchmark

- name: Validate Design Authority governance
run: npm run design-authority:validate

Expand All @@ -91,3 +118,39 @@ jobs:

- name: Validate exact release command
run: npm run release:validate

t04_acceptance:
name: T04 independently reviewed acceptance
if: ${{ github.event_name == 'pull_request' && github.head_ref == 'fix/v0.12-t04-state-engine-hardening' }}
needs: validate
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
issues: read
pull-requests: read
steps:
- name: Check out validated source
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.0

- name: Set up Node.js
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 22

- name: Materialize source-bound T04 Development Contract
run: node scripts/phase06-state-engine-v2-contract.mjs

- name: Verify independent reviews and compute deterministic T04 acceptance
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: node scripts/t04-hardening-acceptance-gate.mjs

- name: Retain independent risk-3 acceptance evidence
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.0
with:
name: t04-hardening-acceptance
path: .development-kit/runs/INC-DKF120-T04/T04-HARDENING-REVIEWED-20261009/
retention-days: 30
include-hidden-files: true
if-no-files-found: error
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,7 @@ desktop.ini
.development-kit/runs/
.development-kit/decisions/
.development-kit/secrets/
.development-kit/telemetry/
.development-kit/state/
freebuff-chat-*.md

10 changes: 10 additions & 0 deletions docs/03-reference/scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,13 @@ Development Kit ships **9 primary non-test Node.js scripts** in `scripts/`, expo
- `install-antigravity.mjs` — exits 1 when no target is found and none requested; 0 otherwise

See [validation-architecture.md](../../04-architecture/validation-architecture.md) for how the scripts fit together.

## Additional v0.12 Verification

- **State Engine V2 endurance:** `npm run state-engine-v2:benchmark` — 300-transition disposable fixture on the Windows/Ubuntu CI matrix. See [state-engine-v2-benchmark.md](state-engine-v2-benchmark.md). The resulting timings are observations, not release performance acceptance.

- **T04 risk-3 runtime acceptance:** `node scripts/t04-hardening-acceptance-gate.mjs` — GitHub Actions-only, after exact release gates; validates immutable reviewed source, creates persisted DKF verification/security/acceptance records and uploads CI evidence. See [t04-hardening-acceptance-gate.md](t04-hardening-acceptance-gate.md).

- **T04 reviewer-thread safety:** `node --test scripts/t04-review-thread-blockers.test.mjs` — proves every unresolved code-review thread, including P2 and unclassified findings, blocks independent acceptance. See [t04-review-thread-blockers.md](t04-review-thread-blockers.md).

- **Windows restore rollback:** `scripts/windows-durable-rename.ps1` — native Win32 write-through directory move used for recovery, with explicit platform guarantees and review limitations. See [windows-durable-rename.md](windows-durable-rename.md).
51 changes: 51 additions & 0 deletions docs/03-reference/scripts/phase01-scale-context-baseline.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# phase01-scale-context-baseline.mjs

## Purpose

`scripts/phase01-scale-context-baseline.mjs` is an analysis-only baseline runner for the Development Kit Scale, Context & Iteration initiative.

It measures the current framework before implementation changes are made. The script does not modify DKF production runtime behaviour, change package versions, publish releases, or mutate repository state outside temporary test fixtures.

## What it measures

The runner records:

- repository, test, and canonical instruction-file inventory;
- the existing deterministic token/context audit;
- representative single-package context packaging;
- representative multi-package context packaging;
- representative calculation-heavy context packaging;
- Autopilot state-file growth across 26 immutable revisions;
- current observability gaps for provider token usage, repository reads/scans, agent invocations, and host tool calls.

## Representative fixtures

The fixtures are synthetic and deterministic. They exercise the existing DKF runtime APIs rather than claiming to reproduce provider billing or a specific production repository exactly.

The multi-package fixture contains web, mobile, shared, calculation, and database-style paths. The calculation-heavy fixture establishes a baseline before domain/numerical gate profiles exist.

## Usage

Print JSON to standard output:

```bash
node scripts/phase01-scale-context-baseline.mjs
```

Optionally persist the JSON output:

```bash
node scripts/phase01-scale-context-baseline.mjs --out=path/to/baseline.json
```

## Measurement rules

The runner reuses `scripts/token-audit.mjs` and the existing `runtime/orchestration/token-efficiency.mjs` estimator.

Estimated token values therefore remain deterministic `ceil(characters / 4)` approximations and must not be represented as provider billing-token counts.

Metrics that the current runtime cannot observe are emitted as unavailable with a reason instead of being estimated or fabricated.

## Scope

This script belongs to Phase 0/1 evidence gathering only. Later Cost Observatory work may extend or replace parts of this runner after the baseline has been preserved.
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# phase02-scale-context-plan-validate.mjs

## Purpose

`scripts/phase02-scale-context-plan-validate.mjs` validates the machine-readable Development Kit v0.12.0 Scale, Context & Iteration PLAN using the existing deterministic `runtime/orchestration/plan-validator.mjs`.

It is a Phase 2 planning validator. It does not implement v0.12 runtime functionality.

## Authoritative PLAN model

```text
docs/04-architecture/dkf-scale-context-iteration-v0.12-plan-model.json
```

## Validation performed

The script checks:

- declared task count;
- dependency references;
- dependency cycles;
- declared dependency graph versus computed graph;
- required logical resource ownership;
- duplicate resource ownership;
- acceptance-criterion coverage;
- configuration dependency validity.

The acceptance-criterion authority comes from the reconciled v0.12 specification.

## Usage

```bash
node scripts/phase02-scale-context-plan-validate.mjs
```

The command prints the complete deterministic validation report as JSON and exits non-zero when the PLAN is invalid.

## Scope

This validator intentionally reuses the existing DKF PLAN validation engine instead of creating a second planning model.

A green result proves structural PLAN consistency. It does not replace specification review, architecture review, implementation verification, or Product Owner release approval.
47 changes: 47 additions & 0 deletions docs/03-reference/scripts/phase03-cost-observatory-contract.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# phase03-cost-observatory-contract.mjs

## Purpose

`scripts/phase03-cost-observatory-contract.mjs` creates or reuses the Development Contract for **DKF120-T01 — Cost Observatory**.

The contract is normal DKF runtime state and is persisted under:

```text
.development-kit/contracts/INC-DKF120-T01/
```

That directory remains git-ignored. The script itself is committed so contract construction is reproducible from the authoritative v0.12 sources.

## Authoritative sources

The contract binds:

- the v0.12 Scale, Context & Iteration specification;
- the v0.12 technical design;
- the validated v0.12 implementation PLAN;
- the Phase 0/1 baseline evidence.

Whole-file fingerprints remain authoritative even when the contract requests selected sections for context delivery.

## Acceptance criteria

The T01 contract owns:

- `DKF-120-AC-001`
- `DKF-120-AC-002`
- `DKF-120-AC-003`
- `DKF-120-AC-033`

## Usage

```bash
node scripts/phase03-cost-observatory-contract.mjs
```

The script validates the resulting contract and immediately verifies that it is not stale.

If an existing contract has become stale, normal DKF stale-contract handling applies; the script does not silently overwrite it.

## Boundary

This script authorises only T01 Cost Observatory work. It does not authorise T02 or later v0.12 increments.
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# phase04-workspace-target-engine-contract.mjs

## Purpose

`scripts/phase04-workspace-target-engine-contract.mjs` creates or reuses the Development Contract for **DKF120-T02 — Workspace Target Engine**.

The contract is persisted through the normal DKF runtime contract store under:

```text
.development-kit/contracts/INC-DKF120-T02/
```

That runtime directory remains git-ignored.

## Bootstrap note

T02 introduces Workspace Target Engine support itself.

Therefore the T02 Development Contract is created **without** a workspace target binding. This is intentional bootstrap behaviour: target binding cannot be mandatory for the increment that first creates the target engine.

After T02 acceptance, target-aware Development Contracts may bind:

- primary target;
- affected targets;
- verification targets;
- the exact workspace-registry fingerprint.

A later change to that registry then makes the target-aware contract stale.

## Authoritative sources

The contract binds:

- the v0.12 Scale, Context & Iteration specification;
- the v0.12 technical design;
- the validated v0.12 implementation PLAN;
- accepted T01 evidence;
- the Phase 0/1 multi-package baseline.

## Acceptance criteria

The T02 contract owns:

- `DKF-120-AC-004`
- `DKF-120-AC-005`
- `DKF-120-AC-006`
- `DKF-120-AC-007`
- `DKF-120-AC-039`

## Usage

```bash
node scripts/phase04-workspace-target-engine-contract.mjs
```

The script validates the contract, confirms its derived gates, and verifies that it is not stale.

## Boundary

This script authorises only T02 Workspace Target Engine work. It does not authorise T03 or later v0.12 increments.
Loading
Loading