[CTR] 冻结 Sense→Brain 源配置契约 v1 (#148) #159

Merged
ila merged 2 commits from feature/148-source-config-contract into dev 2026-08-31 09:34:44 +08:00
Owner

Closes no issue automatically; implements #148 and leaves it pending user acceptance.

Changes

  • freeze yovision.source-config/v1 as Draft 2020-12 JSON Schema
  • use shared-contract snake_case fields with top-level schema_version
  • document profile/revision/recalibration semantics, compatibility window, migration and rollback
  • add valid/invalid fixtures, Sense/Brain mapper responsibilities and credential-free media reference rules
  • add isolated reproducible contract test runner

Verification

  • contracts\tests\source-config-v1\run.ps1: 11 passed
  • python dev_scripts/harness.py check --strict: passed
  • python -m unittest discover -s tests -v: 48 passed
  • git diff --check: passed

Wiki/docs are intentionally deferred to the root coordination agent after the parallel contract PRs complete.

Closes no issue automatically; implements #148 and leaves it pending user acceptance. ## Changes - freeze `yovision.source-config/v1` as Draft 2020-12 JSON Schema - use shared-contract snake_case fields with top-level `schema_version` - document profile/revision/recalibration semantics, compatibility window, migration and rollback - add valid/invalid fixtures, Sense/Brain mapper responsibilities and credential-free media reference rules - add isolated reproducible contract test runner ## Verification - `contracts\tests\source-config-v1\run.ps1`: 11 passed - `python dev_scripts/harness.py check --strict`: passed - `python -m unittest discover -s tests -v`: 48 passed - `git diff --check`: passed Wiki/docs are intentionally deferred to the root coordination agent after the parallel contract PRs complete.
ila added 1 commit 2026-08-31 08:48:39 +08:00
ila added 1 commit 2026-08-31 08:53:25 +08:00
ila merged commit 30c43aa8d7 into dev 2026-08-31 09:34:44 +08:00
Sign in to join this conversation.