Repository navigation
Validate model names against effective configuration (#26) - #32
Conversation
Initial review —
|
| Command | Result |
|---|---|
python -m unittest discover -s tests -p "test_*.py" -q |
OK — 462 tests, 9.2s |
python scripts/validate-package.py |
VALID — 12 skills, shared sections in sync, manifests aligned |
git diff --check |
clean |
| Legacy-row reproduction (pre-PR writer, head reader, one database) | REV-001 confirmed — drift [1 row] → [] |
Shared-instance reproduction on one Telemetry |
REV-002 confirmed — repo B accepted repo A's model |
validate_reference("model_requested", <configured model>) |
REV-003 confirmed — refused |
record_stage without model_resolved |
REV-004 confirmed — payload: {} |
The preflight succeeded: the suite is pure Python with no services, database, or
ports to own, so execution-backed verification ran in full. Every finding above
was observed at runtime, not inferred from reading the diff.
Not verified
- The behaviour of a real executor dispatch reporting a resolved model. Both
passes exerciserecord_dispatchthrough test doubles; no actual Claude or
Codex dispatch was performed, soresult.model_resolvedwas never observed
coming from a live receipt. - Windows behaviour, beyond what the PowerShell CI job covers.
CI
All four check runs on this head are green:
| Check | Workflow | State |
|---|---|---|
| Skills, manifests, and Bash installer | Validate package | SUCCESS |
| PowerShell installer | Validate package | SUCCESS |
| Skills, manifests, and Bash installer | Validate package (second run) | SUCCESS |
| PowerShell installer | Validate package (second run) | SUCCESS |
gh pr checks 32 reports 4 passed, 0 failed, 0 pending, none skipped. Validate package is the only workflow this repository defines for pull requests, and it
ran; no expected gate is missing. The PR is not a draft and carries no labels,
so no label-driven suite was skipped.
Worth noting that green CI is consistent with REV-001: the regression is in how
existing data is read, and the suite only ever reads rows it wrote itself in the
same process.
Residual risk
- Any telemetry database already in use loses its accumulated drift history the
moment this merges, and nothing in the schema records that it happened
(REV-001). The rows survive; the question stops being answerable from them. - The per-instance model scope is an invariant held by convention at the call
site rather than by the type (REV-002). - Whether an executor ever reports a model outside the effective set — the case
mismatch_unrecognizedexists for — remains untested against a live
dispatch.
Verdict
CHANGES_REQUESTED. REV-001 blocks approval: it is a silent regression on
data this store exists to accumulate, and a fallback of a few lines closes it.
REV-002 through REV-005 are worth addressing in the same pass but do not block
on their own.
PR 32 targeted resolutionReviewed head: All review findings are resolved: [REV-001] · high · resolved · blocks:yes —
|
Rereview —
|
| Command | Result |
|---|---|
python -m unittest discover -s tests -p "test_*.py" -q |
OK: 466 tests |
python -m compileall -q scripts tests |
OK |
python scripts/validate-package.py |
VALID: 12 skills, shared sections in sync, manifests aligned |
git diff --check origin/main...HEAD |
clean |
| Legacy database: pre-PR writer, head reader | REV-001 resolved: drift kept, summary 1 |
| Shared-store isolation (requested and resolved) | REV-002 resolved |
validate_reference with injected configured model |
REV-003 resolved |
validate_reference with injected set plus a built-in model |
REV-006 confirmed: refused, while record_stage accepts it |
record_stage without model_resolved |
REV-004 resolved: unreported |
Not verified:
- A live executor dispatch reporting a resolved model.
record_dispatchis only exercised through test doubles. - Windows behaviour beyond what the PowerShell CI job covers.
CI
gh pr checks 32: 4 passed, 0 failed, 0 pending, 0 skipped, on head 0c5d900.
| Check | State |
|---|---|
| Skills, manifests, and Bash installer (×2) | SUCCESS |
| PowerShell installer (×2) | SUCCESS |
Validate package is the only workflow this repository defines for pull requests, and it ran. The PR is not a draft and has no labels, so no suite was skipped by policy.
Residual risk
- REV-006: the first caller that pre-checks a model with an injected set may be refused a built-in model the store would accept.
- The requested/resolved contract has not been exercised against a real dispatch.
SCHEMA_VERSIONis still1. Old and new rows are told apart by whether the payload token is present, not by the schema version. This works because new rows always carry the token whenever a model field is present.
Verdict
APPROVED. All five previous findings were fixed and verified by running them. The one new finding, REV-006, is low severity and does not block approval. Every CI check passed on the reviewed head. No merge was performed.
Summary
No adapter behavior was changed.
Verification
python -m unittest discover -s tests -p "test_*.py" -q— 462 passed.python -m compileall -q scripts tests— passed.python scripts/validate-package.py— passed.git diff --check— passed.Closes #26