Repository navigation
Description
Governance-only mandate
This issue is explicitly designated as governance-only / governance-reconciliation work per AGENTS.md's governance boundary. It, and only it or another issue carrying this same explicit designation, may update SCOPE.md, docs/product/ROADMAP.md, docs/product/CAPABILITY_MAP.md, docs/product/CAPABILITY_DAG.md and docs/architecture/OPEN_DECISIONS.md on implement/fid. Ordinary implementation issues must leave those files untouched.
No code is implemented under this issue. It touches governance/planning files only. Branch: governance/issue-<this issue>-... from implement/fid; the PR targets implement/fid, never main. The promotion of implement/fid into main is a separate PR, opened after this one merges.
Start gate
Satisfied 2026-10-25. T03, T02 (parts 1 to 5), O01, O02 and O03 are merged into implement/fid (PR #492, #494, #496, #498, #500, #502, #510, #524, #526), in the order SCOPE.md Parts B and C require. T01 and T04 are already COMPLETE (reconciliation #489).
Objective
Reconcile governance to the strongest propositions actually proven by DG-N — Multi-instrument Bybit linear trades v1 and DG-O — Live publication v1, credit the merged atoms within their recorded bounds (the Impl column follows the DG-M, DG-K2 and DG-C precedent: credited COMPLETE at the closeout on implement/fid), and record what is not claimed and the evidence triggers below, so that each limit has a named way to reopen. DG-R (R01, R02) stays authorized and post-version; it is not touched by this closeout beyond keeping it consistent.
The maintainer's decision for the one open acceptance item (2026-10-25): O03's real-provider run of at least one hour (criterion 7 of #525) has not been performed. O03 and T02 are credited within the bound of their code, configuration, runbook and evidence tool; the run, its comparison with the archive and the measurement of the provider's exchange_ts ordering are an explicit non-claim and operator evidence (trigger 1).
Evidence to credit (bounds as recorded; PR numbers)
| Atom | Issue / PR | Bound |
|---|---|---|
T03 |
#491 / PR #492 | Fee parameters explicit per instrument; an execution or replay over a non-BTCUSDT dataset that names no fee schedule is refused (fail-closed); BTCUSDT unchanged |
T02 |
#493 / PR #494, #495 / PR #496, #497 / PR #498, #499 / PR #500, #501 / PR #502 (parts 1 to 5), closes with O03 / PR #526 |
Adapter, acquisition, publication, checkpoint, restart and server parameterized by instrument from the allow-list; --instrument; template unit quant-platform-live-ingest@<INSTRUMENT>.service, per-instance environment and runbook; two instances proved not to collide on checkpoints, partitions or catalog rows on one catalog; the BTC unit unchanged. The one-hour ETHUSDT real-provider proof is not claimed (the tool and the procedure that produce it are O03's) |
O01 |
#509 / PR #510 (+ #511 audit findings, ADR-0075 Amendment 1 #512 / PR #513) | Append-only slices: revision 1 of dt=<day>/seg=<HHMMSS.mmm>, windows that chain exactly, the checkpoint binds a slice, a valid slice is never superseded (Amendment 1: a never-valid attempt is replaced by the next revision; a bridge slice with no trade across a UTC midnight); the floor is the end of the latest valid partition |
O02 |
#523 / PR #524 | One WebSocket session per instance, bounded buffer (20,000 messages), reader + publisher; interruptions (disconnect, missing pong, buffer overflow, ordering violation) end the session, publish what was received, reconnect, subscribe first, wait for the first trade of the new subscription and reconcile with an overlap proof, else an explicit gap (ADR-0044); signals; scripted-provider proof and a PostgreSQL integration; review findings (continuity without overlap, empty frames, unbounded heartbeat history, high-water) fixed |
O03 |
#525 / PR #526 | --mode {cycles,continuous} (default cycles) and the three bounds in the CLI, both unit templates and both environment examples, an old environment file still valid; runbook; a read-only evidence tool (tools/live_window_evidence.py) comparing the archive with a strict DataGateway read of the claimed windows, classifying each missing trade against the recorded gap spans or signalled spans, with stop conditions; PostgreSQL phase 7; review findings (undeclared holes, the requested window, the tie-break, the gap span, linear time) fixed. The real-provider run is not claimed |
Related decisions to record in the authority lists: ADR-0075 (#504, accepted 2026-10-21) and Amendment 1 (#512 / PR #513); ADR-0074 and Amendments 1 and 2 (the latter #515 / PR #516, #521); the DG-R registration (#518 / PR #522).
Required output
CAPABILITY_DAG.md/CAPABILITY_MAP.md/ROADMAP.md/OPEN_DECISIONS.md:T03,T02,O01,O02,O03toCOMPLETEwithin the bounds above (PR numbers);R01,R02unchanged (FROZEN/MISSING); decision-state counts unchanged; the implementation count recomputed from the table rows by script, not by hand, and agreeing across the four files (expected 105 -> 110 of 132).SCOPE.md: status records DG-N and DG-O closed within the bounds and DG-R open (post-version); Part B and C start gates and the baseline updated; the non-claims rewritten to what is true after the closeout; a Closeout result and a Not claimed section; the exit criteria marked as met or not met; authority lists updated.- Record these triggers (each is a named condition that reopens a decision; none is authorized by this issue):
- Real-provider run. No continuous session has run against the real Bybit provider for an hour, and no report of
tools/live_window_evidence.pyexists. Trigger: the operator performs it (procedure in the runbook) on a host/catalog/root of their choice and records the report. Until then the captured share against the archive, the slice sizes and the health signals are not measured. exchange_tsordering. That the provider's stream is non-decreasing inexchange_tsstays an assumption (ADR-0075 "Not claimed"); a violation is an interruption by design. Trigger: the run of trigger 1 reports the number of violations.- The bounds. 300 s, 50,000 trades and 20,000 messages are accepted, not measured. Trigger: evidence from trigger 1.
- Default mode and deployment. The default of the CLI, the env examples and the units is
cycles; the server is not redeployed withO01toO03; enabling the continuous mode on a unit is an operator step. Flipping the default is the maintainer's decision after the numbers of trigger 1. - Thin instruments and gaps. After a reconnect the session waits for the first trade of the new subscription before reconciling; on a quiet interval this delays the reconciliation, and a REST window that does not meet the subscription is an explicit gap. How often this happens on
ETHUSDTis unmeasured. Trigger: evidence from trigger 1. - Clock for the recorded gap span. The
known_gapspan ends at the detection instant from the local clock; the evidence tool classifies missing trades against that span, so a local clock far behind the exchange could report a trade near the end of a hole as undeclared. Trigger: a false stop observed in a real report. - Capacity and further instruments. [evidence] Live ingest capacity measurement: disk growth, compaction, CPU, RSS (input to #377) #378 is not measured; nothing beyond the bounded
ETHUSDTproof is enabled before the measurement and the 365-day rule (ADR-0074 §6). No non-BTC dataset is registered in the server catalog; replacing the maintainer's Parquet through the archive import is an operator step. - Damaged legacy days. Left as they are by DG-O; their rebuild is DG-R (
R01,R02, authorized, post-version, handed to another agent) and the run on the server is the operator's. - Consolidation of slices. Not part of the first version; opened only on a measured read or admission cost (ADR-0075).
- Real-provider run. No continuous session has run against the real Bybit provider for an hour, and no report of
- The "Not claimed" list states: no real-provider run and no measurement of the provider's ordering or of the captured share; no deployment; no non-BTC dataset registered on the server; no capacity measurement; the damaged legacy days are not repaired; slices are not consolidated; the default mode is
cycles; the Windowstest_promote_main_v1failure is environmental and unrelated.
Acceptance
- Governance files reflect only propositions proven by merged evidence, not target state; each atom credit cites its PR numbers.
- No excluded capability is marked complete by implication; each trigger appears with its condition and is marked not authorized;
R01andR02are not credited. - The inventory is recomputed from the tables by script and agrees across the four files; no accepted ADR is rewritten and no frozen contract changes.
python tools/check_markdown_links.py,git diff --checkandpython tools/workflow.py preflight --base implement/fidpass on thegovernance/branch.
Stop conditions
Stop and report rather than reconcile if closing out would require claiming an unproven capability complete (in particular the real-provider run), if a governance document conflicts with an accepted ADR in a way this issue cannot resolve by transcription, or if the recomputed counts disagree between the four files.
After this merges
The operator promotes implement/fid into main with the promotion PR (opened after this merge). The declaration that the first version of the product is concluded is the maintainer's. The real-provider run is recorded separately by the operator.
Activity
Merge pull request #528 from NeoNix-Lab/governance/issue-527-dgn-dgo-…
github-actions commentedon Oct 25, 2026
Automatically closed by PR #528 merged into
implement/fid.Merge pull request #529 from NeoNix-Lab/implement/fid