Skip to content

v0.2.0-alpha.3 — Evidence Foundation

Pre-release
Pre-release

Choose a tag to compare

@vikasagarwal101 vikasagarwal101 released this 28 Jun 18:57

Evidence Foundation

Populates the empty alpha.2 substrate with provenance-aware mining infrastructure, authoritative guidelines, envelope field completion, and a synthesize-then-validate Seed Library pipeline shipping 38 validated canonical bundles across Python (ruff) and JavaScript (eslint).

The linter is an oracle, not a source. All fixture content is synthesized as original bluei-owned work and verified: the before must trigger the rule, the after must come back clean.


What's New

Provenance-Aware Mining Infrastructure

  • open_pattern_store() factory — canonical construction path; loads seeded patterns at all 4 production sites
  • register_asset() producer interface — centralized dedup + source stamping for pattern extraction and future alpha.4 producers
  • Provenance by storage locus — product dirs = authoritative-seed (ACTIVE bypass), repo-local = mined (governance gate)

Envelope Field Completion (deferred from alpha.2)

  • imports_touched — new visitor preserves real module names (Python + TS/JS)
  • validation_commands_passed_run_baseline_validation returns Tuple[bool, List[str]]; Dry Replay carries real check names
  • rule_familyderive_rule_family preserves ruff letter-coded groups (B/E/F/S/C4) for per-family SPRT calibration
  • GoldenBundle +2 additive fields (imports_touched, negative_examples)

Authoritative Guidelines (ADR-0017)

  • PEP 8 naming, OWASP input validation, TypeScript conventions as prompt-context YAML
  • Loaded by rule family + language into LLM fix prompts via Directive Seeding
  • NOT governed assets — they do not flow through the Operator Control Plane

SPRT Per-Family Calibration

  • Synthetic variation generator + calibration harness
  • Per-family p_healthy/p_broken override from calibration.yaml
  • Degenerate distributions fall back to ADR-0012 hand-picked defaults

Synthesize-then-Validate Seed Library (ADR-0018)

  • synthesizer.py — LLM generates canonical before/after/negative per topic
  • validator.py — linter oracle verifies before triggers + after is clean
  • pipeline.py — driver with Python (20 topics) + JavaScript (10 topics)
  • 38 validated bundles shipped: 30 Python + 7 JavaScript + 1 original
  • Oracle rejection rate: 5/43 (12%) — quality gate working as designed

What's NOT Included

  • No seeded Patterns — all shipped ruff/eslint rules are autofixable (Bundle only). The Pattern replay path activates post-stable when bluei mines real repos and encounters context-specific fixes.
  • No seeded Recipes — Recipe generation is a future extension for alpha.4's Recipe Foundry.
  • No live repo execution — pre-stable constraint; the system will not run on any live repo before 0.2.0 stable.

Stats

  • 2 new ADRs: 0017 (guidelines as prompt-context), 0018 (synthesized, not mined)
  • Test suite: 6245 → 6295 (+50 tests, all additive)
  • 38 validated bundles: B006, B007, B015, B017, B018, B028, B904, C400, C416, E701, E711, E712, E722, F401, F541, F601, F841, N806, PLR1722, RUF005, RUF013, S105, S324, SIM101, SIM118, SIM201, T201, UP031, UP032, W291 (Python); no-var, no-console, no-unreachable, no-debugger, prefer-const, no-dupe-keys, no-empty (JavaScript)
  • Validated against: ruff 0.15.7, eslint v10.6.0

Still pre-release software. Do not use in production.