Skip to content

Commit 54e2dc7

Browse files
committed
[guard.dirac.ρ.D8+] Close registry and CI ratchets for the research loop
The research-loop surface had already become public and introduced a command-level stale-preview refusal, but its public golden and exact DB-enum subset test still described the pre-loop world. Review those six commands at their introducing commit, name STALE_PREVIEW in the intentional non-Job error set, and move the facade byte guard by the measured 403-byte mount-only integration while retaining the 1,200-line ownership boundary. This makes the contract gates judge the architecture that actually shipped rather than failing on stale controls.
1 parent 4406016 commit 54e2dc7

5 files changed

Lines changed: 191 additions & 185 deletions

File tree

‎backend/tests/test_envelope.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def test_db_enum_is_a_subset_of_the_error_vocabulary():
132132

133133
def test_the_reverse_does_not_hold_and_the_gap_is_exactly_named_codes():
134134
"""The direction that must NOT hold, asserted exactly — not 'at least
135-
these two', but EXACTLY these two, so that the day a THIRD code appears
135+
these codes', but EXACTLY these codes, so that the day another code appears
136136
in errors.json but not the enum, this test fails and someone has to look
137137
at it rather than let a silent third case join the two legitimate ones.
138138
@@ -146,7 +146,7 @@ def test_the_reverse_does_not_hold_and_the_gap_is_exactly_named_codes():
146146
assert only_in_vocabulary == {
147147
'BAD_HOST', 'OPEN_SHELL_SPIN_REQUIRED', 'NOT_FOUND', 'DB_UNAVAILABLE',
148148
'AUTH_REQUIRED', 'FORBIDDEN', 'RATE_LIMITED', 'QUOTA_EXCEEDED',
149-
'TLS_REQUIRED', 'IDEMPOTENCY_CONFLICT'}, (
149+
'TLS_REQUIRED', 'IDEMPOTENCY_CONFLICT', 'STALE_PREVIEW'}, (
150150
f'the errors.json-minus-enum set difference moved to '
151151
f'{sorted(only_in_vocabulary)} — re-read db_enum_note in errors.json '
152152
f'and update either the note, the enum, or this test, deliberately')

‎contracts/golden/public-registry-v2.json‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"schema_version": "1.0",
3-
"reviewed_repository_commit": "7a480bd8a8c8aa3d48837d5a50663a1140fdb41e",
3+
"reviewed_repository_commit": "2675f228f718f1a0f7c319c958e13c14d38d43c8",
44
"commands": [
5+
"ai.provider.list",
56
"attention.list",
67
"campaign.bayesian-rank",
78
"campaign.closed-loop.get",
@@ -78,6 +79,11 @@
7879
"program.work_package.record",
7980
"proposal.generate",
8081
"protocol.version.record",
82+
"research.loop.approve",
83+
"research.loop.control",
84+
"research.loop.create",
85+
"research.loop.get",
86+
"research.loop.reject",
8187
"result.ingest",
8288
"sample.create",
8389
"sample.transfer",

‎docs/architecture/dirac-digital-twin.html‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)