Repository navigation
test(verification): §5.1 measured local targets + Q9 defaults submission (#22) - #53
Merged
Merged
Conversation
…ion (#22) Measure every proposed §5.1 local target on the documented selected host through the real durable service boundaries (tests/faults World fixture stack — scripted ports keep all GitHub/model/Telegram network latency out of the measured path by construction): - tools/probes/local_targets.py — paced intake (300 deliveries at a real 1 ev/s over 302 s wall → p95 11.7 ms vs 2 s), 100-delivery dup burst + mid-burst restart (52 ms → 1 task, 0 PRs), status p95 0.20 ms, control persist p95 4.0 ms, cancel confirm 2.9 ms / quarantine+alert 3.4 ms, reconcile interval clamp 60 s + discovery ~1 s, restart recovery 6.1 ms (4/4 settled), 30-min idle 0 model calls, and 10 A6 mechanism checks incl. forced-stale remote labels. Crash-loss reads the recorded §8.2 audit counters (0 lost / 57 reps). - tests/benchmarks/ — 22 fast mechanics tests of the probe. - docs/measurements/v1-targets.md + dated JSON archive — per-target pass/fail, stats, margins, host/runtime/fixture identity. - docs/decisions/q9-acceptance.md — every proposed default submitted for owner acceptance; pending, never silently finalized. Verdict: targets-passed. Uncertainty (single host/run, scripted ports) is recorded; unaccepted targets stay blockers per A7.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #22
Summary
Measures every proposed §5.1 local target on the documented selected host (issue #22 / task 3.8) and submits the Q9 numerical defaults for owner acceptance — real wall-clock numbers through the real durable service boundaries, never invented.
Measured verdict:
targets-passed— all 10 targets inside proposed bounds on the recorded run (docs/measurements/v1-targets-2026-10-05.json, 302.5 s elapsed).How it was measured
tools/probes/local_targets.pydrives the §8.2Worldfixture stack — the sameIntakeStore(SQLite,BEGIN IMMEDIATE+synchronous=FULL), intake/control/lane/recovery services, scripted ports. Because GitHub/model/Telegram/preview are scripted in-process ports, external network latency can never enter the measured path (reported as a separate 0 ms in-path term — the separation §5.1 requires). The intake soak was actually paced: 300 deliveries at a real 1 event/second for a measured 302.0 s wall.Fixture (A1): one registered repo (
luongnv89/money-mind), 100 pending tasks via the real accept path, exactly 10,000 retained events (200 real + 9,800 labelledbenchmark_seedrows), ~1.5 MB store.Decision record
docs/decisions/q9-acceptance.md— every proposed default (attempt/time budgets, 7-day logs/30-day audit retention, 24 h preview, 60 min cleanup/approval expiry, 10 min smoke freshness, retry/backoff bounds) with its enforcing constant and measured evidence. Status: submitted for owner acceptance — pending Luong's Q9 verdict. Nothing is silently finalized; unaccepted targets remain blockers per A7. The measured evidence supports accepting as proposed — no measured adjustment requested.Test results
pytest -x)tests/benchmarks/test_local_targets.py)--quick:targets-passed· full paced run archived:targets-passed(10/10 targets)--fixturere-check of the archive:targets-passedruff check+ruff format: clean on changed filesgi-secscan --range origin/main: clean (7 scanned, 0 findings)Acceptance criteria verification
IntakeUnavailable, no ack); 100 dup + restart → 1 task, 0 PRs. ✅ measuredstale, 1 dedup alert); control persist p95 4.0 ms ≤ 5 s, Telegram outside path. ✅ measuredUncertainty: single host, single run, scripted ports — numbers are this host's local-boundary evidence, not end-to-end service claims.
qa-handoff: clean (1 review cycle, self-review + fix loop; no breaches)