Skip to content

CBA-KB v2.1.5 Engine Release

Choose a tag to compare

@SkyOneBranch SkyOneBranch released this 18 Nov 02:42
· 17 commits to main since this release
3874ebb

CBA-KB Engine v2.1.5 — Engine-only Release (REQ-215)

Scope: Engine code only. This Release publishes the v2.1.5 (REQ-215) engine implementation for whole-drive consumer surface self-description, fail-closed MASTER positive row-count binding, consumer provenance raw Drive ID redaction, Chinese club-name dictionary bijection & promoted player research card (REGULAR / PLAYOFF slice) rendering, and Oracle oracle-scoring-v8 strict 1-to-1 Google Drive/Docs v0.1.23 inline URL-to-locator verification. It does NOT itself authorize production data cutover (v2.1.5-1), alter live Google Drive current pointers, or include Stage 4 live benchmark results (B2), which are governed by separate Stage 4 / PR 2 verification gates.

Release identity

  • Tag: v2.1.5 (annotated, ed177646…), target commit 3874ebb4b20fdfd5c1d1fd7f9ed9426d9f26036f (PR #251 merge commit; parents: main 77711241828450bbff969ce65adfa464932a9877 + PR head 18665a81f764d391d728282b0ab918f534695893).
  • Git tree: 639fa6336fe0ed13e5d980d12e78ead42fe3f7e2.
  • Issue / PR: Issue #250 (REQ-215) / PR #251 (FINAL_TIER=T2, authored by cba-kb-muse-mode2-bot[bot], independent pre-merge Round 3 Q2 PASS by GPT-6 at 2026-11-17T23:51:32.973Z bound to 18665a81f764d391d728282b0ab918f534695893, Human Approve & Create a merge commit, post-merge main push CI green: Offline tests Run 44220963722 & lacd-verify Run 44220963739).
  • Frozen governance & integrity:
    • Frozen Q1 specification (docs/validation/REQ-215_Frozen_Specification_2026-11-17.md) SHA-256: 8daf9ed4f4d44b1e25b70524bd794e42daf68220e7bceddd714e4f131cda02f1
    • Frozen acceptance suite (tests/test_req215_acceptance.py) SHA-256: f62f555653e5ae2ad1d8c7330678a11e4386ba20b9247fe6b26735b991145226
    • Frozen production script (scripts/prepare_production.py) SHA-256: 0ccb79429fb4ec5e270a3154af987475ae75bd4ef81de48c1e665a3b93cf4573 (unchanged)
    • Zero edits to pre-existing tests/**/*.py; test integrity: 146 files / 2031 functions / 5468 asserts / 6 skips / 0 xfails; lacd verify --local --strict: VALIDATED (LACD v1.0.4).
  • Package version vs Tag (v2.1.0–v2.1.4 precedent): source package version remains 2.0.2 (pyproject.toml untouched per public readiness contract). Tag v2.1.5 is the Engine Release version identifier.

Delivered Engine capabilities (REQ-215)

  • Self-describing consumer surface, fail-closed MASTER row count & provenance redaction (src/cba_kb/consumer_surface.py, src/cba_kb/kc_consume.py):
    • Derives positive MASTER row counts (compute_master_row_count) fail-closed without placeholder fallbacks; builds self-describing CSV & Markdown consumer dictionary/index targets and control-document navigation guidance.
    • Precompiles Drive-ID provenance scrubbing patterns (_compile_provenance_pattern / scrub_raw_drive_ids_for_consumer) to redact raw Drive IDs from consumer-facing projections and provenance strings while preserving local research_card.md + 9-file manifest backward compatibility.
  • 20-club Chinese alias bijection & promoted research cards (src/cba_kb/aliases.py, src/cba_kb/kc_local_producer.py, src/cba_kb/kc_render.py):
    • Enforces exact 20-club YAML Chinese full-name / alias bijection and supports REGULAR + PLAYOFF research card rendering (Rule A serialized and rendered UTF-8 byte equality).
  • Stage 4 release orchestration boundary (src/cba_kb/orchestration/release/prepare_v215.py):
    • Adds isolated REQ-215+ release orchestration delegating shared primitives to scripts/prepare_production.py without mutating scripts/prepare_production.py; keeps V215_RELEASE_SPECS empty in Engine PR 1.
  • Oracle oracle-scoring-v8 & strict 1-to-1 URL-to-locator binding (src/cba_kb/oracle.py):
    • Replaces unauthenticated citation chips with strict v0.1.23 inline Google Drive/Docs link verification, binding ScoringApproval to both locator_set_digest and locator_url_map_digest and enforcing strict 1-to-1 file_id ↔ logical locator bijection (rejecting duplicate file_id mappings, label/URL mismatches, and case variants).

Honest boundaries

  • Engine-only release: Stage 4 production release spec (v2.1.5-1), production Drive cutover, SHA-256 readback, and live Connector B2 evaluation are separate downstream steps.
  • scripts/prepare_production.py (v2.1.4 and earlier) remains unmodified.