fix(docs): сохранить в Git CRLF-байты квитанций, закреплённых SHA-256

28 файлов закреплены хешами по CRLF-байтам рабочего дерева, а в индексе были LF-блобы.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
DenozordecandClaude Sonnet 5.5 committed 2026-11-15 20:53:14 +07:00
1 parent d644d0229b
commit 3c78c55c0d
29 files changed
+4794 -4764

No files matched your search

+30
View File
@@ -3,3 +3,33 @@ deploy/netflow-agent/*.py text eol=lf
# Migration hashes authenticate exact reviewed bytes, including existing CRLF files.
# Preserve those bytes on every checkout instead of applying core.autocrlf.
backend/drizzle/*.sql -text
# Receipts pinned by SHA-256 over their exact CRLF bytes; keep them byte-for-byte.
/docs/bandwidth-operator-effect-ledger.md -text
/docs/bandwidth-operator-metadata-effect-contract.md -text
/docs/mcp-2gb-operating-progress-20261028.json -text
/docs/mcp-chr-ospf-source-cleanup.json -text
/docs/mcp-chr-ssh-forwarding-policy-observation-v1.json -text
/docs/mcp-db-connected-publisher-source-applied-20261102.json -text
/docs/mcp-db-publisher-journal-lease-source-applied-20261102.json -text
/docs/mcp-db-registry-fusion-acceptance-20261101.json -text
/docs/mcp-db-registry-read-contract-acceptance-20261101.json -text
/docs/mcp-guarded-peer-sources-acceptance-20261029.json -text
/docs/mcp-ipsec-user-create-acceptance-v2.json -text
/docs/mcp-linux-inventory-collector-raw-acceptance-20261101.json -text
/docs/mcp-netflow-settings-acceptance-v2.json -text
/docs/mcp-node-key-effect-progress-20261029.json -text
/docs/mcp-operator-peer-metadata-managed-acceptance-20261028.json -text
/docs/mcp-operator-public-metadata-progress-20261028.json -text
/docs/mcp-portal-permission-catalog-source-applied-20261103.json -text
/docs/mcp-public-registry-metadata-acceptance-20261028.json -text
/docs/mcp-publisher-current-operator-linux-acceptance-20261103.json -text
/docs/mcp-routing-manual-inverse-charge-reproduction-20261101.json -text
/docs/mcp-routing-manual-inverse-charge-reproduction-20261101.md -text
/docs/mcp-routing-manual-inverse-six-case-acceptance-20261101.json -text
/docs/mcp-routing-manual-inverse-six-case-acceptance-20261101.md -text
/docs/mcp-routing44-upgrade-bridge-acceptance-20261101.json -text
/docs/mcp-server-poll-expiry-alignment-source-applied-20261102.json -text
/docs/mcp-two-chr-v40-execution-20261106.json -text
/docs/mcp-vrf-production-ticket-acceptance-v1.json -text
/docs/netflow-agent.md -text
+97 -97
View File
@@ -1,97 +1,97 @@
# Operator registry: concrete integration seam and effect ledger
Status: **DESIGN ONLY / UNIMPLEMENTED / UNACCEPTED**. Supplement to [the metadata/effect contract](bandwidth-operator-metadata-effect-contract.md). Counts describe the reviewed source graph, not accepted stand behavior. No backend window is justified by this document. The [public-bootstrap helpers now unit-accepted separately](mcp-operator-public-metadata-progress-20261028.json) are prerequisites, not a replacement for registry/source/ownership verification.
Implemented subset of the next API: [core/node public registry lease](bandwidth-public-registry-metadata.md), with only fixed `inspect` and `close`, has passed 19 new tests and 7 real owned PG groups. It checks the original joint catalog/role/source validators before taking the lock, and current public pins plus exact PID/lock around later checks. The generic `queryMetadata`/registry snapshot, private observation proof and effect dispatcher described below are still absent. Do not replace the existing strong operator `check()` with this public evidence alone.
Next implemented subset: [managed peer/coordinator metadata](bandwidth-peer-metadata.md) passed 29 new tests and 4 owned PG/localhost groups. The genuine retained observation/prerequisite and current signed grant are mandatory. Fixed managed SQL compares the private original endpoint/password inside PG and returns only boolean; no new credential projection, Q or native occurs in metadata. Current `servers.password` is text, not ciphertext; no unkeyed password hash is published. External provider is absent and refuses, so OP-M3 is still open. These PUBLIC wrappers are snapshots, not the private effect-authority continuation required below.
29 October: OP-M3 sources are now [accepted as guarded managed/external components](mcp-guarded-peer-sources-acceptance-20261029.json). The external source is a current encrypted profile with full-header AAD, ciphertext source proof and directory pins; the managed source uses gated fixed SQL. Both require a genuine original-window guard. A reproduced owner-during-Q gap was closed with the actual connector's continuous lifetime revocation propagated through core/node/window. 57 focused tests, 9 real owned PG/HTTP groups and 24 legacy PG groups passed, plus native/storage/build regression. The earlier managed-only paragraph above is historical. **OP-M4 remains open:** no private fixed registry effects or positive measured-latency full registration have been accepted.
## Actual call sites
`bandwidth-operator-writer-composition.ts` constructs one coordinator inside the held writer window. Its observation source wraps every `read` with `windows.verify`. Its registry adapter borrows the same already-open node session. `bandwidth-operator-registry.ts` defines `check()` as a complete `coordinator.inspect(prerequisite, scope)` and invokes it around opening, binding, queries and proofs. The managed/external registry adapters also use that check for their authorization/evidence callbacks. The equivalent combined `inspectAndAuthorize` path being implemented separately removes duplicate evidence/authority reads while preserving the strong predicate.
`coordinator.inspect` itself reads current signed operator files, runs full Q, calls `reader.inspect`, compares original evidence, re-reads the grant, runs full Q and re-reads the grant again. `reader.inspect` calls the credential-bearing source `read` and compares its full snapshot with the observation's private original snapshot. Thus this is the exact strong entrypoint a future metadata implementation must replace internally; merely replacing one window callback leaves the credential projection and secret-key source phases intact.
`windows.check` checks current original authority and external Q. `windows.verify` invokes it without nested session SQL. Window `io` checks around each borrowed operation. Configured-source dispatch separately validates source/catalog and raw physical ownership. `verifyOwnership` uses `fence.query(HELD_SQL)` on the same driver, checking both PID and session-exclusive registry lock. No future metadata frame may remove that check or execute it by recursively calling the source facade.
## Minimal next API, proposed rather than present
1. **Public files only:** core `inspectPublicNodeBootstrap(envelope, scope)` and node `inspectPublicBootstrap(scope)` supply immutable public signed bootstrap/source metadata. They must not read event/issuer secret keys, checkout a pool connection, calculate HMACs, assert SQL identity, or claim native/credential verification. They do not mint the genuine prerequisite capability or a strong source session.
2. **Same-lease public session:** a new separately reviewed configured-source `openMetadataWithOwnershipFence(scope, authorityGuard, ownershipGuard)` would open exactly one physical lease and return only `queryMetadata` and `bindingMetadata`. The core equivalent must run the existing joint identity pure validators on fresh fixed SQL rows using public signed expectations, with the existing before/after file and SQL-sequence discipline. It must read no secret key. Fixed metadata SQL and arguments are captured at construction; the consumer cannot provide SQL, rows, phase flags or callbacks claiming Q. The ownership guard remains raw same-lease SQL, runs before final public files and original authority, and requires the exact captured PID and lock. Old `open`/strong APIs remain unchanged.
3. **Observation metadata validation:** the observation reader needs a private method such as `inspectMetadata(observation, scope, metadataSource)`, accepting only its genuine retained observation. A captured trusted metadata source must freshly compare the exact original peer, enabled state, endpoint epoch, source/key generation/directory and all credential-ciphertext/version commitments without returning credentials. The original full snapshot must remain private. Public bootstrap files alone cannot establish current application endpoint or credential equality. Existing source roles must already permit the projection; otherwise use the existing app source separately, not new control-role privileges.
4. **Coordinator metadata frame:** `coordinator.inspectMetadata(prerequisite, scope)` consumes only the existing private prerequisite and invokes the public-file/session/observation metadata paths. It preserves original signed grant/evidence equality, original wall/monotonic expiry and signal. It produces immutable metadata/evidence/authority, explicitly excluding current-key, credential, native and Q assertions. An internal frame is valid only for one synchronous projection/equality operation, not across another await. No JSON origin or mutable model payload can mint it.
5. **Bridge integration:** replace the bridge's nested strong `check()` only on a newly private metadata path. The combined `inspectAndAuthorize` adapter consumes one such frame for both existing pure comparisons. Registry-owned query intent must be classified by fixed internal operations: public SQL/metadata, secret/HMAC, mutation and COMMIT. Arbitrary SQL string guessing or a public `metadataOnly` flag is insufficient. The old strong adapter remains the fallback. Effect dispatch must re-enter genuine strong authority/Q and exact current source checks before credentials, secret keys, native dispatch, mutation and COMMIT. Final confirmation still follows actual COMMIT ACK; otherwise UNKNOWN.
This is the minimum coherent integration, not a suggestion to ship five isolated helpers. In particular a public file helper cannot make today's `fresh()` safe under a metadata-only guard: `fresh()` executes strong `SELECT 1` and retains a freshly read issuer key for the immediate synchronous HMAC.
## Actual phases and counts for register
Managed and external `register` have the same phase structure; external alias/event use distinct MAC domains and v2 identity. The existing/new distinction below means an existing subject alias versus creating a new alias, including reuse of an already-known canonical node.
| Phase | New managed | Existing managed | New external | Existing external |
| --- | --- | --- | --- | --- |
| Native observation | one license GET | one license GET | one license GET | one license GET |
| Claim HMAC phase | one | one | one | one |
| Locked registry snapshot | one | one | one | one |
| Second HMAC phase | batch node/alias/event, three MACs | batch verification of snapshot MACs | batch node/external-alias/external-event, three MACs | batch verification of snapshot MACs |
| Mutating SQL before COMMIT | one fixed enrollment DO | zero | one fixed enrollment DO | zero |
| COMMIT | one | one | one | one |
The snapshot verification batch size depends on the bounded snapshot proof records; it is not necessarily three. The **two HMAC phases cannot simply become one**: the first claim proof is a bound parameter for the locked snapshot; its result determines whether to verify an existing alias or choose candidate/node/incarnation/event data for the second batch. One key buffer may not be carried across that awaited SQL to avoid a fresh key check.
Registry facade query counts are nine for new alias and eight for existing alias: BEGIN; SET configuration; initial authority SELECT; registry transaction lock; locked snapshot; optional DO; authority SELECT; COMMIT; post-COMMIT authority SELECT. The DO already batches node/alias/event writes; proposing generic write batching alone does not remove further statements on this path. It must still return actual command `DO` and retain all checks inside the fixed batch.
Outside these registry calls, the configured-session path adds at least seven strong facade phases: opening `fresh`, window binding, bridge binding, session lock acquire, PID read, claim-HMAC `fresh`, second-HMAC `fresh`. Total: **at least 16 strong query phases for new alias, 15 for existing alias**, excluding raw identity/ownership queries and application source reads. This count is not the number of scans; nested guards multiply each phase.
On the currently reviewed ordinary core connection, one driver query does core `checked` before/after plus node dispatch before/after. Each node dispatch reads two node file sets; each set verifies core material and reads the issuer key. This gives six event-key reads and four issuer-key reads per query. A joint registry core connection can remove the separate `checked` pairs but still has four event-key and four issuer-key reads. Initial source opening has additional material reads. These are real secret reads even when the visible query is `SELECT 1` or public metadata. Neither public helper alone removes them; a separate secret-free session mode is necessary.
## Eight-scan feasibility with mandatory before/after checks
Even after eliminating all accidental nested guards and all secret reads from public metadata, independent before/after Q at each meaningful effect gives this optimistic lower bound:
| Q boundary | New alias | Existing alias |
| --- | ---: | ---: |
| External acquisition | 1 | 1 |
| Credential projection, before/after | 2 | 2 |
| Native GET, before/after | 2 | 2 |
| Two key/HMAC phases, before/after each | 4 | 4 |
| Enrollment DO, before/after | 2 | 0 |
| COMMIT, before/after actual ACK | 2 | 2 |
| Final owner confirmation | 1 | 1 |
| **Optimistic total** | **14** | **12** |
This ignores extra key reads, separate mutation internals, opening effects and source checks; it is a lower bound under the stated independent-boundary contract. At 464.748 ms/scan, these bounds alone cost about 6506 and 5577 ms. **The eight-scan target cannot hold while retaining all those independent before/after full-Q boundaries.** Existing-alias enrollment also fails the target despite no DO.
An after-A scan can serve as before-B only if a private dispatcher proves exact adjacency with no intervening asynchronous metadata/file/SQL operation or authority handoff. Equal public results do not prove adjacency. Here claim-HMAC and the second MAC phase are separated by a real locked snapshot; native observation, metadata resolution and COMMIT also have intervening awaits. Do not subtract scans on paper without a concrete private dispatcher/sequence proof. A newly fixed larger SQL/key operation would need to demonstrate all original current-key/source checks without holding a key across awaited SQL; no such operation is currently implemented or accepted.
Therefore the next decision is explicit: either revise which metadata/effect boundaries require full Q, with a reviewed proof and tests, or accept that the five-second/full-Q contract is not achievable by these public helpers plus equivalent inspect/authorize collapse. No TTL renewal, stale Q cache, secret-read reordering, caller SQL, role broadening, second production pool/process or automatic replay is an admissible shortcut.
### Concrete overlap candidate, not accepted
The 14/12 bound counts independent checks. A private fixed dispatcher might share a single fresh scan as the post-A and pre-B check only when there is **no await or effect between that scan and B**, all B preparation has already completed, and A's result remains private until its post-check. This is a contract/proof obligation, not an optimization available to existing independent callbacks.
For example, management credential projection and the fixed license GET could be one private effect sequence: Q before projection; actual gated projection; Q both after projection and immediately before native dispatch; GET; Q after GET. That is three scans instead of four. The middle check must really be at `ClientRequest` dispatch; awaited import, address resolution, client preparation or TLS preparation after it prevents treating it as the final native boundary. Preserve the existing transport's final dispatch verifier.
The concrete adjacency candidate is **nine** scans for new alias: (1) acquisition; (2) before credentials; (3) after credentials/before native; (4) after native/before claim-key effect; (5) after claim-key effect; then the locked snapshot awaits, breaking sharing; (6) before second-key effect; (7) after second-key effect/before DO; (8) after DO/before COMMIT; (9) after genuine COMMIT ACK/final confirmation. Existing-alias omits DO and can combine second-key-after/COMMIT-before, giving eight. At the observed mean, nine scans cost 4182.732 ms, leaving only about 817 ms of the original window. This may still fail on the real round variance or public/SQL overhead; it is not accepted latency evidence.
An eight-slot new-alias chain would have to move claim-key's post-check across the awaited snapshot to share it with the second-key pre-check. That violates the stated immediate post-effect requirement, so it is **not an allowed overlap** in this proposal. All public preparation for a genuinely shareable next effect must finish before the shared scan, without secret/effect during preparation. In particular final public files, current authority and physical PID checks must precede Q9, followed by synchronous retirement/publication; another final async check after Q9 creates a tenth boundary rather than permitting a stale shared scan.
This ledger has unresolved hard requirements: key read and HMAC are separate asynchronous boundaries today, so a scan before the key read is not automatically a fresh pre-HMAC scan. Opening the strong source also reads keys. Those extra reads/checks must not be hidden in the nine/eight slots. A future fixed key effect would need to prove its exact key-read/HMAC ordering and current source checks without changing old strong APIs or carrying keys through the locked snapshot. Synchronous fixed-size secret reads or a different purpose-specific key operation are **not approved here** and need separate review for ordering, cancellation and I/O behavior. The two claim-dependent MAC phases remain separate. PostgreSQL cannot compute the application-key HMAC without granting the database a new secret capability, which is outside scope.
The feasible next implementation path is therefore: finish public-only prerequisites; implement the same-lease secret-free metadata path and private observation metadata proof; then review one closed, fixed enrollment effect dispatcher against this nine/eight-slot candidate **before** implementing effect fusion. It must demonstrate actual adjacency at transport/key/DO/COMMIT boundaries or reject the target. The new-alias path still misses the eight-scan static target and requires an explicit new decision, not hidden delayed post-checks. Reducing Docker query flags does not establish any of these proofs.
Moving observation or MAC preparation before the window is not a lifetime solution. The coordinator fixes its five-second monotonic budget before its first grant read; retained observation expiry and the writer's original end clip all later scopes. Performing work earlier consumes that same original budget, does not renew it, and cannot project credentials outside the required held-Q/physical-owner conditions. The claim MAC additionally depends on the actual observation, and its second phase on the locked registry snapshot.
## Review/acceptance gates
For the public helpers, reject any return field or comment claiming SQL identity, key-current status, held physical ownership or native verification. Reject secret-file reads, `connector`/pool access, HMAC production, or using the returned public object to mint a strong session. Preserve captured scope, original expiration and signed source pin; rotation during public-file I/O must refuse inconsistent results.
For future integration require forwarding actual SQL/HTTP observers, zero credential projection in metadata frames, exact source/grant/endpoint rotation negatives, raw owner loss, fake/copied frame refusal, late Q cancellation and COMMIT lost-ACK/post-ACK UNKNOWN. Count actual scans and secret reads with the measured latency fixture before any separately authorized stand attempt. No filesystem-based substitute for Docker Q is part of this design.
29 October key-effect prerequisite: the [fixed local key/MAC primitive](bandwidth-node-key-effect.md) has passed local unit tests and regression checks. It reads exactly 32 bytes and computes the fixed proof batch without await, pins actor/owner signals and wall/monotonic expiry, and wipes scratch keys before close. It is not connected to a dispatcher, does not prove current public source/Q/authority, and does not change the old strong API guard ordering or scan count. Synchronous OS latency is not bounded by cancellation. This resolves only the implementation of a candidate primitive; the closed effect adjacency, same-owner pipeline, latency and stand acceptance above remain open.
# Operator registry: concrete integration seam and effect ledger
Status: **DESIGN ONLY / UNIMPLEMENTED / UNACCEPTED**. Supplement to [the metadata/effect contract](bandwidth-operator-metadata-effect-contract.md). Counts describe the reviewed source graph, not accepted stand behavior. No backend window is justified by this document. The [public-bootstrap helpers now unit-accepted separately](mcp-operator-public-metadata-progress-20261028.json) are prerequisites, not a replacement for registry/source/ownership verification.
Implemented subset of the next API: [core/node public registry lease](bandwidth-public-registry-metadata.md), with only fixed `inspect` and `close`, has passed 19 new tests and 7 real owned PG groups. It checks the original joint catalog/role/source validators before taking the lock, and current public pins plus exact PID/lock around later checks. The generic `queryMetadata`/registry snapshot, private observation proof and effect dispatcher described below are still absent. Do not replace the existing strong operator `check()` with this public evidence alone.
Next implemented subset: [managed peer/coordinator metadata](bandwidth-peer-metadata.md) passed 29 new tests and 4 owned PG/localhost groups. The genuine retained observation/prerequisite and current signed grant are mandatory. Fixed managed SQL compares the private original endpoint/password inside PG and returns only boolean; no new credential projection, Q or native occurs in metadata. Current `servers.password` is text, not ciphertext; no unkeyed password hash is published. External provider is absent and refuses, so OP-M3 is still open. These PUBLIC wrappers are snapshots, not the private effect-authority continuation required below.
29 October: OP-M3 sources are now [accepted as guarded managed/external components](mcp-guarded-peer-sources-acceptance-20261029.json). The external source is a current encrypted profile with full-header AAD, ciphertext source proof and directory pins; the managed source uses gated fixed SQL. Both require a genuine original-window guard. A reproduced owner-during-Q gap was closed with the actual connector's continuous lifetime revocation propagated through core/node/window. 57 focused tests, 9 real owned PG/HTTP groups and 24 legacy PG groups passed, plus native/storage/build regression. The earlier managed-only paragraph above is historical. **OP-M4 remains open:** no private fixed registry effects or positive measured-latency full registration have been accepted.
## Actual call sites
`bandwidth-operator-writer-composition.ts` constructs one coordinator inside the held writer window. Its observation source wraps every `read` with `windows.verify`. Its registry adapter borrows the same already-open node session. `bandwidth-operator-registry.ts` defines `check()` as a complete `coordinator.inspect(prerequisite, scope)` and invokes it around opening, binding, queries and proofs. The managed/external registry adapters also use that check for their authorization/evidence callbacks. The equivalent combined `inspectAndAuthorize` path being implemented separately removes duplicate evidence/authority reads while preserving the strong predicate.
`coordinator.inspect` itself reads current signed operator files, runs full Q, calls `reader.inspect`, compares original evidence, re-reads the grant, runs full Q and re-reads the grant again. `reader.inspect` calls the credential-bearing source `read` and compares its full snapshot with the observation's private original snapshot. Thus this is the exact strong entrypoint a future metadata implementation must replace internally; merely replacing one window callback leaves the credential projection and secret-key source phases intact.
`windows.check` checks current original authority and external Q. `windows.verify` invokes it without nested session SQL. Window `io` checks around each borrowed operation. Configured-source dispatch separately validates source/catalog and raw physical ownership. `verifyOwnership` uses `fence.query(HELD_SQL)` on the same driver, checking both PID and session-exclusive registry lock. No future metadata frame may remove that check or execute it by recursively calling the source facade.
## Minimal next API, proposed rather than present
1. **Public files only:** core `inspectPublicNodeBootstrap(envelope, scope)` and node `inspectPublicBootstrap(scope)` supply immutable public signed bootstrap/source metadata. They must not read event/issuer secret keys, checkout a pool connection, calculate HMACs, assert SQL identity, or claim native/credential verification. They do not mint the genuine prerequisite capability or a strong source session.
2. **Same-lease public session:** a new separately reviewed configured-source `openMetadataWithOwnershipFence(scope, authorityGuard, ownershipGuard)` would open exactly one physical lease and return only `queryMetadata` and `bindingMetadata`. The core equivalent must run the existing joint identity pure validators on fresh fixed SQL rows using public signed expectations, with the existing before/after file and SQL-sequence discipline. It must read no secret key. Fixed metadata SQL and arguments are captured at construction; the consumer cannot provide SQL, rows, phase flags or callbacks claiming Q. The ownership guard remains raw same-lease SQL, runs before final public files and original authority, and requires the exact captured PID and lock. Old `open`/strong APIs remain unchanged.
3. **Observation metadata validation:** the observation reader needs a private method such as `inspectMetadata(observation, scope, metadataSource)`, accepting only its genuine retained observation. A captured trusted metadata source must freshly compare the exact original peer, enabled state, endpoint epoch, source/key generation/directory and all credential-ciphertext/version commitments without returning credentials. The original full snapshot must remain private. Public bootstrap files alone cannot establish current application endpoint or credential equality. Existing source roles must already permit the projection; otherwise use the existing app source separately, not new control-role privileges.
4. **Coordinator metadata frame:** `coordinator.inspectMetadata(prerequisite, scope)` consumes only the existing private prerequisite and invokes the public-file/session/observation metadata paths. It preserves original signed grant/evidence equality, original wall/monotonic expiry and signal. It produces immutable metadata/evidence/authority, explicitly excluding current-key, credential, native and Q assertions. An internal frame is valid only for one synchronous projection/equality operation, not across another await. No JSON origin or mutable model payload can mint it.
5. **Bridge integration:** replace the bridge's nested strong `check()` only on a newly private metadata path. The combined `inspectAndAuthorize` adapter consumes one such frame for both existing pure comparisons. Registry-owned query intent must be classified by fixed internal operations: public SQL/metadata, secret/HMAC, mutation and COMMIT. Arbitrary SQL string guessing or a public `metadataOnly` flag is insufficient. The old strong adapter remains the fallback. Effect dispatch must re-enter genuine strong authority/Q and exact current source checks before credentials, secret keys, native dispatch, mutation and COMMIT. Final confirmation still follows actual COMMIT ACK; otherwise UNKNOWN.
This is the minimum coherent integration, not a suggestion to ship five isolated helpers. In particular a public file helper cannot make today's `fresh()` safe under a metadata-only guard: `fresh()` executes strong `SELECT 1` and retains a freshly read issuer key for the immediate synchronous HMAC.
## Actual phases and counts for register
Managed and external `register` have the same phase structure; external alias/event use distinct MAC domains and v2 identity. The existing/new distinction below means an existing subject alias versus creating a new alias, including reuse of an already-known canonical node.
| Phase | New managed | Existing managed | New external | Existing external |
| --- | --- | --- | --- | --- |
| Native observation | one license GET | one license GET | one license GET | one license GET |
| Claim HMAC phase | one | one | one | one |
| Locked registry snapshot | one | one | one | one |
| Second HMAC phase | batch node/alias/event, three MACs | batch verification of snapshot MACs | batch node/external-alias/external-event, three MACs | batch verification of snapshot MACs |
| Mutating SQL before COMMIT | one fixed enrollment DO | zero | one fixed enrollment DO | zero |
| COMMIT | one | one | one | one |
The snapshot verification batch size depends on the bounded snapshot proof records; it is not necessarily three. The **two HMAC phases cannot simply become one**: the first claim proof is a bound parameter for the locked snapshot; its result determines whether to verify an existing alias or choose candidate/node/incarnation/event data for the second batch. One key buffer may not be carried across that awaited SQL to avoid a fresh key check.
Registry facade query counts are nine for new alias and eight for existing alias: BEGIN; SET configuration; initial authority SELECT; registry transaction lock; locked snapshot; optional DO; authority SELECT; COMMIT; post-COMMIT authority SELECT. The DO already batches node/alias/event writes; proposing generic write batching alone does not remove further statements on this path. It must still return actual command `DO` and retain all checks inside the fixed batch.
Outside these registry calls, the configured-session path adds at least seven strong facade phases: opening `fresh`, window binding, bridge binding, session lock acquire, PID read, claim-HMAC `fresh`, second-HMAC `fresh`. Total: **at least 16 strong query phases for new alias, 15 for existing alias**, excluding raw identity/ownership queries and application source reads. This count is not the number of scans; nested guards multiply each phase.
On the currently reviewed ordinary core connection, one driver query does core `checked` before/after plus node dispatch before/after. Each node dispatch reads two node file sets; each set verifies core material and reads the issuer key. This gives six event-key reads and four issuer-key reads per query. A joint registry core connection can remove the separate `checked` pairs but still has four event-key and four issuer-key reads. Initial source opening has additional material reads. These are real secret reads even when the visible query is `SELECT 1` or public metadata. Neither public helper alone removes them; a separate secret-free session mode is necessary.
## Eight-scan feasibility with mandatory before/after checks
Even after eliminating all accidental nested guards and all secret reads from public metadata, independent before/after Q at each meaningful effect gives this optimistic lower bound:
| Q boundary | New alias | Existing alias |
| --- | ---: | ---: |
| External acquisition | 1 | 1 |
| Credential projection, before/after | 2 | 2 |
| Native GET, before/after | 2 | 2 |
| Two key/HMAC phases, before/after each | 4 | 4 |
| Enrollment DO, before/after | 2 | 0 |
| COMMIT, before/after actual ACK | 2 | 2 |
| Final owner confirmation | 1 | 1 |
| **Optimistic total** | **14** | **12** |
This ignores extra key reads, separate mutation internals, opening effects and source checks; it is a lower bound under the stated independent-boundary contract. At 464.748 ms/scan, these bounds alone cost about 6506 and 5577 ms. **The eight-scan target cannot hold while retaining all those independent before/after full-Q boundaries.** Existing-alias enrollment also fails the target despite no DO.
An after-A scan can serve as before-B only if a private dispatcher proves exact adjacency with no intervening asynchronous metadata/file/SQL operation or authority handoff. Equal public results do not prove adjacency. Here claim-HMAC and the second MAC phase are separated by a real locked snapshot; native observation, metadata resolution and COMMIT also have intervening awaits. Do not subtract scans on paper without a concrete private dispatcher/sequence proof. A newly fixed larger SQL/key operation would need to demonstrate all original current-key/source checks without holding a key across awaited SQL; no such operation is currently implemented or accepted.
Therefore the next decision is explicit: either revise which metadata/effect boundaries require full Q, with a reviewed proof and tests, or accept that the five-second/full-Q contract is not achievable by these public helpers plus equivalent inspect/authorize collapse. No TTL renewal, stale Q cache, secret-read reordering, caller SQL, role broadening, second production pool/process or automatic replay is an admissible shortcut.
### Concrete overlap candidate, not accepted
The 14/12 bound counts independent checks. A private fixed dispatcher might share a single fresh scan as the post-A and pre-B check only when there is **no await or effect between that scan and B**, all B preparation has already completed, and A's result remains private until its post-check. This is a contract/proof obligation, not an optimization available to existing independent callbacks.
For example, management credential projection and the fixed license GET could be one private effect sequence: Q before projection; actual gated projection; Q both after projection and immediately before native dispatch; GET; Q after GET. That is three scans instead of four. The middle check must really be at `ClientRequest` dispatch; awaited import, address resolution, client preparation or TLS preparation after it prevents treating it as the final native boundary. Preserve the existing transport's final dispatch verifier.
The concrete adjacency candidate is **nine** scans for new alias: (1) acquisition; (2) before credentials; (3) after credentials/before native; (4) after native/before claim-key effect; (5) after claim-key effect; then the locked snapshot awaits, breaking sharing; (6) before second-key effect; (7) after second-key effect/before DO; (8) after DO/before COMMIT; (9) after genuine COMMIT ACK/final confirmation. Existing-alias omits DO and can combine second-key-after/COMMIT-before, giving eight. At the observed mean, nine scans cost 4182.732 ms, leaving only about 817 ms of the original window. This may still fail on the real round variance or public/SQL overhead; it is not accepted latency evidence.
An eight-slot new-alias chain would have to move claim-key's post-check across the awaited snapshot to share it with the second-key pre-check. That violates the stated immediate post-effect requirement, so it is **not an allowed overlap** in this proposal. All public preparation for a genuinely shareable next effect must finish before the shared scan, without secret/effect during preparation. In particular final public files, current authority and physical PID checks must precede Q9, followed by synchronous retirement/publication; another final async check after Q9 creates a tenth boundary rather than permitting a stale shared scan.
This ledger has unresolved hard requirements: key read and HMAC are separate asynchronous boundaries today, so a scan before the key read is not automatically a fresh pre-HMAC scan. Opening the strong source also reads keys. Those extra reads/checks must not be hidden in the nine/eight slots. A future fixed key effect would need to prove its exact key-read/HMAC ordering and current source checks without changing old strong APIs or carrying keys through the locked snapshot. Synchronous fixed-size secret reads or a different purpose-specific key operation are **not approved here** and need separate review for ordering, cancellation and I/O behavior. The two claim-dependent MAC phases remain separate. PostgreSQL cannot compute the application-key HMAC without granting the database a new secret capability, which is outside scope.
The feasible next implementation path is therefore: finish public-only prerequisites; implement the same-lease secret-free metadata path and private observation metadata proof; then review one closed, fixed enrollment effect dispatcher against this nine/eight-slot candidate **before** implementing effect fusion. It must demonstrate actual adjacency at transport/key/DO/COMMIT boundaries or reject the target. The new-alias path still misses the eight-scan static target and requires an explicit new decision, not hidden delayed post-checks. Reducing Docker query flags does not establish any of these proofs.
Moving observation or MAC preparation before the window is not a lifetime solution. The coordinator fixes its five-second monotonic budget before its first grant read; retained observation expiry and the writer's original end clip all later scopes. Performing work earlier consumes that same original budget, does not renew it, and cannot project credentials outside the required held-Q/physical-owner conditions. The claim MAC additionally depends on the actual observation, and its second phase on the locked registry snapshot.
## Review/acceptance gates
For the public helpers, reject any return field or comment claiming SQL identity, key-current status, held physical ownership or native verification. Reject secret-file reads, `connector`/pool access, HMAC production, or using the returned public object to mint a strong session. Preserve captured scope, original expiration and signed source pin; rotation during public-file I/O must refuse inconsistent results.
For future integration require forwarding actual SQL/HTTP observers, zero credential projection in metadata frames, exact source/grant/endpoint rotation negatives, raw owner loss, fake/copied frame refusal, late Q cancellation and COMMIT lost-ACK/post-ACK UNKNOWN. Count actual scans and secret reads with the measured latency fixture before any separately authorized stand attempt. No filesystem-based substitute for Docker Q is part of this design.
29 October key-effect prerequisite: the [fixed local key/MAC primitive](bandwidth-node-key-effect.md) has passed local unit tests and regression checks. It reads exactly 32 bytes and computes the fixed proof batch without await, pins actor/owner signals and wall/monotonic expiry, and wipes scratch keys before close. It is not connected to a dispatcher, does not prove current public source/Q/authority, and does not change the old strong API guard ordering or scan count. Synchronous OS latency is not bounded by cancellation. This resolves only the implementation of a candidate primitive; the closed effect adjacency, same-owner pipeline, latency and stand acceptance above remain open.
@@ -1,87 +1,87 @@
# Operator enrollment: metadata/effect contract proposal
Status: **UNIMPLEMENTED / UNACCEPTED**. This is a proposed contract revision, not an equivalent optimization of the current contract. It does not close S3-06 or authorize a stand stop, remote upload, production activation, or replay. The existing strong source/coordinator APIs remain unchanged. An independent equivalent `inspect`/`authorize` collapse is useful, but does not implement this proposal.
Implementation note: separate public-file prerequisites are implemented in the core/node source and [unit-accepted with 17 tests](mcp-operator-public-metadata-progress-20261028.json). They authenticate signed public data only; they do not implement the same-lease metadata session, observation metadata proof or effect dispatcher below. The [concrete effect ledger](bandwidth-operator-effect-ledger.md) supersedes the optimistic eight-scan arithmetic as a feasibility claim: independent boundaries need at least 14/12 scans, while a separately proven fixed continuation could potentially share adjacent boundaries to reach 9/8. Neither candidate has been accepted. The original five-second deadline remains fixed.
Next implemented prerequisite: a [fixed public registry metadata lease](bandwidth-public-registry-metadata.md) has passed 19 new unit tests and [7 actual owned PostgreSQL groups](mcp-public-registry-metadata-acceptance-20261028.json). It exposes only `inspect`/`close`, reuses the existing pool, validates current role/catalog/source and holds the exact PID/session lock without secret reads. It does not expose registry snapshot queries or effect dispatch, and is not wired into the operator window. The observation metadata and complete private effect composition below remain unimplemented.
Further implemented subset: [managed observation/coordinator metadata](bandwidth-peer-metadata.md), 29 new tests and [4 actual PG/localhost groups](mcp-operator-peer-metadata-managed-acceptance-20261028.json). The checker uses the existing application pool and compares the original private credential as a bound predicate, returning only boolean. The application currently stores server passwords as text; a nonexistent ciphertext field must not be assumed. The new PUBLIC wrappers cannot authorize an effect. External current-source metadata and the complete effect continuation remain open; OP-M3 is not closed by managed-only acceptance.
29 October update: [guarded managed and encrypted external sources](bandwidth-operator-peer-sources.md) now complete OP-M3 as a component (57 focused tests, 9 owned SQL/HTTP groups, 24 legacy SQL groups). The genuine guard binds current original authority and live physical-owner revocation; metadata still has no key/Q/native/write permission. The new external source proves the current randomized ciphertext profile and directory without decrypting it. Prior paragraphs describe earlier partial snapshots. The complete fixed effect dispatcher and measured-latency/real-window acceptance remain unimplemented/unaccepted; the five-second limit and remaining stand grant are unchanged.
## Evidence and feasibility bound
The read-only fixture `tmp/mcp-docker-latency-readonly-20261028.json` records 36 Docker GETs, zero service changes and four pinned containers still running. Three measured rounds took 563.080, 403.823 and 416.961 ms. Mean endpoint costs were `/info` 25.323 ms, full `/containers/json?all=1&size=0` inventory 197.916 ms and individual inspect 1.827 ms. The estimated complete five-container, 14-GET scan is **464.748 ms**. This estimate includes the unrelated owned PostgreSQL container in the complete inventory; it is not evidence from a stopped operator window.
The local genuine-SQL/mock-Docker profile took 4703 ms while making 4312 Docker GETs (308 complete 14-GET scans), 83 credential-source reads and one native license GET. The external fixture made Docker artificially cheap. At the stand estimate, 308 scans alone cost about 143.1 seconds. Passing that local profile cannot establish the unchanged five-second window on the stand.
The static design target is **at most eight complete scans per enrollment**, including acquisition and final confirmation: 8 × 464.748 = 3717.984 ms, leaving about 1282 ms for SQL, files, HTTP and processing. This is a target, not a latency guarantee: the observed slow round and variance require an actual bounded latency fixture. No TTL increase is proposed. Nine or more mandatory scans fail the static review target before any backend window is spent.
## Why the current graph multiplies work
The registry guard separately inspects the observation and authorizes the original operator. Both adapters call `coordinator.inspect`. That method calls `reader.inspect`, which calls the full credential-bearing `source.read`; composition performs another `windows.verify` immediately before it. The bridge checks around every query and keyed proof, the writer window checks around borrowed I/O, and configured source dispatch fences check original authority again. Each full window check runs the complete Docker scan. These are nested semantic checks, not independent HTTP effects.
A single raw PostgreSQL ownership/catalog query cannot prove external quiescence. The same backend PID and exclusive registry lock can remain present while a Docker backend restarts, a sibling executor appears, or an external controller becomes active. No SQL boolean, previous Docker result, signed operator JSON or empty occupancy result may replace current Q.
## Proposed separation
### Public metadata frame
Introduce a separate, server-owned metadata operation. Its concrete API should be an opaque frame, for example `inspectEnrollmentMetadata(prerequisite, scope)`, consumed by a combined registry `inspectAndAuthorize` adapter. Only the genuine existing prerequisite private capability can enter it. A copied/serialized prerequisite, public evidence JSON or caller-supplied validator cannot mint a frame.
Each invocation must freshly validate the original signed grant, original wall/monotonic lifetime and signal; exact peer/source directory/generation; public signed bootstrap/source identity; current endpoint enabled state, endpoint epoch and exact credential-ciphertext/version digest; and current registry identity/physical ownership where applicable. A frame returns only immutable evidence and authority metadata, bound to its original capability and current synchronous consumption. It grants no right to retrieve credentials, open a native client, read a secret key, calculate an HMAC or mutate SQL. It must not expose an endpoint/password projection.
**A public frame cannot claim `keyCurrent`, `credentialsVerified`, `nativeVerified` or current external Q.** In particular, public signed key hashes do not prove that a current secret file has been read. The frame is not reusable after another await, SQL dispatch or frame exit; it is not a cached source result or a renewable authority token.
The new metadata source mode must be genuinely secret-free. Calling today's `material()`/`fresh()` paths under a weaker Q guard is forbidden: those paths read secret event/node keys even for some metadata SQL. A distinct fixed metadata implementation must read only public material and execute fixed metadata projections. Existing strong `open`, `binding`, `keyedProof`, observation and dispatch APIs retain their current behavior and secret-read ordering. Any new effect API requires separate review and tests.
Metadata SQL may combine already authorized facts in one fixed statement on the existing physical lease. It must retain all old pure validators and exact owner/PID/catalog/source checks. Application facts may join that statement only when the existing role already has the necessary SELECT permissions. Otherwise use the existing application source separately. No new role privilege, nested control checkout, dynamic SQL, caller SQL, caller rows or callback asserting authority is allowed.
### Effect frame
Only a private server-owned effect dispatcher chooses effect kinds; the caller cannot pass a `metadataOnly`, `afterDispatch` or `qVerified` boolean. It binds the exact original capability, expected metadata, physical owner, input and original lifetime. Each effect frame obtains a **new complete Q scan**, validates actual current authority/source/endpoint/ownership, performs its fixed effect, and preserves the existing checks around asynchronous boundaries. A failed/late Q must occur before the effect's dispatch.
Full Q is mandatory before:
- Every actual management-credential projection.
- Every native license HTTP dispatch.
- Every secret-key read and HMAC-producing operation. Adjacent pure synchronous MAC calculations may share one freshly checked key only within a reviewed fixed batch; no key/result retained across an await or subsequent frame.
- Every SQL mutation, including any newly introduced state-changing statement.
- COMMIT, followed by a fresh complete Q after its actual ACK.
- Final owner confirmation before publishing the receipt and retiring the physical lease.
Acquisition also performs its full existing inventory scan. If post-ACK confirmation and final confirmation are combined, that requires one private terminal frame with no intervening await/effect; it cannot be inferred from two equal public objects. This proposal budgets them separately until that proof exists.
Q/current-source races must remain bounded by the same before/after discipline as today. This contract does not claim that several sequential Docker GETs are an atomic daemon snapshot or prevent a privileged outside actor from racing the scan. The signed complete-inventory/no-outside-controller assertion remains a prerequisite with its existing scope limitations.
## Static budget and required batching
Let C be credential projection frames, N native dispatch frames, K independently guarded secret-read/HMAC batches and W state-changing SQL statements before COMMIT. With acquisition, COMMIT, post-ACK and final confirmation counted separately:
`complete scans >= 4 + C + N + K + W`.
The optimistic eight-scan shape therefore needs C=N=K=W=1. **The current implementation has not established this shape.** Initial source opening, later node/event-key reads, before/after key checks, independent MAC calls or multiple SQL writes can make K or W larger. Each required scan must be counted; no phase may hide additional key reads, “verification” scans or mutations outside the budget. Required post-effect Q adds to the formula unless legitimately identical to another reviewed boundary.
The metadata split alone is insufficient. A candidate must additionally show a fixed registry write batch (one atomic statement for the enrollment node/alias/event writes, preserving exact command/row acknowledgments and all MAC domains) and a fixed key/MAC batch, with no secret reads moved across the existing public-read or asynchronous verifier boundaries. If those constraints cannot produce at most eight scans, this revision does not fit the window. The alternative is a genuinely continuously enforced external stop/restart prohibition with a cheap current proof, separately designed and accepted; a previously observed Docker scan is not that capability.
Before using the stand, produce a machine-counted effect ledger for both managed and external enrollment, existing/new canonical node paths, failure cleanup and post-COMMIT paths. The ledger must count actual scans, credential projections, secret reads, HMAC batches, native dispatches, SQL mutations and COMMITs. A fixed latency fixture must add the measured endpoint timings to each actual Docker GET and enforce the original five-second monotonic deadline. Mock-Docker zero-latency timing is inadequate. No new production pool/process or privilege is permitted; the whole-installation <=2 GB constraint remains.
## Required counterexamples and outcome rules
| Change/race | Required refusal or outcome |
| --- | --- |
| Q scan finishes after deadline or cancellation | No subsequent credential/key/native/SQL effect; late results do not publish authority or renew the original lifetime. |
| Backend starts, restart policy changes, or an executor/controller appears after metadata | Next effect's fresh full Q refuses before its dispatch; unchanged PG locks do not rescue it. |
| Secret key rotates after public metadata | Fresh full material validation before key use refuses the old pin; metadata never claims a current key. Same-byte source-directory cloning does not change the pinned source. |
| Grant revoked/changed during metadata or effect preparation | Final current original-authority check refuses before the effect; copied grant fields cannot renew original expiry. |
| Endpoint/credential ciphertext/epoch changes between metadata and projection | Exact original metadata predicate in the credential command projects zero payload; no GET and no fallback endpoint. |
| Physical PID/registry ownership is lost after metadata | Raw same-lease ownership fence refuses before effect dispatch and destroys the lease; no healthy pool return. |
| Mutation ACK is lost or malformed | No fabricated success, no second mutation/native attempt, no automatic replay; reconcile the original uncertain operation. |
| COMMIT is sent but ACK is lost | UNKNOWN, even if a later read appears committed; no automatic replay with a new alias/node. |
| COMMIT ACK is genuine, then Q/grant/source/final ownership fails | UNKNOWN, preserving durable state for reconciliation; do not roll back the acknowledged fact or publish readiness. |
| Frame/capability copied, retained across await or used with another peer/window | Refuse without credentials or effect dispatch. |
Acceptance needs actual owned SQL and localhost HTTP effects with forwarding observers, plus the latency fixture, before any separately authorized stand attempt. Neither the metadata proposal nor the independent equivalent guard collapse is evidence of deployed external enforcement or completion of the operator stage.
29 October key-effect prerequisite: the [fixed local key/MAC primitive](bandwidth-node-key-effect.md) has passed local unit tests and regression checks. It reads exactly 32 bytes and computes the fixed proof batch without await, pins actor/owner signals and wall/monotonic expiry, and wipes scratch keys before close. It is not connected to a dispatcher, does not prove current public source/Q/authority, and does not change the old strong API guard ordering or scan count. Synchronous OS latency is not bounded by cancellation. This resolves only the implementation of a candidate primitive; the closed effect adjacency, same-owner pipeline, latency and stand acceptance above remain open.
# Operator enrollment: metadata/effect contract proposal
Status: **UNIMPLEMENTED / UNACCEPTED**. This is a proposed contract revision, not an equivalent optimization of the current contract. It does not close S3-06 or authorize a stand stop, remote upload, production activation, or replay. The existing strong source/coordinator APIs remain unchanged. An independent equivalent `inspect`/`authorize` collapse is useful, but does not implement this proposal.
Implementation note: separate public-file prerequisites are implemented in the core/node source and [unit-accepted with 17 tests](mcp-operator-public-metadata-progress-20261028.json). They authenticate signed public data only; they do not implement the same-lease metadata session, observation metadata proof or effect dispatcher below. The [concrete effect ledger](bandwidth-operator-effect-ledger.md) supersedes the optimistic eight-scan arithmetic as a feasibility claim: independent boundaries need at least 14/12 scans, while a separately proven fixed continuation could potentially share adjacent boundaries to reach 9/8. Neither candidate has been accepted. The original five-second deadline remains fixed.
Next implemented prerequisite: a [fixed public registry metadata lease](bandwidth-public-registry-metadata.md) has passed 19 new unit tests and [7 actual owned PostgreSQL groups](mcp-public-registry-metadata-acceptance-20261028.json). It exposes only `inspect`/`close`, reuses the existing pool, validates current role/catalog/source and holds the exact PID/session lock without secret reads. It does not expose registry snapshot queries or effect dispatch, and is not wired into the operator window. The observation metadata and complete private effect composition below remain unimplemented.
Further implemented subset: [managed observation/coordinator metadata](bandwidth-peer-metadata.md), 29 new tests and [4 actual PG/localhost groups](mcp-operator-peer-metadata-managed-acceptance-20261028.json). The checker uses the existing application pool and compares the original private credential as a bound predicate, returning only boolean. The application currently stores server passwords as text; a nonexistent ciphertext field must not be assumed. The new PUBLIC wrappers cannot authorize an effect. External current-source metadata and the complete effect continuation remain open; OP-M3 is not closed by managed-only acceptance.
29 October update: [guarded managed and encrypted external sources](bandwidth-operator-peer-sources.md) now complete OP-M3 as a component (57 focused tests, 9 owned SQL/HTTP groups, 24 legacy SQL groups). The genuine guard binds current original authority and live physical-owner revocation; metadata still has no key/Q/native/write permission. The new external source proves the current randomized ciphertext profile and directory without decrypting it. Prior paragraphs describe earlier partial snapshots. The complete fixed effect dispatcher and measured-latency/real-window acceptance remain unimplemented/unaccepted; the five-second limit and remaining stand grant are unchanged.
## Evidence and feasibility bound
The read-only fixture `tmp/mcp-docker-latency-readonly-20261028.json` records 36 Docker GETs, zero service changes and four pinned containers still running. Three measured rounds took 563.080, 403.823 and 416.961 ms. Mean endpoint costs were `/info` 25.323 ms, full `/containers/json?all=1&size=0` inventory 197.916 ms and individual inspect 1.827 ms. The estimated complete five-container, 14-GET scan is **464.748 ms**. This estimate includes the unrelated owned PostgreSQL container in the complete inventory; it is not evidence from a stopped operator window.
The local genuine-SQL/mock-Docker profile took 4703 ms while making 4312 Docker GETs (308 complete 14-GET scans), 83 credential-source reads and one native license GET. The external fixture made Docker artificially cheap. At the stand estimate, 308 scans alone cost about 143.1 seconds. Passing that local profile cannot establish the unchanged five-second window on the stand.
The static design target is **at most eight complete scans per enrollment**, including acquisition and final confirmation: 8 × 464.748 = 3717.984 ms, leaving about 1282 ms for SQL, files, HTTP and processing. This is a target, not a latency guarantee: the observed slow round and variance require an actual bounded latency fixture. No TTL increase is proposed. Nine or more mandatory scans fail the static review target before any backend window is spent.
## Why the current graph multiplies work
The registry guard separately inspects the observation and authorizes the original operator. Both adapters call `coordinator.inspect`. That method calls `reader.inspect`, which calls the full credential-bearing `source.read`; composition performs another `windows.verify` immediately before it. The bridge checks around every query and keyed proof, the writer window checks around borrowed I/O, and configured source dispatch fences check original authority again. Each full window check runs the complete Docker scan. These are nested semantic checks, not independent HTTP effects.
A single raw PostgreSQL ownership/catalog query cannot prove external quiescence. The same backend PID and exclusive registry lock can remain present while a Docker backend restarts, a sibling executor appears, or an external controller becomes active. No SQL boolean, previous Docker result, signed operator JSON or empty occupancy result may replace current Q.
## Proposed separation
### Public metadata frame
Introduce a separate, server-owned metadata operation. Its concrete API should be an opaque frame, for example `inspectEnrollmentMetadata(prerequisite, scope)`, consumed by a combined registry `inspectAndAuthorize` adapter. Only the genuine existing prerequisite private capability can enter it. A copied/serialized prerequisite, public evidence JSON or caller-supplied validator cannot mint a frame.
Each invocation must freshly validate the original signed grant, original wall/monotonic lifetime and signal; exact peer/source directory/generation; public signed bootstrap/source identity; current endpoint enabled state, endpoint epoch and exact credential-ciphertext/version digest; and current registry identity/physical ownership where applicable. A frame returns only immutable evidence and authority metadata, bound to its original capability and current synchronous consumption. It grants no right to retrieve credentials, open a native client, read a secret key, calculate an HMAC or mutate SQL. It must not expose an endpoint/password projection.
**A public frame cannot claim `keyCurrent`, `credentialsVerified`, `nativeVerified` or current external Q.** In particular, public signed key hashes do not prove that a current secret file has been read. The frame is not reusable after another await, SQL dispatch or frame exit; it is not a cached source result or a renewable authority token.
The new metadata source mode must be genuinely secret-free. Calling today's `material()`/`fresh()` paths under a weaker Q guard is forbidden: those paths read secret event/node keys even for some metadata SQL. A distinct fixed metadata implementation must read only public material and execute fixed metadata projections. Existing strong `open`, `binding`, `keyedProof`, observation and dispatch APIs retain their current behavior and secret-read ordering. Any new effect API requires separate review and tests.
Metadata SQL may combine already authorized facts in one fixed statement on the existing physical lease. It must retain all old pure validators and exact owner/PID/catalog/source checks. Application facts may join that statement only when the existing role already has the necessary SELECT permissions. Otherwise use the existing application source separately. No new role privilege, nested control checkout, dynamic SQL, caller SQL, caller rows or callback asserting authority is allowed.
### Effect frame
Only a private server-owned effect dispatcher chooses effect kinds; the caller cannot pass a `metadataOnly`, `afterDispatch` or `qVerified` boolean. It binds the exact original capability, expected metadata, physical owner, input and original lifetime. Each effect frame obtains a **new complete Q scan**, validates actual current authority/source/endpoint/ownership, performs its fixed effect, and preserves the existing checks around asynchronous boundaries. A failed/late Q must occur before the effect's dispatch.
Full Q is mandatory before:
- Every actual management-credential projection.
- Every native license HTTP dispatch.
- Every secret-key read and HMAC-producing operation. Adjacent pure synchronous MAC calculations may share one freshly checked key only within a reviewed fixed batch; no key/result retained across an await or subsequent frame.
- Every SQL mutation, including any newly introduced state-changing statement.
- COMMIT, followed by a fresh complete Q after its actual ACK.
- Final owner confirmation before publishing the receipt and retiring the physical lease.
Acquisition also performs its full existing inventory scan. If post-ACK confirmation and final confirmation are combined, that requires one private terminal frame with no intervening await/effect; it cannot be inferred from two equal public objects. This proposal budgets them separately until that proof exists.
Q/current-source races must remain bounded by the same before/after discipline as today. This contract does not claim that several sequential Docker GETs are an atomic daemon snapshot or prevent a privileged outside actor from racing the scan. The signed complete-inventory/no-outside-controller assertion remains a prerequisite with its existing scope limitations.
## Static budget and required batching
Let C be credential projection frames, N native dispatch frames, K independently guarded secret-read/HMAC batches and W state-changing SQL statements before COMMIT. With acquisition, COMMIT, post-ACK and final confirmation counted separately:
`complete scans >= 4 + C + N + K + W`.
The optimistic eight-scan shape therefore needs C=N=K=W=1. **The current implementation has not established this shape.** Initial source opening, later node/event-key reads, before/after key checks, independent MAC calls or multiple SQL writes can make K or W larger. Each required scan must be counted; no phase may hide additional key reads, “verification” scans or mutations outside the budget. Required post-effect Q adds to the formula unless legitimately identical to another reviewed boundary.
The metadata split alone is insufficient. A candidate must additionally show a fixed registry write batch (one atomic statement for the enrollment node/alias/event writes, preserving exact command/row acknowledgments and all MAC domains) and a fixed key/MAC batch, with no secret reads moved across the existing public-read or asynchronous verifier boundaries. If those constraints cannot produce at most eight scans, this revision does not fit the window. The alternative is a genuinely continuously enforced external stop/restart prohibition with a cheap current proof, separately designed and accepted; a previously observed Docker scan is not that capability.
Before using the stand, produce a machine-counted effect ledger for both managed and external enrollment, existing/new canonical node paths, failure cleanup and post-COMMIT paths. The ledger must count actual scans, credential projections, secret reads, HMAC batches, native dispatches, SQL mutations and COMMITs. A fixed latency fixture must add the measured endpoint timings to each actual Docker GET and enforce the original five-second monotonic deadline. Mock-Docker zero-latency timing is inadequate. No new production pool/process or privilege is permitted; the whole-installation <=2 GB constraint remains.
## Required counterexamples and outcome rules
| Change/race | Required refusal or outcome |
| --- | --- |
| Q scan finishes after deadline or cancellation | No subsequent credential/key/native/SQL effect; late results do not publish authority or renew the original lifetime. |
| Backend starts, restart policy changes, or an executor/controller appears after metadata | Next effect's fresh full Q refuses before its dispatch; unchanged PG locks do not rescue it. |
| Secret key rotates after public metadata | Fresh full material validation before key use refuses the old pin; metadata never claims a current key. Same-byte source-directory cloning does not change the pinned source. |
| Grant revoked/changed during metadata or effect preparation | Final current original-authority check refuses before the effect; copied grant fields cannot renew original expiry. |
| Endpoint/credential ciphertext/epoch changes between metadata and projection | Exact original metadata predicate in the credential command projects zero payload; no GET and no fallback endpoint. |
| Physical PID/registry ownership is lost after metadata | Raw same-lease ownership fence refuses before effect dispatch and destroys the lease; no healthy pool return. |
| Mutation ACK is lost or malformed | No fabricated success, no second mutation/native attempt, no automatic replay; reconcile the original uncertain operation. |
| COMMIT is sent but ACK is lost | UNKNOWN, even if a later read appears committed; no automatic replay with a new alias/node. |
| COMMIT ACK is genuine, then Q/grant/source/final ownership fails | UNKNOWN, preserving durable state for reconciliation; do not roll back the acknowledged fact or publish readiness. |
| Frame/capability copied, retained across await or used with another peer/window | Refuse without credentials or effect dispatch. |
Acceptance needs actual owned SQL and localhost HTTP effects with forwarding observers, plus the latency fixture, before any separately authorized stand attempt. Neither the metadata proposal nor the independent equivalent guard collapse is evidence of deployed external enforcement or completion of the operator stage.
29 October key-effect prerequisite: the [fixed local key/MAC primitive](bandwidth-node-key-effect.md) has passed local unit tests and regression checks. It reads exactly 32 bytes and computes the fixed proof batch without await, pins actor/owner signals and wall/monotonic expiry, and wipes scratch keys before close. It is not connected to a dispatcher, does not prove current public source/Q/authority, and does not change the old strong API guard ordering or scan count. Synchronous OS latency is not bounded by cancellation. This resolves only the implementation of a candidate primitive; the closed effect adjacency, same-owner pipeline, latency and stand acceptance above remain open.
+257 -257
View File
@@ -1,257 +1,257 @@
{
"date": "2026-10-28",
"status": "progress-not-acceptance",
"wholeInstallationRamRequirement": "max 2 GB",
"s3Closed": 5,
"s3Total": 10,
"fullPlanComplete": false,
"resourceProfile": {
"candidate": "deploy/docker-compose.2gb.yml",
"activated": false,
"yamlAndTwoBaseServiceCompatibility": true,
"postgres18SettingNamesCheckedWithoutStartup": 21,
"dockerComposeConfigChecked": false,
"loadAccepted": false,
"postgresLimitMiB": 384,
"backendLimitMiB": 512,
"frontendLimitMiB": 160,
"threeContainerTotalMiB": 1056,
"wholeBudgetTargetIncludingPortalOsReserveMiB": 1824
},
"memoryCollector": {
"localUnitTests": 4,
"realLoadRun": false,
"readsOnlyDockerGetAndProc": true,
"automaticAcceptance": false
},
"finalValidation": {
"backendBuildExitCode": 0,
"authAndFullMcpExitCode": 0,
"speedWorkflowUnitExitCode": 0,
"nativeTests": 77,
"nativeFailed": 0,
"nativeSkipped": 0,
"actualOperationRootSqlGroups": 4
},
"operatingV3": {
"archiveSha256": "caac1b9ba964c0b558328085fa8f9f5304bd7a1b0fa5b9824907b9f7080f409a",
"authorizedInvocations": 1,
"remoteInvocations": 1,
"accepted": false,
"exitCode": 2,
"exactCause": "execute-reviewed.sh has CRLF; Linux sh refuses set -eu at line 3 before EXIT trap",
"nodeLaunched": false,
"ownedPgCreated": false,
"backendStopped": false,
"finalFourContainerBaselineVerified": true,
"monitorRemoved": true,
"uploadRemovedByVerifiedRecovery": true,
"recoveryAssetHashesVerified": 50,
"automaticReplay": false
},
"operatingV4": {
"archiveSha256": "903eaacb57a2180caff00b1f36e61a06ab3af01287de24ff14ac29205e054cd6",
"remoteInvocations": 1,
"accepted": false,
"failureStage": "memory-budget",
"availableBytes": 710619136,
"initialFloorBytes": 805306368,
"calculatedOverlapBudgetBytes": 469762048,
"nodeLaunched": false,
"ownedPgCreated": false,
"backendTouched": false,
"health": 200,
"baselineFourVerified": true,
"uploadAndMonitorRemoved": true,
"allElevenExactOwnedPathsAbsentReadOnly": true
},
"operatingRecoveryV6": {
"archiveSha256": "021f2ae29568fdc3b0979c3f4f7d2f023f8551cc97530bbb21598a879eab94e1",
"purposeRunsUsed": 1,
"purposeMaxRuns": 3,
"backendMutationAttemptsUsed": 1,
"backendMutationMaxAttempts": 1,
"furtherRunPermittedUnderThisGrant": false,
"accepted": false,
"initial448MiBBudgetPassed": true,
"nodePeakRssBytes": 100794368,
"ownPgObservedCurrentBytesBeforeStop": 136601600,
"ownPgPeakMeasured": false,
"parentFinalObservedRssBytes": 15794176,
"backendTouched": true,
"failure": "CHILD_EXIT",
"exactChildCause": null,
"health": 200,
"originalPolicyAndRunningRestored": true,
"fourOriginalContainersVerified": true,
"ownedPgAndStateRemoved": true,
"uploadAndMonitorRemoved": true,
"allFourteenPathsAbsentReadOnly": true
},
"dockerTmpfsFix": {
"localReproductionOfDefect": true,
"remoteCauseProven": false,
"scopedTests": 42,
"typecheckExitCode": 0,
"lintExitCode": 0,
"buildExitCode": 0,
"deployed": false,
"remoteAcceptance": false
},
"speedOptimization": {
"unitTests": 20,
"actualOwnedProfilesAccepted": false,
"fixedTtlUnchanged": true,
"initialCredentialsGateUnchanged": true,
"observedPreparedSnapshotDriverMeanMs": 1.077,
"pinnedAb": {
"sourcePins": 1580,
"oldSource": "e8f12d26dc616785eccb152e3522745225f03ef73efe967d281c68c075637d75",
"optimizedAndRestoredSource": "d41a5d54baac97b4586705cb8dbd0f2a58c634a415603a861a5a67e97e0e9dfd",
"oldExitCode": 1,
"optimizedExitCode": 1,
"oldNativeGets": 4,
"optimizedNativeGets": 10,
"nativePosts": 0
},
"failure": "short phase expires for both pinned variants; lower SQL count alone is not acceptance"
},
"evidenceSha256": {
"deploy/docker-compose.2gb.yml": "936f8f491aacdfdfd289c2cf14256b993073f2e3b8b76510f6fe90c9fc88ea74",
"backend/scripts/acceptance/measure-memory.py": "04e1dcf1ee92e22cd5cba4028f420fd19740af2fd6b52e9b6805b1c0e4b64c27",
"backend/scripts/acceptance/measure-memory.test.py": "83292178863dfc37cf86f6383695d9e60f669baf08484cf7c9a75feb0157c9d6",
"tmp/mcp-docker-operating-staged-stand-20261028.json": "33eb640d07d2d532d405925f338e451cc6d21ea31c0332ce04bdb2d87fc2ffec",
"tmp/mcp-docker-operating-staged-stand-20261028.log": "a8987fea7616de21f71116e8a9ae417cc9dc88209e2718dac0e912699d3af812",
"tmp/mcp-docker-operating-staged-cleanup-20261028.json": "3b1e9877d89e8e878714f4553abf9bb06fed7c470219121172ebf94668590e49",
"tmp/mcp-operating-memory-breakdown-readonly-20261028.json": "2176b0f313acde4d99771d61461a8253dc18bee0269f7d2190af078d78974895",
"tmp/mcp-full-speed-owned-pg-optimized-20261028.log": "84cc733894727169dee7992d0f814f535480eaf689b44537bb9cd25a53605800",
"tmp/mcp-full-speed-owned-pg-timing-20261028.log": "3701633d98581a983f6e3c69ae487bc5b6961e67cda756bfdf4a1d66be1684bf",
"tmp/mcp-full-speed-owned-pg-three-fences-20261028.log": "561207610b25e220525292be46189fceef3545968a1d05065bb5bdfe7479a986",
"tmp/mcp-full-speed-owned-pg-prepared-20261028.log": "e63dfe89cf6b9e403fd8b63944cf0e5f581a4aea950dffd19259e3ffa4822109",
"tmp/mcp-docker-operating-lf-stand-20261028.json": "73aaba3052be2c39ca556d5384adceeeb12c8b816bbab7fd5436a2d5f953fd56",
"tmp/mcp-operating-v4-postflight-readonly-20261028.json": "2f1d7247a71585a38b9d0748e8701da610871bd200971c9f4b252ddb7ddbaa89",
"tmp/mcp-operation-origin-owned-pg-20261028.log": "d14bbdc306be2c0a11ab14c2d2274bc401b0a5f1406ac124e09659a8869cd21c",
"tmp/mcp-2gb-final-build-v2-20261028.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"tmp/mcp-2gb-final-auth-v3-20261028.log": "17a9f6c7bde7a50d8424707922bdc044186692ea63f6580bfffaa868842970c9",
"tmp/mcp-2gb-final-native-v2-20261028.log": "77898f11ea9db1c5324e538d3379ded92646e7f7eaf62d84dca3a263cb5e6c79",
"tmp/mcp-2gb-final-speed-20261028.log": "3d3dcb3e4cf7ba8c7d91a5b4c7983c5bcb19a60e34317ba589887dfe9d6f29a2",
"tmp/mcp-speed-ongoing-rollback-review/runs/2026-10-28T13-32-36.557Z-315bc200/results.json": "13b76a1bd0e90efde5f862d4b46018efd643a00347d4fc4acda13a64ee1f14c4",
"tmp/mcp-docker-operating-recovery-stand-20261028.json": "b3e22026f66ba7e8204430fa30b18a524d86771f6776303a94e3ccbf7577924a",
"tmp/mcp-operating-recovery-postflight-readonly-20261028.json": "5dcbe435e64668444f400ca3bbdce68d2ba1d0cc5e6b8d03e14fbb67eb583723",
"tmp/mcp-operating-purpose-authorization-20261028.json": "5d5ee20d1d2d2c1770e12e10c1ccc6b77ac0c9b6c39ed66827c93016d83d51b1",
"tmp/mcp-docker-tmpfs-fixed-20261028.log": "8d3e450c94481de9ef50cd62e3e9193522f0bc18acbc37634441a684ce077a60",
"tmp/mcp-docker-tmpfs-build-20261028.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"backend/src/services/bandwidth-operator-docker-stop.ts": "54f0d1708bb83354f35c70c1ee64e63ccee4e47857ab1a09351524c43560f9c9",
"backend/src/services/bandwidth-operator-docker-stop.test.ts": "9b2b41020c9768725ae8ee1a080131fa50294837793e974002f43f0ee8242704",
"tmp/mcp-docker-operating-diagnostic-stand-20261028.json": "026dae42a26f5d2042bcd812024c3b6959dfa9aa26c735b1764708b85bd4c831",
"tmp/mcp-operating-diagnostic-authorization-20261028.json": "45047e81f5a551a9753d4ade6b9946f014e8b692b81dc02d507d0392746c29f6",
"tmp/mcp-operating-diagnostic-postflight-readonly-20261028.json": "93221c6faba7a02bad4d4e7396e0f57e04957bdce3750c5ee21d8a1ac676c0d2",
"tmp/mcp-docker-latency-readonly-20261028.json": "88ff8f0f2125d4f3f04e159413fac2b961fe5161be4b1f4904a8eb787cf4cf37",
"tmp/mcp-docker-inventory-variants-readonly-20261028.json": "0d0133d6a1b1995d9577ac630b163e7549c8e29f2d6db6d0472e5a16862a697f",
"tmp/mcp-operator-docker-owned-public-pair-20261028.log": "f75927c1828cff439a75e2d9254e4687bfd5546e951fc3598979a2e6c8aeacb0",
"tmp/mcp-operator-docker-owned-frame-20261028.log": "bb29117edf4480e35c0eda7bc62ab499400d1384733a045bf36c230047b0e7db",
"tmp/mcp-operator-docker-owned-stand-latency-20261028.log": "9c721a4c0296b8c6fe6d83859a6106c5016c64ac775d43695ad72bba7691107e",
"tmp/mcp-peer-final-network-20261028.log": "d8da77fdc2c3fd7b14be8aa9e4554e64282711a8b94288fd55d9be4eee74257a",
"tmp/mcp-build-final-20261028.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"backend/src/services/bandwidth-operator-writer-window.ts": "7b9e70dfa4c77c09654fae4cf7ec25a83669fc6e8d715a5d41d9e92e061f8ff3",
"backend/src/services/bandwidth-operator-enrollment.ts": "40e5b7d31dea3ae2155e0a58568fa4ddadb0cd88c94a78cdb1dc340029ae8a95",
"backend/src/services/bandwidth-operator-registry.ts": "a6b3280ded351fe6ae39ba3c78f9994ffdf6ed3ab7cd4c84a7af72fae8ad8ee4",
"backend/src/services/bandwidth-node-registry.ts": "290045d83741998063373e2f572e631eeb15c7b5dfa55f1e0d68598853ff189e",
"backend/src/services/bandwidth-external-node-registry.ts": "185ebf8406e418ca839b3090a098a235ef713b3c034abe9387a2fc165d10a160",
"backend/src/services/bandwidth-operator-public-files.test.ts": "d542b4b383f4adf655beb6fd5e50f65265f064680eec8f1effce5eb4e4c518fa",
"backend/src/services/bandwidth-registry-combined.test.ts": "32e8834023b1314f8cfeb517dbfac719c07031236c856553325963d78cb70e34",
"backend/src/services/bandwidth-operator-docker-stop.sql-helper.ts": "fa13c7c178a4347dd7d6cb768e84238a7c67de3b14a594de5500e0c5270de885",
"docs/bandwidth-operator-metadata-effect-contract.md": "887a1a2bba64758f993464f4b03efabe099937acdd3afc80582e333e5147f612",
"docs/mcp-operator-public-metadata-progress-20261028.json": "ea224373bae8e7781a19c60fb7d0cca5dbec880f3e8d2a72c5c0474813f1d738",
"docs/mcp-public-registry-metadata-acceptance-20261028.json": "690face0d8219613b0ed696c136a4fa92373412fe0d2fa80e5229174d4dcb858",
"docs/mcp-operator-peer-metadata-managed-acceptance-20261028.json": "04b75e71bc703a5145e3e13c3c1901540b2aeefc51998c839f6ca42bed3dc67d",
"tmp/mcp-operator-peer-metadata-build-20261028.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"tmp/mcp-operator-peer-metadata-peer-regression-20261028.log": "13430a029c7f80df080f8719fe41a926b2071abe7eed8cc891cfea49dee2461e"
},
"operatingDiagnosticV7": {
"archiveSha256": "642f2646a8d271319574bb674e7c248acb6950f619a9fce6eba850dcb39ade7b",
"accepted": false,
"backendTouched": true,
"quiescenceAcquiredAndSourceOpened": true,
"failureStage": "registry-sql",
"exactSqlCause": null,
"nodePeakRssBytes": 91455488,
"health": 200,
"originalPolicyAndRunningRestored": true,
"fourOriginalContainersVerified": true,
"ownedPgAndStateRemoved": true,
"uploadAndMonitorRemoved": true,
"explicitReadOnlyAbsenceCheckOfAllSeventeenPaths": true,
"additionalWindowsAuthorized": 2,
"additionalWindowsUsed": 1,
"additionalWindowsRemaining": 1,
"repeatRequiresLocalReviewAndConfirmedRestoration": true
},
"operatorLatency": {
"accepted": false,
"fullFiveContainerScanEstimatedMs": 464.748,
"referenceZeroLatencySuccessfulProfileMs": 4703,
"referenceDockerGets": 4312,
"referenceFullScans": 308,
"referenceModeledSequentialLatencyMs": 143142.384,
"combinedFrameProfile": {
"accepted": false,
"elapsedMs": 5016,
"dockerGets": 2338,
"credentials": 41,
"commits": 0
},
"standLatencyFixture": {
"accepted": false,
"elapsedMs": 5006,
"dockerGets": 100,
"credentials": 0,
"commits": 0,
"actualBackendActions": 0,
"pendingTimersAfterDrain": 0,
"activeResponsesAfterDrain": 0
},
"ttlMs": 5000,
"ttlIncreased": false,
"remainingRemoteWindowUsed": false,
"metadataEffectRevision": "unimplemented-unaccepted",
"kernelFilesystemQuiescenceAlternative": "unproven; unsupported before any backend stop"
},
"latestValidation": {
"backendBuildExitCode": 0,
"fullPeerScriptExitCode": 0,
"aggregateNodeTests": 155,
"moduleMockTests": 40,
"standalonePeerScriptsAlsoPassed": true,
"remoteOrWholeInstallationRamAcceptance": false
},
"publicMetadataPrerequisite": {
"report": "docs/mcp-operator-public-metadata-progress-20261028.json",
"unitAccepted": true,
"newTests": 17,
"secretReads": 0,
"poolCheckouts": 0,
"sameLeaseMetadataSessionImplemented": true,
"sameLeaseMethods": [
"inspect",
"close"
],
"sameLeaseOwnedSqlGroups": 7,
"sameLeaseNewUnitTests": 19,
"registrySnapshotOrEffectMethodsImplemented": false,
"effectDispatcherImplemented": false,
"productionOperatorWiring": false,
"backendWindowConsumed": false
},
"managedPeerMetadataPrerequisite": {
"report": "docs/mcp-operator-peer-metadata-managed-acceptance-20261028.json",
"newTests": 29,
"ownedSqlGroups": 4,
"newMetadataCredentialProjections": 0,
"managedAccepted": true,
"externalAccepted": false,
"OP-M3Complete": false,
"fixedEffectPipelineImplemented": false,
"backendWindowConsumed": false
}
}
{
"date": "2026-10-28",
"status": "progress-not-acceptance",
"wholeInstallationRamRequirement": "max 2 GB",
"s3Closed": 5,
"s3Total": 10,
"fullPlanComplete": false,
"resourceProfile": {
"candidate": "deploy/docker-compose.2gb.yml",
"activated": false,
"yamlAndTwoBaseServiceCompatibility": true,
"postgres18SettingNamesCheckedWithoutStartup": 21,
"dockerComposeConfigChecked": false,
"loadAccepted": false,
"postgresLimitMiB": 384,
"backendLimitMiB": 512,
"frontendLimitMiB": 160,
"threeContainerTotalMiB": 1056,
"wholeBudgetTargetIncludingPortalOsReserveMiB": 1824
},
"memoryCollector": {
"localUnitTests": 4,
"realLoadRun": false,
"readsOnlyDockerGetAndProc": true,
"automaticAcceptance": false
},
"finalValidation": {
"backendBuildExitCode": 0,
"authAndFullMcpExitCode": 0,
"speedWorkflowUnitExitCode": 0,
"nativeTests": 77,
"nativeFailed": 0,
"nativeSkipped": 0,
"actualOperationRootSqlGroups": 4
},
"operatingV3": {
"archiveSha256": "caac1b9ba964c0b558328085fa8f9f5304bd7a1b0fa5b9824907b9f7080f409a",
"authorizedInvocations": 1,
"remoteInvocations": 1,
"accepted": false,
"exitCode": 2,
"exactCause": "execute-reviewed.sh has CRLF; Linux sh refuses set -eu at line 3 before EXIT trap",
"nodeLaunched": false,
"ownedPgCreated": false,
"backendStopped": false,
"finalFourContainerBaselineVerified": true,
"monitorRemoved": true,
"uploadRemovedByVerifiedRecovery": true,
"recoveryAssetHashesVerified": 50,
"automaticReplay": false
},
"operatingV4": {
"archiveSha256": "903eaacb57a2180caff00b1f36e61a06ab3af01287de24ff14ac29205e054cd6",
"remoteInvocations": 1,
"accepted": false,
"failureStage": "memory-budget",
"availableBytes": 710619136,
"initialFloorBytes": 805306368,
"calculatedOverlapBudgetBytes": 469762048,
"nodeLaunched": false,
"ownedPgCreated": false,
"backendTouched": false,
"health": 200,
"baselineFourVerified": true,
"uploadAndMonitorRemoved": true,
"allElevenExactOwnedPathsAbsentReadOnly": true
},
"operatingRecoveryV6": {
"archiveSha256": "021f2ae29568fdc3b0979c3f4f7d2f023f8551cc97530bbb21598a879eab94e1",
"purposeRunsUsed": 1,
"purposeMaxRuns": 3,
"backendMutationAttemptsUsed": 1,
"backendMutationMaxAttempts": 1,
"furtherRunPermittedUnderThisGrant": false,
"accepted": false,
"initial448MiBBudgetPassed": true,
"nodePeakRssBytes": 100794368,
"ownPgObservedCurrentBytesBeforeStop": 136601600,
"ownPgPeakMeasured": false,
"parentFinalObservedRssBytes": 15794176,
"backendTouched": true,
"failure": "CHILD_EXIT",
"exactChildCause": null,
"health": 200,
"originalPolicyAndRunningRestored": true,
"fourOriginalContainersVerified": true,
"ownedPgAndStateRemoved": true,
"uploadAndMonitorRemoved": true,
"allFourteenPathsAbsentReadOnly": true
},
"dockerTmpfsFix": {
"localReproductionOfDefect": true,
"remoteCauseProven": false,
"scopedTests": 42,
"typecheckExitCode": 0,
"lintExitCode": 0,
"buildExitCode": 0,
"deployed": false,
"remoteAcceptance": false
},
"speedOptimization": {
"unitTests": 20,
"actualOwnedProfilesAccepted": false,
"fixedTtlUnchanged": true,
"initialCredentialsGateUnchanged": true,
"observedPreparedSnapshotDriverMeanMs": 1.077,
"pinnedAb": {
"sourcePins": 1580,
"oldSource": "e8f12d26dc616785eccb152e3522745225f03ef73efe967d281c68c075637d75",
"optimizedAndRestoredSource": "d41a5d54baac97b4586705cb8dbd0f2a58c634a415603a861a5a67e97e0e9dfd",
"oldExitCode": 1,
"optimizedExitCode": 1,
"oldNativeGets": 4,
"optimizedNativeGets": 10,
"nativePosts": 0
},
"failure": "short phase expires for both pinned variants; lower SQL count alone is not acceptance"
},
"evidenceSha256": {
"deploy/docker-compose.2gb.yml": "936f8f491aacdfdfd289c2cf14256b993073f2e3b8b76510f6fe90c9fc88ea74",
"backend/scripts/acceptance/measure-memory.py": "04e1dcf1ee92e22cd5cba4028f420fd19740af2fd6b52e9b6805b1c0e4b64c27",
"backend/scripts/acceptance/measure-memory.test.py": "83292178863dfc37cf86f6383695d9e60f669baf08484cf7c9a75feb0157c9d6",
"tmp/mcp-docker-operating-staged-stand-20261028.json": "33eb640d07d2d532d405925f338e451cc6d21ea31c0332ce04bdb2d87fc2ffec",
"tmp/mcp-docker-operating-staged-stand-20261028.log": "a8987fea7616de21f71116e8a9ae417cc9dc88209e2718dac0e912699d3af812",
"tmp/mcp-docker-operating-staged-cleanup-20261028.json": "3b1e9877d89e8e878714f4553abf9bb06fed7c470219121172ebf94668590e49",
"tmp/mcp-operating-memory-breakdown-readonly-20261028.json": "2176b0f313acde4d99771d61461a8253dc18bee0269f7d2190af078d78974895",
"tmp/mcp-full-speed-owned-pg-optimized-20261028.log": "84cc733894727169dee7992d0f814f535480eaf689b44537bb9cd25a53605800",
"tmp/mcp-full-speed-owned-pg-timing-20261028.log": "3701633d98581a983f6e3c69ae487bc5b6961e67cda756bfdf4a1d66be1684bf",
"tmp/mcp-full-speed-owned-pg-three-fences-20261028.log": "561207610b25e220525292be46189fceef3545968a1d05065bb5bdfe7479a986",
"tmp/mcp-full-speed-owned-pg-prepared-20261028.log": "e63dfe89cf6b9e403fd8b63944cf0e5f581a4aea950dffd19259e3ffa4822109",
"tmp/mcp-docker-operating-lf-stand-20261028.json": "73aaba3052be2c39ca556d5384adceeeb12c8b816bbab7fd5436a2d5f953fd56",
"tmp/mcp-operating-v4-postflight-readonly-20261028.json": "2f1d7247a71585a38b9d0748e8701da610871bd200971c9f4b252ddb7ddbaa89",
"tmp/mcp-operation-origin-owned-pg-20261028.log": "d14bbdc306be2c0a11ab14c2d2274bc401b0a5f1406ac124e09659a8869cd21c",
"tmp/mcp-2gb-final-build-v2-20261028.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"tmp/mcp-2gb-final-auth-v3-20261028.log": "17a9f6c7bde7a50d8424707922bdc044186692ea63f6580bfffaa868842970c9",
"tmp/mcp-2gb-final-native-v2-20261028.log": "77898f11ea9db1c5324e538d3379ded92646e7f7eaf62d84dca3a263cb5e6c79",
"tmp/mcp-2gb-final-speed-20261028.log": "3d3dcb3e4cf7ba8c7d91a5b4c7983c5bcb19a60e34317ba589887dfe9d6f29a2",
"tmp/mcp-speed-ongoing-rollback-review/runs/2026-10-28T13-32-36.557Z-315bc200/results.json": "13b76a1bd0e90efde5f862d4b46018efd643a00347d4fc4acda13a64ee1f14c4",
"tmp/mcp-docker-operating-recovery-stand-20261028.json": "b3e22026f66ba7e8204430fa30b18a524d86771f6776303a94e3ccbf7577924a",
"tmp/mcp-operating-recovery-postflight-readonly-20261028.json": "5dcbe435e64668444f400ca3bbdce68d2ba1d0cc5e6b8d03e14fbb67eb583723",
"tmp/mcp-operating-purpose-authorization-20261028.json": "5d5ee20d1d2d2c1770e12e10c1ccc6b77ac0c9b6c39ed66827c93016d83d51b1",
"tmp/mcp-docker-tmpfs-fixed-20261028.log": "8d3e450c94481de9ef50cd62e3e9193522f0bc18acbc37634441a684ce077a60",
"tmp/mcp-docker-tmpfs-build-20261028.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"backend/src/services/bandwidth-operator-docker-stop.ts": "54f0d1708bb83354f35c70c1ee64e63ccee4e47857ab1a09351524c43560f9c9",
"backend/src/services/bandwidth-operator-docker-stop.test.ts": "9b2b41020c9768725ae8ee1a080131fa50294837793e974002f43f0ee8242704",
"tmp/mcp-docker-operating-diagnostic-stand-20261028.json": "026dae42a26f5d2042bcd812024c3b6959dfa9aa26c735b1764708b85bd4c831",
"tmp/mcp-operating-diagnostic-authorization-20261028.json": "45047e81f5a551a9753d4ade6b9946f014e8b692b81dc02d507d0392746c29f6",
"tmp/mcp-operating-diagnostic-postflight-readonly-20261028.json": "93221c6faba7a02bad4d4e7396e0f57e04957bdce3750c5ee21d8a1ac676c0d2",
"tmp/mcp-docker-latency-readonly-20261028.json": "88ff8f0f2125d4f3f04e159413fac2b961fe5161be4b1f4904a8eb787cf4cf37",
"tmp/mcp-docker-inventory-variants-readonly-20261028.json": "0d0133d6a1b1995d9577ac630b163e7549c8e29f2d6db6d0472e5a16862a697f",
"tmp/mcp-operator-docker-owned-public-pair-20261028.log": "f75927c1828cff439a75e2d9254e4687bfd5546e951fc3598979a2e6c8aeacb0",
"tmp/mcp-operator-docker-owned-frame-20261028.log": "bb29117edf4480e35c0eda7bc62ab499400d1384733a045bf36c230047b0e7db",
"tmp/mcp-operator-docker-owned-stand-latency-20261028.log": "9c721a4c0296b8c6fe6d83859a6106c5016c64ac775d43695ad72bba7691107e",
"tmp/mcp-peer-final-network-20261028.log": "d8da77fdc2c3fd7b14be8aa9e4554e64282711a8b94288fd55d9be4eee74257a",
"tmp/mcp-build-final-20261028.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"backend/src/services/bandwidth-operator-writer-window.ts": "7b9e70dfa4c77c09654fae4cf7ec25a83669fc6e8d715a5d41d9e92e061f8ff3",
"backend/src/services/bandwidth-operator-enrollment.ts": "40e5b7d31dea3ae2155e0a58568fa4ddadb0cd88c94a78cdb1dc340029ae8a95",
"backend/src/services/bandwidth-operator-registry.ts": "a6b3280ded351fe6ae39ba3c78f9994ffdf6ed3ab7cd4c84a7af72fae8ad8ee4",
"backend/src/services/bandwidth-node-registry.ts": "290045d83741998063373e2f572e631eeb15c7b5dfa55f1e0d68598853ff189e",
"backend/src/services/bandwidth-external-node-registry.ts": "185ebf8406e418ca839b3090a098a235ef713b3c034abe9387a2fc165d10a160",
"backend/src/services/bandwidth-operator-public-files.test.ts": "d542b4b383f4adf655beb6fd5e50f65265f064680eec8f1effce5eb4e4c518fa",
"backend/src/services/bandwidth-registry-combined.test.ts": "32e8834023b1314f8cfeb517dbfac719c07031236c856553325963d78cb70e34",
"backend/src/services/bandwidth-operator-docker-stop.sql-helper.ts": "fa13c7c178a4347dd7d6cb768e84238a7c67de3b14a594de5500e0c5270de885",
"docs/bandwidth-operator-metadata-effect-contract.md": "887a1a2bba64758f993464f4b03efabe099937acdd3afc80582e333e5147f612",
"docs/mcp-operator-public-metadata-progress-20261028.json": "ea224373bae8e7781a19c60fb7d0cca5dbec880f3e8d2a72c5c0474813f1d738",
"docs/mcp-public-registry-metadata-acceptance-20261028.json": "690face0d8219613b0ed696c136a4fa92373412fe0d2fa80e5229174d4dcb858",
"docs/mcp-operator-peer-metadata-managed-acceptance-20261028.json": "04b75e71bc703a5145e3e13c3c1901540b2aeefc51998c839f6ca42bed3dc67d",
"tmp/mcp-operator-peer-metadata-build-20261028.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"tmp/mcp-operator-peer-metadata-peer-regression-20261028.log": "13430a029c7f80df080f8719fe41a926b2071abe7eed8cc891cfea49dee2461e"
},
"operatingDiagnosticV7": {
"archiveSha256": "642f2646a8d271319574bb674e7c248acb6950f619a9fce6eba850dcb39ade7b",
"accepted": false,
"backendTouched": true,
"quiescenceAcquiredAndSourceOpened": true,
"failureStage": "registry-sql",
"exactSqlCause": null,
"nodePeakRssBytes": 91455488,
"health": 200,
"originalPolicyAndRunningRestored": true,
"fourOriginalContainersVerified": true,
"ownedPgAndStateRemoved": true,
"uploadAndMonitorRemoved": true,
"explicitReadOnlyAbsenceCheckOfAllSeventeenPaths": true,
"additionalWindowsAuthorized": 2,
"additionalWindowsUsed": 1,
"additionalWindowsRemaining": 1,
"repeatRequiresLocalReviewAndConfirmedRestoration": true
},
"operatorLatency": {
"accepted": false,
"fullFiveContainerScanEstimatedMs": 464.748,
"referenceZeroLatencySuccessfulProfileMs": 4703,
"referenceDockerGets": 4312,
"referenceFullScans": 308,
"referenceModeledSequentialLatencyMs": 143142.384,
"combinedFrameProfile": {
"accepted": false,
"elapsedMs": 5016,
"dockerGets": 2338,
"credentials": 41,
"commits": 0
},
"standLatencyFixture": {
"accepted": false,
"elapsedMs": 5006,
"dockerGets": 100,
"credentials": 0,
"commits": 0,
"actualBackendActions": 0,
"pendingTimersAfterDrain": 0,
"activeResponsesAfterDrain": 0
},
"ttlMs": 5000,
"ttlIncreased": false,
"remainingRemoteWindowUsed": false,
"metadataEffectRevision": "unimplemented-unaccepted",
"kernelFilesystemQuiescenceAlternative": "unproven; unsupported before any backend stop"
},
"latestValidation": {
"backendBuildExitCode": 0,
"fullPeerScriptExitCode": 0,
"aggregateNodeTests": 155,
"moduleMockTests": 40,
"standalonePeerScriptsAlsoPassed": true,
"remoteOrWholeInstallationRamAcceptance": false
},
"publicMetadataPrerequisite": {
"report": "docs/mcp-operator-public-metadata-progress-20261028.json",
"unitAccepted": true,
"newTests": 17,
"secretReads": 0,
"poolCheckouts": 0,
"sameLeaseMetadataSessionImplemented": true,
"sameLeaseMethods": [
"inspect",
"close"
],
"sameLeaseOwnedSqlGroups": 7,
"sameLeaseNewUnitTests": 19,
"registrySnapshotOrEffectMethodsImplemented": false,
"effectDispatcherImplemented": false,
"productionOperatorWiring": false,
"backendWindowConsumed": false
},
"managedPeerMetadataPrerequisite": {
"report": "docs/mcp-operator-peer-metadata-managed-acceptance-20261028.json",
"newTests": 29,
"ownedSqlGroups": 4,
"newMetadataCredentialProjections": 0,
"managedAccepted": true,
"externalAccepted": false,
"OP-M3Complete": false,
"fixedEffectPipelineImplemented": false,
"backendWindowConsumed": false
}
}
+31 -31
View File
@@ -1,31 +1,31 @@
{
"checkedAt": "2026-10-21T12:53:55.4772218Z",
"complete": true,
"scope": "Removal of objects owned by interrupted CHR source-OSPF run, plus read-only baseline diagnosis",
"fullPlanComplete": false,
"nativeOspfAccepted": false,
"originalMarker": "mcp-test-c74d0d3c",
"ownObjectsRemaining": 0,
"areasRead": 14,
"exactBaselines": 10,
"addressBaselinesWithOnlyGeneratedIdChange": 2,
"unresolvedRouteBaselines": [
{
"serverId": 2,
"resource": "ipv4_route"
},
{
"serverId": 2,
"resource": "ipv6_route"
}
],
"originalBaselineRestorationAccepted": false,
"secondChrRestartObserved": true,
"restartCause": "not established",
"originalFailureReport": "mcp-chr-ospf-source-interrupted.json",
"recoveryAttemptReport": "mcp-chr-ospf-source-recovery.json",
"diagnosticReport": "mcp-chr-ospf-source-baseline-diagnostic.json",
"changesToForeignConfiguration": 0,
"diagnosticDeviceMutations": 0,
"automaticWriteReplay": false
}
{
"checkedAt": "2026-10-21T12:53:55.4772218Z",
"complete": true,
"scope": "Removal of objects owned by interrupted CHR source-OSPF run, plus read-only baseline diagnosis",
"fullPlanComplete": false,
"nativeOspfAccepted": false,
"originalMarker": "mcp-test-c74d0d3c",
"ownObjectsRemaining": 0,
"areasRead": 14,
"exactBaselines": 10,
"addressBaselinesWithOnlyGeneratedIdChange": 2,
"unresolvedRouteBaselines": [
{
"serverId": 2,
"resource": "ipv4_route"
},
{
"serverId": 2,
"resource": "ipv6_route"
}
],
"originalBaselineRestorationAccepted": false,
"secondChrRestartObserved": true,
"restartCause": "not established",
"originalFailureReport": "mcp-chr-ospf-source-interrupted.json",
"recoveryAttemptReport": "mcp-chr-ospf-source-recovery.json",
"diagnosticReport": "mcp-chr-ospf-source-baseline-diagnostic.json",
"changesToForeignConfiguration": 0,
"diagnosticDeviceMutations": 0,
"automaticWriteReplay": false
}
@@ -1,35 +1,35 @@
{
"startedAt": 1792880998.5293307,
"commandsPerHost": 2,
"configurationWrites": 0,
"sources": [
{
"host": "194.226.121.150",
"reads": [
{
"kind": "ssh",
"command": "/ip ssh print",
"confirmed": true,
"bytes": 359,
"sha256": "e1618ad61766f9bc1755729518d86450153e5fe8c227463702b66d1a1834472b",
"forwardingEnabled": "no"
},
{
"kind": "www",
"command": "/ip service print detail where name=www",
"confirmed": true,
"bytes": 114,
"sha256": "1a1310d23998285a239d0ddb38695a2bd3b185a6bda0ff62ea48dc7f9161dcc0",
"port": 80
}
],
"pinnedSshAuthenticated": true
},
{
"host": "104.165.244.7",
"reads": [],
"failureClass": "AuthenticationException"
}
],
"finishedAt": 1792881003.26847
}
{
"startedAt": 1792880998.5293307,
"commandsPerHost": 2,
"configurationWrites": 0,
"sources": [
{
"host": "194.226.121.150",
"reads": [
{
"kind": "ssh",
"command": "/ip ssh print",
"confirmed": true,
"bytes": 359,
"sha256": "e1618ad61766f9bc1755729518d86450153e5fe8c227463702b66d1a1834472b",
"forwardingEnabled": "no"
},
{
"kind": "www",
"command": "/ip service print detail where name=www",
"confirmed": true,
"bytes": 114,
"sha256": "1a1310d23998285a239d0ddb38695a2bd3b185a6bda0ff62ea48dc7f9161dcc0",
"port": 80
}
],
"pinnedSshAuthenticated": true
},
{
"host": "104.165.244.7",
"reads": [],
"failureClass": "AuthenticationException"
}
],
"finishedAt": 1792881003.26847
}
@@ -1,142 +1,142 @@
{
"date": "2026-11-02",
"scope": "explicit-offline-invoked-connected-operator-cli-source-only",
"sourceApplied": true,
"candidateManifestSha256": "2fe5170bb3162aae7a391dca1f61b21df4a61b5d7d1869dbdb27101e42b0aefd",
"targets": [
{
"path": "backend/scripts/database-writer-profile-operator.mts",
"preimageSha256": null,
"sha256": "5e1ad6e5c907d69f977c5b2e986155baaba2b311bc5d22a3709317a573ddc3af",
"v1Sha256": "8ca1c6deb43f59aa5f388a719a5b52c2e93127de321a5c0fdc05932cf0e82c85",
"unchangedFromV1": false
},
{
"path": "backend/scripts/writer-profile/application-writer-profile-canonical.ts",
"preimageSha256": null,
"sha256": "59ddf6eca8ef960b4c4d52e005528aa80e328a89344ab532123b9961ba6987b9",
"v1Sha256": "59ddf6eca8ef960b4c4d52e005528aa80e328a89344ab532123b9961ba6987b9",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/application-writer-profile-catalogue-parent-policy.ts",
"preimageSha256": null,
"sha256": "941805122151a5a5f41f4269f3f6e14fd71e7cf19cb94e2f13739f0723f925c5",
"v1Sha256": "941805122151a5a5f41f4269f3f6e14fd71e7cf19cb94e2f13739f0723f925c5",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/application-writer-profile-catalogue-values.ts",
"preimageSha256": null,
"sha256": "26a8ea1e2682e4595a7da82c3a63124dabeeec16977d643462f955514a8f253f",
"v1Sha256": "26a8ea1e2682e4595a7da82c3a63124dabeeec16977d643462f955514a8f253f",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/application-writer-profile-catalogue.ts",
"preimageSha256": null,
"sha256": "9f1885306a606b60d3bae70aa170f192cfe41849989571e44c619ee4f6b7a95e",
"v1Sha256": "9f1885306a606b60d3bae70aa170f192cfe41849989571e44c619ee4f6b7a95e",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/catalogue-leaves.ts",
"preimageSha256": null,
"sha256": "a1201437cb4ddb2700486c701664a31e2101a647a67fa55f2692ea7a18331661",
"v1Sha256": "a1201437cb4ddb2700486c701664a31e2101a647a67fa55f2692ea7a18331661",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/catalogue-projection.ts",
"preimageSha256": null,
"sha256": "bd5e264a4356315760e78cd4d70a83cb2258b7f79b32a0d59659f943ee8fdaee",
"v1Sha256": "bd5e264a4356315760e78cd4d70a83cb2258b7f79b32a0d59659f943ee8fdaee",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/catalogue-value-bridge.ts",
"preimageSha256": null,
"sha256": "7870b8ed032ccc7d74d21a66d8f52056e68f4b44e8c2c5333759ba1fa7bb3578",
"v1Sha256": "7870b8ed032ccc7d74d21a66d8f52056e68f4b44e8c2c5333759ba1fa7bb3578",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/catalogue.mts",
"preimageSha256": null,
"sha256": "ae25421996d539f2c528c486191b3cd1695463677a1b1c688af681f5e2da903a",
"v1Sha256": "ae25421996d539f2c528c486191b3cd1695463677a1b1c688af681f5e2da903a",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/context.mjs",
"preimageSha256": null,
"sha256": "4cc91f80e2f8ab13cb19f2658798dfbf1a3665e59b50659cd7d1e56bab78ef3d",
"v1Sha256": "6138ba5f4bc91f70ad0aaca78d3fa5fddcd290b30ae0266d04424e3e94419a2b",
"unchangedFromV1": false
},
{
"path": "backend/scripts/writer-profile/expanded44-data-policy.ts",
"preimageSha256": null,
"sha256": "336df9721c3ba00347440f4f35af63b0253453323ac815377bfab49572348e02",
"v1Sha256": "336df9721c3ba00347440f4f35af63b0253453323ac815377bfab49572348e02",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/fixed44-build-definition.ts",
"preimageSha256": null,
"sha256": "083d1ac60e8ed65414aea5dc756e22c145a6966d23d70d676e82ad243d0887b5",
"v1Sha256": "083d1ac60e8ed65414aea5dc756e22c145a6966d23d70d676e82ad243d0887b5",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/fixed44-build-sql.ts",
"preimageSha256": null,
"sha256": "7edc755153f28dbceff659e72f339005745beea01dceca5817412d4d4db21a8c",
"v1Sha256": "7edc755153f28dbceff659e72f339005745beea01dceca5817412d4d4db21a8c",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/operator-contract.mjs",
"preimageSha256": null,
"sha256": "9c2155a3b012aada2ac3e04c3da43e4004c58c62d11ef5241015f573b51ab296",
"v1Sha256": "0881b8033926b605b775fafb47785980e7ca018180136f32d84ceb35d010ed7a",
"unchangedFromV1": false
},
{
"path": "backend/scripts/writer-profile/operator-files.mjs",
"preimageSha256": null,
"sha256": "3819be2067296e0fdde73b94af85c9d9e5b6e34d34988fa4d0fe99a2a7106a3f",
"v1Sha256": "3819be2067296e0fdde73b94af85c9d9e5b6e34d34988fa4d0fe99a2a7106a3f",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/publisher.mjs",
"preimageSha256": null,
"sha256": "023106919a69e8987ae788c913d0917e5851f1fac8d6d4f654649b6bff89d72e",
"v1Sha256": "577cdd693527b5a44778290afc01c8134158c2805c226680e7807a04b529be83",
"unchangedFromV1": false
}
],
"testTarget": "backend/scripts/database-writer-profile-operator.test.mts",
"actualPgAccepted": true,
"actualTlsAccepted": true,
"actualPosixFilesAccepted": true,
"runtimeImportsChanged": false,
"apiRegistered": false,
"automaticStartup": false,
"roleGrantOrTableProvisioning": false,
"generationAuthenticated": false,
"readyAuthorized": false,
"fullDbDirectionComplete": false,
"validationPending": false,
"actualAdoptedTargetTestsPassed": 4,
"actualAdoptedTargetTestExitCode": 0,
"scopedCandidateNoEmitDiagnostics": 0,
"actualCandidateImportSmokeExitCode": 0,
"operatorDocumentation": "docs/mcp-db-connected-publisher.md",
"validationScope": "Four actual adopted-target tests plus Linux current44/default117 functional SQL/TLS/POSIX acceptance; real protected bootstrap and publisher main functions, genesis/renewal/CAS refusal/signatures. Journal-fixed source supersedes two original adoption hashes. Aggregate resource/RAM acceptance refused; no activation/READY.",
"functionalAcceptanceReport": "docs/mcp-publisher-linux-current44-functional-acceptance-20261103.json",
"aggregateResourceAccepted": false,
"ramAccepted": false,
"unknownCommitSqlTested": false
}
{
"date": "2026-11-02",
"scope": "explicit-offline-invoked-connected-operator-cli-source-only",
"sourceApplied": true,
"candidateManifestSha256": "2fe5170bb3162aae7a391dca1f61b21df4a61b5d7d1869dbdb27101e42b0aefd",
"targets": [
{
"path": "backend/scripts/database-writer-profile-operator.mts",
"preimageSha256": null,
"sha256": "5e1ad6e5c907d69f977c5b2e986155baaba2b311bc5d22a3709317a573ddc3af",
"v1Sha256": "8ca1c6deb43f59aa5f388a719a5b52c2e93127de321a5c0fdc05932cf0e82c85",
"unchangedFromV1": false
},
{
"path": "backend/scripts/writer-profile/application-writer-profile-canonical.ts",
"preimageSha256": null,
"sha256": "59ddf6eca8ef960b4c4d52e005528aa80e328a89344ab532123b9961ba6987b9",
"v1Sha256": "59ddf6eca8ef960b4c4d52e005528aa80e328a89344ab532123b9961ba6987b9",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/application-writer-profile-catalogue-parent-policy.ts",
"preimageSha256": null,
"sha256": "941805122151a5a5f41f4269f3f6e14fd71e7cf19cb94e2f13739f0723f925c5",
"v1Sha256": "941805122151a5a5f41f4269f3f6e14fd71e7cf19cb94e2f13739f0723f925c5",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/application-writer-profile-catalogue-values.ts",
"preimageSha256": null,
"sha256": "26a8ea1e2682e4595a7da82c3a63124dabeeec16977d643462f955514a8f253f",
"v1Sha256": "26a8ea1e2682e4595a7da82c3a63124dabeeec16977d643462f955514a8f253f",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/application-writer-profile-catalogue.ts",
"preimageSha256": null,
"sha256": "9f1885306a606b60d3bae70aa170f192cfe41849989571e44c619ee4f6b7a95e",
"v1Sha256": "9f1885306a606b60d3bae70aa170f192cfe41849989571e44c619ee4f6b7a95e",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/catalogue-leaves.ts",
"preimageSha256": null,
"sha256": "a1201437cb4ddb2700486c701664a31e2101a647a67fa55f2692ea7a18331661",
"v1Sha256": "a1201437cb4ddb2700486c701664a31e2101a647a67fa55f2692ea7a18331661",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/catalogue-projection.ts",
"preimageSha256": null,
"sha256": "bd5e264a4356315760e78cd4d70a83cb2258b7f79b32a0d59659f943ee8fdaee",
"v1Sha256": "bd5e264a4356315760e78cd4d70a83cb2258b7f79b32a0d59659f943ee8fdaee",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/catalogue-value-bridge.ts",
"preimageSha256": null,
"sha256": "7870b8ed032ccc7d74d21a66d8f52056e68f4b44e8c2c5333759ba1fa7bb3578",
"v1Sha256": "7870b8ed032ccc7d74d21a66d8f52056e68f4b44e8c2c5333759ba1fa7bb3578",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/catalogue.mts",
"preimageSha256": null,
"sha256": "ae25421996d539f2c528c486191b3cd1695463677a1b1c688af681f5e2da903a",
"v1Sha256": "ae25421996d539f2c528c486191b3cd1695463677a1b1c688af681f5e2da903a",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/context.mjs",
"preimageSha256": null,
"sha256": "4cc91f80e2f8ab13cb19f2658798dfbf1a3665e59b50659cd7d1e56bab78ef3d",
"v1Sha256": "6138ba5f4bc91f70ad0aaca78d3fa5fddcd290b30ae0266d04424e3e94419a2b",
"unchangedFromV1": false
},
{
"path": "backend/scripts/writer-profile/expanded44-data-policy.ts",
"preimageSha256": null,
"sha256": "336df9721c3ba00347440f4f35af63b0253453323ac815377bfab49572348e02",
"v1Sha256": "336df9721c3ba00347440f4f35af63b0253453323ac815377bfab49572348e02",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/fixed44-build-definition.ts",
"preimageSha256": null,
"sha256": "083d1ac60e8ed65414aea5dc756e22c145a6966d23d70d676e82ad243d0887b5",
"v1Sha256": "083d1ac60e8ed65414aea5dc756e22c145a6966d23d70d676e82ad243d0887b5",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/fixed44-build-sql.ts",
"preimageSha256": null,
"sha256": "7edc755153f28dbceff659e72f339005745beea01dceca5817412d4d4db21a8c",
"v1Sha256": "7edc755153f28dbceff659e72f339005745beea01dceca5817412d4d4db21a8c",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/operator-contract.mjs",
"preimageSha256": null,
"sha256": "9c2155a3b012aada2ac3e04c3da43e4004c58c62d11ef5241015f573b51ab296",
"v1Sha256": "0881b8033926b605b775fafb47785980e7ca018180136f32d84ceb35d010ed7a",
"unchangedFromV1": false
},
{
"path": "backend/scripts/writer-profile/operator-files.mjs",
"preimageSha256": null,
"sha256": "3819be2067296e0fdde73b94af85c9d9e5b6e34d34988fa4d0fe99a2a7106a3f",
"v1Sha256": "3819be2067296e0fdde73b94af85c9d9e5b6e34d34988fa4d0fe99a2a7106a3f",
"unchangedFromV1": true
},
{
"path": "backend/scripts/writer-profile/publisher.mjs",
"preimageSha256": null,
"sha256": "023106919a69e8987ae788c913d0917e5851f1fac8d6d4f654649b6bff89d72e",
"v1Sha256": "577cdd693527b5a44778290afc01c8134158c2805c226680e7807a04b529be83",
"unchangedFromV1": false
}
],
"testTarget": "backend/scripts/database-writer-profile-operator.test.mts",
"actualPgAccepted": true,
"actualTlsAccepted": true,
"actualPosixFilesAccepted": true,
"runtimeImportsChanged": false,
"apiRegistered": false,
"automaticStartup": false,
"roleGrantOrTableProvisioning": false,
"generationAuthenticated": false,
"readyAuthorized": false,
"fullDbDirectionComplete": false,
"validationPending": false,
"actualAdoptedTargetTestsPassed": 4,
"actualAdoptedTargetTestExitCode": 0,
"scopedCandidateNoEmitDiagnostics": 0,
"actualCandidateImportSmokeExitCode": 0,
"operatorDocumentation": "docs/mcp-db-connected-publisher.md",
"validationScope": "Four actual adopted-target tests plus Linux current44/default117 functional SQL/TLS/POSIX acceptance; real protected bootstrap and publisher main functions, genesis/renewal/CAS refusal/signatures. Journal-fixed source supersedes two original adoption hashes. Aggregate resource/RAM acceptance refused; no activation/READY.",
"functionalAcceptanceReport": "docs/mcp-publisher-linux-current44-functional-acceptance-20261103.json",
"aggregateResourceAccepted": false,
"ramAccepted": false,
"unknownCommitSqlTested": false
}
@@ -1,38 +1,38 @@
{
"date": "2026-11-02",
"sourceApplied": true,
"scope": "cross-process-journal-lease-through-publish-and-reconcile-cleanup",
"changes": [
{
"path": "backend/scripts/writer-profile/operator-files.mjs",
"beforeSha256": "3819be2067296e0fdde73b94af85c9d9e5b6e34d34988fa4d0fe99a2a7106a3f",
"reviewedCandidateSha256": "d0bff601346f7a319f884191559384cb4c9836ab7bfd82b3bfcc372a15209b04",
"afterSha256": "f61d5c68cd0c8caac457791768cc2925c63023bd5d31a2526dc6248d01387b80"
},
{
"path": "backend/scripts/writer-profile/publisher.mjs",
"beforeSha256": "023106919a69e8987ae788c913d0917e5851f1fac8d6d4f654649b6bff89d72e",
"reviewedCandidateSha256": "af6c88f1c5c130aab011afa860c0ce206f8f70373da3d4f7d1bed389b029d8ce",
"afterSha256": "af6c88f1c5c130aab011afa860c0ce206f8f70373da3d4f7d1bed389b029d8ce"
}
],
"rootReviewAdjustment": "Use bigint fs stats for exact inode/device identity; no rounded numeric identity comparison.",
"independentReview": "tmp/mcp-db-connected-publisher-independent-review-20261102/REVIEW.md",
"actualPosixAccepted": true,
"actualPgOrTlsAccepted": true,
"runtimeActivated": false,
"automaticStaleLeaseRemoval": false,
"testsPending": false,
"windowsRefusalTestsPassed": 1,
"posixTestsSkippedOnWindows": 3,
"posixAcceptancePending": false,
"syntaxChecksExitCode": 0,
"actualLinuxUnitTestsPassed": 3,
"actualLinuxUnitTestsSkipped": 1,
"linuxReport": "docs/mcp-publisher-linux-current44-functional-acceptance-20261103.json",
"actualSqlCommitTested": true,
"aggregateResourceAccepted": false,
"ramAccepted": false,
"unknownCommitSqlTested": false,
"validationScope": "Three genuine Linux POSIX lease unit cases passed (Windows refusal skipped); current44 actual publisher SQL genesis/renewal committed with TLS. Known-COMMIT cleanup refusal covered by filesystem unit, not unknown-COMMIT SQL reconciliation. Functional component accepted; aggregate resource gate refused."
}
{
"date": "2026-11-02",
"sourceApplied": true,
"scope": "cross-process-journal-lease-through-publish-and-reconcile-cleanup",
"changes": [
{
"path": "backend/scripts/writer-profile/operator-files.mjs",
"beforeSha256": "3819be2067296e0fdde73b94af85c9d9e5b6e34d34988fa4d0fe99a2a7106a3f",
"reviewedCandidateSha256": "d0bff601346f7a319f884191559384cb4c9836ab7bfd82b3bfcc372a15209b04",
"afterSha256": "f61d5c68cd0c8caac457791768cc2925c63023bd5d31a2526dc6248d01387b80"
},
{
"path": "backend/scripts/writer-profile/publisher.mjs",
"beforeSha256": "023106919a69e8987ae788c913d0917e5851f1fac8d6d4f654649b6bff89d72e",
"reviewedCandidateSha256": "af6c88f1c5c130aab011afa860c0ce206f8f70373da3d4f7d1bed389b029d8ce",
"afterSha256": "af6c88f1c5c130aab011afa860c0ce206f8f70373da3d4f7d1bed389b029d8ce"
}
],
"rootReviewAdjustment": "Use bigint fs stats for exact inode/device identity; no rounded numeric identity comparison.",
"independentReview": "tmp/mcp-db-connected-publisher-independent-review-20261102/REVIEW.md",
"actualPosixAccepted": true,
"actualPgOrTlsAccepted": true,
"runtimeActivated": false,
"automaticStaleLeaseRemoval": false,
"testsPending": false,
"windowsRefusalTestsPassed": 1,
"posixTestsSkippedOnWindows": 3,
"posixAcceptancePending": false,
"syntaxChecksExitCode": 0,
"actualLinuxUnitTestsPassed": 3,
"actualLinuxUnitTestsSkipped": 1,
"linuxReport": "docs/mcp-publisher-linux-current44-functional-acceptance-20261103.json",
"actualSqlCommitTested": true,
"aggregateResourceAccepted": false,
"ramAccepted": false,
"unknownCommitSqlTested": false,
"validationScope": "Three genuine Linux POSIX lease unit cases passed (Windows refusal skipped); current44 actual publisher SQL genesis/renewal committed with TLS. Known-COMMIT cleanup refusal covered by filesystem unit, not unknown-COMMIT SQL reconciliation. Functional component accepted; aggregate resource gate refused."
}
File diff suppressed because it is too large. Load diff
@@ -1,330 +1,330 @@
{
"format": "mcp-production-typed-registry-read-contract-owned-acceptance-v1",
"date": "2026-11-01",
"acceptedScoped": true,
"scope": "isolated current43 protected registry typed READ DATA contract only",
"parent": "DB-2 protected registry/host integration",
"parentCompleted": false,
"actualSql": true,
"actualGroups": 3,
"observationCount": 6,
"names": [
"production typed reader genuine five-SELECT/source-role-lock/key contract and negative inputs preserve signed current2",
"real exact size-CASE projection probes without changing protected CHECKs or registry rows",
"natural actual-clock expiry refuses; explicit expired inspection returns data only"
],
"testedServerVersionNum": 180004,
"genuineMigrationFiles": 43,
"sanctionedBootstrap": {
"historyRows": 2,
"currentRows": 1,
"currentEpoch": "2",
"syntheticEd25519KeyInBootstrapClosureOnly": true,
"privateKeySuppliedToReadHelper": false,
"noSubsequentRegistryWrites": true,
"rolesAndGrantsUnchanged": true
},
"context": {
"actualOriginalApplicationOperatorLivePair": true,
"isolation": "READ COMMITTED",
"mode": "READ WRITE",
"globalAdmission": "xact shared8723110 before metadata/reader relation access",
"notSessionPreheldBeforeRepeatableRead": true,
"pidFullXidSourceRoleClockVerifiedBeforeAfterEachTransaction": true,
"samePidAcrossSeparateTransactionsClaimed": false,
"protectedStructureCheckedBeforeAfterReader": true,
"readTransactionsKnownRollback": true
},
"queryAccounting": {
"successfulReaderClientQueries": 5,
"expiredInspectionReaderClientQueries": 5,
"wrongSpkiReaderQueriesBeforeRefusal": 4,
"foreignInstallationReaderQueriesBeforeRefusal": 1,
"naturalExpiryReaderQueriesBeforeRefusal": 5,
"notAllUnderlyingSqlCount": true,
"pairWitnessControlStructureFingerprintQueriesAdditional": true,
"allUnderlyingSqlCountMeasured": false,
"performanceClaimed": false
},
"observations": [
{
"name": "genuine current2/latest2 five-SELECT reader",
"clientQueries": 5,
"epoch": "2",
"headSha256": "91ca6307d52480877098706763bc23e7721dec64fb8985f7e1b7e397ff9e7b50",
"serverNow": 1793523676004,
"structureSha256": "937ce3e7bcaa8f0dde4ed0babd7a306833c6ba66383aaabc59dc7cc45d9cb020",
"backendPid": 31836,
"fullXid": "1713",
"currentRowsPreserved": true,
"authority": false,
"index": 1,
"canonicalObservationSha256": "a7b5a1f81c1e711f2b01bc64f6b47ef8ebac5f617ffb34c6890faf9b356d64e7",
"canonicalHashRule": "UTF8 compact JSON sorted object keys, no final newline",
"actualReaderSqlAndParams": [
{
"sql": "(SELECT installation_id FROM mmapp_control.application_writer_profile_history WHERE installation_id<$1::uuid ORDER BY installation_id DESC LIMIT 1) UNION ALL (SELECT installation_id FROM mmapp_control.application_writer_profile_history WHERE installation_id>$1::uuid ORDER BY installation_id LIMIT 1)",
"values": [
"d3b6f0da-555b-4e4f-8945-25b5331b08d3"
]
},
{
"sql": "SELECT installation_id::text,epoch::text,head_sha256 FROM mmapp_control.application_writer_profile_current WHERE id=1"
},
{
"sql": "SELECT installation_id::text,epoch::text,head_sha256,policy_sha256,previous_installation_id::text,previous_epoch::text,previous_head_sha256,CASE WHEN pg_catalog.octet_length(head_bytes) BETWEEN 1 AND 8192 THEN head_bytes ELSE NULL END AS head_bytes FROM mmapp_control.application_writer_profile_history WHERE installation_id=$1::uuid ORDER BY epoch DESC LIMIT 2",
"values": [
"d3b6f0da-555b-4e4f-8945-25b5331b08d3"
]
},
{
"sql": "SELECT policy_sha256,CASE WHEN pg_catalog.octet_length(policy_bytes) BETWEEN 1 AND 1048576 THEN policy_bytes ELSE NULL END AS policy_bytes FROM mmapp_control.application_writer_profile_history WHERE installation_id=$1::uuid AND epoch=$2::bigint AND head_sha256=$3",
"values": [
"d3b6f0da-555b-4e4f-8945-25b5331b08d3",
"2",
"91ca6307d52480877098706763bc23e7721dec64fb8985f7e1b7e397ff9e7b50"
]
},
{
"sql": "SELECT (EXTRACT(EPOCH FROM pg_catalog.clock_timestamp())*1000)::bigint::text AS now"
}
]
},
{
"name": "genuine fixed-SPKI mismatch",
"actualReaderRefusal": "Fixed installation SPKI required",
"clientQueries": 4,
"notPreflightFailure": true,
"knownRolledBack": true,
"currentRowsPreserved": true,
"postSourceRoleClockChecksPassed": true,
"authority": false,
"index": 2,
"canonicalObservationSha256": "570aab83473a3ab799bede1c241e81db376384e563634961b17ef74dc0f6a71b",
"canonicalHashRule": "UTF8 compact JSON sorted object keys, no final newline"
},
{
"name": "genuine foreign-installation refusal",
"actualReaderRefusal": "Foreign installation history refused",
"clientQueries": 1,
"notPreflightFailure": true,
"knownRolledBack": true,
"currentRowsPreserved": true,
"postSourceRoleClockChecksPassed": true,
"authority": false,
"index": 3,
"canonicalObservationSha256": "4c42cf1722591a4a2cd4719be650c1132dd95e0b96e54b5b0658851117b1c931",
"canonicalHashRule": "UTF8 compact JSON sorted object keys, no final newline"
},
{
"name": "real SQL exact observed size-CASE boundaries",
"probes": [
{
"column": "head_bytes",
"inputBytes": 0,
"returnedLength": null,
"returnedNull": true,
"actualSqlProjectionOnly": true
},
{
"column": "head_bytes",
"inputBytes": 8192,
"returnedLength": 8192,
"returnedNull": false,
"actualSqlProjectionOnly": true
},
{
"column": "head_bytes",
"inputBytes": 8193,
"returnedLength": null,
"returnedNull": true,
"actualSqlProjectionOnly": true
},
{
"column": "policy_bytes",
"inputBytes": 0,
"returnedLength": null,
"returnedNull": true,
"actualSqlProjectionOnly": true
},
{
"column": "policy_bytes",
"inputBytes": 1048576,
"returnedLength": 1048576,
"returnedNull": false,
"actualSqlProjectionOnly": true
},
{
"column": "policy_bytes",
"inputBytes": 1048577,
"returnedLength": null,
"returnedNull": true,
"actualSqlProjectionOnly": true
}
],
"currentRowsPreserved": true,
"protectedConstraintsRelaxed": false,
"oversizedRegistryRowStored": false,
"readerOverOversizeProtectedRowClaimed": false,
"authority": false,
"index": 4,
"canonicalObservationSha256": "ffd7646e8d5ec077bde86f4e8ef6c6dc22fd530bb081462faff8528ffbec9d64",
"canonicalHashRule": "UTF8 compact JSON sorted object keys, no final newline"
},
{
"name": "genuine unchanged policy naturally expires",
"actualReaderRefusal": "Current signed policy interval/clock refused",
"clientQueries": 5,
"notPreflightFailure": true,
"knownRolledBack": true,
"readerServerNow": 1793523687908,
"currentRowsPreserved": true,
"postSourceRoleClockChecksPassed": true,
"authority": false,
"index": 5,
"canonicalObservationSha256": "a56a9ad1d7a2ff53db3196c2aced475c74750cf793093168993bc6cbc02e8d69",
"canonicalHashRule": "UTF8 compact JSON sorted object keys, no final newline"
},
{
"name": "genuine expired-policy inspection returns DATA only",
"clientQueries": 5,
"epoch": "2",
"headSha256": "91ca6307d52480877098706763bc23e7721dec64fb8985f7e1b7e397ff9e7b50",
"serverNow": 1793523687999,
"structureSha256": "937ce3e7bcaa8f0dde4ed0babd7a306833c6ba66383aaabc59dc7cc45d9cb020",
"backendPid": 45976,
"fullXid": "1718",
"currentRowsPreserved": true,
"authority": false,
"index": 6,
"canonicalObservationSha256": "a83507f4c816d961ef11ea1d8b3608c7df70da16835b2f3b2ab782f904e58295",
"canonicalHashRule": "UTF8 compact JSON sorted object keys, no final newline",
"actualReaderSqlAndParams": [
{
"sql": "(SELECT installation_id FROM mmapp_control.application_writer_profile_history WHERE installation_id<$1::uuid ORDER BY installation_id DESC LIMIT 1) UNION ALL (SELECT installation_id FROM mmapp_control.application_writer_profile_history WHERE installation_id>$1::uuid ORDER BY installation_id LIMIT 1)",
"values": [
"d3b6f0da-555b-4e4f-8945-25b5331b08d3"
]
},
{
"sql": "SELECT installation_id::text,epoch::text,head_sha256 FROM mmapp_control.application_writer_profile_current WHERE id=1"
},
{
"sql": "SELECT installation_id::text,epoch::text,head_sha256,policy_sha256,previous_installation_id::text,previous_epoch::text,previous_head_sha256,CASE WHEN pg_catalog.octet_length(head_bytes) BETWEEN 1 AND 8192 THEN head_bytes ELSE NULL END AS head_bytes FROM mmapp_control.application_writer_profile_history WHERE installation_id=$1::uuid ORDER BY epoch DESC LIMIT 2",
"values": [
"d3b6f0da-555b-4e4f-8945-25b5331b08d3"
]
},
{
"sql": "SELECT policy_sha256,CASE WHEN pg_catalog.octet_length(policy_bytes) BETWEEN 1 AND 1048576 THEN policy_bytes ELSE NULL END AS policy_bytes FROM mmapp_control.application_writer_profile_history WHERE installation_id=$1::uuid AND epoch=$2::bigint AND head_sha256=$3",
"values": [
"d3b6f0da-555b-4e4f-8945-25b5331b08d3",
"2",
"91ca6307d52480877098706763bc23e7721dec64fb8985f7e1b7e397ff9e7b50"
]
},
{
"sql": "SELECT (EXTRACT(EPOCH FROM pg_catalog.clock_timestamp())*1000)::bigint::text AS now"
}
]
}
],
"oversizeEvidence": {
"actualSqlProjectionOnly": true,
"expressionsTakenFromObservedReaderSql": true,
"boundaryInputsHead": [
0,
8192,
8193
],
"boundaryInputsPolicy": [
0,
1048576,
1048577
],
"zeroAndOverCapReturnNull": true,
"capReturnsExactLength": true,
"registryConstraintsRelaxed": false,
"oversizedRegistryRowStored": false,
"readerOverIllegalStoredRowClaimed": false,
"notAuthority": true
},
"rowPreservation": {
"allCurrentAndHistoryColumnsFingerprintChecked": true,
"current2HeadBefore": "91ca6307d52480877098706763bc23e7721dec64fb8985f7e1b7e397ff9e7b50",
"current2HeadAfterExpiredInspection": "91ca6307d52480877098706763bc23e7721dec64fb8985f7e1b7e397ff9e7b50",
"sameHead": true,
"negativeReaderRefusalMustBeInsideActualReader": true,
"postSourceRoleClockChecksPassed": true
},
"sourcePins": 1756,
"sourcePinsUnchanged": true,
"cleanup": {
"childExitCode": 0,
"childExitConfirmed": true,
"pgExitConfirmed": true,
"nativeExitConfirmed": true,
"directoryRemoved": true,
"terminalOutputConfirmed": true,
"pgFatalObserved": false,
"asyncProcessFault": false,
"unexpectedPgExit": false,
"failureCode": null
},
"rawEvidence": [
{
"file": "tmp/mcp-db-registry-read-contract-20261101/attempt-2026-11-01T09-01-06-517Z-TbWzi7/owned-acceptance.json",
"bytes": 1115406,
"sha256": "f145227a9072a420c9a51abe157b303bca3bbc82d8d5fcf79ba8dde807ace8ca"
},
{
"file": "tmp/mcp-db-registry-read-contract-20261101/attempt-2026-11-01T09-01-06-517Z-TbWzi7/owned-native-progress.json",
"bytes": 368581,
"sha256": "5f3c83e36618c531b8e0e1033ed35404194cfea9df56bab50c337de458d597d0"
},
{
"file": "tmp/mcp-db-registry-read-contract-20261101/attempt-2026-11-01T09-01-06-517Z-TbWzi7/owned-sql.log",
"bytes": 71,
"sha256": "84b861e75a9fb1228209677a38d16e4f0bdc1cbe992d4d12bd2ee501c637c4b8"
},
{
"file": "tmp/mcp-db-registry-read-contract-20261101/attempt-2026-11-01T09-01-06-517Z-TbWzi7/suite-result.json",
"bytes": 7930,
"sha256": "4d1492375b36f4a633432e93386c295846159f934084b82b99aa48f8a06da95a"
}
],
"executingCore": [
{
"file": "tmp/mcp-db-registry-read-contract-20261101/attempt-2026-11-01T09-01-06-517Z-TbWzi7/executing-source/read-contract.staged.ts",
"bytes": 9005,
"sha256": "e370954c2e922c97a927dc8d803d3e1a2d80b5e3d305d531cb1852d6d011f458"
},
{
"file": "tmp/mcp-db-registry-read-contract-20261101/attempt-2026-11-01T09-01-06-517Z-TbWzi7/executing-source/suite.mjs",
"bytes": 10904,
"sha256": "17d8efb86436b520481fd8354d75b9395bb1e91d4067ef6b1405dcef807e86c6"
},
{
"file": "tmp/mcp-db-registry-read-contract-20261101/attempt-2026-11-01T09-01-06-517Z-TbWzi7/executing-source/run-owned.mjs",
"bytes": 16887,
"sha256": "ce0e265a59f4c0180b57b6348b3ea88dd83d5cf92b588634bbd081f7619ec1e1"
}
],
"reviewManifest": {
"file": "tmp/mcp-db-registry-read-contract-20261101/review-manifest.json",
"bytes": 7239,
"sha256": "d6928aa9f9679087054e65213790f75d3931506c1d655ca422d929345413924f"
},
"fullIssuer5Repeated": false,
"cost4Repeated": false,
"productionSourceModifiedByThisAcceptance": false,
"readerRuntimeOrAuthorityWired": false,
"productionRolePolicySelected": false,
"publisherCasOrRenewalImplemented": false,
"productionKeyloaderActivated": false,
"sourceGenerationAuthenticated": false,
"physicalRollbackProof": false,
"allWriterDrainAuthenticated": false,
"readyAuthorized": false,
"nextSmallPortRecommendation": "Private typed protected-registry structure/index/FK/ACL read verifier from accepted MJS protectedStructure, after explicit protected logical-role\u2192name/OID mapping review; no publish/DDL/pools/authority. No implementation started."
}
{
"format": "mcp-production-typed-registry-read-contract-owned-acceptance-v1",
"date": "2026-11-01",
"acceptedScoped": true,
"scope": "isolated current43 protected registry typed READ DATA contract only",
"parent": "DB-2 protected registry/host integration",
"parentCompleted": false,
"actualSql": true,
"actualGroups": 3,
"observationCount": 6,
"names": [
"production typed reader genuine five-SELECT/source-role-lock/key contract and negative inputs preserve signed current2",
"real exact size-CASE projection probes without changing protected CHECKs or registry rows",
"natural actual-clock expiry refuses; explicit expired inspection returns data only"
],
"testedServerVersionNum": 180004,
"genuineMigrationFiles": 43,
"sanctionedBootstrap": {
"historyRows": 2,
"currentRows": 1,
"currentEpoch": "2",
"syntheticEd25519KeyInBootstrapClosureOnly": true,
"privateKeySuppliedToReadHelper": false,
"noSubsequentRegistryWrites": true,
"rolesAndGrantsUnchanged": true
},
"context": {
"actualOriginalApplicationOperatorLivePair": true,
"isolation": "READ COMMITTED",
"mode": "READ WRITE",
"globalAdmission": "xact shared8723110 before metadata/reader relation access",
"notSessionPreheldBeforeRepeatableRead": true,
"pidFullXidSourceRoleClockVerifiedBeforeAfterEachTransaction": true,
"samePidAcrossSeparateTransactionsClaimed": false,
"protectedStructureCheckedBeforeAfterReader": true,
"readTransactionsKnownRollback": true
},
"queryAccounting": {
"successfulReaderClientQueries": 5,
"expiredInspectionReaderClientQueries": 5,
"wrongSpkiReaderQueriesBeforeRefusal": 4,
"foreignInstallationReaderQueriesBeforeRefusal": 1,
"naturalExpiryReaderQueriesBeforeRefusal": 5,
"notAllUnderlyingSqlCount": true,
"pairWitnessControlStructureFingerprintQueriesAdditional": true,
"allUnderlyingSqlCountMeasured": false,
"performanceClaimed": false
},
"observations": [
{
"name": "genuine current2/latest2 five-SELECT reader",
"clientQueries": 5,
"epoch": "2",
"headSha256": "91ca6307d52480877098706763bc23e7721dec64fb8985f7e1b7e397ff9e7b50",
"serverNow": 1793523676004,
"structureSha256": "937ce3e7bcaa8f0dde4ed0babd7a306833c6ba66383aaabc59dc7cc45d9cb020",
"backendPid": 31836,
"fullXid": "1713",
"currentRowsPreserved": true,
"authority": false,
"index": 1,
"canonicalObservationSha256": "a7b5a1f81c1e711f2b01bc64f6b47ef8ebac5f617ffb34c6890faf9b356d64e7",
"canonicalHashRule": "UTF8 compact JSON sorted object keys, no final newline",
"actualReaderSqlAndParams": [
{
"sql": "(SELECT installation_id FROM mmapp_control.application_writer_profile_history WHERE installation_id<$1::uuid ORDER BY installation_id DESC LIMIT 1) UNION ALL (SELECT installation_id FROM mmapp_control.application_writer_profile_history WHERE installation_id>$1::uuid ORDER BY installation_id LIMIT 1)",
"values": [
"d3b6f0da-555b-4e4f-8945-25b5331b08d3"
]
},
{
"sql": "SELECT installation_id::text,epoch::text,head_sha256 FROM mmapp_control.application_writer_profile_current WHERE id=1"
},
{
"sql": "SELECT installation_id::text,epoch::text,head_sha256,policy_sha256,previous_installation_id::text,previous_epoch::text,previous_head_sha256,CASE WHEN pg_catalog.octet_length(head_bytes) BETWEEN 1 AND 8192 THEN head_bytes ELSE NULL END AS head_bytes FROM mmapp_control.application_writer_profile_history WHERE installation_id=$1::uuid ORDER BY epoch DESC LIMIT 2",
"values": [
"d3b6f0da-555b-4e4f-8945-25b5331b08d3"
]
},
{
"sql": "SELECT policy_sha256,CASE WHEN pg_catalog.octet_length(policy_bytes) BETWEEN 1 AND 1048576 THEN policy_bytes ELSE NULL END AS policy_bytes FROM mmapp_control.application_writer_profile_history WHERE installation_id=$1::uuid AND epoch=$2::bigint AND head_sha256=$3",
"values": [
"d3b6f0da-555b-4e4f-8945-25b5331b08d3",
"2",
"91ca6307d52480877098706763bc23e7721dec64fb8985f7e1b7e397ff9e7b50"
]
},
{
"sql": "SELECT (EXTRACT(EPOCH FROM pg_catalog.clock_timestamp())*1000)::bigint::text AS now"
}
]
},
{
"name": "genuine fixed-SPKI mismatch",
"actualReaderRefusal": "Fixed installation SPKI required",
"clientQueries": 4,
"notPreflightFailure": true,
"knownRolledBack": true,
"currentRowsPreserved": true,
"postSourceRoleClockChecksPassed": true,
"authority": false,
"index": 2,
"canonicalObservationSha256": "570aab83473a3ab799bede1c241e81db376384e563634961b17ef74dc0f6a71b",
"canonicalHashRule": "UTF8 compact JSON sorted object keys, no final newline"
},
{
"name": "genuine foreign-installation refusal",
"actualReaderRefusal": "Foreign installation history refused",
"clientQueries": 1,
"notPreflightFailure": true,
"knownRolledBack": true,
"currentRowsPreserved": true,
"postSourceRoleClockChecksPassed": true,
"authority": false,
"index": 3,
"canonicalObservationSha256": "4c42cf1722591a4a2cd4719be650c1132dd95e0b96e54b5b0658851117b1c931",
"canonicalHashRule": "UTF8 compact JSON sorted object keys, no final newline"
},
{
"name": "real SQL exact observed size-CASE boundaries",
"probes": [
{
"column": "head_bytes",
"inputBytes": 0,
"returnedLength": null,
"returnedNull": true,
"actualSqlProjectionOnly": true
},
{
"column": "head_bytes",
"inputBytes": 8192,
"returnedLength": 8192,
"returnedNull": false,
"actualSqlProjectionOnly": true
},
{
"column": "head_bytes",
"inputBytes": 8193,
"returnedLength": null,
"returnedNull": true,
"actualSqlProjectionOnly": true
},
{
"column": "policy_bytes",
"inputBytes": 0,
"returnedLength": null,
"returnedNull": true,
"actualSqlProjectionOnly": true
},
{
"column": "policy_bytes",
"inputBytes": 1048576,
"returnedLength": 1048576,
"returnedNull": false,
"actualSqlProjectionOnly": true
},
{
"column": "policy_bytes",
"inputBytes": 1048577,
"returnedLength": null,
"returnedNull": true,
"actualSqlProjectionOnly": true
}
],
"currentRowsPreserved": true,
"protectedConstraintsRelaxed": false,
"oversizedRegistryRowStored": false,
"readerOverOversizeProtectedRowClaimed": false,
"authority": false,
"index": 4,
"canonicalObservationSha256": "ffd7646e8d5ec077bde86f4e8ef6c6dc22fd530bb081462faff8528ffbec9d64",
"canonicalHashRule": "UTF8 compact JSON sorted object keys, no final newline"
},
{
"name": "genuine unchanged policy naturally expires",
"actualReaderRefusal": "Current signed policy interval/clock refused",
"clientQueries": 5,
"notPreflightFailure": true,
"knownRolledBack": true,
"readerServerNow": 1793523687908,
"currentRowsPreserved": true,
"postSourceRoleClockChecksPassed": true,
"authority": false,
"index": 5,
"canonicalObservationSha256": "a56a9ad1d7a2ff53db3196c2aced475c74750cf793093168993bc6cbc02e8d69",
"canonicalHashRule": "UTF8 compact JSON sorted object keys, no final newline"
},
{
"name": "genuine expired-policy inspection returns DATA only",
"clientQueries": 5,
"epoch": "2",
"headSha256": "91ca6307d52480877098706763bc23e7721dec64fb8985f7e1b7e397ff9e7b50",
"serverNow": 1793523687999,
"structureSha256": "937ce3e7bcaa8f0dde4ed0babd7a306833c6ba66383aaabc59dc7cc45d9cb020",
"backendPid": 45976,
"fullXid": "1718",
"currentRowsPreserved": true,
"authority": false,
"index": 6,
"canonicalObservationSha256": "a83507f4c816d961ef11ea1d8b3608c7df70da16835b2f3b2ab782f904e58295",
"canonicalHashRule": "UTF8 compact JSON sorted object keys, no final newline",
"actualReaderSqlAndParams": [
{
"sql": "(SELECT installation_id FROM mmapp_control.application_writer_profile_history WHERE installation_id<$1::uuid ORDER BY installation_id DESC LIMIT 1) UNION ALL (SELECT installation_id FROM mmapp_control.application_writer_profile_history WHERE installation_id>$1::uuid ORDER BY installation_id LIMIT 1)",
"values": [
"d3b6f0da-555b-4e4f-8945-25b5331b08d3"
]
},
{
"sql": "SELECT installation_id::text,epoch::text,head_sha256 FROM mmapp_control.application_writer_profile_current WHERE id=1"
},
{
"sql": "SELECT installation_id::text,epoch::text,head_sha256,policy_sha256,previous_installation_id::text,previous_epoch::text,previous_head_sha256,CASE WHEN pg_catalog.octet_length(head_bytes) BETWEEN 1 AND 8192 THEN head_bytes ELSE NULL END AS head_bytes FROM mmapp_control.application_writer_profile_history WHERE installation_id=$1::uuid ORDER BY epoch DESC LIMIT 2",
"values": [
"d3b6f0da-555b-4e4f-8945-25b5331b08d3"
]
},
{
"sql": "SELECT policy_sha256,CASE WHEN pg_catalog.octet_length(policy_bytes) BETWEEN 1 AND 1048576 THEN policy_bytes ELSE NULL END AS policy_bytes FROM mmapp_control.application_writer_profile_history WHERE installation_id=$1::uuid AND epoch=$2::bigint AND head_sha256=$3",
"values": [
"d3b6f0da-555b-4e4f-8945-25b5331b08d3",
"2",
"91ca6307d52480877098706763bc23e7721dec64fb8985f7e1b7e397ff9e7b50"
]
},
{
"sql": "SELECT (EXTRACT(EPOCH FROM pg_catalog.clock_timestamp())*1000)::bigint::text AS now"
}
]
}
],
"oversizeEvidence": {
"actualSqlProjectionOnly": true,
"expressionsTakenFromObservedReaderSql": true,
"boundaryInputsHead": [
0,
8192,
8193
],
"boundaryInputsPolicy": [
0,
1048576,
1048577
],
"zeroAndOverCapReturnNull": true,
"capReturnsExactLength": true,
"registryConstraintsRelaxed": false,
"oversizedRegistryRowStored": false,
"readerOverIllegalStoredRowClaimed": false,
"notAuthority": true
},
"rowPreservation": {
"allCurrentAndHistoryColumnsFingerprintChecked": true,
"current2HeadBefore": "91ca6307d52480877098706763bc23e7721dec64fb8985f7e1b7e397ff9e7b50",
"current2HeadAfterExpiredInspection": "91ca6307d52480877098706763bc23e7721dec64fb8985f7e1b7e397ff9e7b50",
"sameHead": true,
"negativeReaderRefusalMustBeInsideActualReader": true,
"postSourceRoleClockChecksPassed": true
},
"sourcePins": 1756,
"sourcePinsUnchanged": true,
"cleanup": {
"childExitCode": 0,
"childExitConfirmed": true,
"pgExitConfirmed": true,
"nativeExitConfirmed": true,
"directoryRemoved": true,
"terminalOutputConfirmed": true,
"pgFatalObserved": false,
"asyncProcessFault": false,
"unexpectedPgExit": false,
"failureCode": null
},
"rawEvidence": [
{
"file": "tmp/mcp-db-registry-read-contract-20261101/attempt-2026-11-01T09-01-06-517Z-TbWzi7/owned-acceptance.json",
"bytes": 1115406,
"sha256": "f145227a9072a420c9a51abe157b303bca3bbc82d8d5fcf79ba8dde807ace8ca"
},
{
"file": "tmp/mcp-db-registry-read-contract-20261101/attempt-2026-11-01T09-01-06-517Z-TbWzi7/owned-native-progress.json",
"bytes": 368581,
"sha256": "5f3c83e36618c531b8e0e1033ed35404194cfea9df56bab50c337de458d597d0"
},
{
"file": "tmp/mcp-db-registry-read-contract-20261101/attempt-2026-11-01T09-01-06-517Z-TbWzi7/owned-sql.log",
"bytes": 71,
"sha256": "84b861e75a9fb1228209677a38d16e4f0bdc1cbe992d4d12bd2ee501c637c4b8"
},
{
"file": "tmp/mcp-db-registry-read-contract-20261101/attempt-2026-11-01T09-01-06-517Z-TbWzi7/suite-result.json",
"bytes": 7930,
"sha256": "4d1492375b36f4a633432e93386c295846159f934084b82b99aa48f8a06da95a"
}
],
"executingCore": [
{
"file": "tmp/mcp-db-registry-read-contract-20261101/attempt-2026-11-01T09-01-06-517Z-TbWzi7/executing-source/read-contract.staged.ts",
"bytes": 9005,
"sha256": "e370954c2e922c97a927dc8d803d3e1a2d80b5e3d305d531cb1852d6d011f458"
},
{
"file": "tmp/mcp-db-registry-read-contract-20261101/attempt-2026-11-01T09-01-06-517Z-TbWzi7/executing-source/suite.mjs",
"bytes": 10904,
"sha256": "17d8efb86436b520481fd8354d75b9395bb1e91d4067ef6b1405dcef807e86c6"
},
{
"file": "tmp/mcp-db-registry-read-contract-20261101/attempt-2026-11-01T09-01-06-517Z-TbWzi7/executing-source/run-owned.mjs",
"bytes": 16887,
"sha256": "ce0e265a59f4c0180b57b6348b3ea88dd83d5cf92b588634bbd081f7619ec1e1"
}
],
"reviewManifest": {
"file": "tmp/mcp-db-registry-read-contract-20261101/review-manifest.json",
"bytes": 7239,
"sha256": "d6928aa9f9679087054e65213790f75d3931506c1d655ca422d929345413924f"
},
"fullIssuer5Repeated": false,
"cost4Repeated": false,
"productionSourceModifiedByThisAcceptance": false,
"readerRuntimeOrAuthorityWired": false,
"productionRolePolicySelected": false,
"publisherCasOrRenewalImplemented": false,
"productionKeyloaderActivated": false,
"sourceGenerationAuthenticated": false,
"physicalRollbackProof": false,
"allWriterDrainAuthenticated": false,
"readyAuthorized": false,
"nextSmallPortRecommendation": "Private typed protected-registry structure/index/FK/ACL read verifier from accepted MJS protectedStructure, after explicit protected logical-role\u2192name/OID mapping review; no publish/DDL/pools/authority. No implementation started."
}
@@ -1,132 +1,132 @@
{
"date": "2026-10-29",
"status": "operator-peer-source-component-accepted",
"s3Closed": 5,
"s3Total": 10,
"fullPlanComplete": false,
"operatorMetadataSubsteps": {
"OP-M1": "accepted-public-files",
"OP-M2": "accepted-public-same-lease",
"OP-M3": "accepted-guarded-managed-and-external-components",
"OP-M4": "open"
},
"operatorMetadataClosed": 3,
"operatorMetadataTotal": 4,
"sources": {
"managed": "fixed gated SQL plus exact private current predicate",
"external": "canonical encrypted profile; AES-256-GCM iv12/tag16; all public header fields in AAD",
"sourceProof": "SHA256 randomized ciphertext profile, never plaintext password hash",
"externalProfileAndGuardInstallationMustMatchBeforeIo": true,
"sourceDirectoryCloneRefuses": true,
"metadataWorksWithExternalKeyAbsent": true,
"metadataQControlSqlNativeAndCredentialProjectionAdded": false,
"firstWallAndMonotonicHorizonPinned": true,
"originalWindowMs": 5000,
"provisioningOrRuntimeDefaultAdded": false,
"extraPoolRoleProcessMigration": false
},
"guard": {
"privateBrandMandatory": true,
"anonymousCopiesJsonRefuse": true,
"readChecksOriginalQAndPhysicalOwner": true,
"metadataDoesNotClaimQOrHeldOwnerProof": true,
"factoryCapturedAtServerConstructionOnly": true,
"factoryCreatedOnlyAfterHeldWindow": true,
"factoryForwardedByDockerWrapper": true
},
"lifecycle": {
"actualConnectorAlwaysPublishesReadOnlySignal": true,
"abortBeforePhysicalRelease": true,
"sameSignalCoreAndNode": true,
"guardRequiresLiveChannel": true,
"knownOwnerLossDuringAwaitedQRevokesBeforeConsumerKeyCallback": true,
"normalIntentionalRetireDoesNotConvertKnownCommitToUnknown": true,
"legacyGuardlessWindowsRemainCompatible": true,
"distributedAtomicFencingClaim": false
},
"verification": {
"focusedTests": 57,
"focusedFailed": 0,
"ownedSql": {
"groups": 9,
"checks": [
"genuine signed original/window guard, actual held PostgreSQL PID/session lock and localhost license GET; encrypted external metadata succeeds with key absent and zero Q/control-SQL/native/projection",
"owned external metadata refuses generation without new Q/SQL/native calls or automatic replay; physical owner retires",
"owned external metadata refuses ciphertext without new Q/SQL/native calls or automatic replay; physical owner retires",
"owned external metadata refuses directory-clone without new Q/SQL/native calls or automatic replay; physical owner retires",
"owned external metadata refuses grant without new Q/SQL/native calls or automatic replay; physical owner retires",
"owned external metadata refuses copies without new Q/SQL/native calls or automatic replay; physical owner retires",
"genuine managed guarded credentials use actual application row epoch; actual localhost GET and same physical owner; metadata fixed application boolean comparison adds no Q/control-SQL/native or credential projection",
"only exact owned database/owner/PID terminated; genuine window/source guard refuses before initial native GET and COMMIT; ordered read guard precedes key/decrypt; physical PID disappears",
"actual HELD ACK followed by pinned-owner termination during awaited Q; raw lifetime signal revoked before normal Q return; no key/decrypt admission, native GET or COMMIT"
],
"actualSql": true,
"genuineLocalhostLicense": true,
"guardedManagedAndExternalSources": true,
"originalWindowMs": 5000,
"quiescenceVerifier": "synthetic-fixture",
"catalogSource": "synthetic-fixture",
"productionOperatorWindowAccepted": false,
"productionWired": false
},
"nativeTests": 77,
"nativeSkipped": 0,
"probeStorageModelsExitCode": 0,
"fullPeerExitCode": 0,
"backendBuildExitCode": 0,
"legacyOwnedSqlCases": 24,
"legacyLicenseGets": 89,
"legacyBtestPosts": 2,
"legacyUnknownPairPreserved": true,
"normalMigrations": 39
},
"open": {
"OP-M4FixedEffectDispatcher": true,
"positiveMeasuredDockerLatencyFullRegistration": true,
"realDockerWindowAcceptance": true,
"globalCallersAndPublicActionActivation": true,
"wholeInstallation2GbLoadAcceptance": true
},
"stand": {
"realChrCallsThisComponent": 0,
"realDockerChangesThisComponent": 0,
"additionalBackendWindowsRemainingAccordingToLocalAuthorizationLedger": 1,
"lastReadOnlyRemoteSnapshotDate": "2026-10-28",
"remoteStateRefreshedToday": false
},
"next": [
"closed fixed metadata/key/SQL effect pipeline on the same physical owner",
"positive owned SQL/HTTP under actual measured Docker delays without TTL/RAM increases",
"fresh pinned preflight then remaining approved backend window with recovery"
],
"evidenceSha256": {
"backend/src/services/bandwidth-managed-peer-source.ts": "19d428dd6b2095edb28b6aff6427fb94eaf2a9a7cb790f4d7991d4cbc62d99a6",
"backend/src/services/bandwidth-managed-peer-source.test.ts": "2957c2d2bd4eee533175415eaf35100ace32ea3d717c86bd112c0b3aa88bc99a",
"backend/src/services/bandwidth-external-peer-source.ts": "3f1e131178ef2dca32c04c09c7f1dea9ba84e51aba79f5e8e82b9aa75d95cb55",
"backend/src/services/bandwidth-external-peer-source.test.ts": "e8fc0c4a96fdfcd3ffb7d09fe5f5a6f281c3daa0579073811ce1dafe638a9260",
"backend/src/services/bandwidth-operator-writer-window.ts": "7196362985f82b48f6979bf78507b3074335c22dce1f99e2acf47c21b769387b",
"backend/src/services/bandwidth-operator-peer-source-guard.test.ts": "bc36e00fa5d94b644a1b129e0795feb296c075f960abd98a815a692264f30eca",
"backend/src/services/bandwidth-operator-writer-composition.ts": "c0711c9a8b788964381acc500bf68037bb9fdd2ff0db23934d266d3e92d030c7",
"backend/src/services/bandwidth-operator-peer-source-composition.test.ts": "6171cda7952edb7294e5bd6f7e34f278acdf3073e2bcd9c3d79d4a4d7e65bee1",
"backend/src/services/bandwidth-operator-docker-stop.ts": "47ce825f1ca6fbc6be7289c05edfcfbe5b14812d25c585239c9d06ae3c02dea9",
"backend/src/services/server-probe-journal-maintenance.ts": "df3769cf44046dbfd300d69ca9569f6ec97173f3abab0e3029522db31f1d8a6e",
"backend/src/services/server-probe-storage-connection.ts": "a9baffc613dad5af6aa5dcd748b6e4b594630e6df74dfffbddb59bc08a96a0c5",
"backend/src/services/server-probe-storage-connection.test.ts": "8e726050a8f644dfb53bc433e0b7990cbfb84c16ed90f385498cbd2bd60081d8",
"backend/src/services/bandwidth-control-source.ts": "943eb4a413c07d1b1ff124c16e736a52026259d71527debe5ab716e3a2e98aa2",
"backend/src/services/bandwidth-node-source.ts": "e4a5ad7b794476ecf4f6c502db1017f54ec1c646ef040d9f335753992d64179e",
"backend/src/services/bandwidth-external-peer-metadata.sql-helper.ts": "3f28d815ebde277aa35a98b34364f0d40c2098070071e43a6f3c637b9bf6e7f7",
"backend/src/services/bandwidth-external-peer-metadata.sql.test.ts": "33b4c661041a2aca488628cf07770119e22d9e4e1b6b890f60fe8010182482dd",
"backend/scripts/test-mcp-postgres.mjs": "c127100b34892f80bff7c3d00cb3ffa77d70c795fcd7c3f0fd3282af3e7c8fa0",
"backend/package.json": "6c7d1147e5ea6b00f9128841bbb903f29b336b19a13d6512d16910d58a1615bf",
"docs/bandwidth-operator-peer-sources.md": "4c5d48b7d85c4683bbacfe7b3bee8f2a7cbf34545d17646e69aa963a23bc49c3",
"tmp/mcp-guarded-peer-sources-owned-pg-lifecycle-20261029.log": "52c7851d42b5dcbd68ac0891e142ca9f66c1af9317d5807924263c42d2a6fad8",
"tmp/mcp-guarded-peer-sources-lifecycle-unit-20261029.log": "223b1d6144ead7eb8dfc5f6d1202bec7715a3410a261ddbca708614dd7172231",
"tmp/mcp-guarded-peer-sources-peer-final-20261029.log": "8d799f9dfc2f85f48999bdf4d92c7fc599656c84041d81356b169be615694fd7",
"tmp/mcp-guarded-peer-sources-native-final-20261029.log": "5c6d87a1597dfc4ecdc5baf3a02af554ed2e40e5c012094f36d327b782889909",
"tmp/mcp-guarded-peer-sources-storage-final-20261029.log": "8bb992bf9c44d535054564857d66920a140f0f90899b0507bcdf29bd3d95ad62",
"tmp/mcp-guarded-peer-sources-build-final-20261029.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"tmp/mcp-guarded-peer-sources-legacy-pg-20261029.log": "4ecee32c9697f3f98a12d4b154e57780bc3fc1eed7267ea1b2af04b47ee307a9",
"tmp/operator-peer-source-lifetime-before-20261029.log": "8998a2dc98a65040e13608e83c65f47164e53fe1514eeee9fe17c6a3a8bf07a5",
"tmp/mcp-guarded-peer-sources-exclusive-flag-20261029.log": "ccc6620e3f0f1ef5517fd9ed2a2d4e2fc197e24a61f4a4b3bee949598a38af3a"
}
}
{
"date": "2026-10-29",
"status": "operator-peer-source-component-accepted",
"s3Closed": 5,
"s3Total": 10,
"fullPlanComplete": false,
"operatorMetadataSubsteps": {
"OP-M1": "accepted-public-files",
"OP-M2": "accepted-public-same-lease",
"OP-M3": "accepted-guarded-managed-and-external-components",
"OP-M4": "open"
},
"operatorMetadataClosed": 3,
"operatorMetadataTotal": 4,
"sources": {
"managed": "fixed gated SQL plus exact private current predicate",
"external": "canonical encrypted profile; AES-256-GCM iv12/tag16; all public header fields in AAD",
"sourceProof": "SHA256 randomized ciphertext profile, never plaintext password hash",
"externalProfileAndGuardInstallationMustMatchBeforeIo": true,
"sourceDirectoryCloneRefuses": true,
"metadataWorksWithExternalKeyAbsent": true,
"metadataQControlSqlNativeAndCredentialProjectionAdded": false,
"firstWallAndMonotonicHorizonPinned": true,
"originalWindowMs": 5000,
"provisioningOrRuntimeDefaultAdded": false,
"extraPoolRoleProcessMigration": false
},
"guard": {
"privateBrandMandatory": true,
"anonymousCopiesJsonRefuse": true,
"readChecksOriginalQAndPhysicalOwner": true,
"metadataDoesNotClaimQOrHeldOwnerProof": true,
"factoryCapturedAtServerConstructionOnly": true,
"factoryCreatedOnlyAfterHeldWindow": true,
"factoryForwardedByDockerWrapper": true
},
"lifecycle": {
"actualConnectorAlwaysPublishesReadOnlySignal": true,
"abortBeforePhysicalRelease": true,
"sameSignalCoreAndNode": true,
"guardRequiresLiveChannel": true,
"knownOwnerLossDuringAwaitedQRevokesBeforeConsumerKeyCallback": true,
"normalIntentionalRetireDoesNotConvertKnownCommitToUnknown": true,
"legacyGuardlessWindowsRemainCompatible": true,
"distributedAtomicFencingClaim": false
},
"verification": {
"focusedTests": 57,
"focusedFailed": 0,
"ownedSql": {
"groups": 9,
"checks": [
"genuine signed original/window guard, actual held PostgreSQL PID/session lock and localhost license GET; encrypted external metadata succeeds with key absent and zero Q/control-SQL/native/projection",
"owned external metadata refuses generation without new Q/SQL/native calls or automatic replay; physical owner retires",
"owned external metadata refuses ciphertext without new Q/SQL/native calls or automatic replay; physical owner retires",
"owned external metadata refuses directory-clone without new Q/SQL/native calls or automatic replay; physical owner retires",
"owned external metadata refuses grant without new Q/SQL/native calls or automatic replay; physical owner retires",
"owned external metadata refuses copies without new Q/SQL/native calls or automatic replay; physical owner retires",
"genuine managed guarded credentials use actual application row epoch; actual localhost GET and same physical owner; metadata fixed application boolean comparison adds no Q/control-SQL/native or credential projection",
"only exact owned database/owner/PID terminated; genuine window/source guard refuses before initial native GET and COMMIT; ordered read guard precedes key/decrypt; physical PID disappears",
"actual HELD ACK followed by pinned-owner termination during awaited Q; raw lifetime signal revoked before normal Q return; no key/decrypt admission, native GET or COMMIT"
],
"actualSql": true,
"genuineLocalhostLicense": true,
"guardedManagedAndExternalSources": true,
"originalWindowMs": 5000,
"quiescenceVerifier": "synthetic-fixture",
"catalogSource": "synthetic-fixture",
"productionOperatorWindowAccepted": false,
"productionWired": false
},
"nativeTests": 77,
"nativeSkipped": 0,
"probeStorageModelsExitCode": 0,
"fullPeerExitCode": 0,
"backendBuildExitCode": 0,
"legacyOwnedSqlCases": 24,
"legacyLicenseGets": 89,
"legacyBtestPosts": 2,
"legacyUnknownPairPreserved": true,
"normalMigrations": 39
},
"open": {
"OP-M4FixedEffectDispatcher": true,
"positiveMeasuredDockerLatencyFullRegistration": true,
"realDockerWindowAcceptance": true,
"globalCallersAndPublicActionActivation": true,
"wholeInstallation2GbLoadAcceptance": true
},
"stand": {
"realChrCallsThisComponent": 0,
"realDockerChangesThisComponent": 0,
"additionalBackendWindowsRemainingAccordingToLocalAuthorizationLedger": 1,
"lastReadOnlyRemoteSnapshotDate": "2026-10-28",
"remoteStateRefreshedToday": false
},
"next": [
"closed fixed metadata/key/SQL effect pipeline on the same physical owner",
"positive owned SQL/HTTP under actual measured Docker delays without TTL/RAM increases",
"fresh pinned preflight then remaining approved backend window with recovery"
],
"evidenceSha256": {
"backend/src/services/bandwidth-managed-peer-source.ts": "19d428dd6b2095edb28b6aff6427fb94eaf2a9a7cb790f4d7991d4cbc62d99a6",
"backend/src/services/bandwidth-managed-peer-source.test.ts": "2957c2d2bd4eee533175415eaf35100ace32ea3d717c86bd112c0b3aa88bc99a",
"backend/src/services/bandwidth-external-peer-source.ts": "3f1e131178ef2dca32c04c09c7f1dea9ba84e51aba79f5e8e82b9aa75d95cb55",
"backend/src/services/bandwidth-external-peer-source.test.ts": "e8fc0c4a96fdfcd3ffb7d09fe5f5a6f281c3daa0579073811ce1dafe638a9260",
"backend/src/services/bandwidth-operator-writer-window.ts": "7196362985f82b48f6979bf78507b3074335c22dce1f99e2acf47c21b769387b",
"backend/src/services/bandwidth-operator-peer-source-guard.test.ts": "bc36e00fa5d94b644a1b129e0795feb296c075f960abd98a815a692264f30eca",
"backend/src/services/bandwidth-operator-writer-composition.ts": "c0711c9a8b788964381acc500bf68037bb9fdd2ff0db23934d266d3e92d030c7",
"backend/src/services/bandwidth-operator-peer-source-composition.test.ts": "6171cda7952edb7294e5bd6f7e34f278acdf3073e2bcd9c3d79d4a4d7e65bee1",
"backend/src/services/bandwidth-operator-docker-stop.ts": "47ce825f1ca6fbc6be7289c05edfcfbe5b14812d25c585239c9d06ae3c02dea9",
"backend/src/services/server-probe-journal-maintenance.ts": "df3769cf44046dbfd300d69ca9569f6ec97173f3abab0e3029522db31f1d8a6e",
"backend/src/services/server-probe-storage-connection.ts": "a9baffc613dad5af6aa5dcd748b6e4b594630e6df74dfffbddb59bc08a96a0c5",
"backend/src/services/server-probe-storage-connection.test.ts": "8e726050a8f644dfb53bc433e0b7990cbfb84c16ed90f385498cbd2bd60081d8",
"backend/src/services/bandwidth-control-source.ts": "943eb4a413c07d1b1ff124c16e736a52026259d71527debe5ab716e3a2e98aa2",
"backend/src/services/bandwidth-node-source.ts": "e4a5ad7b794476ecf4f6c502db1017f54ec1c646ef040d9f335753992d64179e",
"backend/src/services/bandwidth-external-peer-metadata.sql-helper.ts": "3f28d815ebde277aa35a98b34364f0d40c2098070071e43a6f3c637b9bf6e7f7",
"backend/src/services/bandwidth-external-peer-metadata.sql.test.ts": "33b4c661041a2aca488628cf07770119e22d9e4e1b6b890f60fe8010182482dd",
"backend/scripts/test-mcp-postgres.mjs": "c127100b34892f80bff7c3d00cb3ffa77d70c795fcd7c3f0fd3282af3e7c8fa0",
"backend/package.json": "6c7d1147e5ea6b00f9128841bbb903f29b336b19a13d6512d16910d58a1615bf",
"docs/bandwidth-operator-peer-sources.md": "4c5d48b7d85c4683bbacfe7b3bee8f2a7cbf34545d17646e69aa963a23bc49c3",
"tmp/mcp-guarded-peer-sources-owned-pg-lifecycle-20261029.log": "52c7851d42b5dcbd68ac0891e142ca9f66c1af9317d5807924263c42d2a6fad8",
"tmp/mcp-guarded-peer-sources-lifecycle-unit-20261029.log": "223b1d6144ead7eb8dfc5f6d1202bec7715a3410a261ddbca708614dd7172231",
"tmp/mcp-guarded-peer-sources-peer-final-20261029.log": "8d799f9dfc2f85f48999bdf4d92c7fc599656c84041d81356b169be615694fd7",
"tmp/mcp-guarded-peer-sources-native-final-20261029.log": "5c6d87a1597dfc4ecdc5baf3a02af554ed2e40e5c012094f36d327b782889909",
"tmp/mcp-guarded-peer-sources-storage-final-20261029.log": "8bb992bf9c44d535054564857d66920a140f0f90899b0507bcdf29bd3d95ad62",
"tmp/mcp-guarded-peer-sources-build-final-20261029.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"tmp/mcp-guarded-peer-sources-legacy-pg-20261029.log": "4ecee32c9697f3f98a12d4b154e57780bc3fc1eed7267ea1b2af04b47ee307a9",
"tmp/operator-peer-source-lifetime-before-20261029.log": "8998a2dc98a65040e13608e83c65f47164e53fe1514eeee9fe17c6a3a8bf07a5",
"tmp/mcp-guarded-peer-sources-exclusive-flag-20261029.log": "ccc6620e3f0f1ef5517fd9ed2a2d4e2fc197e24a61f4a4b3bee949598a38af3a"
}
}
+113 -113
View File
@@ -1,113 +1,113 @@
{
"recordedAt": "2026-10-24T16:46:50.300422+00:00",
"fullPlanComplete": false,
"deployed": false,
"chrAccessed": false,
"collectorsStarted": false,
"all27BackendProfilesRepeated": false,
"inventory": {
"tools": 350,
"routes": 262,
"mediated": 188,
"excluded": 62,
"pending": 12
},
"validation": {
"mcpModels": {
"session": 82416,
"exitCode": 0,
"log": "tmp-mcp-modules-regression-v6.log"
},
"backendBuild": {
"session": 43556,
"exitCode": 0,
"log": "tmp-mcp-modules-build-v5.log"
},
"deltaEslint": {
"exitCode": 0,
"log": "tmp-mcp-modules-lint-v6.log"
},
"baselineEslint": {
"exitCode": 0,
"log": "tmp-mcp-modules-lint-v4.log"
}
},
"scope": "Full shared REST/MCP IPsec client CREATE including PSK/certificate/static branches and encrypted human PKCS12 portal",
"operation": {
"id": "network.ipsec.users.create",
"version": 2,
"tool": "mm_ipsec_user_create_plan"
},
"authorization": {
"explicitUserApproval": true,
"scope": "IPsec CREATE privateKeyExport=true, human approval, owner-only network-write portal, encrypted PKCS12 TTL15minutes; synthetic acceptance, no real CHR"
},
"invariants": [
"Full existing raw configuration proof and dependency conservation; new native defaults only absent-before ACK-owned row",
"Static mode-config foreign/shared or native-ID consumer collision refuses; CA issuer/children and reference closure preflight",
"Each native command durable intent, exact post-ACK readback and source/grant/protection/secret-ref check; sign polls read-only",
"Single export command with unique file, bounded complete read and verified exact cleanup; no mutation retry on lost outcome",
"Mandatory managed-only history; certificate budget includes native commands plus history plus artifact storage",
"Model receives no bundle/client/raw credentials; PSK/passphrase purpose/owner/server/client references only",
"Encrypted signed mcp_artifacts bundle, TTL900sec, exact applied+human-approved+VERIFIED checkpoint and live source/access; owner-only private/no-store portal download"
],
"focusedSql": {
"session": 97060,
"exitCode": 0,
"log": "tmp-mcp-ipsec-user-create-sql-v3.log",
"actualDumpRestoreTamper": true,
"nativeInterface": "loopback HTTP synthetic catalogs and inert synthetic certificate payload only"
},
"ipsecProfile": {
"session": 1657,
"exitCode": 0,
"log": "tmp-mcp-ipsec-create-source-profile-v2.log"
},
"remaining": [
"Real CHR certificate signing/export/readback and IPsec SA/forwarding acceptance remain open",
"Existing arbitrary certificate export, init and revision restore are separate pending REST adapters"
],
"sourceHashes": {
"backend/src/services/ipsec-user-create-model.ts": "1d4fcb9cd5163ae3f1aa4374597d873b2ae7310002a00996dd883a7cb83b76e0",
"backend/src/services/ipsec-user-create.ts": "71fa01c01174800c1c7aed4f2a567bee89de04b309ac0e411cd4137cfd4129eb",
"backend/src/modules/mcp/ipsec-user-create-actions.ts": "8c03efeba7d55d23507e4d813ba937e8c7ad128ce8edd1341b5b46bcf9467b33",
"backend/src/modules/mcp/ipsec-user-create-artifact.ts": "3ca3d7709f643b8dcf227478ffdf8e56b2a1a94f3abe5f296571e4f50ad3037d",
"backend/src/modules/mcp/ipsec-user-create-acceptance.ts": "a4b512d52b03f5ba38dcfbfc737404fdca46e16053e64425566fd11f4ff1330d",
"backend/src/routes/ipsec.ts": "513199e9a28cc78aa0d8b6e88efa8db62c25c291c1396bdd505e89325067718c",
"backend/src/services/mikrotik.ts": "b6392243dafbc676e870e009a23be2d05eb2830daeea0eb542758a0231d1b8bf",
"backend/src/routes/mcp.ts": "9159230d031aa602434147d88146e4e86d900b79807dc7acf501845f250cab65",
"backend/src/modules/mcp/human-artifact-receipts.ts": "e66a4869b7faf28b5c6852e9b9025242b9929f9d6ba4f76c525c6517b4615433",
"backend/src/services/mikrotik-owned-file.test.ts": "d91c304d70b5fa761fb6099d27a81f9cacf3e779313dfe662dbe49ed800a448b"
},
"evidenceHashes": {
"tmp-mcp-ipsec-user-create-sql-v3.log": "67a8c62dafd50c036e104769fc6fc5c54fa56061268b45c02ecebd96cbeb796a",
"tmp-mcp-owned-file-profile-v1.log": "97fa5dac677af59ec6450f07d4bea47927fadbce79c63801d085d7d3c88deee5",
"tmp-mcp-modules-regression-v6.log": "2671d30fc875f20b0ff02a60388ba117a6751b8c58eab351e1c835bdcc0f5082",
"tmp-mcp-modules-build-v5.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"tmp-mcp-modules-lint-v6.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"tmp-mcp-main-modules-sql-v1.log": "f2b7dcee40f8568169978a9f0f149f1c5cff5beefee653698fe7b360d4c1b31c"
},
"supersedes": "mcp-ipsec-user-create-acceptance-v1.json",
"baselineMainSql": {
"session": 46569,
"exitCode": 0,
"log": "tmp-mcp-main-modules-sql-v1.log",
"actualDumpRestoreTamper": true,
"loadedBeforeFinalDelta": true,
"scope": "Full main MCP SQL/HTTP baseline before final NetFlow budget/version3/pre-ACK and bounded owned-file-reader corrections. Final deltas have separate fresh focused SQL/models/build/lint, not a repeated whole baseline."
},
"ownedFileReadLimitBytes": 61438,
"corrections": [
"New private export reader pins exact native ID/name/size, full metadata before/after and current authorization around every actual request",
"Streaming encoded-response byte limit, exact decoded size, cancellation and one total30s deadline including authorization; same local file/get ceiling as existing backend",
"No fresh-ID lookup or retarget by filename; no retry on401/timeout/malformed/oversize/unknown outcome; one exact-ID parameter compatibility alternative only after explicitly unsupported value-name400/404 and fresh metadata/auth",
"Legacy API signatures retained; generic raw-file response also bounded at8MiB",
"Artifact native writes plus history plus certificate artifact storage all included in mutationCost"
],
"fileProfile": {
"exitCode": 0,
"log": "tmp-mcp-owned-file-profile-v1.log",
"actualLoopback": true,
"existingHttpResponseTests": 12
}
}
{
"recordedAt": "2026-10-24T16:46:50.300422+00:00",
"fullPlanComplete": false,
"deployed": false,
"chrAccessed": false,
"collectorsStarted": false,
"all27BackendProfilesRepeated": false,
"inventory": {
"tools": 350,
"routes": 262,
"mediated": 188,
"excluded": 62,
"pending": 12
},
"validation": {
"mcpModels": {
"session": 82416,
"exitCode": 0,
"log": "tmp-mcp-modules-regression-v6.log"
},
"backendBuild": {
"session": 43556,
"exitCode": 0,
"log": "tmp-mcp-modules-build-v5.log"
},
"deltaEslint": {
"exitCode": 0,
"log": "tmp-mcp-modules-lint-v6.log"
},
"baselineEslint": {
"exitCode": 0,
"log": "tmp-mcp-modules-lint-v4.log"
}
},
"scope": "Full shared REST/MCP IPsec client CREATE including PSK/certificate/static branches and encrypted human PKCS12 portal",
"operation": {
"id": "network.ipsec.users.create",
"version": 2,
"tool": "mm_ipsec_user_create_plan"
},
"authorization": {
"explicitUserApproval": true,
"scope": "IPsec CREATE privateKeyExport=true, human approval, owner-only network-write portal, encrypted PKCS12 TTL15minutes; synthetic acceptance, no real CHR"
},
"invariants": [
"Full existing raw configuration proof and dependency conservation; new native defaults only absent-before ACK-owned row",
"Static mode-config foreign/shared or native-ID consumer collision refuses; CA issuer/children and reference closure preflight",
"Each native command durable intent, exact post-ACK readback and source/grant/protection/secret-ref check; sign polls read-only",
"Single export command with unique file, bounded complete read and verified exact cleanup; no mutation retry on lost outcome",
"Mandatory managed-only history; certificate budget includes native commands plus history plus artifact storage",
"Model receives no bundle/client/raw credentials; PSK/passphrase purpose/owner/server/client references only",
"Encrypted signed mcp_artifacts bundle, TTL900sec, exact applied+human-approved+VERIFIED checkpoint and live source/access; owner-only private/no-store portal download"
],
"focusedSql": {
"session": 97060,
"exitCode": 0,
"log": "tmp-mcp-ipsec-user-create-sql-v3.log",
"actualDumpRestoreTamper": true,
"nativeInterface": "loopback HTTP synthetic catalogs and inert synthetic certificate payload only"
},
"ipsecProfile": {
"session": 1657,
"exitCode": 0,
"log": "tmp-mcp-ipsec-create-source-profile-v2.log"
},
"remaining": [
"Real CHR certificate signing/export/readback and IPsec SA/forwarding acceptance remain open",
"Existing arbitrary certificate export, init and revision restore are separate pending REST adapters"
],
"sourceHashes": {
"backend/src/services/ipsec-user-create-model.ts": "1d4fcb9cd5163ae3f1aa4374597d873b2ae7310002a00996dd883a7cb83b76e0",
"backend/src/services/ipsec-user-create.ts": "71fa01c01174800c1c7aed4f2a567bee89de04b309ac0e411cd4137cfd4129eb",
"backend/src/modules/mcp/ipsec-user-create-actions.ts": "8c03efeba7d55d23507e4d813ba937e8c7ad128ce8edd1341b5b46bcf9467b33",
"backend/src/modules/mcp/ipsec-user-create-artifact.ts": "3ca3d7709f643b8dcf227478ffdf8e56b2a1a94f3abe5f296571e4f50ad3037d",
"backend/src/modules/mcp/ipsec-user-create-acceptance.ts": "a4b512d52b03f5ba38dcfbfc737404fdca46e16053e64425566fd11f4ff1330d",
"backend/src/routes/ipsec.ts": "513199e9a28cc78aa0d8b6e88efa8db62c25c291c1396bdd505e89325067718c",
"backend/src/services/mikrotik.ts": "b6392243dafbc676e870e009a23be2d05eb2830daeea0eb542758a0231d1b8bf",
"backend/src/routes/mcp.ts": "9159230d031aa602434147d88146e4e86d900b79807dc7acf501845f250cab65",
"backend/src/modules/mcp/human-artifact-receipts.ts": "e66a4869b7faf28b5c6852e9b9025242b9929f9d6ba4f76c525c6517b4615433",
"backend/src/services/mikrotik-owned-file.test.ts": "d91c304d70b5fa761fb6099d27a81f9cacf3e779313dfe662dbe49ed800a448b"
},
"evidenceHashes": {
"tmp-mcp-ipsec-user-create-sql-v3.log": "67a8c62dafd50c036e104769fc6fc5c54fa56061268b45c02ecebd96cbeb796a",
"tmp-mcp-owned-file-profile-v1.log": "97fa5dac677af59ec6450f07d4bea47927fadbce79c63801d085d7d3c88deee5",
"tmp-mcp-modules-regression-v6.log": "2671d30fc875f20b0ff02a60388ba117a6751b8c58eab351e1c835bdcc0f5082",
"tmp-mcp-modules-build-v5.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"tmp-mcp-modules-lint-v6.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"tmp-mcp-main-modules-sql-v1.log": "f2b7dcee40f8568169978a9f0f149f1c5cff5beefee653698fe7b360d4c1b31c"
},
"supersedes": "mcp-ipsec-user-create-acceptance-v1.json",
"baselineMainSql": {
"session": 46569,
"exitCode": 0,
"log": "tmp-mcp-main-modules-sql-v1.log",
"actualDumpRestoreTamper": true,
"loadedBeforeFinalDelta": true,
"scope": "Full main MCP SQL/HTTP baseline before final NetFlow budget/version3/pre-ACK and bounded owned-file-reader corrections. Final deltas have separate fresh focused SQL/models/build/lint, not a repeated whole baseline."
},
"ownedFileReadLimitBytes": 61438,
"corrections": [
"New private export reader pins exact native ID/name/size, full metadata before/after and current authorization around every actual request",
"Streaming encoded-response byte limit, exact decoded size, cancellation and one total30s deadline including authorization; same local file/get ceiling as existing backend",
"No fresh-ID lookup or retarget by filename; no retry on401/timeout/malformed/oversize/unknown outcome; one exact-ID parameter compatibility alternative only after explicitly unsupported value-name400/404 and fresh metadata/auth",
"Legacy API signatures retained; generic raw-file response also bounded at8MiB",
"Artifact native writes plus history plus certificate artifact storage all included in mutationCost"
],
"fileProfile": {
"exitCode": 0,
"log": "tmp-mcp-owned-file-profile-v1.log",
"actualLoopback": true,
"existingHttpResponseTests": 12
}
}
@@ -1,82 +1,82 @@
{
"format": "mcp-readonly-linux-inventory-controller-v1",
"accepted": true,
"failure": null,
"ownedBasename": "mcp-ro-inventory-baa8fe23b1394df1a5122207ee117960",
"ownedChildExited": true,
"cleanup": true,
"baselineUnchanged": true,
"serviceChanges": false,
"applicationCodeUploaded": false,
"applicationDatabaseAccess": false,
"wholeInstallation2GiBAccepted": false,
"elapsedMs": 3726,
"collector": {
"format": "mcp-linux-inventory-collector-v1",
"collectorTestsAccepted": true,
"actualAfUnixTestGroups": 10,
"offlineProjectionGroups": 3,
"testsRun": 14,
"expectedPlatformSkips": 1,
"failedTests": [],
"platform": "linux",
"pythonVersion": "3.13.5",
"virtualMemoryLimitBytes": 100663296,
"processMaxRssKiB": 30872,
"dockerMethods": [
"GET"
],
"dockerChanged": false,
"serviceStops": 0,
"applicationDatabaseRead": false,
"applicationDatabaseChanged": false,
"applicationCodeUploaded": false,
"actualChrTouched": false,
"wholeInstallation2GiBAccepted": false,
"liveInventory": {
"daemonId": "b939c57b-c54b-4077-a078-bf25a9fc1e2e",
"hostPhysicalBytes": 2069721088,
"containers": [
{
"id": "0cf6f4b4fd806c7cbdb7ebb9e9bf7661e6ae43c916cce29e3ea58cc5286f9429",
"imageId": "sha256:984684709e619972bae8657208e3150d12f1c4f2b5642fecf5286a5d87e9fe71",
"pid": 1045151,
"running": true,
"restartPolicy": "unless-stopped",
"memoryCapBytes": 0
},
{
"id": "0db3d3e3c4fbeee9c11fcb43ce795e7be8bcba8dd7c011005394c8f20aaa36bc",
"imageId": "sha256:77f585114c32fbca283dc835b0596f4e52b51b4c6662d7810b2f4084f60a1873",
"pid": 1985,
"running": true,
"restartPolicy": "unless-stopped",
"memoryCapBytes": 0
},
{
"id": "8e7ae65874728aaf9db3273affd9ac3a69d57b31d53ab14296f9bbb82eb83db6",
"imageId": "sha256:2bdf42400a1b35caa43303b9d01078b054b2a9041eba7019c1fffde71b7e4489",
"pid": 2810309,
"running": true,
"restartPolicy": "unless-stopped",
"memoryCapBytes": 0
},
{
"id": "b2f585bacc4eeda7d53581d576eee5ce30313565a2633e17844d941ebbc8cfe3",
"imageId": "sha256:eec4410f1109a46e864d695cfb4311fdb9a224247549c8a9e78e44c6c0e455cb",
"pid": 19619,
"running": true,
"restartPolicy": "unless-stopped",
"memoryCapBytes": 0
}
]
},
"liveInventoryStableAcrossTwoCollections": true,
"elapsedMs": 2466,
"hostFreeBeforeBytes": 881926144,
"hostFreeAfterBytes": 861609984
},
"remoteExitCode": 0,
"archiveSha256": "f22e3ed6222c7835d475e361a32fc393fa8382296b3cbe129e6a971c7ea49f46",
"target": "161.104.46.222"
}
{
"format": "mcp-readonly-linux-inventory-controller-v1",
"accepted": true,
"failure": null,
"ownedBasename": "mcp-ro-inventory-baa8fe23b1394df1a5122207ee117960",
"ownedChildExited": true,
"cleanup": true,
"baselineUnchanged": true,
"serviceChanges": false,
"applicationCodeUploaded": false,
"applicationDatabaseAccess": false,
"wholeInstallation2GiBAccepted": false,
"elapsedMs": 3726,
"collector": {
"format": "mcp-linux-inventory-collector-v1",
"collectorTestsAccepted": true,
"actualAfUnixTestGroups": 10,
"offlineProjectionGroups": 3,
"testsRun": 14,
"expectedPlatformSkips": 1,
"failedTests": [],
"platform": "linux",
"pythonVersion": "3.13.5",
"virtualMemoryLimitBytes": 100663296,
"processMaxRssKiB": 30872,
"dockerMethods": [
"GET"
],
"dockerChanged": false,
"serviceStops": 0,
"applicationDatabaseRead": false,
"applicationDatabaseChanged": false,
"applicationCodeUploaded": false,
"actualChrTouched": false,
"wholeInstallation2GiBAccepted": false,
"liveInventory": {
"daemonId": "b939c57b-c54b-4077-a078-bf25a9fc1e2e",
"hostPhysicalBytes": 2069721088,
"containers": [
{
"id": "0cf6f4b4fd806c7cbdb7ebb9e9bf7661e6ae43c916cce29e3ea58cc5286f9429",
"imageId": "sha256:984684709e619972bae8657208e3150d12f1c4f2b5642fecf5286a5d87e9fe71",
"pid": 1045151,
"running": true,
"restartPolicy": "unless-stopped",
"memoryCapBytes": 0
},
{
"id": "0db3d3e3c4fbeee9c11fcb43ce795e7be8bcba8dd7c011005394c8f20aaa36bc",
"imageId": "sha256:77f585114c32fbca283dc835b0596f4e52b51b4c6662d7810b2f4084f60a1873",
"pid": 1985,
"running": true,
"restartPolicy": "unless-stopped",
"memoryCapBytes": 0
},
{
"id": "8e7ae65874728aaf9db3273affd9ac3a69d57b31d53ab14296f9bbb82eb83db6",
"imageId": "sha256:2bdf42400a1b35caa43303b9d01078b054b2a9041eba7019c1fffde71b7e4489",
"pid": 2810309,
"running": true,
"restartPolicy": "unless-stopped",
"memoryCapBytes": 0
},
{
"id": "b2f585bacc4eeda7d53581d576eee5ce30313565a2633e17844d941ebbc8cfe3",
"imageId": "sha256:eec4410f1109a46e864d695cfb4311fdb9a224247549c8a9e78e44c6c0e455cb",
"pid": 19619,
"running": true,
"restartPolicy": "unless-stopped",
"memoryCapBytes": 0
}
]
},
"liveInventoryStableAcrossTwoCollections": true,
"elapsedMs": 2466,
"hostFreeBeforeBytes": 881926144,
"hostFreeAfterBytes": 861609984
},
"remoteExitCode": 0,
"archiveSha256": "f22e3ed6222c7835d475e361a32fc393fa8382296b3cbe129e6a971c7ea49f46",
"target": "161.104.46.222"
}
+139 -139
View File
@@ -1,139 +1,139 @@
{
"recordedAt": "2026-10-24T16:46:50.300422+00:00",
"fullPlanComplete": false,
"deployed": false,
"chrAccessed": false,
"collectorsStarted": false,
"all27BackendProfilesRepeated": false,
"inventory": {
"tools": 350,
"routes": 262,
"mediated": 188,
"excluded": 62,
"pending": 12
},
"validation": {
"mcpModels": {
"session": 82416,
"exitCode": 0,
"log": "tmp-mcp-modules-regression-v6.log"
},
"backendBuild": {
"session": 43556,
"exitCode": 0,
"log": "tmp-mcp-modules-build-v5.log"
},
"deltaEslint": {
"exitCode": 0,
"log": "tmp-mcp-modules-lint-v6.log"
},
"baselineEslint": {
"exitCode": 0,
"log": "tmp-mcp-modules-lint-v4.log"
}
},
"scope": "Full shared REST/MCP NetFlow settings update and conditional host key generation; actual disabled-main lifecycle, inert worker lifecycle models",
"operations": {
"netflow.settings.update": 3,
"traffic.flow.settings.generate-keys": 1
},
"migrations": [
"0033_flow_settings_intents.sql"
],
"publicApi": {
"mm_netflow_settings_update_plan": {
"settings": "all ten REST patch fields, including enabled/no-op/display-only updates"
},
"mm_netflow_host_keys_generate_plan": {}
},
"invariants": [
"Old four-field handler removed; old operation plans rejected by version2 and old plaintext inputs by encrypted binding",
"Complete configuration CAS preserves keys, peers, creation metadata and unknown columns; only five exact telemetry columns excluded",
"Application then shared reentrant flow lease; all existing key/overlay writers participate",
"Permanent phase claims, no replay after lost COMMIT, concurrent CAS winner, post-update revoke rollback",
"Full main/worker stop, shutdown, flush/prune, spawn/start checkpoints; late bind callbacks cannot revive revoked startup",
"Full global/server/store/RIPE/table/partition protection footprint; human approval mandatory even autonomous",
"Configuration verification and request acknowledgement are separate from UDP readiness=false; disabled/no-op/display updates still restart",
"Private keys never exported or returned by key generation; existing complete pair retained"
],
"focusedSql": {
"session": 5833,
"exitCode": 0,
"log": "tmp-mcp-flow-settings-sql-v5.log",
"actualDumpRestoreTamper": true
},
"models": {
"fullSettingsExecutionCases": 43,
"workerLifecycleFenceCases": 13,
"settingsProfile": {
"session": 94505,
"exitCode": 0,
"log": "tmp-mcp-flow-settings-profile-v4.log"
},
"purgeProfile": {
"exitCode": 0,
"log": "tmp-mcp-flow-lifecycle-purge-v1.log"
},
"ownershipProfile": {
"session": 65933,
"exitCode": 0,
"log": "tmp-mcp-flow-lifecycle-ownership-v1.log"
}
},
"remaining": [
"Live existing worker IPC/UDP and actual traffic/enrichment acceptance; no live collector started in this stage",
"Full plan remaining twelve REST adapters and routing/native/live gates remain open"
],
"sourceHashes": {
"backend/src/services/traffic-flow-settings-store.ts": "598a14d3177514cbf754f5d10706921f9269ce94159da5e7f5e447c7b25401ab",
"backend/src/services/traffic-flow-host-keys-service.ts": "6b6b36222c6654c7aa608741722bced69b42aabedd55a8a8d7da529e8e87ab4c",
"backend/src/services/traffic-flow-settings-service.ts": "2db81c8ab7d847f423c475bfc181467cf82a3247f27bcbffd51eb7a83419bad7",
"backend/src/services/traffic-flow-settings-execution.ts": "936fca3249d57522c1370d0fb67e05fd99910c97540de80185e76b924322eb3f",
"backend/src/services/traffic-flow-host-agent.ts": "d2bcb0f09b9d15e1ab6408de027f30861d444325c4300a17abda522ca520054c",
"backend/src/services/traffic-flow-settings.ts": "92ee2cf9f1b5850bf5661143d9a6fd62c9768a8ade1e95254d66d2d5286af756",
"backend/src/services/traffic-flow-engine.ts": "80d127b0d74762f333871022577ac0fa1b65d0ad7d6aa7de0af1bf776c5671dd",
"backend/src/services/traffic-flow-ingest.ts": "82d1d1ce7ffdafd5cb586ffef85a1d7d144cf77b5c6d54d72ef32920d3ce8aa4",
"backend/src/services/traffic-flow-collector-worker.ts": "3e9262fe5d52fa20bd22caa8999cfac4c13cbea9f6a3325fdcc8d435ca8100f1",
"backend/src/services/traffic-flow-worker-lifecycle.ts": "5dc5215b5f25c9ae3c786b6c0486f28d078919fd7fd0a06b63c4ed2a559a7ddd",
"backend/src/services/traffic-flow-worker-shutdown.ts": "231131f79e720e5ec7d6f9fe3937d45641263b1df51f83f70b0383bf72dd5909",
"backend/src/services/traffic-flow-drain-protocol.ts": "b0be6fd3858bb1268840922012ab6eda26b3b34e383615e08f7997f8ff0b3f83",
"backend/src/services/traffic-flow-lifecycle-fence.ts": "ccbdae6c83dbd7debb182c1c9df8e8555be1c08c5b31e4ea78b1bbf0b3292e76",
"backend/src/modules/mcp/flow-host-keys-actions.ts": "bc3cdaa80ff900527e9485c4449204372fe5ac83df0bfb242ab78676b8cf1cf4",
"backend/src/modules/mcp/flow-settings-actions.ts": "0eeeee7560b9ca11e024f6a2adfbaa973ba4bd14eca96f04756833289c5d9590",
"backend/src/modules/mcp/application-actions.ts": "42a34d5b1e2f1790a72b986e718c963f8f0e5e9b4352afe47e299ae34c40f0f6",
"backend/src/routes/traffic-flow-settings.ts": "06caa502482f33dc4d1ec7b416394a04e2c63af1e7654d3429a4e7bc0a3dba29",
"backend/src/routes/traffic-flow.ts": "2cdc92abd85de34521f2561f08ace5db12d109161de69b9702721967cad2185f",
"backend/drizzle/0033_flow_settings_intents.sql": "a341295c9a6f4ab09d62dbc7b30c4b0e6c947845a6ceac36bb581ff44964f748",
"backend/src/services/traffic-flow-lifecycle-fence.test.ts": "b59f0819770ac141a1d3cee1cac32588a1040bbd1f300878ca44682854148e10",
"backend/src/modules/mcp/flow-settings-review.ts": "994bc3f25e04cb605ebc0770e6c40571ae74b977ba91e4a3aa5be6bd61034e15",
"backend/src/modules/mcp/flow-settings-acceptance.ts": "5a6d15a9ee860432f190e3b8f1427a9b5edf44af9151902d53033969df8c48a8",
"backend/src/modules/mcp/operation-revisions.test.ts": "97bcbe8709813c7e3bca080a9fae41af68142f49441a9bdeabae064096d13417"
},
"evidenceHashes": {
"tmp-mcp-main-modules-sql-v1.log": "f2b7dcee40f8568169978a9f0f149f1c5cff5beefee653698fe7b360d4c1b31c",
"tmp-mcp-flow-settings-sql-v5.log": "fef4cc9a2c19019754566ace1f844bd991536edc605d32c1532b856923976234",
"tmp-mcp-flow-settings-profile-v4.log": "2ac27102e9472a2bc4afce60100613f6c269d4a3a8474cae377d82567ce4a667",
"tmp-mcp-modules-regression-v6.log": "2671d30fc875f20b0ff02a60388ba117a6751b8c58eab351e1c835bdcc0f5082",
"tmp-mcp-modules-build-v5.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"tmp-mcp-modules-lint-v6.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"tmp-mcp-modules-lint-v4.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
"supersedes": "mcp-netflow-settings-acceptance-v1.json",
"baselineMainSql": {
"session": 46569,
"exitCode": 0,
"log": "tmp-mcp-main-modules-sql-v1.log",
"actualDumpRestoreTamper": true,
"loadedBeforeFinalDelta": true,
"scope": "Full main MCP SQL/HTTP baseline before final NetFlow budget/version3/pre-ACK and bounded owned-file-reader corrections. Final deltas have separate fresh focused SQL/models/build/lint, not a repeated whole baseline."
},
"ownedPublicationBudget": 4,
"phaseAttempts": 2,
"corrections": [
"Full restart reserves settings CAS plus at most three owned writer publications (old worker shutdown, main flush, new worker startup); two phases do not mean two publications",
"Operation descriptor AND encrypted binding version3 reject underbudget v1/v2 plans before phase intents or native/worker work",
"Actual SQL proves mutationsPerHour3 rejects the four-publication plan before configuration/phase intents/writer receipts",
"No pre-ACK periodic timer, packet ingest/enrichment, or automatic startup replay; gated concurrent workers refuse before any additional retirement",
"Normal post-ACK collector runtime remains explicit reviewed ongoing telemetry, not a claim of bounded future traffic or UDP readiness"
]
}
{
"recordedAt": "2026-10-24T16:46:50.300422+00:00",
"fullPlanComplete": false,
"deployed": false,
"chrAccessed": false,
"collectorsStarted": false,
"all27BackendProfilesRepeated": false,
"inventory": {
"tools": 350,
"routes": 262,
"mediated": 188,
"excluded": 62,
"pending": 12
},
"validation": {
"mcpModels": {
"session": 82416,
"exitCode": 0,
"log": "tmp-mcp-modules-regression-v6.log"
},
"backendBuild": {
"session": 43556,
"exitCode": 0,
"log": "tmp-mcp-modules-build-v5.log"
},
"deltaEslint": {
"exitCode": 0,
"log": "tmp-mcp-modules-lint-v6.log"
},
"baselineEslint": {
"exitCode": 0,
"log": "tmp-mcp-modules-lint-v4.log"
}
},
"scope": "Full shared REST/MCP NetFlow settings update and conditional host key generation; actual disabled-main lifecycle, inert worker lifecycle models",
"operations": {
"netflow.settings.update": 3,
"traffic.flow.settings.generate-keys": 1
},
"migrations": [
"0033_flow_settings_intents.sql"
],
"publicApi": {
"mm_netflow_settings_update_plan": {
"settings": "all ten REST patch fields, including enabled/no-op/display-only updates"
},
"mm_netflow_host_keys_generate_plan": {}
},
"invariants": [
"Old four-field handler removed; old operation plans rejected by version2 and old plaintext inputs by encrypted binding",
"Complete configuration CAS preserves keys, peers, creation metadata and unknown columns; only five exact telemetry columns excluded",
"Application then shared reentrant flow lease; all existing key/overlay writers participate",
"Permanent phase claims, no replay after lost COMMIT, concurrent CAS winner, post-update revoke rollback",
"Full main/worker stop, shutdown, flush/prune, spawn/start checkpoints; late bind callbacks cannot revive revoked startup",
"Full global/server/store/RIPE/table/partition protection footprint; human approval mandatory even autonomous",
"Configuration verification and request acknowledgement are separate from UDP readiness=false; disabled/no-op/display updates still restart",
"Private keys never exported or returned by key generation; existing complete pair retained"
],
"focusedSql": {
"session": 5833,
"exitCode": 0,
"log": "tmp-mcp-flow-settings-sql-v5.log",
"actualDumpRestoreTamper": true
},
"models": {
"fullSettingsExecutionCases": 43,
"workerLifecycleFenceCases": 13,
"settingsProfile": {
"session": 94505,
"exitCode": 0,
"log": "tmp-mcp-flow-settings-profile-v4.log"
},
"purgeProfile": {
"exitCode": 0,
"log": "tmp-mcp-flow-lifecycle-purge-v1.log"
},
"ownershipProfile": {
"session": 65933,
"exitCode": 0,
"log": "tmp-mcp-flow-lifecycle-ownership-v1.log"
}
},
"remaining": [
"Live existing worker IPC/UDP and actual traffic/enrichment acceptance; no live collector started in this stage",
"Full plan remaining twelve REST adapters and routing/native/live gates remain open"
],
"sourceHashes": {
"backend/src/services/traffic-flow-settings-store.ts": "598a14d3177514cbf754f5d10706921f9269ce94159da5e7f5e447c7b25401ab",
"backend/src/services/traffic-flow-host-keys-service.ts": "6b6b36222c6654c7aa608741722bced69b42aabedd55a8a8d7da529e8e87ab4c",
"backend/src/services/traffic-flow-settings-service.ts": "2db81c8ab7d847f423c475bfc181467cf82a3247f27bcbffd51eb7a83419bad7",
"backend/src/services/traffic-flow-settings-execution.ts": "936fca3249d57522c1370d0fb67e05fd99910c97540de80185e76b924322eb3f",
"backend/src/services/traffic-flow-host-agent.ts": "d2bcb0f09b9d15e1ab6408de027f30861d444325c4300a17abda522ca520054c",
"backend/src/services/traffic-flow-settings.ts": "92ee2cf9f1b5850bf5661143d9a6fd62c9768a8ade1e95254d66d2d5286af756",
"backend/src/services/traffic-flow-engine.ts": "80d127b0d74762f333871022577ac0fa1b65d0ad7d6aa7de0af1bf776c5671dd",
"backend/src/services/traffic-flow-ingest.ts": "82d1d1ce7ffdafd5cb586ffef85a1d7d144cf77b5c6d54d72ef32920d3ce8aa4",
"backend/src/services/traffic-flow-collector-worker.ts": "3e9262fe5d52fa20bd22caa8999cfac4c13cbea9f6a3325fdcc8d435ca8100f1",
"backend/src/services/traffic-flow-worker-lifecycle.ts": "5dc5215b5f25c9ae3c786b6c0486f28d078919fd7fd0a06b63c4ed2a559a7ddd",
"backend/src/services/traffic-flow-worker-shutdown.ts": "231131f79e720e5ec7d6f9fe3937d45641263b1df51f83f70b0383bf72dd5909",
"backend/src/services/traffic-flow-drain-protocol.ts": "b0be6fd3858bb1268840922012ab6eda26b3b34e383615e08f7997f8ff0b3f83",
"backend/src/services/traffic-flow-lifecycle-fence.ts": "ccbdae6c83dbd7debb182c1c9df8e8555be1c08c5b31e4ea78b1bbf0b3292e76",
"backend/src/modules/mcp/flow-host-keys-actions.ts": "bc3cdaa80ff900527e9485c4449204372fe5ac83df0bfb242ab78676b8cf1cf4",
"backend/src/modules/mcp/flow-settings-actions.ts": "0eeeee7560b9ca11e024f6a2adfbaa973ba4bd14eca96f04756833289c5d9590",
"backend/src/modules/mcp/application-actions.ts": "42a34d5b1e2f1790a72b986e718c963f8f0e5e9b4352afe47e299ae34c40f0f6",
"backend/src/routes/traffic-flow-settings.ts": "06caa502482f33dc4d1ec7b416394a04e2c63af1e7654d3429a4e7bc0a3dba29",
"backend/src/routes/traffic-flow.ts": "2cdc92abd85de34521f2561f08ace5db12d109161de69b9702721967cad2185f",
"backend/drizzle/0033_flow_settings_intents.sql": "a341295c9a6f4ab09d62dbc7b30c4b0e6c947845a6ceac36bb581ff44964f748",
"backend/src/services/traffic-flow-lifecycle-fence.test.ts": "b59f0819770ac141a1d3cee1cac32588a1040bbd1f300878ca44682854148e10",
"backend/src/modules/mcp/flow-settings-review.ts": "994bc3f25e04cb605ebc0770e6c40571ae74b977ba91e4a3aa5be6bd61034e15",
"backend/src/modules/mcp/flow-settings-acceptance.ts": "5a6d15a9ee860432f190e3b8f1427a9b5edf44af9151902d53033969df8c48a8",
"backend/src/modules/mcp/operation-revisions.test.ts": "97bcbe8709813c7e3bca080a9fae41af68142f49441a9bdeabae064096d13417"
},
"evidenceHashes": {
"tmp-mcp-main-modules-sql-v1.log": "f2b7dcee40f8568169978a9f0f149f1c5cff5beefee653698fe7b360d4c1b31c",
"tmp-mcp-flow-settings-sql-v5.log": "fef4cc9a2c19019754566ace1f844bd991536edc605d32c1532b856923976234",
"tmp-mcp-flow-settings-profile-v4.log": "2ac27102e9472a2bc4afce60100613f6c269d4a3a8474cae377d82567ce4a667",
"tmp-mcp-modules-regression-v6.log": "2671d30fc875f20b0ff02a60388ba117a6751b8c58eab351e1c835bdcc0f5082",
"tmp-mcp-modules-build-v5.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"tmp-mcp-modules-lint-v6.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"tmp-mcp-modules-lint-v4.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
"supersedes": "mcp-netflow-settings-acceptance-v1.json",
"baselineMainSql": {
"session": 46569,
"exitCode": 0,
"log": "tmp-mcp-main-modules-sql-v1.log",
"actualDumpRestoreTamper": true,
"loadedBeforeFinalDelta": true,
"scope": "Full main MCP SQL/HTTP baseline before final NetFlow budget/version3/pre-ACK and bounded owned-file-reader corrections. Final deltas have separate fresh focused SQL/models/build/lint, not a repeated whole baseline."
},
"ownedPublicationBudget": 4,
"phaseAttempts": 2,
"corrections": [
"Full restart reserves settings CAS plus at most three owned writer publications (old worker shutdown, main flush, new worker startup); two phases do not mean two publications",
"Operation descriptor AND encrypted binding version3 reject underbudget v1/v2 plans before phase intents or native/worker work",
"Actual SQL proves mutationsPerHour3 rejects the four-publication plan before configuration/phase intents/writer receipts",
"No pre-ACK periodic timer, packet ingest/enrichment, or automatic startup replay; gated concurrent workers refuse before any additional retirement",
"Normal post-ACK collector runtime remains explicit reviewed ongoing telemetry, not a claim of bounded future traffic or UDP readiness"
]
}
+72 -72
View File
@@ -1,72 +1,72 @@
{
"date": "2026-10-29",
"status": "local-fixed-key-primitive-not-runtime-acceptance",
"operatorMetadataClosed": 3,
"operatorMetadataTotal": 4,
"s3Closed": 5,
"s3Total": 10,
"fullPlanComplete": false,
"primitive": {
"fixedProofDomains": "shared with existing strong node source",
"maxBatch": 4,
"keyBytes": 32,
"awaitBetweenKeyReadAndMac": false,
"rawKeyReturned": false,
"callerCallbackUnderKey": false,
"actorAndPhysicalOwnerSignals": true,
"wallAndMonotonicOriginalDeadline": true,
"lifetimeMaxMs": 5000,
"wipedBeforeDescriptorClose": true,
"extraProductionPoolOrProcess": false
},
"integration": {
"runtimeCallers": 0,
"oldStrongQGuardsChanged": false,
"oldStrongScanCountReduced": false,
"currentSignedPublicSourceAuthenticatedByPrimitive": false,
"authorityOrQProvedByPrimitive": false,
"sameOwnerFixedEffectsPipelineAccepted": false,
"measuredLatencyPositiveAccepted": false,
"wholeInstallationMax2GBLoadAccepted": false
},
"limits": [
"Synchronous OS calls cannot be preempted; a late return refuses publication.",
"Private abort state tracks delivered revocation, not unobserved remote owner failure.",
"Windows symlink negative uses synthetic lstat if symlink privilege is absent.",
"No PG/RouterOS/Docker acceptance is claimed by this unit profile."
],
"verification": {
"unitPassed": 42,
"unitFailed": 0,
"unitSkipped": 0,
"independentReview": "tmp/mcp-node-key-effect-independent-review-20261029.json",
"unitLog": "tmp/mcp-node-key-effect-unit-20261029.log",
"peerRegressionLog": "tmp/mcp-node-key-effect-peer-20261029.log",
"buildPassed": true,
"strictTypesPassed": true,
"scopedLintPassed": true
},
"remote": {
"changes": 0,
"archiveDispatched": false,
"remainingAuthorizedBackendWindows": 1,
"lastSnapshot": "2026-10-28",
"refreshedToday": false
},
"sha256": {
"backend/src/services/bandwidth-node-key-effect.ts": "c2f67048f504c9607462683167255f853a7caec0b04c3ec47a09f6ea72ba4441",
"backend/src/services/bandwidth-node-key-effect.test.ts": "ad26a19672bab11c04daa40b22d8eb023f663218d716a80cb25a0535dadac407",
"backend/src/services/bandwidth-node-proof-input.ts": "b04e2df370c3e61c6099b4bad39710d136a5d2e5e3ce59914c5f81259f29170a",
"backend/src/services/bandwidth-node-source.ts": "294d1202db363c8dc23d1d7048742f595c6e9945d42d99672c1b75aa5ae7b440",
"backend/package.json": "fdfd8e3a0ff77fe8d92df98ebd00c5ca17c21df34ab296382efccde58cdb2f5c",
"docs/bandwidth-node-key-effect.md": "d811677b55661d4944e4ce4a7ac481f169f07e6f3e29f8ec7c4108446f4399f7",
"docs/bandwidth-operator-effect-ledger.md": "a3caa278e91c78a286937ad4f1ac41a4b191b932b29f6c065f61d01a722f98d9",
"docs/bandwidth-operator-metadata-effect-contract.md": "6b464ddd5ffc157cd143fad6cdde582ad86dfdbde8d847e3ec1e01716166cf79",
"tmp/mcp-node-key-effect-unit-20261029.log": "1e19b16457110a8264674873e72a99431bf8884f3e53062ade2bec717ddce178",
"tmp/mcp-node-key-effect-peer-20261029.log": "23fb008c88929b65c98003b5554b22ed28b4991dffe708c601a22eebd109a7fb",
"tmp/mcp-node-key-effect-build-20261029.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"tmp/mcp-node-key-effect-types-20261029.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"tmp/mcp-node-key-effect-lint-20261029.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"tmp/mcp-node-key-effect-independent-review-20261029.json": "bd81269616948c21b5aaefcd039b0be0d3a0b896fbdb0f228fe82095771df38a"
}
}
{
"date": "2026-10-29",
"status": "local-fixed-key-primitive-not-runtime-acceptance",
"operatorMetadataClosed": 3,
"operatorMetadataTotal": 4,
"s3Closed": 5,
"s3Total": 10,
"fullPlanComplete": false,
"primitive": {
"fixedProofDomains": "shared with existing strong node source",
"maxBatch": 4,
"keyBytes": 32,
"awaitBetweenKeyReadAndMac": false,
"rawKeyReturned": false,
"callerCallbackUnderKey": false,
"actorAndPhysicalOwnerSignals": true,
"wallAndMonotonicOriginalDeadline": true,
"lifetimeMaxMs": 5000,
"wipedBeforeDescriptorClose": true,
"extraProductionPoolOrProcess": false
},
"integration": {
"runtimeCallers": 0,
"oldStrongQGuardsChanged": false,
"oldStrongScanCountReduced": false,
"currentSignedPublicSourceAuthenticatedByPrimitive": false,
"authorityOrQProvedByPrimitive": false,
"sameOwnerFixedEffectsPipelineAccepted": false,
"measuredLatencyPositiveAccepted": false,
"wholeInstallationMax2GBLoadAccepted": false
},
"limits": [
"Synchronous OS calls cannot be preempted; a late return refuses publication.",
"Private abort state tracks delivered revocation, not unobserved remote owner failure.",
"Windows symlink negative uses synthetic lstat if symlink privilege is absent.",
"No PG/RouterOS/Docker acceptance is claimed by this unit profile."
],
"verification": {
"unitPassed": 42,
"unitFailed": 0,
"unitSkipped": 0,
"independentReview": "tmp/mcp-node-key-effect-independent-review-20261029.json",
"unitLog": "tmp/mcp-node-key-effect-unit-20261029.log",
"peerRegressionLog": "tmp/mcp-node-key-effect-peer-20261029.log",
"buildPassed": true,
"strictTypesPassed": true,
"scopedLintPassed": true
},
"remote": {
"changes": 0,
"archiveDispatched": false,
"remainingAuthorizedBackendWindows": 1,
"lastSnapshot": "2026-10-28",
"refreshedToday": false
},
"sha256": {
"backend/src/services/bandwidth-node-key-effect.ts": "c2f67048f504c9607462683167255f853a7caec0b04c3ec47a09f6ea72ba4441",
"backend/src/services/bandwidth-node-key-effect.test.ts": "ad26a19672bab11c04daa40b22d8eb023f663218d716a80cb25a0535dadac407",
"backend/src/services/bandwidth-node-proof-input.ts": "b04e2df370c3e61c6099b4bad39710d136a5d2e5e3ce59914c5f81259f29170a",
"backend/src/services/bandwidth-node-source.ts": "294d1202db363c8dc23d1d7048742f595c6e9945d42d99672c1b75aa5ae7b440",
"backend/package.json": "fdfd8e3a0ff77fe8d92df98ebd00c5ca17c21df34ab296382efccde58cdb2f5c",
"docs/bandwidth-node-key-effect.md": "d811677b55661d4944e4ce4a7ac481f169f07e6f3e29f8ec7c4108446f4399f7",
"docs/bandwidth-operator-effect-ledger.md": "a3caa278e91c78a286937ad4f1ac41a4b191b932b29f6c065f61d01a722f98d9",
"docs/bandwidth-operator-metadata-effect-contract.md": "6b464ddd5ffc157cd143fad6cdde582ad86dfdbde8d847e3ec1e01716166cf79",
"tmp/mcp-node-key-effect-unit-20261029.log": "1e19b16457110a8264674873e72a99431bf8884f3e53062ade2bec717ddce178",
"tmp/mcp-node-key-effect-peer-20261029.log": "23fb008c88929b65c98003b5554b22ed28b4991dffe708c601a22eebd109a7fb",
"tmp/mcp-node-key-effect-build-20261029.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"tmp/mcp-node-key-effect-types-20261029.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"tmp/mcp-node-key-effect-lint-20261029.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"tmp/mcp-node-key-effect-independent-review-20261029.json": "bd81269616948c21b5aaefcd039b0be0d3a0b896fbdb0f228fe82095771df38a"
}
}
@@ -1,107 +1,107 @@
{
"date": "2026-10-28",
"status": "managed-peer-metadata-component-accepted",
"s3Closed": 5,
"s3Total": 10,
"fullPlanComplete": false,
"operatorMetadataSubsteps": {
"OP-M1": "accepted",
"OP-M2": "accepted",
"OP-M3": "managed-accepted-external-open",
"OP-M4": "open"
},
"newApis": [
"reader.inspectMetadata",
"coordinator.inspectMetadata",
"createManagedBandwidthPeerMetadataChecker"
],
"publicWrappers": [
"mmapp-bandwidth-peer-public-metadata-v1",
"mmapp-bandwidth-operator-enrollment-metadata-v1"
],
"guarantees": {
"onlyGenuineRetainedObservationAndPrerequisite": true,
"constructorCheckerCaptured": true,
"missingCheckerFallsBackToCredentials": false,
"oldStrongQApisReplaced": false,
"managedSqlReturnsOnlyBoolean": true,
"privateOriginalPasswordComparedInsidePg": true,
"newCredentialProjection": false,
"unkeyedPasswordHashPublished": false,
"sourceKeyOrEncryptionKeyFilesReadByMetadata": false,
"newPoolRoleProcessMigration": false,
"originalOperatorTtlMs": 5000
},
"verification": {
"newTests": 29,
"newFailed": 0,
"ownedSql": {
"groups": 4,
"checks": [
"genuine signed operator/license origin plus actual fixed SQL current endpoint predicate, public metadata only; no Q/native/credential re-projection",
"actual SQL rejects wrong private password/username/host/port/TLS predicates while the real row and endpoint epoch remain unchanged; epoch alone is insufficient",
"actual password, username, host, port, TLS, verification and enabled drift refuse; real trigger advances endpoint epoch and restored values never revive the old origin; no trigger bypass",
"deleted current signed grant and serialized prerequisite refuse before metadata SQL; exact grant bytes restored"
],
"actualSql": true,
"genuineLocalhostLicenseAcquire": true,
"coordinatorMetadataChecks": 17,
"unchangedEpochPredicateRejections": 6,
"metadataCredentialProjections": 0,
"metadataQChecks": 0,
"metadataNativeCalls": 0,
"externalMetadataAccepted": false,
"operatorWindowAccepted": false,
"productionWired": false
},
"acquisitionQuiescenceVerifier": "synthetic",
"managementSourceAuthority": "owned-fixture",
"normalMigrations": 39,
"normalEndpointTriggerPreserved": true,
"restoringFieldsDoesNotReviveOldEpoch": true,
"newSignedOriginRequiredAfterEachRealEndpointEdit": true,
"sourceTypecheckExitCode": 0,
"sqlTestLintExitCode": 0,
"backendBuildExitCode": 0,
"fullPeerScriptExitCode": 0,
"exclusiveRestoreFlagRejectedBeforeCluster": true
},
"open": {
"externalCurrentMetadataProvider": true,
"privateFixedEffectPipeline": true,
"realSourceSpecificOriginalAuthorityAndGenerationAdapter": true,
"productionOperatorWiring": true,
"measuredLatencyFullPositive": true,
"wholeInstallation2GbAcceptance": true
},
"stand": {
"realChrCalls": 0,
"realDockerChanges": 0,
"additionalBackendWindowsRemaining": 1
},
"next": [
"fixed external management-source metadata provider with real current credential/version commitment",
"compose metadata with genuine fixed registry effects on the existing held physical lease",
"positive measured-latency acceptance before the remaining stand window"
],
"evidenceSha256": {
"backend/src/services/bandwidth-peer-observation.ts": "17990ef13d4941702adfa5ee1e1694c8f01132f936416e96693de56c83e7da64",
"backend/src/services/bandwidth-peer-metadata-source.ts": "af87037b362e8b3b249a8496255b72a5216140638e0d4986cc1138c39411e6b1",
"backend/src/services/bandwidth-operator-enrollment.ts": "40e5b7d31dea3ae2155e0a58568fa4ddadb0cd88c94a78cdb1dc340029ae8a95",
"backend/src/services/bandwidth-peer-metadata.test.ts": "e65e6334b91cc27a0ea927232763518e970bdfec439e6a63b2ff0f7697f7e253",
"backend/src/services/bandwidth-peer-metadata-source.test.ts": "3c5bfecf44cfdb35dfd7a79424455286eee73282bd034761e70d05aebfc28d61",
"backend/src/services/bandwidth-operator-metadata.test.ts": "27ca639f9b0ca8e479cd90af3ccf9fec86dcf83b8a6a090b50eb95486aaa56c4",
"backend/src/services/bandwidth-operator-metadata.sql.test.ts": "eacf1544aa1eeb15f2dc47b554cb50b41108156ea7c23bbb2081930d3fe22fef",
"backend/scripts/test-mcp-postgres.mjs": "fb8075ff4901027b49bd5848ea6344315446f574cebd462a5d6b080cff30bc68",
"backend/package.json": "2e872ffc4117a76d8cec3803ef8bf3ec5850a7b77da824b59ed1b44dc149839f",
"backend/drizzle/0029_mcp_routing_sources.sql": "4e9f739407a6a6d969c746485f90de3dc0f62c09292f7ccea425697fe6317c5c",
"docs/bandwidth-peer-metadata.md": "9c61670e1f76495f61d3b57b1cf9c9bbb149d3181db216342b893e6b0d69ae9b",
"tmp/mcp-operator-peer-metadata-owned-pg-v2-20261028.log": "c85fc81483e22abde5aae4ea6680ecbcf46f48af1c0bece66047dd2d47eab425",
"tmp/mcp-operator-peer-metadata-unit-20261028.log": "dfbe75a7cf4f8212a84bfef85d0c607de21c639376158f2906f9810a19919eeb",
"tmp/mcp-operator-peer-metadata-peer-regression-20261028.log": "13430a029c7f80df080f8719fe41a926b2071abe7eed8cc891cfea49dee2461e",
"tmp/mcp-operator-peer-metadata-build-20261028.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"tmp/mcp-operator-peer-metadata-types-v2-20261028.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"tmp/mcp-operator-peer-metadata-lint-20261028.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"tmp/mcp-operator-peer-metadata-exclusive-flag-20261028.log": "9546d8234382109866ee1aaf70f17fb04c646e812c0ebb2aa270c1c84772a78b"
}
}
{
"date": "2026-10-28",
"status": "managed-peer-metadata-component-accepted",
"s3Closed": 5,
"s3Total": 10,
"fullPlanComplete": false,
"operatorMetadataSubsteps": {
"OP-M1": "accepted",
"OP-M2": "accepted",
"OP-M3": "managed-accepted-external-open",
"OP-M4": "open"
},
"newApis": [
"reader.inspectMetadata",
"coordinator.inspectMetadata",
"createManagedBandwidthPeerMetadataChecker"
],
"publicWrappers": [
"mmapp-bandwidth-peer-public-metadata-v1",
"mmapp-bandwidth-operator-enrollment-metadata-v1"
],
"guarantees": {
"onlyGenuineRetainedObservationAndPrerequisite": true,
"constructorCheckerCaptured": true,
"missingCheckerFallsBackToCredentials": false,
"oldStrongQApisReplaced": false,
"managedSqlReturnsOnlyBoolean": true,
"privateOriginalPasswordComparedInsidePg": true,
"newCredentialProjection": false,
"unkeyedPasswordHashPublished": false,
"sourceKeyOrEncryptionKeyFilesReadByMetadata": false,
"newPoolRoleProcessMigration": false,
"originalOperatorTtlMs": 5000
},
"verification": {
"newTests": 29,
"newFailed": 0,
"ownedSql": {
"groups": 4,
"checks": [
"genuine signed operator/license origin plus actual fixed SQL current endpoint predicate, public metadata only; no Q/native/credential re-projection",
"actual SQL rejects wrong private password/username/host/port/TLS predicates while the real row and endpoint epoch remain unchanged; epoch alone is insufficient",
"actual password, username, host, port, TLS, verification and enabled drift refuse; real trigger advances endpoint epoch and restored values never revive the old origin; no trigger bypass",
"deleted current signed grant and serialized prerequisite refuse before metadata SQL; exact grant bytes restored"
],
"actualSql": true,
"genuineLocalhostLicenseAcquire": true,
"coordinatorMetadataChecks": 17,
"unchangedEpochPredicateRejections": 6,
"metadataCredentialProjections": 0,
"metadataQChecks": 0,
"metadataNativeCalls": 0,
"externalMetadataAccepted": false,
"operatorWindowAccepted": false,
"productionWired": false
},
"acquisitionQuiescenceVerifier": "synthetic",
"managementSourceAuthority": "owned-fixture",
"normalMigrations": 39,
"normalEndpointTriggerPreserved": true,
"restoringFieldsDoesNotReviveOldEpoch": true,
"newSignedOriginRequiredAfterEachRealEndpointEdit": true,
"sourceTypecheckExitCode": 0,
"sqlTestLintExitCode": 0,
"backendBuildExitCode": 0,
"fullPeerScriptExitCode": 0,
"exclusiveRestoreFlagRejectedBeforeCluster": true
},
"open": {
"externalCurrentMetadataProvider": true,
"privateFixedEffectPipeline": true,
"realSourceSpecificOriginalAuthorityAndGenerationAdapter": true,
"productionOperatorWiring": true,
"measuredLatencyFullPositive": true,
"wholeInstallation2GbAcceptance": true
},
"stand": {
"realChrCalls": 0,
"realDockerChanges": 0,
"additionalBackendWindowsRemaining": 1
},
"next": [
"fixed external management-source metadata provider with real current credential/version commitment",
"compose metadata with genuine fixed registry effects on the existing held physical lease",
"positive measured-latency acceptance before the remaining stand window"
],
"evidenceSha256": {
"backend/src/services/bandwidth-peer-observation.ts": "17990ef13d4941702adfa5ee1e1694c8f01132f936416e96693de56c83e7da64",
"backend/src/services/bandwidth-peer-metadata-source.ts": "af87037b362e8b3b249a8496255b72a5216140638e0d4986cc1138c39411e6b1",
"backend/src/services/bandwidth-operator-enrollment.ts": "40e5b7d31dea3ae2155e0a58568fa4ddadb0cd88c94a78cdb1dc340029ae8a95",
"backend/src/services/bandwidth-peer-metadata.test.ts": "e65e6334b91cc27a0ea927232763518e970bdfec439e6a63b2ff0f7697f7e253",
"backend/src/services/bandwidth-peer-metadata-source.test.ts": "3c5bfecf44cfdb35dfd7a79424455286eee73282bd034761e70d05aebfc28d61",
"backend/src/services/bandwidth-operator-metadata.test.ts": "27ca639f9b0ca8e479cd90af3ccf9fec86dcf83b8a6a090b50eb95486aaa56c4",
"backend/src/services/bandwidth-operator-metadata.sql.test.ts": "eacf1544aa1eeb15f2dc47b554cb50b41108156ea7c23bbb2081930d3fe22fef",
"backend/scripts/test-mcp-postgres.mjs": "fb8075ff4901027b49bd5848ea6344315446f574cebd462a5d6b080cff30bc68",
"backend/package.json": "2e872ffc4117a76d8cec3803ef8bf3ec5850a7b77da824b59ed1b44dc149839f",
"backend/drizzle/0029_mcp_routing_sources.sql": "4e9f739407a6a6d969c746485f90de3dc0f62c09292f7ccea425697fe6317c5c",
"docs/bandwidth-peer-metadata.md": "9c61670e1f76495f61d3b57b1cf9c9bbb149d3181db216342b893e6b0d69ae9b",
"tmp/mcp-operator-peer-metadata-owned-pg-v2-20261028.log": "c85fc81483e22abde5aae4ea6680ecbcf46f48af1c0bece66047dd2d47eab425",
"tmp/mcp-operator-peer-metadata-unit-20261028.log": "dfbe75a7cf4f8212a84bfef85d0c607de21c639376158f2906f9810a19919eeb",
"tmp/mcp-operator-peer-metadata-peer-regression-20261028.log": "13430a029c7f80df080f8719fe41a926b2071abe7eed8cc891cfea49dee2461e",
"tmp/mcp-operator-peer-metadata-build-20261028.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"tmp/mcp-operator-peer-metadata-types-v2-20261028.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"tmp/mcp-operator-peer-metadata-lint-20261028.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"tmp/mcp-operator-peer-metadata-exclusive-flag-20261028.log": "9546d8234382109866ee1aaf70f17fb04c646e812c0ebb2aa270c1c84772a78b"
}
}
@@ -1,64 +1,64 @@
{
"date": "2026-10-28",
"status": "public-file-prerequisite-unit-accepted",
"s3Closed": 5,
"s3Total": 10,
"fullPlanComplete": false,
"newApis": {
"core": "inspectPublicNodeBootstrap(envelope, scope)",
"node": "inspectPublicBootstrap(scope)",
"publicFormat": "mmapp-bandwidth-public-node-metadata-v1",
"output": "immutable public bootstrap/source/database metadata; node adds bootstrapSha256",
"strongVerifiedTypeAssignable": false,
"secretFileReads": 0,
"poolCheckouts": 0,
"hmacOrNativeOrSqlAuthority": false,
"oldStrongApisReplaced": false,
"sameLeaseMetadataSessionImplemented": false,
"observationCredentialMetadataProofImplemented": false,
"effectDispatcherImplemented": false,
"productionOperatorWiring": false
},
"verification": {
"newNodeTests": 17,
"newNodeTestsFailed": 0,
"actualConfiguredCoreToNodeSignedFilesV1AndV2": true,
"forbiddenIssuerAndEventSecretTraps": true,
"forbiddenPoolConstructorTrap": true,
"signatureCanonicalSpkiEndpointSchemaPins": true,
"freshGenerationAndBootstrapDrift": true,
"abortCloseDeadlineWallRollbackAndLateResults": true,
"scopeProxyAndHostileSignalNoCallbacks": true,
"backendBuildExitCode": 0,
"fullPeerScriptExitCode": 0,
"peerAggregateTests": 155,
"peerModuleBoundaryTests": 40,
"peerStandaloneNetworkDirectEnrollmentAlsoPassed": true
},
"boundaries": {
"actualSqlAcceptance": false,
"actualDockerAcceptance": false,
"wholeInstallation2GbLoadAccepted": false,
"standActionsThisComponent": 0,
"additionalBackendWindowsRemaining": 1,
"operatorWindowTtlMs": 5000,
"operatorWindowTtlChanged": false
},
"next": [
"fixed same-lease secret-free metadata session with current catalog and exact physical owner",
"private genuine observation metadata check pinning endpoint and credential ciphertext/version",
"review and implement fixed effect continuation with fresh Q at every real effect",
"actual owned SQL/HTTP and measured-latency positive acceptance before remaining backend window"
],
"evidenceSha256": {
"backend/src/services/bandwidth-control-source.ts": "c1244f97cd5355008f590850a29866cda94cf8549594ccd4b5ef56d9fe8c33e7",
"backend/src/services/bandwidth-node-source.ts": "0e1935e805e52658baf56d8cb82a62aee354008500c6d4e35e863fa7d7822b3e",
"backend/src/services/bandwidth-control-public-metadata.test.ts": "330ccde2dabb70134fe0c82ce595a589652f26834dc3e9d00436ab60c3522080",
"backend/src/services/bandwidth-node-public-metadata.test.ts": "ef41e6f9bf0c43234b7901769e0b6fcad54da43dc0effe2aeccc1dad19ee5edb",
"backend/package.json": "55720f019ebad29abdfe75455821cf158f18a7ff415ae31f47ffd3fb3e4386ea",
"tmp/mcp-public-metadata-final-20261028.log": "5d68e86f885791578c3cc2d84c977b23ef59f5fe7c557316a63a6ef1055c13e9",
"tmp/mcp-public-metadata-build-20261028.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"tmp/mcp-public-metadata-peer-regression-20261028.log": "0bf7a8914ade55949f30e77f31c6474cc9b6ef68368185ae20a60b16e8a13f88",
"docs/bandwidth-operator-effect-ledger.md": "eb918aea42d795bfcd426aa9d8ff617203fba5384a1af68106d3e5ab504bbc55"
}
}
{
"date": "2026-10-28",
"status": "public-file-prerequisite-unit-accepted",
"s3Closed": 5,
"s3Total": 10,
"fullPlanComplete": false,
"newApis": {
"core": "inspectPublicNodeBootstrap(envelope, scope)",
"node": "inspectPublicBootstrap(scope)",
"publicFormat": "mmapp-bandwidth-public-node-metadata-v1",
"output": "immutable public bootstrap/source/database metadata; node adds bootstrapSha256",
"strongVerifiedTypeAssignable": false,
"secretFileReads": 0,
"poolCheckouts": 0,
"hmacOrNativeOrSqlAuthority": false,
"oldStrongApisReplaced": false,
"sameLeaseMetadataSessionImplemented": false,
"observationCredentialMetadataProofImplemented": false,
"effectDispatcherImplemented": false,
"productionOperatorWiring": false
},
"verification": {
"newNodeTests": 17,
"newNodeTestsFailed": 0,
"actualConfiguredCoreToNodeSignedFilesV1AndV2": true,
"forbiddenIssuerAndEventSecretTraps": true,
"forbiddenPoolConstructorTrap": true,
"signatureCanonicalSpkiEndpointSchemaPins": true,
"freshGenerationAndBootstrapDrift": true,
"abortCloseDeadlineWallRollbackAndLateResults": true,
"scopeProxyAndHostileSignalNoCallbacks": true,
"backendBuildExitCode": 0,
"fullPeerScriptExitCode": 0,
"peerAggregateTests": 155,
"peerModuleBoundaryTests": 40,
"peerStandaloneNetworkDirectEnrollmentAlsoPassed": true
},
"boundaries": {
"actualSqlAcceptance": false,
"actualDockerAcceptance": false,
"wholeInstallation2GbLoadAccepted": false,
"standActionsThisComponent": 0,
"additionalBackendWindowsRemaining": 1,
"operatorWindowTtlMs": 5000,
"operatorWindowTtlChanged": false
},
"next": [
"fixed same-lease secret-free metadata session with current catalog and exact physical owner",
"private genuine observation metadata check pinning endpoint and credential ciphertext/version",
"review and implement fixed effect continuation with fresh Q at every real effect",
"actual owned SQL/HTTP and measured-latency positive acceptance before remaining backend window"
],
"evidenceSha256": {
"backend/src/services/bandwidth-control-source.ts": "c1244f97cd5355008f590850a29866cda94cf8549594ccd4b5ef56d9fe8c33e7",
"backend/src/services/bandwidth-node-source.ts": "0e1935e805e52658baf56d8cb82a62aee354008500c6d4e35e863fa7d7822b3e",
"backend/src/services/bandwidth-control-public-metadata.test.ts": "330ccde2dabb70134fe0c82ce595a589652f26834dc3e9d00436ab60c3522080",
"backend/src/services/bandwidth-node-public-metadata.test.ts": "ef41e6f9bf0c43234b7901769e0b6fcad54da43dc0effe2aeccc1dad19ee5edb",
"backend/package.json": "55720f019ebad29abdfe75455821cf158f18a7ff415ae31f47ffd3fb3e4386ea",
"tmp/mcp-public-metadata-final-20261028.log": "5d68e86f885791578c3cc2d84c977b23ef59f5fe7c557316a63a6ef1055c13e9",
"tmp/mcp-public-metadata-build-20261028.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"tmp/mcp-public-metadata-peer-regression-20261028.log": "0bf7a8914ade55949f30e77f31c6474cc9b6ef68368185ae20a60b16e8a13f88",
"docs/bandwidth-operator-effect-ledger.md": "eb918aea42d795bfcd426aa9d8ff617203fba5384a1af68106d3e5ab504bbc55"
}
}
@@ -1,50 +1,50 @@
{
"date": "2026-11-03",
"sourceApplied": true,
"portalFiles": 4,
"manifestSha256": "1028c6b93613b66f4ba30d7b714c4dd22dfa30d751fe7d7d397d2a05e93c407a",
"changes": [
{
"repository": "auth-portal",
"path": "apps/web/src/components/reui-kit/user-access-sheet.tsx",
"preimageSha256": "3e17d2e39e5a0f15d5b3730088dd9d746b6cfd8abdee13e369ee9496a00aa4f9",
"candidateSha256": "a2d181a8dcdced427ca6aa273c3b687b0e64ff60ac0260cca61da16b95b4b495"
},
{
"repository": "auth-portal",
"path": "apps/web/src/design-preview/access-editor.tsx",
"preimageSha256": "989a8104ee16631309c48ced35eb38572dab6526be576933d671381293942cfb",
"candidateSha256": "61bb0655a20d31d3eddd09ec69146d3c5a5d2f1de48b99ea5f8c28b1c42dd9e9"
},
{
"repository": "auth-portal",
"path": "apps/web/src/design-preview/access-model.ts",
"preimageSha256": "985a4239984531b2e003bd53340c62681f87537126cdd3fb5c476461f0a716aa",
"candidateSha256": "c8ea70a50c1a5a8ce3a930873ad27fa1ce6bf1d40f6b6f86cc3cc995caac2208"
},
{
"repository": "auth-portal",
"path": "packages/shared/src/contracts/auth.ts",
"preimageSha256": "9e42db3085c8128d7b374c705287d9ea9bac372f241169bd049a956255863687",
"candidateSha256": "511384dbf86ac9fbadfdb4aa7c16d19135268c47cf0a75d017d646ef0cf26aa4"
}
],
"catalogueDelta": [
"mm:mcp:read",
"mm:mcp:approve",
"mm:mcp:pause",
"mm:mcp:admin",
"mm:users:read",
"mm:users:write"
],
"existingUserAssignmentsChanged": false,
"defaultPermissionsChanged": false,
"runtimeActivated": false,
"deployed": false,
"stagePureTestsPassed": 7,
"stageScopedTypeErrors": 0,
"stageFocusedLintErrors": 0,
"actualUiBuildAccepted": false,
"visualAcceptance": false,
"fullAdminMaterializesCatalogueAtFutureStartup": true
}
{
"date": "2026-11-03",
"sourceApplied": true,
"portalFiles": 4,
"manifestSha256": "1028c6b93613b66f4ba30d7b714c4dd22dfa30d751fe7d7d397d2a05e93c407a",
"changes": [
{
"repository": "auth-portal",
"path": "apps/web/src/components/reui-kit/user-access-sheet.tsx",
"preimageSha256": "3e17d2e39e5a0f15d5b3730088dd9d746b6cfd8abdee13e369ee9496a00aa4f9",
"candidateSha256": "a2d181a8dcdced427ca6aa273c3b687b0e64ff60ac0260cca61da16b95b4b495"
},
{
"repository": "auth-portal",
"path": "apps/web/src/design-preview/access-editor.tsx",
"preimageSha256": "989a8104ee16631309c48ced35eb38572dab6526be576933d671381293942cfb",
"candidateSha256": "61bb0655a20d31d3eddd09ec69146d3c5a5d2f1de48b99ea5f8c28b1c42dd9e9"
},
{
"repository": "auth-portal",
"path": "apps/web/src/design-preview/access-model.ts",
"preimageSha256": "985a4239984531b2e003bd53340c62681f87537126cdd3fb5c476461f0a716aa",
"candidateSha256": "c8ea70a50c1a5a8ce3a930873ad27fa1ce6bf1d40f6b6f86cc3cc995caac2208"
},
{
"repository": "auth-portal",
"path": "packages/shared/src/contracts/auth.ts",
"preimageSha256": "9e42db3085c8128d7b374c705287d9ea9bac372f241169bd049a956255863687",
"candidateSha256": "511384dbf86ac9fbadfdb4aa7c16d19135268c47cf0a75d017d646ef0cf26aa4"
}
],
"catalogueDelta": [
"mm:mcp:read",
"mm:mcp:approve",
"mm:mcp:pause",
"mm:mcp:admin",
"mm:users:read",
"mm:users:write"
],
"existingUserAssignmentsChanged": false,
"defaultPermissionsChanged": false,
"runtimeActivated": false,
"deployed": false,
"stagePureTestsPassed": 7,
"stageScopedTypeErrors": 0,
"stageFocusedLintErrors": 0,
"actualUiBuildAccepted": false,
"visualAcceptance": false,
"fullAdminMaterializesCatalogueAtFutureStartup": true
}
@@ -1,95 +1,95 @@
{
"date": "2026-10-28",
"status": "public-registry-metadata-component-accepted",
"s3Closed": 5,
"s3Total": 10,
"fullPlanComplete": false,
"operatorMetadataSubsteps": {
"OP-M1": "accepted-public-files",
"OP-M2": "accepted-public-same-lease",
"OP-M3": "open-private-endpoint-metadata",
"OP-M4": "open-fixed-effect-and-window-acceptance"
},
"newApi": "core/node.openPublicRegistryMetadata",
"returnedMethods": [
"inspect",
"close"
],
"lease": {
"existingPool": true,
"extraProductionPool": false,
"samePhysicalPid": true,
"lockKey": 8723116,
"sessionExclusive": true,
"jointIdentityBeforeLock": true,
"heldPidBeforeAfterIdentity": true,
"currentPublicPinsAfterSql": true,
"lockAcquisitionReplay": false,
"rawQueryOrWriteHooksExposed": false,
"sourceHorizonMaxMs": 10000,
"ownedScopeMs": 5000,
"operatorTtlStillMs": 5000
},
"verification": {
"newUnitTests": 19,
"newUnitFailed": 0,
"oldPublicFileTests": 17,
"ownedSqlGroups": 7,
"ownedSqlChecks": [
"actual public node lease: missing both secret files, repeated same PID, real exclusive lock/rival refusal, bounded physical close; no native or SQL mutation",
"original cancellation permanently retires the real physical public metadata lease",
"overlapping inspect operations fail closed and retire instead of sharing mutable frame state",
"actual current source-role privilege revocation refuses on the held same lease; exact original SELECT privilege restored without identity-trigger bypass",
"actual catalog drift is rejected by unchanged registry identity validators, not replaced SQL rows",
"current public bootstrap corruption retires the physical lease; original signed bytes restored",
"all registry rows and schema/table/function privileges unchanged after restored owned fault DDL; original 39 migrations unchanged; zero native GET/POST"
],
"actualSecretFilesUnavailable": true,
"nativeGets": 0,
"nativePosts": 0,
"registryRowsAndAclsRestored": true,
"normalMigrations": 39,
"backendBuildExitCode": 0,
"fullPeerScriptExitCode": 0,
"peerAggregateTests": 155,
"peerModuleBoundaryTests": 40,
"peerAlsoIncludesOldAndNewPublicTests": true,
"exclusiveFlagRejectsRestoreBeforeClusterCreation": true
},
"limitations": {
"currentSecretKeyAuthority": false,
"quiescenceProof": false,
"credentialEndpointMetadataProof": false,
"fixedEffectDispatcher": false,
"productionOperatorWiring": false,
"realDockerBackendActions": 0,
"remainingAdditionalBackendWindows": 1,
"wholeInstallation2GbAccepted": false
},
"next": [
"private original observation endpoint/credential commitment metadata",
"fixed metadata operations and genuine effect continuation on this physical lease",
"positive owned SQL/HTTP with measured Docker latency then remaining approved stand window"
],
"evidenceSha256": {
"backend/src/services/bandwidth-control-source.ts": "36029382012a5a337695de13c5292e09e13e91d47d5a32d54e50a8fb7162380d",
"backend/src/services/bandwidth-node-source.ts": "39e9b01f7cc6956a986316180cc42e30fffd4b761488f63e486458261878be50",
"backend/src/services/bandwidth-control-public-registry.test.ts": "d41bc23c5ceadf52d829c4a867a6c8a2f1b3d070163bdd01f2313a6a7659441f",
"backend/src/services/bandwidth-node-public-registry.test.ts": "ef89a18efbca90c2d660443c239ef01e332b4a9c3582159123dfdae415e04976",
"backend/src/services/bandwidth-public-registry.sql-helper.ts": "b9b323c0780801ed1fe74ff8eced6d5f3b67ebaf6bb45f6079db0cb226d04041",
"backend/src/services/bandwidth-public-registry.sql.test.ts": "5d167ee25a8e87ab74efb6d120d675258b725c4693b0de9ec7dfb3b04109eb44",
"backend/scripts/test-mcp-postgres.mjs": "02e3c556482ddaa9cb806ba9812bc9aac22408600224714278bbadea3af22240",
"backend/package.json": "9ee450f8e629366873e8cea6d94ee8bf2cb67d4537f09da37870288c0736b7bd",
"backend/src/services/bandwidth-control-registry-identity.ts": "1cc28368c4a5752c5da68a04ee271daa1e4b457bd48eae6d35995cf904950c6f",
"backend/src/services/bandwidth-control-identity.ts": "901b321c8a69e7207f26a07d06962f448bf76797acf999657f5a3e0c2d7bb1e6",
"backend/src/services/bandwidth-node-identity.ts": "a79b25d667b62dfb321fb889df91d0c633ef88a516df6115ca95f5ca87dc5e9a",
"backend/src/services/bandwidth-peer-identity.ts": "ee8d204a53acf3283b061a819ca266b412c3d7fdda1bbd746411c697bb43ce76",
"docs/bandwidth-public-registry-metadata.md": "f1d4aba35622ab8ee9bc8de2caf1b0bff8554ca14840e5cf6d1f8e5a4d4ad8b2",
"tmp/mcp-public-registry-unit-20261028.log": "fec29e880a586f524a513aac8a08ddc94a4796f0c36abc748f121d08af6a2b8b",
"tmp/mcp-public-registry-public-regression-20261028.log": "76cadc2bd79ae4e4e260a19848b9f94e38e2ad5466844801f840e647460168dc",
"tmp/mcp-public-registry-owned-pg-20261028.log": "5dfacca6a7ad926244c2c1e6f9070477f40fa31ce481684023db252edb28ba7c",
"tmp/mcp-public-registry-build-20261028.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"tmp/mcp-public-registry-peer-regression-20261028.log": "e5641a6c86f1441459f1564fc07dcfa5c0dce7e5f307b55eda257601fda0cd88",
"tmp/mcp-public-registry-exclusive-flag-20261028.log": "87944ca90f92467e24d270095cde248b5e363850a6495a929002dfd372a88915"
}
}
{
"date": "2026-10-28",
"status": "public-registry-metadata-component-accepted",
"s3Closed": 5,
"s3Total": 10,
"fullPlanComplete": false,
"operatorMetadataSubsteps": {
"OP-M1": "accepted-public-files",
"OP-M2": "accepted-public-same-lease",
"OP-M3": "open-private-endpoint-metadata",
"OP-M4": "open-fixed-effect-and-window-acceptance"
},
"newApi": "core/node.openPublicRegistryMetadata",
"returnedMethods": [
"inspect",
"close"
],
"lease": {
"existingPool": true,
"extraProductionPool": false,
"samePhysicalPid": true,
"lockKey": 8723116,
"sessionExclusive": true,
"jointIdentityBeforeLock": true,
"heldPidBeforeAfterIdentity": true,
"currentPublicPinsAfterSql": true,
"lockAcquisitionReplay": false,
"rawQueryOrWriteHooksExposed": false,
"sourceHorizonMaxMs": 10000,
"ownedScopeMs": 5000,
"operatorTtlStillMs": 5000
},
"verification": {
"newUnitTests": 19,
"newUnitFailed": 0,
"oldPublicFileTests": 17,
"ownedSqlGroups": 7,
"ownedSqlChecks": [
"actual public node lease: missing both secret files, repeated same PID, real exclusive lock/rival refusal, bounded physical close; no native or SQL mutation",
"original cancellation permanently retires the real physical public metadata lease",
"overlapping inspect operations fail closed and retire instead of sharing mutable frame state",
"actual current source-role privilege revocation refuses on the held same lease; exact original SELECT privilege restored without identity-trigger bypass",
"actual catalog drift is rejected by unchanged registry identity validators, not replaced SQL rows",
"current public bootstrap corruption retires the physical lease; original signed bytes restored",
"all registry rows and schema/table/function privileges unchanged after restored owned fault DDL; original 39 migrations unchanged; zero native GET/POST"
],
"actualSecretFilesUnavailable": true,
"nativeGets": 0,
"nativePosts": 0,
"registryRowsAndAclsRestored": true,
"normalMigrations": 39,
"backendBuildExitCode": 0,
"fullPeerScriptExitCode": 0,
"peerAggregateTests": 155,
"peerModuleBoundaryTests": 40,
"peerAlsoIncludesOldAndNewPublicTests": true,
"exclusiveFlagRejectsRestoreBeforeClusterCreation": true
},
"limitations": {
"currentSecretKeyAuthority": false,
"quiescenceProof": false,
"credentialEndpointMetadataProof": false,
"fixedEffectDispatcher": false,
"productionOperatorWiring": false,
"realDockerBackendActions": 0,
"remainingAdditionalBackendWindows": 1,
"wholeInstallation2GbAccepted": false
},
"next": [
"private original observation endpoint/credential commitment metadata",
"fixed metadata operations and genuine effect continuation on this physical lease",
"positive owned SQL/HTTP with measured Docker latency then remaining approved stand window"
],
"evidenceSha256": {
"backend/src/services/bandwidth-control-source.ts": "36029382012a5a337695de13c5292e09e13e91d47d5a32d54e50a8fb7162380d",
"backend/src/services/bandwidth-node-source.ts": "39e9b01f7cc6956a986316180cc42e30fffd4b761488f63e486458261878be50",
"backend/src/services/bandwidth-control-public-registry.test.ts": "d41bc23c5ceadf52d829c4a867a6c8a2f1b3d070163bdd01f2313a6a7659441f",
"backend/src/services/bandwidth-node-public-registry.test.ts": "ef89a18efbca90c2d660443c239ef01e332b4a9c3582159123dfdae415e04976",
"backend/src/services/bandwidth-public-registry.sql-helper.ts": "b9b323c0780801ed1fe74ff8eced6d5f3b67ebaf6bb45f6079db0cb226d04041",
"backend/src/services/bandwidth-public-registry.sql.test.ts": "5d167ee25a8e87ab74efb6d120d675258b725c4693b0de9ec7dfb3b04109eb44",
"backend/scripts/test-mcp-postgres.mjs": "02e3c556482ddaa9cb806ba9812bc9aac22408600224714278bbadea3af22240",
"backend/package.json": "9ee450f8e629366873e8cea6d94ee8bf2cb67d4537f09da37870288c0736b7bd",
"backend/src/services/bandwidth-control-registry-identity.ts": "1cc28368c4a5752c5da68a04ee271daa1e4b457bd48eae6d35995cf904950c6f",
"backend/src/services/bandwidth-control-identity.ts": "901b321c8a69e7207f26a07d06962f448bf76797acf999657f5a3e0c2d7bb1e6",
"backend/src/services/bandwidth-node-identity.ts": "a79b25d667b62dfb321fb889df91d0c633ef88a516df6115ca95f5ca87dc5e9a",
"backend/src/services/bandwidth-peer-identity.ts": "ee8d204a53acf3283b061a819ca266b412c3d7fdda1bbd746411c697bb43ce76",
"docs/bandwidth-public-registry-metadata.md": "f1d4aba35622ab8ee9bc8de2caf1b0bff8554ca14840e5cf6d1f8e5a4d4ad8b2",
"tmp/mcp-public-registry-unit-20261028.log": "fec29e880a586f524a513aac8a08ddc94a4796f0c36abc748f121d08af6a2b8b",
"tmp/mcp-public-registry-public-regression-20261028.log": "76cadc2bd79ae4e4e260a19848b9f94e38e2ad5466844801f840e647460168dc",
"tmp/mcp-public-registry-owned-pg-20261028.log": "5dfacca6a7ad926244c2c1e6f9070477f40fa31ce481684023db252edb28ba7c",
"tmp/mcp-public-registry-build-20261028.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"tmp/mcp-public-registry-peer-regression-20261028.log": "e5641a6c86f1441459f1564fc07dcfa5c0dce7e5f307b55eda257601fda0cd88",
"tmp/mcp-public-registry-exclusive-flag-20261028.log": "87944ca90f92467e24d270095cde248b5e363850a6495a929002dfd372a88915"
}
}
@@ -1,478 +1,478 @@
{
"date": "2026-11-03",
"scope": "Exact-current protected publisher operator Linux component acceptance; separate aggregate resource failure",
"functionalAccepted": true,
"aggregateAccepted": false,
"wholeInstallation2GbAccepted": false,
"ramAccepted": false,
"noSwapAccepted": false,
"nodeExitCode": 0,
"controllerExitCode": 1,
"runtime": {
"accepted": true,
"default44": {
"base": 104,
"leaves": 117
},
"actualCli": true,
"actualPosix": true,
"posixJournalUnit": {
"passed": 3,
"failed": 0,
"skipped": 1
},
"actualTls": true,
"sslUsed": true,
"hostnameVerified": true,
"spkiVerified": true,
"wrongSpkiBeforeRolesAndGrants": true,
"genesisEpoch": "1",
"renewalEpoch": "2",
"wrongHeadRefused": true,
"actualStoredSignatures": true,
"historyRows": 4,
"currentEpoch": "4",
"sourceBindingReal": true,
"rolesGeneric": true,
"unknownCommitTested": true,
"actualPreflight": true,
"expiredOriginalApprovalReconcile": true,
"signingKeyUnavailableReconcile": true,
"syntheticApplicationAckLoss": true,
"beforeCommitDispatchLoss": true,
"generationAuthenticated": false,
"readyAuthorized": false
},
"runtimeEnvironment": {
"nodeVersion": "v22.23.3",
"platform": "linux",
"tsxLoaded": false,
"default44": true,
"sourceAppliedByFixture": false,
"actualPg": true,
"actualCli": true
},
"summary": {
"samples": 172,
"elapsedMs": 186387,
"hostMemTotalBytes": 2069721088,
"minHostAvailableBytes": 546488320,
"maxObservedContainerUsageIncludingCacheBytes": 1190240256,
"containerIdentityAndStartStable": true,
"allObservedRunning": true,
"anyObservedOomKilled": false,
"allCgroupV2MetricsAvailable": true,
"pswpinDelta": 5670,
"pswpoutDelta": 24701,
"oom_killDelta": 0,
"acceptancePassed": false,
"scope": "sampled evidence only; correlate with workload, limits, errors and latency; unsampled peaks are unknown"
},
"liveWindowSummary": {
"samples": 172,
"elapsedMs": 186387,
"hostMemTotalBytes": 2069721088,
"minHostAvailableBytes": 546488320,
"maxObservedContainerUsageIncludingCacheBytes": 1190240256,
"containerIdentityAndStartStable": true,
"allObservedRunning": true,
"anyObservedOomKilled": false,
"allCgroupV2MetricsAvailable": true,
"pswpinDelta": 5516,
"pswpoutDelta": 24698,
"oom_killDelta": 0,
"acceptancePassed": false,
"scope": "sampled evidence only; correlate with workload, limits, errors and latency; unsampled peaks are unknown"
},
"unknownCommitFaultBoundary": "Fixture intercepts genuine pg.Client write COMMIT. After real PostgreSQL COMMIT ACK, rejects application delivery; complementary case destroys actual client socket before COMMIT dispatch. Synthetic application delivery fault; not demonstrated real network packet loss.",
"reconciliation": "Fresh actual CLI with exact naturally expired original approval and signing key unavailable; committed proposal confirmed, before-dispatch proposal not-committed. Exact pending preserved until inspection then removed; no automatic replay or database changes from reconcile.",
"sourceInputPins": [
{
"path": "backend/scripts/writer-profile/application-writer-profile-canonical.ts",
"sha256": "59ddf6eca8ef960b4c4d52e005528aa80e328a89344ab532123b9961ba6987b9"
},
{
"path": "backend/scripts/writer-profile/application-writer-profile-catalogue-parent-policy.ts",
"sha256": "941805122151a5a5f41f4269f3f6e14fd71e7cf19cb94e2f13739f0723f925c5"
},
{
"path": "backend/scripts/writer-profile/application-writer-profile-catalogue-values.ts",
"sha256": "26a8ea1e2682e4595a7da82c3a63124dabeeec16977d643462f955514a8f253f"
},
{
"path": "backend/scripts/writer-profile/application-writer-profile-catalogue.ts",
"sha256": "9f1885306a606b60d3bae70aa170f192cfe41849989571e44c619ee4f6b7a95e"
},
{
"path": "backend/scripts/writer-profile/catalogue-leaves.ts",
"sha256": "a1201437cb4ddb2700486c701664a31e2101a647a67fa55f2692ea7a18331661"
},
{
"path": "backend/scripts/writer-profile/catalogue-projection.ts",
"sha256": "bd5e264a4356315760e78cd4d70a83cb2258b7f79b32a0d59659f943ee8fdaee"
},
{
"path": "backend/scripts/writer-profile/catalogue-value-bridge.ts",
"sha256": "7870b8ed032ccc7d74d21a66d8f52056e68f4b44e8c2c5333759ba1fa7bb3578"
},
{
"path": "backend/scripts/writer-profile/catalogue.mts",
"sha256": "ae25421996d539f2c528c486191b3cd1695463677a1b1c688af681f5e2da903a"
},
{
"path": "backend/scripts/writer-profile/context.mjs",
"sha256": "4cc91f80e2f8ab13cb19f2658798dfbf1a3665e59b50659cd7d1e56bab78ef3d"
},
{
"path": "backend/scripts/writer-profile/expanded44-data-policy.ts",
"sha256": "336df9721c3ba00347440f4f35af63b0253453323ac815377bfab49572348e02"
},
{
"path": "backend/scripts/writer-profile/fixed44-build-definition.ts",
"sha256": "083d1ac60e8ed65414aea5dc756e22c145a6966d23d70d676e82ad243d0887b5"
},
{
"path": "backend/scripts/writer-profile/fixed44-build-sql.ts",
"sha256": "7edc755153f28dbceff659e72f339005745beea01dceca5817412d4d4db21a8c"
},
{
"path": "backend/scripts/writer-profile/operator-contract.mjs",
"sha256": "8560cd0a308d66fdf638e912b2d1379788878a5d091f38f262bd747ac0a0ef95"
},
{
"path": "backend/scripts/writer-profile/operator-files.mjs",
"sha256": "f61d5c68cd0c8caac457791768cc2925c63023bd5d31a2526dc6248d01387b80"
},
{
"path": "backend/scripts/writer-profile/operator-journal-lease.test.mjs",
"sha256": "779467540c57b5738b15efd326f97b98f7f0fc79745357bc277e2adf4d4ae2bf"
},
{
"path": "backend/scripts/writer-profile/publisher.mjs",
"sha256": "04c06189bf125117e3a1fd233d711366eff831da8619e20828c8ededd40556f0"
},
{
"path": "backend/scripts/database-writer-profile-operator.mts",
"sha256": "05063be9279f276179919bc2a84a94e60271abafd160d1367415deb7bcf42316"
},
{
"path": "backend/scripts/database-writer-bootstrap-operator.mjs",
"sha256": "35e0b94c3662fcbcded417eb37f50293ad131abb83cf9bff7c9d28e3eacde6a7"
},
{
"path": "backend/scripts/database-source-binding-operator.ts",
"sha256": "c98338d8a538edfb7a341b47c055e6a697f0c540d5e71c250fdf28620d5a53c0"
},
{
"path": "backend/src/config.ts",
"sha256": "a5b096ca95e8d54cbfc491c90b6c74471b0f55cd5c3abe6e0a067511322394f3"
},
{
"path": "backend/src/modules/mcp/security.ts",
"sha256": "e7e483fffc322281e39b31bc6531a7f0c89ffd6999276791491cb90b725f2288"
},
{
"path": "backend/src/db/application-writer-profile-format.ts",
"sha256": "74e7bc07ed3cca6d274af2a01a6bf93a16e5a5323b3621846ed0af75b0aeb4a4"
},
{
"path": "backend/src/db/application-writer-profile-canonical.ts",
"sha256": "59ddf6eca8ef960b4c4d52e005528aa80e328a89344ab532123b9961ba6987b9"
},
{
"path": "backend/src/db/application-writer-profile-registry-read.ts",
"sha256": "2103479ce00e6b1b310193fb1dec1e18b7bb0a994e7a272f865e3589a23e2a53"
},
{
"path": "backend/src/db/application-writer-profile-registry-structure.ts",
"sha256": "a1f0a57e09385eb5c866be5100acda92e707318af6ca00171af98572f2860089"
},
{
"path": "backend/src/db/database-source-binding.ts",
"sha256": "dad361b2cf6a98009340d45d9a155c7a9d60bd309e36a3a340e04815841d1851"
},
{
"path": "backend/src/db/database-source-observation.ts",
"sha256": "f980ffcaa059552f605e8107c0ef8578690c08f284366bc2ebaeabd6b272591f"
},
{
"path": "backend/src/db/migration-manifest.ts",
"sha256": "2d7b02606789cd739f3dff3e7c6d610590d10d96b3aa0172ba784a96ed49b7fd"
},
{
"path": "backend/src/db/migrate.ts",
"sha256": "2e7bd71349270b94cc0eea40162ec87f043924b6d26c9a9430622b3a4d9976aa"
},
{
"path": "backend/src/db/schema.ts",
"sha256": "e3eb56907136a7509d2cbb2551f9ce3dc5ab59c39283d575a44eeaef125e70f5"
},
{
"path": "backend/src/db/partitions.ts",
"sha256": "57258e08ff2cd0b85007a123902f8e81998630af446a7fe66db244fbc70a37c1"
},
{
"path": "backend/src/db/partition-guard-inheritance.ts",
"sha256": "0c8b8716b660649f974431e172be6dc487941a40efce1df355f9fa6c6a8d317d"
},
{
"path": "backend/src/services/partition-write-transaction.ts",
"sha256": "9712613cbebef5f2dda1116be475c6ff33ddd80b6cad4fb3fa52c993ddb2b3c1"
},
{
"path": "backend/drizzle/0000_postgresql.sql",
"sha256": "eb6ce1449add311611634845aa6608327821ca2cbe33c1e7b214dde37d85027e"
},
{
"path": "backend/drizzle/0002_compact_schema.sql",
"sha256": "0ffcbb8d54dd386a1d709ee03a2e556f4caee102c1b9ef7b0faeef6019056deb"
},
{
"path": "backend/drizzle/0003_backup_s3.sql",
"sha256": "59cda0660a0f487330058735ad2ee75021ca236480c28a81a2cf32bb4cd77be7"
},
{
"path": "backend/drizzle/0004_geoip_settings.sql",
"sha256": "a0c6e7b918df2c43dd4dd2f76aa0fea3c24b6c6e304390708d9c601521b6343c"
},
{
"path": "backend/drizzle/0005_flow_facts.sql",
"sha256": "26254ce080c9bc1b8d33431c4c00ed7f8601d49c035a3bb0c0d9cf00d268c8a1"
},
{
"path": "backend/drizzle/0006_config_revisions.sql",
"sha256": "aed6b7abaeb8b895c019b32ee5badf5c68fb457d50a4187fbb5c58a8c8728b8f"
},
{
"path": "backend/drizzle/0007_flow_buckets_nat.sql",
"sha256": "2cab88bea14f338b72127c3c7e39ab7d88baa2d11a728389724ba5574ecdecdd"
},
{
"path": "backend/drizzle/0008_alert_outbox_outcomes.sql",
"sha256": "d16e97a48da5d957b9797309bc0e7b48a826ef861d6734cf4da1ee756539b825"
},
{
"path": "backend/drizzle/0009_alert_outbox_resolution.sql",
"sha256": "e3d66a133862e443320d83213899e96d7de84e1c8144962615895176c8c62b11"
},
{
"path": "backend/drizzle/0010_ping_measurement_known.sql",
"sha256": "4cc2f13a489f3b300d238a205a41b75d495a4aa26e3d1468f26b1f682c4a94aa"
},
{
"path": "backend/drizzle/0011_traffic_collection_state.sql",
"sha256": "83e3b6958ea289e594cc68b0646c894c703104ca95a9c73e203886950fc94b9b"
},
{
"path": "backend/drizzle/0012_traffic_counter_identity.sql",
"sha256": "491bb39fe85554d16881696a10d5d5732f60ecec1be92a8dd7b9584ce5a8a9b8"
},
{
"path": "backend/drizzle/0013_scheduler_retention_index.sql",
"sha256": "8ae429ba11fa02163bb3a12f25fc8fdd9708b98badf4a37dfc3a5124740ced0e"
},
{
"path": "backend/drizzle/0014_router_logs.sql",
"sha256": "6f82eeb26101bf20574a0c6cb1f5778d6e8151290f0733e7896c5b6e26fe985f"
},
{
"path": "backend/drizzle/0015_mcp.sql",
"sha256": "13c279fe2ecbabeef1b1c588fbf58a374141d931b45914aac5803efc496496b7"
},
{
"path": "backend/drizzle/0016_mcp_routing_observations.sql",
"sha256": "7b35e4ca6522a7d0e086c518a9f84bfb7bf6eabc3d6ce3a6f537117cc49b6e8e"
},
{
"path": "backend/drizzle/0017_mcp_controller.sql",
"sha256": "bb48c740b4770d979babc2684d9ad7d9e7577083197a74fe00c47e3ce59c1673"
},
{
"path": "backend/drizzle/0018_mcp_owner_validation.sql",
"sha256": "e52f618f7dfd2085b888032367d0d2b56a4004efa4fd6a0561dc3fb1e5f83a61"
},
{
"path": "backend/drizzle/0019_mcp_recovery.sql",
"sha256": "820899500c0d00c67a9b34dfd6769cd146c7688e39014d8b4b4cc7bfb6180bb0"
},
{
"path": "backend/drizzle/0020_mcp_management.sql",
"sha256": "cdd5c527965793060818a4eb600443376470f315e621e451d6ef882840b140ab"
},
{
"path": "backend/drizzle/0021_mcp_path_checks.sql",
"sha256": "8f7c67a99848ecc6ce48c2573ac95f44bd9222c4c74da2aa3283598dff304d35"
},
{
"path": "backend/drizzle/0022_mcp_recovery_intents.sql",
"sha256": "a40c06e73a552400ee903848f9149923d85d2176e211c6c91681fff61ffc2b04"
},
{
"path": "backend/drizzle/0023_mcp_protocol_limits.sql",
"sha256": "0feac9580a7f6af649b664cfc129135c5c6a682bc50f0534550ed65f3b82fb10"
},
{
"path": "backend/drizzle/0024_user_interface_types.sql",
"sha256": "dd381cb3a33a41e9dc1ca351c632646f9dce7f018b6f40e93e0c393437c9e7b5"
},
{
"path": "backend/drizzle/0025_mcp_portal_revocation.sql",
"sha256": "c47b01c4976f39f13d77c67606c6681c17fb1c83b0036c9157134ccf322f6f37"
},
{
"path": "backend/drizzle/0026_mcp_owner_claims_issued.sql",
"sha256": "5569287afd46676a9e8d738dcce2a143c7125b329ad8d892d2f59719b221e815"
},
{
"path": "backend/drizzle/0027_mcp_readiness.sql",
"sha256": "c90b16fcd376bac8c907be715b8e2d4ecd4a7171e624b9e93f884dd5f12ac159"
},
{
"path": "backend/drizzle/0028_mcp_artifact_scope.sql",
"sha256": "ad76f4f4c981d6cc3dfabdaf31eddf1f65d4ba3444940e6ad6ad5b7f5bc71ac4"
},
{
"path": "backend/drizzle/0029_mcp_routing_sources.sql",
"sha256": "4e9f739407a6a6d969c746485f90de3dc0f62c09292f7ccea425697fe6317c5c"
},
{
"path": "backend/drizzle/0030_mcp_scoped_configuration_checkpoint.sql",
"sha256": "4f99d83cd803be616e6512c39227eaa63e24e5335e23994af059ce8c6f10c148"
},
{
"path": "backend/drizzle/0031_mcp_scoped_recovery.sql",
"sha256": "3d6380a57f18b940168f9bf584586ccbe99de0b07293e6dae033ea7071088a3f"
},
{
"path": "backend/drizzle/0032_flow_write_receipts.sql",
"sha256": "ca89054c375261f847d1f4a6e87ccf8f83f1f7279f957b89b0ae447b6a468020"
},
{
"path": "backend/drizzle/0033_flow_settings_intents.sql",
"sha256": "a341295c9a6f4ab09d62dbc7b30c4b0e6c947845a6ceac36bb581ff44964f748"
},
{
"path": "backend/drizzle/0034_vrf_production_tickets.sql",
"sha256": "b5317f326f54e46e3efaf4b1969673d33b6dd2835c12ca61fa7d73abbc9b3d10"
},
{
"path": "backend/drizzle/0035_server_probe_journal.sql",
"sha256": "ccc2a61b8329b083c6a5aac4d68b7dca3cf7cc715e702912a4bd1c15de36706d"
},
{
"path": "backend/drizzle/0036_diagnostic_cancellations.sql",
"sha256": "3a9058ac307cf5b63d35f1eec081a5442baa381d29dd9bc6c1df4dded625f007"
},
{
"path": "backend/drizzle/0037_server_probe_storage_v2.sql",
"sha256": "b691f5748362e13feeef58b53734feb0ca3e7cc907fc7a803f103f3ce97f0748"
},
{
"path": "backend/drizzle/0038_server_poll_journal_and_writer_guards.sql",
"sha256": "2db0bb00f561dd01ace54066d6649478e06fa26e7e417db113d0801dcdac9fa2"
},
{
"path": "backend/drizzle/0039_server_poll_storage.sql",
"sha256": "ce3957c2c0196114e85856c93db63fc6e31b61a4866486bc685e017477023f27"
},
{
"path": "backend/drizzle/0040_mcp_routing_reservations.sql",
"sha256": "7fd6533442a6756065685c1905cf71af333c284ca4f96e571284602d5e0852ef"
},
{
"path": "backend/drizzle/0041_server_poll_terminal_archives.sql",
"sha256": "fbb8935ce977cfc507801f01beb8f303d4817ed63c6bdd4c05799768dfaac9d4"
},
{
"path": "backend/drizzle/0042_server_poll_settings_epoch.sql",
"sha256": "b0bcfe9afffda346c9f2fd2ba867ce1708716af0823735583a6bc9217c72de60"
},
{
"path": "backend/drizzle/0043_mcp_routing_forward_charges.sql",
"sha256": "ef556e6d83dfad47bee7476b9aed0e83127e8dc15649048a6d77b2df079ed84d"
},
{
"path": "backend/drizzle/0044_mcp_routing_manual_inverse_charges.sql",
"sha256": "37b88d1679be9bb47f16ccc8cae7373f20f9c05e7a8f662c3775f18d78bb5613"
},
{
"path": "backend/package.json",
"sha256": "cbb086a003e10820df68888e44f993a337e5dee1650e2fb72f37fa3a1510e42b"
},
{
"path": "tmp/mcp-db-catalogue44-expanded-owned-host-v3-20261102/fixture-budget-catalog.mjs",
"sha256": "803c612cef4d38ef7669b688b01d1b2eb94382ea80a83c73492df425aec35037"
},
{
"path": "tmp/mcp-db-protected-profile-issuer-20261101/profile.mjs",
"sha256": "8570a1c34e3b39922d828f687c9de5d14627f911fa6a94f51b4a0167e11965c2"
},
{
"path": "tmp/mcp-db-protected-profile-issuer-20261101/registry.sql",
"sha256": "f4c1abc3c81ab83dc8d53cd3dde22340368be4f13d554f996b7deaab2e7cb90d"
},
{
"path": "tmp/mcp-db-writer-barrier-20261101/proposal.sql",
"sha256": "cf90cb719cc2af732befd6baaffd35e19e70f6f075b538312962f794af16b2bc"
},
{
"path": "docs/mcp-db-connected-publisher-source-applied-20261102.json",
"sha256": "f2c3823c013c231111d9a4263e187526b841103f0cc4492776891d51405b9cb9"
},
{
"path": "docs/mcp-db-publisher-journal-lease-source-applied-20261102.json",
"sha256": "2f7f5e8f5cf36696f592981b8e03db513bea2168af5b9e03ce75b6b2c5497e50"
}
],
"sourceInputsCount": 84,
"meaningfulRuntimeInputsRehashedCurrent": true,
"sourceProofSha256": "a3b97acb91359480ca57ebe40061b73bd73e8a3e8fc6a750d962b962119de547",
"evidence": [
{
"path": "tmp/mcp-writer-current-operator-linux-reviewed-final-20261103/terminal-result.json",
"sha256": "599bc6c292e9616179422c3d41bf8aa2b9abd76be56e8249ae345aaf6b86e091"
},
{
"path": "tmp/mcp-writer-current-operator-linux-reviewed-final-20261103/controller-state.json",
"sha256": "e8ccd7593e107e83042dd5106fe60518bd31aaa131a455c1d6cf1a1a981e436e"
},
{
"path": "tmp/mcp-writer-current-operator-linux-reviewed-final-20261103/source-proof.json",
"sha256": "a3b97acb91359480ca57ebe40061b73bd73e8a3e8fc6a750d962b962119de547"
},
{
"path": "tmp/mcp-writer-current-operator-linux-reviewed-final-20261103/local-verification.json",
"sha256": "84f2b641955ff81ac23c3215d3aeb8aa090c185a524d063c68202b22f8a43fb7"
},
{
"path": "tmp/mcp-writer-current-operator-linux-reviewed-final-20261103/journal-posix-tests.tap",
"sha256": "232805f030af2017a2c33fe47850af5989b85c2e519d23b2548bc1984757ef2f"
},
{
"path": "tmp/mcp-writer-current-operator-linux-reviewed-final-20261103/controller.py",
"sha256": "59e29496db8e61acd599bfe7cadea1d35431553171c489e3d5e26ee6bec68ceb"
},
{
"path": "tmp/mcp-writer-current-operator-linux-reviewed-final-20261103/writer-current-operator-linux.tgz",
"sha256": "9202351344d3f283ee923ad38e2e215435daa6b7f24301e60739587f3852ae1d"
}
],
"authorization": {
"newSourceRunAllowance": 3,
"consumed": 1,
"unused": 2,
"noAutomaticRerun": true,
"toolSession": 78164,
"terminalToolChunk": "c34a1b"
},
"cleanup": {
"ownedResourcesRemoved": true,
"outerDirectoryRemoved": true,
"postRunExactBaselineMatched": true,
"existingServicesMutated": false
},
"productionActivated": false,
"generationAuthenticated": false,
"writerAuthorized": false,
"readyAuthorized": false
}
{
"date": "2026-11-03",
"scope": "Exact-current protected publisher operator Linux component acceptance; separate aggregate resource failure",
"functionalAccepted": true,
"aggregateAccepted": false,
"wholeInstallation2GbAccepted": false,
"ramAccepted": false,
"noSwapAccepted": false,
"nodeExitCode": 0,
"controllerExitCode": 1,
"runtime": {
"accepted": true,
"default44": {
"base": 104,
"leaves": 117
},
"actualCli": true,
"actualPosix": true,
"posixJournalUnit": {
"passed": 3,
"failed": 0,
"skipped": 1
},
"actualTls": true,
"sslUsed": true,
"hostnameVerified": true,
"spkiVerified": true,
"wrongSpkiBeforeRolesAndGrants": true,
"genesisEpoch": "1",
"renewalEpoch": "2",
"wrongHeadRefused": true,
"actualStoredSignatures": true,
"historyRows": 4,
"currentEpoch": "4",
"sourceBindingReal": true,
"rolesGeneric": true,
"unknownCommitTested": true,
"actualPreflight": true,
"expiredOriginalApprovalReconcile": true,
"signingKeyUnavailableReconcile": true,
"syntheticApplicationAckLoss": true,
"beforeCommitDispatchLoss": true,
"generationAuthenticated": false,
"readyAuthorized": false
},
"runtimeEnvironment": {
"nodeVersion": "v22.23.3",
"platform": "linux",
"tsxLoaded": false,
"default44": true,
"sourceAppliedByFixture": false,
"actualPg": true,
"actualCli": true
},
"summary": {
"samples": 172,
"elapsedMs": 186387,
"hostMemTotalBytes": 2069721088,
"minHostAvailableBytes": 546488320,
"maxObservedContainerUsageIncludingCacheBytes": 1190240256,
"containerIdentityAndStartStable": true,
"allObservedRunning": true,
"anyObservedOomKilled": false,
"allCgroupV2MetricsAvailable": true,
"pswpinDelta": 5670,
"pswpoutDelta": 24701,
"oom_killDelta": 0,
"acceptancePassed": false,
"scope": "sampled evidence only; correlate with workload, limits, errors and latency; unsampled peaks are unknown"
},
"liveWindowSummary": {
"samples": 172,
"elapsedMs": 186387,
"hostMemTotalBytes": 2069721088,
"minHostAvailableBytes": 546488320,
"maxObservedContainerUsageIncludingCacheBytes": 1190240256,
"containerIdentityAndStartStable": true,
"allObservedRunning": true,
"anyObservedOomKilled": false,
"allCgroupV2MetricsAvailable": true,
"pswpinDelta": 5516,
"pswpoutDelta": 24698,
"oom_killDelta": 0,
"acceptancePassed": false,
"scope": "sampled evidence only; correlate with workload, limits, errors and latency; unsampled peaks are unknown"
},
"unknownCommitFaultBoundary": "Fixture intercepts genuine pg.Client write COMMIT. After real PostgreSQL COMMIT ACK, rejects application delivery; complementary case destroys actual client socket before COMMIT dispatch. Synthetic application delivery fault; not demonstrated real network packet loss.",
"reconciliation": "Fresh actual CLI with exact naturally expired original approval and signing key unavailable; committed proposal confirmed, before-dispatch proposal not-committed. Exact pending preserved until inspection then removed; no automatic replay or database changes from reconcile.",
"sourceInputPins": [
{
"path": "backend/scripts/writer-profile/application-writer-profile-canonical.ts",
"sha256": "59ddf6eca8ef960b4c4d52e005528aa80e328a89344ab532123b9961ba6987b9"
},
{
"path": "backend/scripts/writer-profile/application-writer-profile-catalogue-parent-policy.ts",
"sha256": "941805122151a5a5f41f4269f3f6e14fd71e7cf19cb94e2f13739f0723f925c5"
},
{
"path": "backend/scripts/writer-profile/application-writer-profile-catalogue-values.ts",
"sha256": "26a8ea1e2682e4595a7da82c3a63124dabeeec16977d643462f955514a8f253f"
},
{
"path": "backend/scripts/writer-profile/application-writer-profile-catalogue.ts",
"sha256": "9f1885306a606b60d3bae70aa170f192cfe41849989571e44c619ee4f6b7a95e"
},
{
"path": "backend/scripts/writer-profile/catalogue-leaves.ts",
"sha256": "a1201437cb4ddb2700486c701664a31e2101a647a67fa55f2692ea7a18331661"
},
{
"path": "backend/scripts/writer-profile/catalogue-projection.ts",
"sha256": "bd5e264a4356315760e78cd4d70a83cb2258b7f79b32a0d59659f943ee8fdaee"
},
{
"path": "backend/scripts/writer-profile/catalogue-value-bridge.ts",
"sha256": "7870b8ed032ccc7d74d21a66d8f52056e68f4b44e8c2c5333759ba1fa7bb3578"
},
{
"path": "backend/scripts/writer-profile/catalogue.mts",
"sha256": "ae25421996d539f2c528c486191b3cd1695463677a1b1c688af681f5e2da903a"
},
{
"path": "backend/scripts/writer-profile/context.mjs",
"sha256": "4cc91f80e2f8ab13cb19f2658798dfbf1a3665e59b50659cd7d1e56bab78ef3d"
},
{
"path": "backend/scripts/writer-profile/expanded44-data-policy.ts",
"sha256": "336df9721c3ba00347440f4f35af63b0253453323ac815377bfab49572348e02"
},
{
"path": "backend/scripts/writer-profile/fixed44-build-definition.ts",
"sha256": "083d1ac60e8ed65414aea5dc756e22c145a6966d23d70d676e82ad243d0887b5"
},
{
"path": "backend/scripts/writer-profile/fixed44-build-sql.ts",
"sha256": "7edc755153f28dbceff659e72f339005745beea01dceca5817412d4d4db21a8c"
},
{
"path": "backend/scripts/writer-profile/operator-contract.mjs",
"sha256": "8560cd0a308d66fdf638e912b2d1379788878a5d091f38f262bd747ac0a0ef95"
},
{
"path": "backend/scripts/writer-profile/operator-files.mjs",
"sha256": "f61d5c68cd0c8caac457791768cc2925c63023bd5d31a2526dc6248d01387b80"
},
{
"path": "backend/scripts/writer-profile/operator-journal-lease.test.mjs",
"sha256": "779467540c57b5738b15efd326f97b98f7f0fc79745357bc277e2adf4d4ae2bf"
},
{
"path": "backend/scripts/writer-profile/publisher.mjs",
"sha256": "04c06189bf125117e3a1fd233d711366eff831da8619e20828c8ededd40556f0"
},
{
"path": "backend/scripts/database-writer-profile-operator.mts",
"sha256": "05063be9279f276179919bc2a84a94e60271abafd160d1367415deb7bcf42316"
},
{
"path": "backend/scripts/database-writer-bootstrap-operator.mjs",
"sha256": "35e0b94c3662fcbcded417eb37f50293ad131abb83cf9bff7c9d28e3eacde6a7"
},
{
"path": "backend/scripts/database-source-binding-operator.ts",
"sha256": "c98338d8a538edfb7a341b47c055e6a697f0c540d5e71c250fdf28620d5a53c0"
},
{
"path": "backend/src/config.ts",
"sha256": "a5b096ca95e8d54cbfc491c90b6c74471b0f55cd5c3abe6e0a067511322394f3"
},
{
"path": "backend/src/modules/mcp/security.ts",
"sha256": "e7e483fffc322281e39b31bc6531a7f0c89ffd6999276791491cb90b725f2288"
},
{
"path": "backend/src/db/application-writer-profile-format.ts",
"sha256": "74e7bc07ed3cca6d274af2a01a6bf93a16e5a5323b3621846ed0af75b0aeb4a4"
},
{
"path": "backend/src/db/application-writer-profile-canonical.ts",
"sha256": "59ddf6eca8ef960b4c4d52e005528aa80e328a89344ab532123b9961ba6987b9"
},
{
"path": "backend/src/db/application-writer-profile-registry-read.ts",
"sha256": "2103479ce00e6b1b310193fb1dec1e18b7bb0a994e7a272f865e3589a23e2a53"
},
{
"path": "backend/src/db/application-writer-profile-registry-structure.ts",
"sha256": "a1f0a57e09385eb5c866be5100acda92e707318af6ca00171af98572f2860089"
},
{
"path": "backend/src/db/database-source-binding.ts",
"sha256": "dad361b2cf6a98009340d45d9a155c7a9d60bd309e36a3a340e04815841d1851"
},
{
"path": "backend/src/db/database-source-observation.ts",
"sha256": "f980ffcaa059552f605e8107c0ef8578690c08f284366bc2ebaeabd6b272591f"
},
{
"path": "backend/src/db/migration-manifest.ts",
"sha256": "2d7b02606789cd739f3dff3e7c6d610590d10d96b3aa0172ba784a96ed49b7fd"
},
{
"path": "backend/src/db/migrate.ts",
"sha256": "2e7bd71349270b94cc0eea40162ec87f043924b6d26c9a9430622b3a4d9976aa"
},
{
"path": "backend/src/db/schema.ts",
"sha256": "e3eb56907136a7509d2cbb2551f9ce3dc5ab59c39283d575a44eeaef125e70f5"
},
{
"path": "backend/src/db/partitions.ts",
"sha256": "57258e08ff2cd0b85007a123902f8e81998630af446a7fe66db244fbc70a37c1"
},
{
"path": "backend/src/db/partition-guard-inheritance.ts",
"sha256": "0c8b8716b660649f974431e172be6dc487941a40efce1df355f9fa6c6a8d317d"
},
{
"path": "backend/src/services/partition-write-transaction.ts",
"sha256": "9712613cbebef5f2dda1116be475c6ff33ddd80b6cad4fb3fa52c993ddb2b3c1"
},
{
"path": "backend/drizzle/0000_postgresql.sql",
"sha256": "eb6ce1449add311611634845aa6608327821ca2cbe33c1e7b214dde37d85027e"
},
{
"path": "backend/drizzle/0002_compact_schema.sql",
"sha256": "0ffcbb8d54dd386a1d709ee03a2e556f4caee102c1b9ef7b0faeef6019056deb"
},
{
"path": "backend/drizzle/0003_backup_s3.sql",
"sha256": "59cda0660a0f487330058735ad2ee75021ca236480c28a81a2cf32bb4cd77be7"
},
{
"path": "backend/drizzle/0004_geoip_settings.sql",
"sha256": "a0c6e7b918df2c43dd4dd2f76aa0fea3c24b6c6e304390708d9c601521b6343c"
},
{
"path": "backend/drizzle/0005_flow_facts.sql",
"sha256": "26254ce080c9bc1b8d33431c4c00ed7f8601d49c035a3bb0c0d9cf00d268c8a1"
},
{
"path": "backend/drizzle/0006_config_revisions.sql",
"sha256": "aed6b7abaeb8b895c019b32ee5badf5c68fb457d50a4187fbb5c58a8c8728b8f"
},
{
"path": "backend/drizzle/0007_flow_buckets_nat.sql",
"sha256": "2cab88bea14f338b72127c3c7e39ab7d88baa2d11a728389724ba5574ecdecdd"
},
{
"path": "backend/drizzle/0008_alert_outbox_outcomes.sql",
"sha256": "d16e97a48da5d957b9797309bc0e7b48a826ef861d6734cf4da1ee756539b825"
},
{
"path": "backend/drizzle/0009_alert_outbox_resolution.sql",
"sha256": "e3d66a133862e443320d83213899e96d7de84e1c8144962615895176c8c62b11"
},
{
"path": "backend/drizzle/0010_ping_measurement_known.sql",
"sha256": "4cc2f13a489f3b300d238a205a41b75d495a4aa26e3d1468f26b1f682c4a94aa"
},
{
"path": "backend/drizzle/0011_traffic_collection_state.sql",
"sha256": "83e3b6958ea289e594cc68b0646c894c703104ca95a9c73e203886950fc94b9b"
},
{
"path": "backend/drizzle/0012_traffic_counter_identity.sql",
"sha256": "491bb39fe85554d16881696a10d5d5732f60ecec1be92a8dd7b9584ce5a8a9b8"
},
{
"path": "backend/drizzle/0013_scheduler_retention_index.sql",
"sha256": "8ae429ba11fa02163bb3a12f25fc8fdd9708b98badf4a37dfc3a5124740ced0e"
},
{
"path": "backend/drizzle/0014_router_logs.sql",
"sha256": "6f82eeb26101bf20574a0c6cb1f5778d6e8151290f0733e7896c5b6e26fe985f"
},
{
"path": "backend/drizzle/0015_mcp.sql",
"sha256": "13c279fe2ecbabeef1b1c588fbf58a374141d931b45914aac5803efc496496b7"
},
{
"path": "backend/drizzle/0016_mcp_routing_observations.sql",
"sha256": "7b35e4ca6522a7d0e086c518a9f84bfb7bf6eabc3d6ce3a6f537117cc49b6e8e"
},
{
"path": "backend/drizzle/0017_mcp_controller.sql",
"sha256": "bb48c740b4770d979babc2684d9ad7d9e7577083197a74fe00c47e3ce59c1673"
},
{
"path": "backend/drizzle/0018_mcp_owner_validation.sql",
"sha256": "e52f618f7dfd2085b888032367d0d2b56a4004efa4fd6a0561dc3fb1e5f83a61"
},
{
"path": "backend/drizzle/0019_mcp_recovery.sql",
"sha256": "820899500c0d00c67a9b34dfd6769cd146c7688e39014d8b4b4cc7bfb6180bb0"
},
{
"path": "backend/drizzle/0020_mcp_management.sql",
"sha256": "cdd5c527965793060818a4eb600443376470f315e621e451d6ef882840b140ab"
},
{
"path": "backend/drizzle/0021_mcp_path_checks.sql",
"sha256": "8f7c67a99848ecc6ce48c2573ac95f44bd9222c4c74da2aa3283598dff304d35"
},
{
"path": "backend/drizzle/0022_mcp_recovery_intents.sql",
"sha256": "a40c06e73a552400ee903848f9149923d85d2176e211c6c91681fff61ffc2b04"
},
{
"path": "backend/drizzle/0023_mcp_protocol_limits.sql",
"sha256": "0feac9580a7f6af649b664cfc129135c5c6a682bc50f0534550ed65f3b82fb10"
},
{
"path": "backend/drizzle/0024_user_interface_types.sql",
"sha256": "dd381cb3a33a41e9dc1ca351c632646f9dce7f018b6f40e93e0c393437c9e7b5"
},
{
"path": "backend/drizzle/0025_mcp_portal_revocation.sql",
"sha256": "c47b01c4976f39f13d77c67606c6681c17fb1c83b0036c9157134ccf322f6f37"
},
{
"path": "backend/drizzle/0026_mcp_owner_claims_issued.sql",
"sha256": "5569287afd46676a9e8d738dcce2a143c7125b329ad8d892d2f59719b221e815"
},
{
"path": "backend/drizzle/0027_mcp_readiness.sql",
"sha256": "c90b16fcd376bac8c907be715b8e2d4ecd4a7171e624b9e93f884dd5f12ac159"
},
{
"path": "backend/drizzle/0028_mcp_artifact_scope.sql",
"sha256": "ad76f4f4c981d6cc3dfabdaf31eddf1f65d4ba3444940e6ad6ad5b7f5bc71ac4"
},
{
"path": "backend/drizzle/0029_mcp_routing_sources.sql",
"sha256": "4e9f739407a6a6d969c746485f90de3dc0f62c09292f7ccea425697fe6317c5c"
},
{
"path": "backend/drizzle/0030_mcp_scoped_configuration_checkpoint.sql",
"sha256": "4f99d83cd803be616e6512c39227eaa63e24e5335e23994af059ce8c6f10c148"
},
{
"path": "backend/drizzle/0031_mcp_scoped_recovery.sql",
"sha256": "3d6380a57f18b940168f9bf584586ccbe99de0b07293e6dae033ea7071088a3f"
},
{
"path": "backend/drizzle/0032_flow_write_receipts.sql",
"sha256": "ca89054c375261f847d1f4a6e87ccf8f83f1f7279f957b89b0ae447b6a468020"
},
{
"path": "backend/drizzle/0033_flow_settings_intents.sql",
"sha256": "a341295c9a6f4ab09d62dbc7b30c4b0e6c947845a6ceac36bb581ff44964f748"
},
{
"path": "backend/drizzle/0034_vrf_production_tickets.sql",
"sha256": "b5317f326f54e46e3efaf4b1969673d33b6dd2835c12ca61fa7d73abbc9b3d10"
},
{
"path": "backend/drizzle/0035_server_probe_journal.sql",
"sha256": "ccc2a61b8329b083c6a5aac4d68b7dca3cf7cc715e702912a4bd1c15de36706d"
},
{
"path": "backend/drizzle/0036_diagnostic_cancellations.sql",
"sha256": "3a9058ac307cf5b63d35f1eec081a5442baa381d29dd9bc6c1df4dded625f007"
},
{
"path": "backend/drizzle/0037_server_probe_storage_v2.sql",
"sha256": "b691f5748362e13feeef58b53734feb0ca3e7cc907fc7a803f103f3ce97f0748"
},
{
"path": "backend/drizzle/0038_server_poll_journal_and_writer_guards.sql",
"sha256": "2db0bb00f561dd01ace54066d6649478e06fa26e7e417db113d0801dcdac9fa2"
},
{
"path": "backend/drizzle/0039_server_poll_storage.sql",
"sha256": "ce3957c2c0196114e85856c93db63fc6e31b61a4866486bc685e017477023f27"
},
{
"path": "backend/drizzle/0040_mcp_routing_reservations.sql",
"sha256": "7fd6533442a6756065685c1905cf71af333c284ca4f96e571284602d5e0852ef"
},
{
"path": "backend/drizzle/0041_server_poll_terminal_archives.sql",
"sha256": "fbb8935ce977cfc507801f01beb8f303d4817ed63c6bdd4c05799768dfaac9d4"
},
{
"path": "backend/drizzle/0042_server_poll_settings_epoch.sql",
"sha256": "b0bcfe9afffda346c9f2fd2ba867ce1708716af0823735583a6bc9217c72de60"
},
{
"path": "backend/drizzle/0043_mcp_routing_forward_charges.sql",
"sha256": "ef556e6d83dfad47bee7476b9aed0e83127e8dc15649048a6d77b2df079ed84d"
},
{
"path": "backend/drizzle/0044_mcp_routing_manual_inverse_charges.sql",
"sha256": "37b88d1679be9bb47f16ccc8cae7373f20f9c05e7a8f662c3775f18d78bb5613"
},
{
"path": "backend/package.json",
"sha256": "cbb086a003e10820df68888e44f993a337e5dee1650e2fb72f37fa3a1510e42b"
},
{
"path": "tmp/mcp-db-catalogue44-expanded-owned-host-v3-20261102/fixture-budget-catalog.mjs",
"sha256": "803c612cef4d38ef7669b688b01d1b2eb94382ea80a83c73492df425aec35037"
},
{
"path": "tmp/mcp-db-protected-profile-issuer-20261101/profile.mjs",
"sha256": "8570a1c34e3b39922d828f687c9de5d14627f911fa6a94f51b4a0167e11965c2"
},
{
"path": "tmp/mcp-db-protected-profile-issuer-20261101/registry.sql",
"sha256": "f4c1abc3c81ab83dc8d53cd3dde22340368be4f13d554f996b7deaab2e7cb90d"
},
{
"path": "tmp/mcp-db-writer-barrier-20261101/proposal.sql",
"sha256": "cf90cb719cc2af732befd6baaffd35e19e70f6f075b538312962f794af16b2bc"
},
{
"path": "docs/mcp-db-connected-publisher-source-applied-20261102.json",
"sha256": "f2c3823c013c231111d9a4263e187526b841103f0cc4492776891d51405b9cb9"
},
{
"path": "docs/mcp-db-publisher-journal-lease-source-applied-20261102.json",
"sha256": "2f7f5e8f5cf36696f592981b8e03db513bea2168af5b9e03ce75b6b2c5497e50"
}
],
"sourceInputsCount": 84,
"meaningfulRuntimeInputsRehashedCurrent": true,
"sourceProofSha256": "a3b97acb91359480ca57ebe40061b73bd73e8a3e8fc6a750d962b962119de547",
"evidence": [
{
"path": "tmp/mcp-writer-current-operator-linux-reviewed-final-20261103/terminal-result.json",
"sha256": "599bc6c292e9616179422c3d41bf8aa2b9abd76be56e8249ae345aaf6b86e091"
},
{
"path": "tmp/mcp-writer-current-operator-linux-reviewed-final-20261103/controller-state.json",
"sha256": "e8ccd7593e107e83042dd5106fe60518bd31aaa131a455c1d6cf1a1a981e436e"
},
{
"path": "tmp/mcp-writer-current-operator-linux-reviewed-final-20261103/source-proof.json",
"sha256": "a3b97acb91359480ca57ebe40061b73bd73e8a3e8fc6a750d962b962119de547"
},
{
"path": "tmp/mcp-writer-current-operator-linux-reviewed-final-20261103/local-verification.json",
"sha256": "84f2b641955ff81ac23c3215d3aeb8aa090c185a524d063c68202b22f8a43fb7"
},
{
"path": "tmp/mcp-writer-current-operator-linux-reviewed-final-20261103/journal-posix-tests.tap",
"sha256": "232805f030af2017a2c33fe47850af5989b85c2e519d23b2548bc1984757ef2f"
},
{
"path": "tmp/mcp-writer-current-operator-linux-reviewed-final-20261103/controller.py",
"sha256": "59e29496db8e61acd599bfe7cadea1d35431553171c489e3d5e26ee6bec68ceb"
},
{
"path": "tmp/mcp-writer-current-operator-linux-reviewed-final-20261103/writer-current-operator-linux.tgz",
"sha256": "9202351344d3f283ee923ad38e2e215435daa6b7f24301e60739587f3852ae1d"
}
],
"authorization": {
"newSourceRunAllowance": 3,
"consumed": 1,
"unused": 2,
"noAutomaticRerun": true,
"toolSession": 78164,
"terminalToolChunk": "c34a1b"
},
"cleanup": {
"ownedResourcesRemoved": true,
"outerDirectoryRemoved": true,
"postRunExactBaselineMatched": true,
"existingServicesMutated": false
},
"productionActivated": false,
"generationAuthenticated": false,
"writerAuthorized": false,
"readyAuthorized": false
}
@@ -1,96 +1,96 @@
{
"date": "2026-11-01",
"component": "RT3.B2 existing scoped manual inverse profile-charge invariant",
"status": "genuine-owned-sql-localhost-accounting-gap-reproduced",
"executor": "root",
"terminalSession": 57854,
"terminalExitCode": 0,
"work": "tmp/mcp-routing-manual-inverse-repro-20261101/runs/mm-mcp-test-vrf-iCbDFg",
"actual": {
"accepted": true,
"manualInverseChargeReproduction": true,
"before": {
"forward": 0,
"reserved": 0,
"legacy": 0,
"total": 0,
"generic": 0,
"writes": 0
},
"afterForward": {
"forward": 1,
"reserved": 0,
"legacy": 0,
"total": 1,
"generic": 2,
"writes": 1
},
"afterInverse": {
"forward": 1,
"reserved": 0,
"legacy": 0,
"total": 1,
"generic": 3,
"writes": 2
},
"genuineConfigApplied": true,
"originalPersistentAuthorityReloaded": true,
"genuineRecoveryVerified": true,
"humanApprovalRequired": true,
"profileInverseChargeObserved": 0,
"inverseGenericDebitObserved": 1,
"terminalReplayUnchanged": true,
"realSql": true,
"routerOsTransport": "loopback-http-fixture",
"forwardingVerified": false,
"allWriterLedgerComplete": false
},
"verifiedBoundaries": {
"counterInvariantGap": true,
"existingTrustedFixedReaderBaselineCas": true,
"originalSignedProfileAuthorityReloaded": true,
"actualHumanApprovalAndRuntime": true,
"genuineConfigAppliedAndRecoveryVerified": true,
"publicScopedControllerEnabled": false,
"currentlyExploitablePublicPermissionBypassClaimed": false,
"reservedInverseNativePositiveClaimed": false,
"productionFixImplemented": false,
"migration44Implemented": false,
"allWriterLedgerComplete": false,
"rt3Complete": false,
"actualChr": false,
"forwardingVerified": false
},
"cleanup": {
"childExitConfirmed": true,
"pgExitConfirmed": true,
"nativeExitConfirmed": true,
"pgDataRemoved": true,
"sourceUnchanged": true
},
"nativeHandles": {
"initChildPid": 2384,
"pgChildPid": 40880,
"fixtureChildPid": 28900,
"stopChildPids": [
22044
]
},
"artifacts": {
"tmp/mcp-routing-manual-inverse-repro-20261101/preparation-receipt.json": "e287330cd9466af9133fd5cf5acb425374850943a5b4b25a35b6bad3ddc59ac6",
"tmp/mcp-routing-manual-inverse-repro-20261101/source-pins.json": "d7c57ef77884ae6be91d88af8842b3e96bb3d5fffd1c637e21b7d26f2032b085",
"tmp/mcp-routing-manual-inverse-repro-20261101/staged.patch": "bebd907ba1611a758ce5eb72c9623333fcee5b7b436b38480635b93f07c6991c",
"tmp/mcp-routing-manual-inverse-repro-20261101/runner.delta.patch": "d8da1eacff8f4ff80711332ea7de1469ba1ef91d4745d820a247c1590df05369",
"tmp/mcp-routing-manual-inverse-repro-20261101/run-owned-reviewed.mjs": "5aaeb6c2687330b2f1de607b4deb59e47d60c037e0e76cf41711cb1eb4d9adbd",
"tmp/mcp-routing-manual-inverse-repro-20261101/owned-admission-fixture.mjs": "8ebd34580618809525b4886c6ad4a32b48345210987994bb933bf2005e653bc9",
"tmp/mcp-routing-manual-inverse-repro-20261101/guard-preload.mjs": "ab8e956671a7ec877a348e91ebefa549c7f98247c6b99cb3924d5f6f0fd6976b",
"tmp/mcp-routing-manual-inverse-repro-20261101/native-lifecycle.mjs": "4ec39cf7f95f0aa74582243583eb8b6d12e2e093df2c3295ec3aec26ad86caa2",
"tmp/mcp-routing-manual-inverse-repro-20261101/REVIEW.md": "e066b9a1ec170dd627eb3afd72f2f32307c2eda4d2980177dc7a2f8007ca3714",
"tmp/mcp-routing-manual-inverse-repro-20261101/strict-result.json": "975f2f61f0a09c29b02aed7fbbb03cf18e253166dc3204098b7bb89d7f7593c2",
"tmp/mcp-routing-manual-inverse-repro-20261101/lint-result.json": "97c0a7d6ab3ef177765831bb20976fa1bd5e674b3a84ff1cfe3e0738dc37a72b",
"tmp/mcp-routing-manual-inverse-repro-20261101/runs/mm-mcp-test-vrf-iCbDFg/acceptance.json": "1809143534eabfe6e2574885000db660f1852e2ee4d5e7f505b55ad8c4c81b5c",
"tmp/mcp-routing-manual-inverse-repro-20261101/runs/mm-mcp-test-vrf-iCbDFg/routing-manual-inverse-repro-acceptance.json": "797ca9c821d0fe792dce7b25e4591aa0e918e32d9303a999c4b7b95069545dde",
"tmp/mcp-routing-manual-inverse-repro-20261101/runs/mm-mcp-test-vrf-iCbDFg/fixture.log": "7d213d9c24e0569a211e5bc29986dcfd7a2909e618695c175dceeaff2c7c2497",
"tmp/mcp-routing-manual-inverse-repro-20261101/runs/mm-mcp-test-vrf-iCbDFg/runtime-pins.json": "5d46b1dac6db73847cf3997722c5de60be4165342cf2ff4ef58f62a4040d88ea"
}
}
{
"date": "2026-11-01",
"component": "RT3.B2 existing scoped manual inverse profile-charge invariant",
"status": "genuine-owned-sql-localhost-accounting-gap-reproduced",
"executor": "root",
"terminalSession": 57854,
"terminalExitCode": 0,
"work": "tmp/mcp-routing-manual-inverse-repro-20261101/runs/mm-mcp-test-vrf-iCbDFg",
"actual": {
"accepted": true,
"manualInverseChargeReproduction": true,
"before": {
"forward": 0,
"reserved": 0,
"legacy": 0,
"total": 0,
"generic": 0,
"writes": 0
},
"afterForward": {
"forward": 1,
"reserved": 0,
"legacy": 0,
"total": 1,
"generic": 2,
"writes": 1
},
"afterInverse": {
"forward": 1,
"reserved": 0,
"legacy": 0,
"total": 1,
"generic": 3,
"writes": 2
},
"genuineConfigApplied": true,
"originalPersistentAuthorityReloaded": true,
"genuineRecoveryVerified": true,
"humanApprovalRequired": true,
"profileInverseChargeObserved": 0,
"inverseGenericDebitObserved": 1,
"terminalReplayUnchanged": true,
"realSql": true,
"routerOsTransport": "loopback-http-fixture",
"forwardingVerified": false,
"allWriterLedgerComplete": false
},
"verifiedBoundaries": {
"counterInvariantGap": true,
"existingTrustedFixedReaderBaselineCas": true,
"originalSignedProfileAuthorityReloaded": true,
"actualHumanApprovalAndRuntime": true,
"genuineConfigAppliedAndRecoveryVerified": true,
"publicScopedControllerEnabled": false,
"currentlyExploitablePublicPermissionBypassClaimed": false,
"reservedInverseNativePositiveClaimed": false,
"productionFixImplemented": false,
"migration44Implemented": false,
"allWriterLedgerComplete": false,
"rt3Complete": false,
"actualChr": false,
"forwardingVerified": false
},
"cleanup": {
"childExitConfirmed": true,
"pgExitConfirmed": true,
"nativeExitConfirmed": true,
"pgDataRemoved": true,
"sourceUnchanged": true
},
"nativeHandles": {
"initChildPid": 2384,
"pgChildPid": 40880,
"fixtureChildPid": 28900,
"stopChildPids": [
22044
]
},
"artifacts": {
"tmp/mcp-routing-manual-inverse-repro-20261101/preparation-receipt.json": "e287330cd9466af9133fd5cf5acb425374850943a5b4b25a35b6bad3ddc59ac6",
"tmp/mcp-routing-manual-inverse-repro-20261101/source-pins.json": "d7c57ef77884ae6be91d88af8842b3e96bb3d5fffd1c637e21b7d26f2032b085",
"tmp/mcp-routing-manual-inverse-repro-20261101/staged.patch": "bebd907ba1611a758ce5eb72c9623333fcee5b7b436b38480635b93f07c6991c",
"tmp/mcp-routing-manual-inverse-repro-20261101/runner.delta.patch": "d8da1eacff8f4ff80711332ea7de1469ba1ef91d4745d820a247c1590df05369",
"tmp/mcp-routing-manual-inverse-repro-20261101/run-owned-reviewed.mjs": "5aaeb6c2687330b2f1de607b4deb59e47d60c037e0e76cf41711cb1eb4d9adbd",
"tmp/mcp-routing-manual-inverse-repro-20261101/owned-admission-fixture.mjs": "8ebd34580618809525b4886c6ad4a32b48345210987994bb933bf2005e653bc9",
"tmp/mcp-routing-manual-inverse-repro-20261101/guard-preload.mjs": "ab8e956671a7ec877a348e91ebefa549c7f98247c6b99cb3924d5f6f0fd6976b",
"tmp/mcp-routing-manual-inverse-repro-20261101/native-lifecycle.mjs": "4ec39cf7f95f0aa74582243583eb8b6d12e2e093df2c3295ec3aec26ad86caa2",
"tmp/mcp-routing-manual-inverse-repro-20261101/REVIEW.md": "e066b9a1ec170dd627eb3afd72f2f32307c2eda4d2980177dc7a2f8007ca3714",
"tmp/mcp-routing-manual-inverse-repro-20261101/strict-result.json": "975f2f61f0a09c29b02aed7fbbb03cf18e253166dc3204098b7bb89d7f7593c2",
"tmp/mcp-routing-manual-inverse-repro-20261101/lint-result.json": "97c0a7d6ab3ef177765831bb20976fa1bd5e674b3a84ff1cfe3e0738dc37a72b",
"tmp/mcp-routing-manual-inverse-repro-20261101/runs/mm-mcp-test-vrf-iCbDFg/acceptance.json": "1809143534eabfe6e2574885000db660f1852e2ee4d5e7f505b55ad8c4c81b5c",
"tmp/mcp-routing-manual-inverse-repro-20261101/runs/mm-mcp-test-vrf-iCbDFg/routing-manual-inverse-repro-acceptance.json": "797ca9c821d0fe792dce7b25e4591aa0e918e32d9303a999c4b7b95069545dde",
"tmp/mcp-routing-manual-inverse-repro-20261101/runs/mm-mcp-test-vrf-iCbDFg/fixture.log": "7d213d9c24e0569a211e5bc29986dcfd7a2909e618695c175dceeaff2c7c2497",
"tmp/mcp-routing-manual-inverse-repro-20261101/runs/mm-mcp-test-vrf-iCbDFg/runtime-pins.json": "5d46b1dac6db73847cf3997722c5de60be4165342cf2ff4ef58f62a4040d88ea"
}
}
@@ -1,15 +1,15 @@
# RT3: реальное воспроизведение пробела profile charge manual inverse
Root session57854 завершилась0 на собственной одноразовой PostgreSQL и localhost RouterOS fixture. Подтверждены настоящий fixed-reader baseline/CAS, подписанная исходная persistent scopedfalse authority, её повторная загрузка, человеческое одобрение, CONFIG_APPLIED, точный обратный PATCH, RECOVERY_VERIFIED и read-only reconcile.
| Момент | Hourly profile charges | Общий mutation debit | Native PATCH |
|---|---:|---:|---:|
| До forward | 0 | 0 | 0 |
| После forward | 1 | 2 | 1 |
| После manual inverse | 1 | 3 | 2 |
Отдельный inverse расходует1 общего mutation budget, но0 новых profile charges. Повтор завершённого плана и подготовка нового recovery для того же source не изменили счётчики/записи. Без человеческого одобрения бюджет и native-записи не менялись.
Это доказанный пробел счётчика в композиции существующего доверенного fixture. Публичный scoped controller не включался; эксплуатируемый публичный обход разрешений не заявляется. Оригинальная authority не подменялась. Reserved2 и nonpersistent совместимость здесь не повторялись; никакой productionfix/DDL44 не применён. RT3/all-writer остаются открыты.
Все child/PG/native handles завершены; собственная PGdata удалена, исходники неизменны. Точные пути, SHA256 и машинные снимки сохранены в одноимённом JSON. Private runtime/state evidence остаётся в исходном owned-каталоге, не переписывается.
# RT3: реальное воспроизведение пробела profile charge manual inverse
Root session57854 завершилась0 на собственной одноразовой PostgreSQL и localhost RouterOS fixture. Подтверждены настоящий fixed-reader baseline/CAS, подписанная исходная persistent scopedfalse authority, её повторная загрузка, человеческое одобрение, CONFIG_APPLIED, точный обратный PATCH, RECOVERY_VERIFIED и read-only reconcile.
| Момент | Hourly profile charges | Общий mutation debit | Native PATCH |
|---|---:|---:|---:|
| До forward | 0 | 0 | 0 |
| После forward | 1 | 2 | 1 |
| После manual inverse | 1 | 3 | 2 |
Отдельный inverse расходует1 общего mutation budget, но0 новых profile charges. Повтор завершённого плана и подготовка нового recovery для того же source не изменили счётчики/записи. Без человеческого одобрения бюджет и native-записи не менялись.
Это доказанный пробел счётчика в композиции существующего доверенного fixture. Публичный scoped controller не включался; эксплуатируемый публичный обход разрешений не заявляется. Оригинальная authority не подменялась. Reserved2 и nonpersistent совместимость здесь не повторялись; никакой productionfix/DDL44 не применён. RT3/all-writer остаются открыты.
Все child/PG/native handles завершены; собственная PGdata удалена, исходники неизменны. Точные пути, SHA256 и машинные снимки сохранены в одноимённом JSON. Private runtime/state evidence остаётся в исходном owned-каталоге, не переписывается.
File diff suppressed because it is too large. Load diff
@@ -1,29 +1,29 @@
# Scoped manual inverse: приёмка шести случаев
Root session8839 завершилась0: собственная одноразовая PostgreSQL/schema44 и localhost RouterOS fixture, один v5 process, общая история для всех шести случаев. Parent accepted=true; child/PG/native exits подтверждены, PG data удалены, sourceUnchanged=true. Это приёмка данного набора, не всей RT3 и не production adoption.
| Случай | Hourly total: до→forward→inverse | Inverse charge | Generic mutation | Native PATCH fixture | Результат |
|---|---:|---:|---:|---:|---|
| positive | 0→1→2 | 0→0→1 | 0→2→3 | 0→1→2 | RECOVERY_VERIFIED; replay без изменений |
| quota | 0→1→1 | 0→0→0 | 0→2→2 | 0→1→1 | rollback до intent/PATCH |
| concurrent | 0→1→2 | 0→0→1 | 0→2→3 | 0→1→2 | RECOVERY_VERIFIED; replay без изменений |
| unknown | 0→1→2 | 0→0→1 | 0→2→3 | 0→1→2 | unknown: charge сохранён, replay запрещён |
| revoked | 0→1→1 | 0→0→0 | 0→2→2 | 0→1→1 | rollback до intent/PATCH |
| nonpersistent | 0→0→0 | 0→0→0 | 0→2→3 | 0→1→2 | без profile charge |
Все исходные forward достигли partial/VERIFICATION_FAILED после настоящего CONFIG_APPLIED и одной сохранённой network receipt. Persistent request3/checkpoint2 сохранили исходную подписанную authority. Nonpersistent request2/checkpoint1 имел ровно0 enabled server/dependency profiles перед подготовкой; persistent identity ему не назначалась. Raw helper flag originalPersistentAuthorityReloaded для него означает проверенную отсутствующую authority, а не выданный grant.
Quota и revoked подтвердили отказ до inverse intent/PATCH с полным rollback operation/plan/generic/profile allocation. Concurrent подтвердил одного победителя среди двух одобренных планов. Unknown сохранил inverse charge1 и generic debit1 без replay; genuineRecoveryVerified=false сохранён буквально. Terminal same-plan replay/new recovery preparation не добавляли debit/PATCH там, где это предусмотрено case assertions.
Счётчики всех6 case-complete строк совпадают с final report. Parent fixture.log сохраняет их как отдельные промежуточные доказательства, а итоговая приёмка опирается на accepted=true обоих final receipts и lifecycle. PostgreSQL завершился кодом1 при явной Windows stop-процедуре; это подтверждённый shutdown, не заявление, что каждый native process вышел0.
Точные raw hashes, размеры, полные before/after объекты, case flags и lifecycle находятся в соседнем JSON. Ниже — исходные receipts:
- `tmp/mcp-routing-manual-inverse-fix-v5-20261101/runs/mm-mcp-test-vrf-fTy8G5/acceptance.json` — SHA256 `9e172356e87f4fcc4c4691ababe6e78fb026d0da9d46f028396c808d24204790`.
- `tmp/mcp-routing-manual-inverse-fix-v5-20261101/runs/mm-mcp-test-vrf-fTy8G5/routing-manual-inverse-fix-acceptance.json` — SHA256 `27c809af73c9ab73a67407599393a514330f4bf3b0dd683200fbdec5e23b80b1`.
- `tmp/mcp-routing-manual-inverse-fix-v5-20261101/runs/mm-mcp-test-vrf-fTy8G5/fixture.log` — SHA256 `c8ee2198dd44f33aafe27f4737a5d179685f4968fb312a0b0c3ffc07bba2395c`.
- `tmp/mcp-routing-manual-inverse-fix-v5-20261101/runs/mm-mcp-test-vrf-fTy8G5/runtime-pins.json` — SHA256 `8bf4e5fa9cf0ec8a588450a6aa2025ddc1fcfe8dae4a1a9e1a3c4705ebd56e48`.
Прежний `docs/mcp-routing44-six-case-partial-20261101.json` и исходное воспроизведение undercount не переписаны; их hashes сохранены в JSON.
Не подтверждены этим отчётом: настоящий43→44 bridge, reserved19/common/full parent gates, production source/schema enrollment, all-writer/source-generation/admin-DDL/whole-family deletion и drain уже claimed старых production writers, естественный исход старого hourly окна, полный reserved native lifecycle, реальное forwarding/CHR и размещение всей установки в2GB. Public scoped controller и autoRecovery не включались. Production остаётся вне этой приёмки; root ждёт actual bridge перед adoption.
# Scoped manual inverse: приёмка шести случаев
Root session8839 завершилась0: собственная одноразовая PostgreSQL/schema44 и localhost RouterOS fixture, один v5 process, общая история для всех шести случаев. Parent accepted=true; child/PG/native exits подтверждены, PG data удалены, sourceUnchanged=true. Это приёмка данного набора, не всей RT3 и не production adoption.
| Случай | Hourly total: до→forward→inverse | Inverse charge | Generic mutation | Native PATCH fixture | Результат |
|---|---:|---:|---:|---:|---|
| positive | 0→1→2 | 0→0→1 | 0→2→3 | 0→1→2 | RECOVERY_VERIFIED; replay без изменений |
| quota | 0→1→1 | 0→0→0 | 0→2→2 | 0→1→1 | rollback до intent/PATCH |
| concurrent | 0→1→2 | 0→0→1 | 0→2→3 | 0→1→2 | RECOVERY_VERIFIED; replay без изменений |
| unknown | 0→1→2 | 0→0→1 | 0→2→3 | 0→1→2 | unknown: charge сохранён, replay запрещён |
| revoked | 0→1→1 | 0→0→0 | 0→2→2 | 0→1→1 | rollback до intent/PATCH |
| nonpersistent | 0→0→0 | 0→0→0 | 0→2→3 | 0→1→2 | без profile charge |
Все исходные forward достигли partial/VERIFICATION_FAILED после настоящего CONFIG_APPLIED и одной сохранённой network receipt. Persistent request3/checkpoint2 сохранили исходную подписанную authority. Nonpersistent request2/checkpoint1 имел ровно0 enabled server/dependency profiles перед подготовкой; persistent identity ему не назначалась. Raw helper flag originalPersistentAuthorityReloaded для него означает проверенную отсутствующую authority, а не выданный grant.
Quota и revoked подтвердили отказ до inverse intent/PATCH с полным rollback operation/plan/generic/profile allocation. Concurrent подтвердил одного победителя среди двух одобренных планов. Unknown сохранил inverse charge1 и generic debit1 без replay; genuineRecoveryVerified=false сохранён буквально. Terminal same-plan replay/new recovery preparation не добавляли debit/PATCH там, где это предусмотрено case assertions.
Счётчики всех6 case-complete строк совпадают с final report. Parent fixture.log сохраняет их как отдельные промежуточные доказательства, а итоговая приёмка опирается на accepted=true обоих final receipts и lifecycle. PostgreSQL завершился кодом1 при явной Windows stop-процедуре; это подтверждённый shutdown, не заявление, что каждый native process вышел0.
Точные raw hashes, размеры, полные before/after объекты, case flags и lifecycle находятся в соседнем JSON. Ниже — исходные receipts:
- `tmp/mcp-routing-manual-inverse-fix-v5-20261101/runs/mm-mcp-test-vrf-fTy8G5/acceptance.json` — SHA256 `9e172356e87f4fcc4c4691ababe6e78fb026d0da9d46f028396c808d24204790`.
- `tmp/mcp-routing-manual-inverse-fix-v5-20261101/runs/mm-mcp-test-vrf-fTy8G5/routing-manual-inverse-fix-acceptance.json` — SHA256 `27c809af73c9ab73a67407599393a514330f4bf3b0dd683200fbdec5e23b80b1`.
- `tmp/mcp-routing-manual-inverse-fix-v5-20261101/runs/mm-mcp-test-vrf-fTy8G5/fixture.log` — SHA256 `c8ee2198dd44f33aafe27f4737a5d179685f4968fb312a0b0c3ffc07bba2395c`.
- `tmp/mcp-routing-manual-inverse-fix-v5-20261101/runs/mm-mcp-test-vrf-fTy8G5/runtime-pins.json` — SHA256 `8bf4e5fa9cf0ec8a588450a6aa2025ddc1fcfe8dae4a1a9e1a3c4705ebd56e48`.
Прежний `docs/mcp-routing44-six-case-partial-20261101.json` и исходное воспроизведение undercount не переписаны; их hashes сохранены в JSON.
Не подтверждены этим отчётом: настоящий43→44 bridge, reserved19/common/full parent gates, production source/schema enrollment, all-writer/source-generation/admin-DDL/whole-family deletion и drain уже claimed старых production writers, естественный исход старого hourly окна, полный reserved native lifecycle, реальное forwarding/CHR и размещение всей установки в2GB. Public scoped controller и autoRecovery не включались. Production остаётся вне этой приёмки; root ждёт actual bridge перед adoption.
File diff suppressed because it is too large. Load diff
@@ -1,43 +1,43 @@
{
"date": "2026-11-02",
"sourceApplied": true,
"targets": [
{
"target": "backend/src/modules/mcp/runtime.ts",
"beforeSha256": "5bcd690912935e928c412b9aefcdbebec178889a89d0c876594ba54f25771897",
"afterSha256": "99cf77c4fa67b70fed3677db7afcbb950c2c2048591bf0d1fba90aca658a8902"
},
{
"target": "backend/package.json",
"beforeSha256": "aa997855e1b67e4aa3bbe805cbe995a858b82d1673b11f145ad295ab67af36c2",
"afterSha256": "76d7eba1875a0305125b9515ed594ce33265d31dbaa5118244882d8add8cf3b3"
},
{
"target": "backend/src/modules/mcp/plan-expiry.ts",
"beforeSha256": null,
"afterSha256": "9764b90efb3db510f19a220040432a81fcbd8141dd596a65fa90c6b46a09c9f8",
"compiledSha256": "f4fdb575f2b2543fc3ef459a75737d86d75b333e53ce609c32e455f719499d5a"
},
{
"target": "backend/src/modules/mcp/plan-expiry.test.ts",
"beforeSha256": null,
"afterSha256": "22c64fcab1e38f3096f47b994a5cdc389c7c3da0aa3a9c3d2b0a1a465ae8ebb8",
"compiledSha256": "6648681b80955ec029a60d4402e5b840f72d61725211ca4115bcdc4a960deba5"
}
],
"backup": "tmp/mcp-poll-expiry-alignment-root-adoption-20261102",
"candidateManifest": "tmp/mcp-server-poll-plan-expiry-alignment-v2-20261102/manifest.json",
"candidateManifestSha256": "9beaa653c38f8bc1f8ef28d023084735fae1af789250eb21c6c2269e45d15d53",
"preAdoptionCompiledPureTests": 15,
"scope": "Only new servers.poll nominal plan expiry follows existing trusted sealed validUntil; generic plans unchanged",
"earlierApprovalExpiryAndErrorPrecedenceChanged": true,
"existingStoredPlansUpdated": false,
"originalBindingLifetimeChanged": false,
"operationDeadlineChanged": false,
"archiveSafetyChanged": false,
"fakeClockOrShortTestGrant": false,
"oldFrozenV7Changed": false,
"buildLintAuthActualSqlPending": true,
"deployed": false,
"fullPlanComplete": false
}
{
"date": "2026-11-02",
"sourceApplied": true,
"targets": [
{
"target": "backend/src/modules/mcp/runtime.ts",
"beforeSha256": "5bcd690912935e928c412b9aefcdbebec178889a89d0c876594ba54f25771897",
"afterSha256": "99cf77c4fa67b70fed3677db7afcbb950c2c2048591bf0d1fba90aca658a8902"
},
{
"target": "backend/package.json",
"beforeSha256": "aa997855e1b67e4aa3bbe805cbe995a858b82d1673b11f145ad295ab67af36c2",
"afterSha256": "76d7eba1875a0305125b9515ed594ce33265d31dbaa5118244882d8add8cf3b3"
},
{
"target": "backend/src/modules/mcp/plan-expiry.ts",
"beforeSha256": null,
"afterSha256": "9764b90efb3db510f19a220040432a81fcbd8141dd596a65fa90c6b46a09c9f8",
"compiledSha256": "f4fdb575f2b2543fc3ef459a75737d86d75b333e53ce609c32e455f719499d5a"
},
{
"target": "backend/src/modules/mcp/plan-expiry.test.ts",
"beforeSha256": null,
"afterSha256": "22c64fcab1e38f3096f47b994a5cdc389c7c3da0aa3a9c3d2b0a1a465ae8ebb8",
"compiledSha256": "6648681b80955ec029a60d4402e5b840f72d61725211ca4115bcdc4a960deba5"
}
],
"backup": "tmp/mcp-poll-expiry-alignment-root-adoption-20261102",
"candidateManifest": "tmp/mcp-server-poll-plan-expiry-alignment-v2-20261102/manifest.json",
"candidateManifestSha256": "9beaa653c38f8bc1f8ef28d023084735fae1af789250eb21c6c2269e45d15d53",
"preAdoptionCompiledPureTests": 15,
"scope": "Only new servers.poll nominal plan expiry follows existing trusted sealed validUntil; generic plans unchanged",
"earlierApprovalExpiryAndErrorPrecedenceChanged": true,
"existingStoredPlansUpdated": false,
"originalBindingLifetimeChanged": false,
"operationDeadlineChanged": false,
"archiveSafetyChanged": false,
"fakeClockOrShortTestGrant": false,
"oldFrozenV7Changed": false,
"buildLintAuthActualSqlPending": true,
"deployed": false,
"fullPlanComplete": false
}
+73 -73
View File
@@ -1,73 +1,73 @@
{
"version": 40,
"archivePath": "tmp\\mcp-scoped-controller-two-chr-20261105\\two-chr-linux-runtime-payload-v40.tgz",
"operatorPath": "tmp\\mcp-scoped-controller-two-chr-20261105\\run-two-chr-operator-v40.py",
"archiveSha256": "4b50f55e5f4d3a15ca6558a4a75d14eb89eeee5444db659a357a6dff9f47a803",
"manifestSha256": "71f6f73604e7a4c12e2a7b13bbe24c808043186018548fbd1166df6c5671dfa0",
"operatorSha256": "f8bc638639eb42a3a5e95e1d6249a7fdf65d0b5966ddc501c41401ecfb3099ea",
"reviewSha256": "610b6f5281c58b06c28aaa86dd681f02bf3ba3cf659ad616710b300c934a9f6a",
"nativeExecuted": true,
"uploaded": true,
"dispatchAuthorized": false,
"onePossibleControllerStartPerCase": true,
"localOperatorCheckPassed": true,
"independentFrozenArtifactReviewPassed": true,
"preparationsUsed": 1,
"preparationsAllowed": 3,
"possibleControllerStartsAllowed": 1,
"remainingControllerStarts": 0,
"readinessSession": 22521,
"readinessExitCode": 0,
"date": "2026-11-06",
"fullPlanComplete": false,
"accepted": false,
"terminal": true,
"stage": "native-running",
"nativeAttemptConsumed": true,
"targetVps": "161.104.46.222",
"targetChrs": [
"194.226.121.150",
"104.165.244.7"
],
"maxTemporaryConfigurationCommandsIncludingCleanup": 95,
"testWindowMinutes": 30,
"observationWindowMinutes": 40,
"nodeMemoryMiB": 320,
"postgresMemoryMiB": 192,
"freshExactConsentReceived": true,
"environmentalPrechildExceptionReceived": true,
"v39CleanupPreconditionSatisfied": true,
"hostReady": true,
"parentSession": 32568,
"dispatchClaimPresent": true,
"possibleControllerStartObserved": true,
"parentNonce": "ea21c839e32a102b684b3506",
"dispatchClaimSha256": "59d0cf26a8104ca5f681cf6684f576f3389db731afdbdfd34419a3afe0af0eda",
"localEvidence": "operator-ea21c839e32a102b684b3506",
"observerSession": 1036,
"observerSha256": "63a96049586cdbb7bdd5cb89be6f47bec291435e91c277fa3842dad493d52a46",
"readerSha256": "b9f9759d31281f23399f29e9b9a42e9e90204da1e66fcca0fce3a4d7ab1adabc",
"readonlyObserverTestsPassed": 9,
"latestLiveObservation": {
"terminalEvidence": false,
"parentNonce": "ea21c839e32a102b684b3506",
"manifestSha256": "71f6f73604e7a4c12e2a7b13bbe24c808043186018548fbd1166df6c5671dfa0",
"elapsedObserverMs": 195483,
"attempts": 10,
"verifiedWrites": 10,
"ackUnknown": false,
"openStep": false,
"acknowledgements": 10,
"lastStep": "1:wg-peer",
"partialTailIgnored": false,
"journalSha256": "be6fd3535769531e8f935b0cf2dcb24e3fcf9c0317249b064079146bffc8f481",
"chrRequests": 0,
"remoteWrites": 0
},
"parentExitCode": 1,
"cleanupComplete": false,
"stagingCleanupPending": true,
"nextCaseAllowed": false,
"outcomeWatcherSession": 78140,
"outcomeWatcherExitCode": 0
}
{
"version": 40,
"archivePath": "tmp\\mcp-scoped-controller-two-chr-20261105\\two-chr-linux-runtime-payload-v40.tgz",
"operatorPath": "tmp\\mcp-scoped-controller-two-chr-20261105\\run-two-chr-operator-v40.py",
"archiveSha256": "4b50f55e5f4d3a15ca6558a4a75d14eb89eeee5444db659a357a6dff9f47a803",
"manifestSha256": "71f6f73604e7a4c12e2a7b13bbe24c808043186018548fbd1166df6c5671dfa0",
"operatorSha256": "f8bc638639eb42a3a5e95e1d6249a7fdf65d0b5966ddc501c41401ecfb3099ea",
"reviewSha256": "610b6f5281c58b06c28aaa86dd681f02bf3ba3cf659ad616710b300c934a9f6a",
"nativeExecuted": true,
"uploaded": true,
"dispatchAuthorized": false,
"onePossibleControllerStartPerCase": true,
"localOperatorCheckPassed": true,
"independentFrozenArtifactReviewPassed": true,
"preparationsUsed": 1,
"preparationsAllowed": 3,
"possibleControllerStartsAllowed": 1,
"remainingControllerStarts": 0,
"readinessSession": 22521,
"readinessExitCode": 0,
"date": "2026-11-06",
"fullPlanComplete": false,
"accepted": false,
"terminal": true,
"stage": "native-running",
"nativeAttemptConsumed": true,
"targetVps": "161.104.46.222",
"targetChrs": [
"194.226.121.150",
"104.165.244.7"
],
"maxTemporaryConfigurationCommandsIncludingCleanup": 95,
"testWindowMinutes": 30,
"observationWindowMinutes": 40,
"nodeMemoryMiB": 320,
"postgresMemoryMiB": 192,
"freshExactConsentReceived": true,
"environmentalPrechildExceptionReceived": true,
"v39CleanupPreconditionSatisfied": true,
"hostReady": true,
"parentSession": 32568,
"dispatchClaimPresent": true,
"possibleControllerStartObserved": true,
"parentNonce": "ea21c839e32a102b684b3506",
"dispatchClaimSha256": "59d0cf26a8104ca5f681cf6684f576f3389db731afdbdfd34419a3afe0af0eda",
"localEvidence": "operator-ea21c839e32a102b684b3506",
"observerSession": 1036,
"observerSha256": "63a96049586cdbb7bdd5cb89be6f47bec291435e91c277fa3842dad493d52a46",
"readerSha256": "b9f9759d31281f23399f29e9b9a42e9e90204da1e66fcca0fce3a4d7ab1adabc",
"readonlyObserverTestsPassed": 9,
"latestLiveObservation": {
"terminalEvidence": false,
"parentNonce": "ea21c839e32a102b684b3506",
"manifestSha256": "71f6f73604e7a4c12e2a7b13bbe24c808043186018548fbd1166df6c5671dfa0",
"elapsedObserverMs": 195483,
"attempts": 10,
"verifiedWrites": 10,
"ackUnknown": false,
"openStep": false,
"acknowledgements": 10,
"lastStep": "1:wg-peer",
"partialTailIgnored": false,
"journalSha256": "be6fd3535769531e8f935b0cf2dcb24e3fcf9c0317249b064079146bffc8f481",
"chrRequests": 0,
"remoteWrites": 0
},
"parentExitCode": 1,
"cleanupComplete": false,
"stagingCleanupPending": true,
"nextCaseAllowed": false,
"outcomeWatcherSession": 78140,
"outcomeWatcherExitCode": 0
}
@@ -1,81 +1,81 @@
{
"recordedAt": "2026-10-24T16:27:07.113826+00:00",
"fullPlanComplete": false,
"deployed": false,
"chrAccessed": false,
"collectorsStarted": false,
"all27BackendProfilesRepeated": false,
"inventory": {
"tools": 350,
"routes": 262,
"mediated": 188,
"excluded": 62,
"pending": 12
},
"validation": {
"mcpModels": {
"session": 47855,
"exitCode": 0,
"log": "tmp-mcp-modules-regression-v4.log"
},
"backendBuild": {
"session": 61317,
"exitCode": 0,
"log": "tmp-mcp-modules-build-v3.log"
},
"scopedEslint": {
"session": 96394,
"exitCode": 0,
"log": "tmp-mcp-modules-lint-v4.log"
}
},
"mainSqlRegression": {
"session": 46569,
"state": "running",
"log": "tmp-mcp-main-modules-sql-v1.log"
},
"scope": "Production trusted raw read and durable precondition admission tickets only; not a native execution authority",
"nativeExecutionEnabled": false,
"runtimePreparationIntegrated": false,
"migrations": [
"0034_vrf_production_tickets.sql"
],
"invariants": [
"Seventeen raw catalogs plus selected concrete families/recursive parents, actual inventory/config IDs and static v4/v6 plus LL preserved",
"Ethernet bridge VLAN bonding WG GRE IPIP EoIP VXLAN PPPoE paired reader/seal/inspect coverage",
"Raw GETs fenced by fresh authority and private source-v3 endpoint/epoch checks; bounded complete evidence, ID aliases/prototype types/closure cycles refused",
"All component fingerprints purpose-separated HMAC; private authenticated ticket encrypted in durable store",
"Issue verifies real encrypted exact VRF plan owner/scope/action/version/request inside caller plan transaction; unique one ticket per plan",
"Claim owns independent fresh connection, BEGIN/CAS/COMMIT and quarantine on uncertain connection; downstream caller rollback cannot revive committed claim",
"Claim does not authorize mutation; unknown commit refuses with requiresDurableOperationQuarantine and no retry"
],
"focusedSql": {
"session": 47316,
"exitCode": 0,
"log": "tmp-mcp-flow-settings-sql-v3.log",
"cases": 11,
"actualDumpRestoreTamper": true,
"nativeReads": "injected raw catalogs, no RouterOS"
},
"admissionRefusalModels": 76,
"remaining": [
"Durable sealing-key provisioning and guarded runtime preparation/operation journal integration",
"Native transition classifier generalized from ACK-owned temporary fixture bridges to existing human-selected interfaces",
"Permanent operation-journal quarantine for uncertain ticket claim outcomes; an unavailable DB cannot prove a spent bit",
"Exact companion ACK/post-read conservation, native executor/recovery, forwarding and real network acceptance"
],
"sourceHashes": {
"backend/src/services/vrf-production-admission.ts": "d7811d344da21f1fa6043b8a0bb230327be424b60e303b6a8b312a42801dda0a",
"backend/src/services/vrf-production-read.ts": "fd1704b867a9265858f1de4cb8524b5946e192dd1e8e727d961635d269dce048",
"backend/src/services/vrf-production-ticket-store.ts": "bc784eeadcf015f4894905ac21ff7af9a725b808031328535733d135aadf2d4c",
"backend/src/services/vrf-production-ticket-store.test.ts": "bee79fb9b460729fc8a924c56960d9792bc1875394ec36245d7b67133e700290",
"backend/src/services/vrf-production-ticket-store-sql.test.ts": "7bb3d488973747363c8798ee23d3007c41474dadf22fd0e4714fca32d93f3a87",
"backend/drizzle/0034_vrf_production_tickets.sql": "b5317f326f54e46e3efaf4b1969673d33b6dd2835c12ca61fa7d73abbc9b3d10"
},
"evidenceHashes": {
"tmp-mcp-flow-settings-sql-v3.log": "fe2ddcb7079aa09be5c8b9b8b4301ad76db1d9a2bed7b8fde87cebb8d507cc6a",
"tmp-mcp-modules-regression-v4.log": "ac5c4bdf3a73ee1cb2148eb565c60cdbbe4289dad594864f1c2bb1c733083141",
"tmp-mcp-modules-build-v3.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"tmp-mcp-modules-lint-v4.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
}
}
{
"recordedAt": "2026-10-24T16:27:07.113826+00:00",
"fullPlanComplete": false,
"deployed": false,
"chrAccessed": false,
"collectorsStarted": false,
"all27BackendProfilesRepeated": false,
"inventory": {
"tools": 350,
"routes": 262,
"mediated": 188,
"excluded": 62,
"pending": 12
},
"validation": {
"mcpModels": {
"session": 47855,
"exitCode": 0,
"log": "tmp-mcp-modules-regression-v4.log"
},
"backendBuild": {
"session": 61317,
"exitCode": 0,
"log": "tmp-mcp-modules-build-v3.log"
},
"scopedEslint": {
"session": 96394,
"exitCode": 0,
"log": "tmp-mcp-modules-lint-v4.log"
}
},
"mainSqlRegression": {
"session": 46569,
"state": "running",
"log": "tmp-mcp-main-modules-sql-v1.log"
},
"scope": "Production trusted raw read and durable precondition admission tickets only; not a native execution authority",
"nativeExecutionEnabled": false,
"runtimePreparationIntegrated": false,
"migrations": [
"0034_vrf_production_tickets.sql"
],
"invariants": [
"Seventeen raw catalogs plus selected concrete families/recursive parents, actual inventory/config IDs and static v4/v6 plus LL preserved",
"Ethernet bridge VLAN bonding WG GRE IPIP EoIP VXLAN PPPoE paired reader/seal/inspect coverage",
"Raw GETs fenced by fresh authority and private source-v3 endpoint/epoch checks; bounded complete evidence, ID aliases/prototype types/closure cycles refused",
"All component fingerprints purpose-separated HMAC; private authenticated ticket encrypted in durable store",
"Issue verifies real encrypted exact VRF plan owner/scope/action/version/request inside caller plan transaction; unique one ticket per plan",
"Claim owns independent fresh connection, BEGIN/CAS/COMMIT and quarantine on uncertain connection; downstream caller rollback cannot revive committed claim",
"Claim does not authorize mutation; unknown commit refuses with requiresDurableOperationQuarantine and no retry"
],
"focusedSql": {
"session": 47316,
"exitCode": 0,
"log": "tmp-mcp-flow-settings-sql-v3.log",
"cases": 11,
"actualDumpRestoreTamper": true,
"nativeReads": "injected raw catalogs, no RouterOS"
},
"admissionRefusalModels": 76,
"remaining": [
"Durable sealing-key provisioning and guarded runtime preparation/operation journal integration",
"Native transition classifier generalized from ACK-owned temporary fixture bridges to existing human-selected interfaces",
"Permanent operation-journal quarantine for uncertain ticket claim outcomes; an unavailable DB cannot prove a spent bit",
"Exact companion ACK/post-read conservation, native executor/recovery, forwarding and real network acceptance"
],
"sourceHashes": {
"backend/src/services/vrf-production-admission.ts": "d7811d344da21f1fa6043b8a0bb230327be424b60e303b6a8b312a42801dda0a",
"backend/src/services/vrf-production-read.ts": "fd1704b867a9265858f1de4cb8524b5946e192dd1e8e727d961635d269dce048",
"backend/src/services/vrf-production-ticket-store.ts": "bc784eeadcf015f4894905ac21ff7af9a725b808031328535733d135aadf2d4c",
"backend/src/services/vrf-production-ticket-store.test.ts": "bee79fb9b460729fc8a924c56960d9792bc1875394ec36245d7b67133e700290",
"backend/src/services/vrf-production-ticket-store-sql.test.ts": "7bb3d488973747363c8798ee23d3007c41474dadf22fd0e4714fca32d93f3a87",
"backend/drizzle/0034_vrf_production_tickets.sql": "b5317f326f54e46e3efaf4b1969673d33b6dd2835c12ca61fa7d73abbc9b3d10"
},
"evidenceHashes": {
"tmp-mcp-flow-settings-sql-v3.log": "fe2ddcb7079aa09be5c8b9b8b4301ad76db1d9a2bed7b8fde87cebb8d507cc6a",
"tmp-mcp-modules-regression-v4.log": "ac5c4bdf3a73ee1cb2148eb565c60cdbbe4289dad594864f1c2bb1c733083141",
"tmp-mcp-modules-build-v3.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"tmp-mcp-modules-lint-v4.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
}
}
+197 -197
View File
@@ -1,197 +1,197 @@
# Автоматическое подключение NetFlow
`mmapp-netflow-agent` управляет только `wg-flow` на том же Debian/Ubuntu-хосте,
где работает Docker Engine. Используются WireGuard ядра Linux и обычный Docker с
root-правами. Rootless Docker и Docker Desktop не поддерживаются этим режимом.
## Production-состав
С Compose `deploy/docker-compose.cdn-mm.yml` и дополнением агента работают семь контейнеров:
| Контейнер | Назначение |
| --- | --- |
| cdn-mm-traefik | HTTPS и маршрутизация |
| cdnmanager | CDN Manager |
| mmapp-frontend | Интерфейс MM |
| mmapp-backend | API, настройка MikroTik и приём IPFIX |
| mmapp-postgres | Настройки и потоки |
| mmapp-updater | Существующее обновление контейнеров MM |
| mmapp-netflow-agent | Применение пиров WireGuard на хосте |
Собственный systemd-сервис не нужен. Стандартный `wg-quick@wg-flow` поднимает
интерфейс до Docker: backend публикует IPFIX только на его адресе.
```mermaid
flowchart TB
User[Пользователь] -->|HTTPS| Proxy[Traefik]
subgraph Host[Production Linux]
subgraph Docker[Docker Compose]
Proxy --> Frontend[frontend]
Proxy --> CDN[CDN Manager]
Frontend -->|API| Backend[backend + IPFIX collector]
Backend --> PG[PostgreSQL]
Backend <-->|HTTP через Unix socket bind mount| Agent[netflow-agent: host network + NET_ADMIN]
Updater[updater] -.-> Backend
Updater -.-> Frontend
end
Agent -->|atomic write| Conf[wg-flow.conf]
Agent -->|wg syncconf| WG[wg-flow: интерфейс хоста]
Conf --> Boot[wg-quick при загрузке]
Boot --> WG
WG -->|Docker UDP bind на WG-IP| Backend
end
Backend -->|RouterOS API| Router[MikroTik]
Router <-->|WireGuard: внутри IPFIX| WG
```
Агент не обрабатывает потоки: при остановке/пересоздании контейнера интерфейс
и приём IPFIX продолжают работать. `NET_ADMIN` вместе с host network позволяет
управлять сетью хоста; API ограничено фиксированным интерфейсом и структурированными
настройками. Агент не получает Docker socket, `privileged`, корневую ФС хоста,
право загрузки модулей или TCP API.
## Однократная установка
1. Обновить MM до версии с агентом. Образ агента должен быть опубликован CI
в том же реестре; production-хост должен быть авторизован через `docker login`.
2. В «Сбор данных → NetFlow» создать ключи хоста, открыть «Файлы хоста» и скачать
`install-netflow-agent.sh` из вкладки «Агент Docker».
3. Выполнить на Linux-хосте:
```bash
sudo bash install-netflow-agent.sh /opt/cdn-mm
```
Файл содержит приватный ключ. Хранить его как секрет, не коммитить.
При необходимости образ можно задать явно:
```bash
sudo MM_NETFLOW_AGENT_IMAGE=git.shx.one/denozord/mikrotikmanager-netflow-agent:VERSION \
bash install-netflow-agent.sh /opt/cdn-mm
```
4. В MM обновить состояние хоста и применить настройки. Затем подключать
jump-host из раздела трафика: пиры применяются автоматически без перезапуска WG.
Альтернатива из checkout: скачать `wg-flow.conf` из MM и выполнить
`sudo bash deploy/netflow-agent/install.sh /absolute/path/wg-flow.conf /opt/cdn-mm 4739`.
Третий аргумент — фактический IPFIX-порт из настроек.
Установщик сначала проверяет конфигурацию и Compose. Он сохраняет существующие
пиры и делает резервную копию конфигурации; при несовпадении ключа, адреса или порта
останавливается. Hooks, SaveConfig и нестандартные параметры wg-quick требуют
ручной проверки и не принимаются. Интерфейс должен иметь IPv4 /24;
пиры MM получают собственные /32 в этой сети.
Создаются:
- `data/netflow-wireguard/wg-flow.conf` и `binding.json` с правами `0600`;
- ссылка `/etc/wireguard/wg-flow.conf` на постоянную конфигурацию;
- `docker-compose.netflow-agent.yml`, не заменяющий пользовательский override;
- drop-in `/etc/systemd/system/docker.service.d/mm-netflow.conf` для порядка
запуска `wg-quick → Docker`;
- общий каталог `data/netflow-agent-socket` для Unix-сокета, подключённый в backend только для чтения. Bind mount сохраняет этот режим при пересоздании backend существующим updater.
Установщик однократно пересоздаёт backend и не перезапускает Docker или Traefik.
Он не изменяет firewall хоста. Существующий публичный или несовместимый IPFIX bind
в Compose нужно исправить перед повторным запуском. Не публиковать IPFIX на `0.0.0.0`.
## Эксплуатация
При следующих операциях Compose сохранять все файлы дополнений:
```bash
cd /opt/cdn-mm
docker compose -f docker-compose.yml -f docker-compose.override.yml \
-f docker-compose.netflow-agent.yml up -d
```
Если `docker-compose.override.yml` отсутствует, убрать соответствующий `-f`.
Установщик печатает команду для фактического набора файлов.
Образ агента обновляется явно через Compose; существующий updater не включает
его в автоматические цели. При пересоздании backend updater сохраняет его mounts.
Просмотр: `GET /api/traffic/flow/host-status`, право `mm:traffic:read`.
Повторное применение: `POST /api/traffic/flow/host-reconcile`, право `mm:traffic:write`.
Статус не содержит приватных/preshared ключей. `lastHandshakeAt` — Unix seconds
или `null`; факт применения настроек не означает handshake или получение IPFIX.
Время последнего IPFIX-пакета в панели относится ко всему коллектору.
Подключения и изменения настроек сериализуются PostgreSQL advisory lock.
После рестарта backend повторно применяет сохранённые пиры. При конфликте или
недоступности агента приложение и текущий приём продолжают работать.
Если MikroTik уже настроен, но хост не применён, результат подключения содержит
`ok: false`, `stage: host-pending`, `hostError`: нажать «Применить настройки хоста».
При ошибке во время настройки роутера повторить подключение; его изменения
не откатываются автоматически.
Агент сохраняет сторонние persistent и runtime-only пиры, проверяет пересечения
AllowedIPs, атомарно записывает конфигурацию и применяет её через `wg syncconf`.
При сбое восстанавливает предыдущий файл и runtime; сбой восстановления сообщается
отдельно. Добавление/обновление пиров не меняет адреса, маршруты и интерфейс.
Первая версия не удаляет туннели. Адрес коллектора, префикс и порты закреплены
установкой: изменение требует согласования настроек MM, WG и Compose вручную и
повторного запуска установщика. Автоматическая смена адреса или ротация ключа
не выполняется. Другие установки могут продолжать пользоваться ручным экспортом
без `FLOW_AGENT_SOCKET`.
## Срок хранения UDP-шаблонов
Backend ограничивает срок NetFlow v9/IPFIX-шаблона с последнего принятого
template refresh; обычные data packets его не продлевают. Политика коллектора
по умолчанию — 90 минут, это не значение RouterOS по умолчанию. В `.env` рядом
с Compose можно задать `FLOW_TEMPLATE_LIFETIME_MS` в миллисекундах: не менее
трёх максимальных фактических интервалов template refresh всех экспортёров
этого коллектора. Например, для refresh раз в 2 часа — `21600000` (6 часов).
Значение передаётся backend во всех пяти самостоятельных Compose-вариантах;
генерируемый установщиком override сохраняет эту Compose-подстановку. При прямом
запуске `run-beside-cdn-traefik.sh` передайте переменную в окружение скрипта явно:
например, `FLOW_TEMPLATE_LIFETIME_MS=21600000 ./run-beside-cdn-traefik.sh`.
Этот launcher передаёт значение одним quoted `-e` аргументом; updater сохраняет
его из окружения прежнего контейнера.
после изменения требуется штатное пересоздание backend. Пустое или отсутствующее
Compose-значение использует `5400000`. При неизвестном или истёкшем шаблоне
backend отклоняет декодирование с ошибкой, а не показывает подтверждённый нулевой
трафик. Остальные ограничения памяти и требования к полноте трафика сохраняются.
## Проверки
```bash
npm --prefix backend run test:netflow-settings
npx playwright test -c playwright.netflow-agent.config.ts
python3 -m unittest discover -s deploy/netflow-agent -p 'test_*.py' -v
bash -n deploy/netflow-agent/install.sh
docker build --target test -t mm-netflow-agent-test deploy/netflow-agent
docker run --rm --cap-drop ALL --cap-add NET_ADMIN --read-only --tmpfs /tmp \
-e FLOW_AGENT_KERNEL_TEST=1 --entrypoint python3 mm-netflow-agent-test \
-m unittest discover -s /app -p test_agent.py -v
```
Последняя проверка использует отдельное сетевое пространство контейнера, проверяет
настоящий kernel WireGuard, сохранение стороннего пира и неизменность интерфейса.
Она не заменяет приёмку на стенде с двумя MikroTik: handshake/IPFIX от каждого,
сохранение первого соединения при добавлении второго, перезапуск агента/backend
и холодная загрузка Linux-хоста с проверкой UDP bind.
### Приёмка на стенде — 2026-10-16
На `161.104.46.222` проверены временные контейнеры новой ветки с отдельной БД.
15 тестов агента прошли с настоящим kernel WireGuard; 32 профильных скрипта
и две отдельные SQL-проверки (monthly и IPv6 UDP/worker) завершились успешно.
Оба MikroTik (`194.226.121.150`, `104.165.244.7`) подключены через API: подтверждены
handshake, сохранение первого туннеля при добавлении второго и повторное подключение
без дубликатов. В БД записаны IPFIX-потоки обоих MikroTik и синтетического Linux
экспортёра через WireGuard. Реальные перезапуски контейнеров агента и backend
сохранили соединения, приём пакетов продолжился.
При проверке исправлен API настроек: счётчики и время последнего пакета теперь
читаются из работающего коллектора. После исправления полный живой сценарий повторён.
Настройки обоих маршрутизаторов восстановлены; временные контейнеры, интерфейс,
БД/роли и приватные файлы удалены. Основные сервисы остались на прежних образах.
Установщик с интеграцией `wg-quick`/systemd и холодная перезагрузка хоста на этом
стенде не выполнялись. Образы собраны поверх существующего runtime backend;
полная release-сборка frontend и публикация образов в эту проверку не входили.
Результаты, исходные неудачные попытки и границы —
[отчёт приёмки](ux-ui/acceptance/netflow-agent-2026-10-16.json).
# Автоматическое подключение NetFlow
`mmapp-netflow-agent` управляет только `wg-flow` на том же Debian/Ubuntu-хосте,
где работает Docker Engine. Используются WireGuard ядра Linux и обычный Docker с
root-правами. Rootless Docker и Docker Desktop не поддерживаются этим режимом.
## Production-состав
С Compose `deploy/docker-compose.cdn-mm.yml` и дополнением агента работают семь контейнеров:
| Контейнер | Назначение |
| --- | --- |
| cdn-mm-traefik | HTTPS и маршрутизация |
| cdnmanager | CDN Manager |
| mmapp-frontend | Интерфейс MM |
| mmapp-backend | API, настройка MikroTik и приём IPFIX |
| mmapp-postgres | Настройки и потоки |
| mmapp-updater | Существующее обновление контейнеров MM |
| mmapp-netflow-agent | Применение пиров WireGuard на хосте |
Собственный systemd-сервис не нужен. Стандартный `wg-quick@wg-flow` поднимает
интерфейс до Docker: backend публикует IPFIX только на его адресе.
```mermaid
flowchart TB
User[Пользователь] -->|HTTPS| Proxy[Traefik]
subgraph Host[Production Linux]
subgraph Docker[Docker Compose]
Proxy --> Frontend[frontend]
Proxy --> CDN[CDN Manager]
Frontend -->|API| Backend[backend + IPFIX collector]
Backend --> PG[PostgreSQL]
Backend <-->|HTTP через Unix socket bind mount| Agent[netflow-agent: host network + NET_ADMIN]
Updater[updater] -.-> Backend
Updater -.-> Frontend
end
Agent -->|atomic write| Conf[wg-flow.conf]
Agent -->|wg syncconf| WG[wg-flow: интерфейс хоста]
Conf --> Boot[wg-quick при загрузке]
Boot --> WG
WG -->|Docker UDP bind на WG-IP| Backend
end
Backend -->|RouterOS API| Router[MikroTik]
Router <-->|WireGuard: внутри IPFIX| WG
```
Агент не обрабатывает потоки: при остановке/пересоздании контейнера интерфейс
и приём IPFIX продолжают работать. `NET_ADMIN` вместе с host network позволяет
управлять сетью хоста; API ограничено фиксированным интерфейсом и структурированными
настройками. Агент не получает Docker socket, `privileged`, корневую ФС хоста,
право загрузки модулей или TCP API.
## Однократная установка
1. Обновить MM до версии с агентом. Образ агента должен быть опубликован CI
в том же реестре; production-хост должен быть авторизован через `docker login`.
2. В «Сбор данных → NetFlow» создать ключи хоста, открыть «Файлы хоста» и скачать
`install-netflow-agent.sh` из вкладки «Агент Docker».
3. Выполнить на Linux-хосте:
```bash
sudo bash install-netflow-agent.sh /opt/cdn-mm
```
Файл содержит приватный ключ. Хранить его как секрет, не коммитить.
При необходимости образ можно задать явно:
```bash
sudo MM_NETFLOW_AGENT_IMAGE=git.shx.one/denozord/mikrotikmanager-netflow-agent:VERSION \
bash install-netflow-agent.sh /opt/cdn-mm
```
4. В MM обновить состояние хоста и применить настройки. Затем подключать
jump-host из раздела трафика: пиры применяются автоматически без перезапуска WG.
Альтернатива из checkout: скачать `wg-flow.conf` из MM и выполнить
`sudo bash deploy/netflow-agent/install.sh /absolute/path/wg-flow.conf /opt/cdn-mm 4739`.
Третий аргумент — фактический IPFIX-порт из настроек.
Установщик сначала проверяет конфигурацию и Compose. Он сохраняет существующие
пиры и делает резервную копию конфигурации; при несовпадении ключа, адреса или порта
останавливается. Hooks, SaveConfig и нестандартные параметры wg-quick требуют
ручной проверки и не принимаются. Интерфейс должен иметь IPv4 /24;
пиры MM получают собственные /32 в этой сети.
Создаются:
- `data/netflow-wireguard/wg-flow.conf` и `binding.json` с правами `0600`;
- ссылка `/etc/wireguard/wg-flow.conf` на постоянную конфигурацию;
- `docker-compose.netflow-agent.yml`, не заменяющий пользовательский override;
- drop-in `/etc/systemd/system/docker.service.d/mm-netflow.conf` для порядка
запуска `wg-quick → Docker`;
- общий каталог `data/netflow-agent-socket` для Unix-сокета, подключённый в backend только для чтения. Bind mount сохраняет этот режим при пересоздании backend существующим updater.
Установщик однократно пересоздаёт backend и не перезапускает Docker или Traefik.
Он не изменяет firewall хоста. Существующий публичный или несовместимый IPFIX bind
в Compose нужно исправить перед повторным запуском. Не публиковать IPFIX на `0.0.0.0`.
## Эксплуатация
При следующих операциях Compose сохранять все файлы дополнений:
```bash
cd /opt/cdn-mm
docker compose -f docker-compose.yml -f docker-compose.override.yml \
-f docker-compose.netflow-agent.yml up -d
```
Если `docker-compose.override.yml` отсутствует, убрать соответствующий `-f`.
Установщик печатает команду для фактического набора файлов.
Образ агента обновляется явно через Compose; существующий updater не включает
его в автоматические цели. При пересоздании backend updater сохраняет его mounts.
Просмотр: `GET /api/traffic/flow/host-status`, право `mm:traffic:read`.
Повторное применение: `POST /api/traffic/flow/host-reconcile`, право `mm:traffic:write`.
Статус не содержит приватных/preshared ключей. `lastHandshakeAt` — Unix seconds
или `null`; факт применения настроек не означает handshake или получение IPFIX.
Время последнего IPFIX-пакета в панели относится ко всему коллектору.
Подключения и изменения настроек сериализуются PostgreSQL advisory lock.
После рестарта backend повторно применяет сохранённые пиры. При конфликте или
недоступности агента приложение и текущий приём продолжают работать.
Если MikroTik уже настроен, но хост не применён, результат подключения содержит
`ok: false`, `stage: host-pending`, `hostError`: нажать «Применить настройки хоста».
При ошибке во время настройки роутера повторить подключение; его изменения
не откатываются автоматически.
Агент сохраняет сторонние persistent и runtime-only пиры, проверяет пересечения
AllowedIPs, атомарно записывает конфигурацию и применяет её через `wg syncconf`.
При сбое восстанавливает предыдущий файл и runtime; сбой восстановления сообщается
отдельно. Добавление/обновление пиров не меняет адреса, маршруты и интерфейс.
Первая версия не удаляет туннели. Адрес коллектора, префикс и порты закреплены
установкой: изменение требует согласования настроек MM, WG и Compose вручную и
повторного запуска установщика. Автоматическая смена адреса или ротация ключа
не выполняется. Другие установки могут продолжать пользоваться ручным экспортом
без `FLOW_AGENT_SOCKET`.
## Срок хранения UDP-шаблонов
Backend ограничивает срок NetFlow v9/IPFIX-шаблона с последнего принятого
template refresh; обычные data packets его не продлевают. Политика коллектора
по умолчанию — 90 минут, это не значение RouterOS по умолчанию. В `.env` рядом
с Compose можно задать `FLOW_TEMPLATE_LIFETIME_MS` в миллисекундах: не менее
трёх максимальных фактических интервалов template refresh всех экспортёров
этого коллектора. Например, для refresh раз в 2 часа — `21600000` (6 часов).
Значение передаётся backend во всех пяти самостоятельных Compose-вариантах;
генерируемый установщиком override сохраняет эту Compose-подстановку. При прямом
запуске `run-beside-cdn-traefik.sh` передайте переменную в окружение скрипта явно:
например, `FLOW_TEMPLATE_LIFETIME_MS=21600000 ./run-beside-cdn-traefik.sh`.
Этот launcher передаёт значение одним quoted `-e` аргументом; updater сохраняет
его из окружения прежнего контейнера.
после изменения требуется штатное пересоздание backend. Пустое или отсутствующее
Compose-значение использует `5400000`. При неизвестном или истёкшем шаблоне
backend отклоняет декодирование с ошибкой, а не показывает подтверждённый нулевой
трафик. Остальные ограничения памяти и требования к полноте трафика сохраняются.
## Проверки
```bash
npm --prefix backend run test:netflow-settings
npx playwright test -c playwright.netflow-agent.config.ts
python3 -m unittest discover -s deploy/netflow-agent -p 'test_*.py' -v
bash -n deploy/netflow-agent/install.sh
docker build --target test -t mm-netflow-agent-test deploy/netflow-agent
docker run --rm --cap-drop ALL --cap-add NET_ADMIN --read-only --tmpfs /tmp \
-e FLOW_AGENT_KERNEL_TEST=1 --entrypoint python3 mm-netflow-agent-test \
-m unittest discover -s /app -p test_agent.py -v
```
Последняя проверка использует отдельное сетевое пространство контейнера, проверяет
настоящий kernel WireGuard, сохранение стороннего пира и неизменность интерфейса.
Она не заменяет приёмку на стенде с двумя MikroTik: handshake/IPFIX от каждого,
сохранение первого соединения при добавлении второго, перезапуск агента/backend
и холодная загрузка Linux-хоста с проверкой UDP bind.
### Приёмка на стенде — 2026-10-16
На `161.104.46.222` проверены временные контейнеры новой ветки с отдельной БД.
15 тестов агента прошли с настоящим kernel WireGuard; 32 профильных скрипта
и две отдельные SQL-проверки (monthly и IPv6 UDP/worker) завершились успешно.
Оба MikroTik (`194.226.121.150`, `104.165.244.7`) подключены через API: подтверждены
handshake, сохранение первого туннеля при добавлении второго и повторное подключение
без дубликатов. В БД записаны IPFIX-потоки обоих MikroTik и синтетического Linux
экспортёра через WireGuard. Реальные перезапуски контейнеров агента и backend
сохранили соединения, приём пакетов продолжился.
При проверке исправлен API настроек: счётчики и время последнего пакета теперь
читаются из работающего коллектора. После исправления полный живой сценарий повторён.
Настройки обоих маршрутизаторов восстановлены; временные контейнеры, интерфейс,
БД/роли и приватные файлы удалены. Основные сервисы остались на прежних образах.
Установщик с интеграцией `wg-quick`/systemd и холодная перезагрузка хоста на этом
стенде не выполнялись. Образы собраны поверх существующего runtime backend;
полная release-сборка frontend и публикация образов в эту проверку не входили.
Результаты, исходные неудачные попытки и границы —
[отчёт приёмки](ux-ui/acceptance/netflow-agent-2026-10-16.json).