Skip to content

G2 S8 follow-up: probe-count fact fix, narration node-label correction, provenance/currency tails#163

Merged
brownjuly2003-code merged 2 commits into
mainfrom
docs/g2-s8-followup-cleanup
Jul 6, 2026
Merged

G2 S8 follow-up: probe-count fact fix, narration node-label correction, provenance/currency tails#163
brownjuly2003-code merged 2 commits into
mainfrom
docs/g2-s8-followup-cleanup

Conversation

@brownjuly2003-code

Copy link
Copy Markdown
Owner

Follow-up cleanup after the S8 control re-audit (plan: new_plen_05_07_26.md). Textual/factual only — no logic changes.

Item 1 — "32/32 probes" → 29 (verified)

warehouse/agentflow/dv2/governance/verify_live.sh asserts 29 probes (grep -c 'probe "' = 29); the 2026-07-03 perf transcript passed 29/29 and itself flags the stale "32". Live-facing docs fixed:

  • README.md, docs/dv2-multi-branch/RELEASE_STATUS.md (release blurbs) — reworded to "every live adversarial probe green" (no brittle count).
  • docs/architecture.md, docs/clickhouse-cutover-plan.md, docs/decisions/0006 — now say 29/29 and cite vault-pii-governance-verify-2026-07-03.md.
  • CHANGELOG.md and the dated docs/perf/ transcripts intentionally untouched (point-in-time records).

Item 2 — generator-spec.md §6 present-tense grocery reference

"The current reference is grocery … it is replaced wholesale" → past tense: the grocery reference was replaced with the kitchen-appliance reference (S2b); same for the tnved.py bullet.

Item 3 — demo narration factual error (pre-TTS fix)

demo_voiced.narration.txt claimed the three demo nodes are labeled branch=msk/dxb/ala with nodeSelector pinning by that label. Reality (demo_evidence.md §1–2, demo_transcript.txt kubectl output): all three nodes are branch=msk; placement is pinned via workload=postgres|clickhouse; per-branch labels are the production topology. Narration corrected, voice/pacing kept. demo_transcript.txt needed no change — its kubectl output was already correct.

Item 4 — domain.md §5.4 stale "Planned"

RUB demo-value repin row → Done (S0/S1), matching the neighboring row's style.

Item 5 — retired-dataset name in 3 provenance comments (judgment call: reworded)

The two DDL-guard test headers and the vault_rows.py docstring described removal history but still spelled the dataset name — ironically the same comments explain why the tests avoid spelling its prefix. Reworded to "retired benchmark dataset / legacy external-dataset loader" with a CHANGELOG.md pointer; informational value (why the guard/models exist) preserved. Name survives only in CHANGELOG history.

Item 6 — residual USD tails (scope calls)

Done (all verified assertion-free):

  • Grafana merch-agent-journey.json: 2× currencyUSDcurrencyRUB (valid Grafana unit; JSON re-validated).
  • scripts/benchmark_freshness.py + _realpath.py: Currency.USDCurrency.RUB (enum's documented house default; the only covering test checks pipeline-validator pass, not currency).
  • .github/workflows/backup.yml: synthetic restore-check row "USD""RUB" (sole occurrence, nothing asserts on it).

Left alone deliberately:

  • Test fixtures with "Wireless Headphones"/electronics (test_search.py, test_event_schemas.py, SDK tests) — valid under the accepted M1 scope; renaming catalog fixtures risks touching search-match semantics for zero factual gain.
  • notebooks/02-nl-query.ipynb 'electronics' — it is inside a recorded execution output cell; hand-editing would fabricate an execution result. Right fix is a notebook re-run against the current catalog (candidate for a later step).

Verification

  • ruff check src/ tests/ scripts/ — clean; ruff format --check — 361 files already formatted; mypy src/ --ignore-missing-imports — no issues in 124 files.
  • pytest tests/unit/test_dv2_business_vault_ddl.py test_dv2_postgres_ddl.py test_benchmark_freshness.py test_dv2_postgres_ingestion.py — 95 passed (one transient temp-dir flake on first run, not reproducible, passes in isolation and on rerun).
  • Post-edit greps: "32/32" survives only in CHANGELOG + dated 07-02 transcript; case-insensitive "x5" outside CHANGELOG matches only binaries/-Xmx512m/X509.

🤖 Generated with Claude Code

JuliaEdom and others added 2 commits July 6, 2026 07:37
…rration, done-status notes

- README, architecture.md, RELEASE_STATUS, clickhouse-cutover-plan, ADR 0006:
  the live '32/32 adversarial probes' claim was stale — the checked-in
  governance/verify_live.sh asserts 29 probes and the 2026-07-03 rerun
  passed 29/29 (that transcript already flags the old 32). Release blurbs
  now say 'every live adversarial probe green' (no brittle count); docs
  citing a verification record now say 29/29 and point at the 07-03
  transcript. CHANGELOG and dated docs/perf transcripts left untouched.
- demo_voiced.narration.txt: the S5 rewrite claimed the three demo nodes
  are labeled branch=msk/dxb/ala with nodeSelector pinning by that label;
  per demo_evidence.md and the transcript, all three nodes are branch=msk
  and placement is pinned by workload=postgres|clickhouse — per-branch
  labels are the production topology. Fixed before S6 records TTS audio
  from this text.
- generator-spec.md §6: 'the current reference is grocery' → past tense;
  the kitchen-appliance reference replaced it in S2b.
- domain.md §5.4: RUB demo-value repin row 'Planned' → Done (S0/S1).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…nts; repin residual USD tails to RUB

- The three remaining comments naming the retired benchmark dataset
  (two DDL-guard test headers, vault_rows.py docstring) now describe the
  same provenance without the literal name, pointing at CHANGELOG.md —
  consistent with the removal policy and with domain.md's own wording.
- Residual USD tails outside the accepted M1 enum scope: Grafana
  merch-agent-journey revenue panels currencyUSD → currencyRUB, both
  freshness benchmark event builders Currency.USD → Currency.RUB, and the
  backup workflow's synthetic restore-check row 'USD' → 'RUB'. No test
  asserts these values; Currency.RUB is the documented house default.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

DORA Metrics

  • Window: last 30 days
  • Branch: main
  • Deployment frequency: 88 total / 20.53 per week
  • Lead time for changes: avg 0.56h / median 0.0h
  • Change failure rate: 59.09% (52/88)
  • MTTR: n/a across 0 incident(s)

MTTR note: No failed mainline CI runs in the selected window.

@brownjuly2003-code brownjuly2003-code merged commit 509902a into main Jul 6, 2026
20 checks passed
@brownjuly2003-code brownjuly2003-code deleted the docs/g2-s8-followup-cleanup branch July 6, 2026 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants