Skip to content

Latest commit

 

History

History
139 lines (116 loc) · 8.65 KB

verification.md

File metadata and controls

139 lines (116 loc) · 8.65 KB

Observability local verification and publication handoff

Date: 2026-10-14. Separate checkout: /workspace/Coding-Standards. Branch: feat/issue3-mcp-observability. Baseline: 188beda1fa477d21d576c233dd8c7f4c4c267d23. Implementation commit: e2334869ccae2ee6187292c4493efaea4b80b342. The following evidence commit owns this report; use git rev-parse HEAD for the final handoff OID. No normative standards, generated agent contracts, Tuldok, observer-v3 code/artifacts or existing installation configuration changed.

Current fixture follow-up result (2026-10-15)

The bounded PR #4 fixture repair is qualified: resolve the policy from the same immutable snapshot, assert it exists, use semantic_revision and its successor, and keep setup outside the counting mocks. The real result assertions, validator, normative content and both count assertions are unchanged. Only test behavior and its registered generated-input digest changed; production observer hashes remain those accepted by the original source/privacy review.

Required follow-up check Result
Formerly failing case 1 test passed in 3.748 s
Complete analysis module 23 tests passed in 113.275 s
Full serial Engine suite 636 tests passed in 2161.675 s; one uninterrupted invocation with PYTHONPATH=.
Independent fixture review Satisfied; targeted case independently passed in 3.676 s; exact test-file SHA256 recorded
Generated input verification Public Engine refresh returned 73 suites / 121 checks passed before final frozen-source runs

See fixture review. The first broader attempts caught the stale registered test-input digest and were interrupted; no partial results count as acceptance. After the coordinated generated-input refresh, both requested broader commands were restarted from zero and passed as stated above.

The existing Git transport successfully published the original head 4887b7af without authentication changes; the parent opened draft PR #4. The invalid CLI token was specific to that CLI connection, not proof that Git transport failed. The verified fixture follow-up is packaged for the approved existing branch push; Git/PR refs own the actual publication identity. Parent owns hosted CI and merge. No existing installation was enabled and no actual interaction log is published.

Original observability qualification (before fixture repair)

The evidence below preserves the initial baseline comparison and its historical I1 failure. That failure is now resolved by the qualified follow-up above; it has not been rewritten as a successful run of the old fixture.

Evidence and limits

Environment: Linux/POSIX, CPython 3.12.14, SQLite 3.53.1. Installed versions matched tools/standards_contracts/requirements.lock: attrs 26.1.0, jsonschema 4.26.0, jsonschema-specifications 2025.9.1, referencing 0.37.0, rpds-py 2026.6.3, typing-extensions 4.16.0. No dependencies were added or upgraded.

Check Observed result
Recorder/MCP/runtime identity focused run 40 tests passed in 42.362 s:23 recorder,13 existing MCP,4 runtime identity
Independent GPT-6.1 Sol High design/source/privacy review Satisfied; all R1–R7 resolved, exact final source hashes recorded
Observer-v3 qualification/replay suites 39 tests passed in 19.044 s
Broader Engine coverage All 636 discovered cases executed;635 pass with CI environment,1 pre-existing fixture failure
Generated contract projection projection --check passed; no generated agent contract changed
Declarative verification 73 suites,121 checks passed; generated suite-input manifest refreshed through Engine
Four-configuration cold baseline comparison Same six replies, three tool calls and byte totals with recording off/on
Staged and branch review Expected text-only write set; diff whitespace checks pass; no raw logs/databases/secrets staged

The broader run first completed 93 cases serially, then was interrupted during the next module so remaining independent modules could run in four isolated Python processes. Only fully completed earlier modules count toward the93; the interrupted module was re-run completely. The 56 remaining modules executed 543 cases. This is aggregate coverage, not a claim that one serial full-suite invocation was green. The CI environment sets PYTHONPATH=.. An initial test_efficiency_trace child-process error without it occurred on both baseline and candidate; re-running each with that documented setting passed (candidate 45.363 s, baseline 43.920 s). Its corrected pass is included in 635.

The original remaining failure was test_analysis.AnalysisWorkflowTest.test_proposal_analysis_uses_one_projection_and_one_verified_base: AUTHORING.INVALID_SEMANTIC_REVISION. It failed identically in a clean Git clone of the baseline, because the fixture hardcodes accepted revision 1/proposed 2. The recorder never participates in that test. See I1. It was initially deferred, then repaired under explicit follow-up authority as recorded above. The initial qualification is not relabeled as a green full-suite run.

The recorder regressions cover opt-in omission, unchanged catalog/outcomes, actual validation feedback, malformed envelopes/JSON, arbitrary-output exclusion, schema-position privacy and on-disk sentinels, tool exceptions/interruption, broken response delivery, failed health output, unavailable/locked/full SQLite, transactional initialization/reopening/interruption, unsupported/corrupt/nonpristine files, count/age/session retention, in-flight eviction, read-only reports and bounded scan/scope/truncation, catalog schema differences, cold stdio replacement and concurrent first-open/writers. Cold process byte sums equal actual stdio streams excluding notifications from paired-request measurements. Killed requests remain unmatched/unknown after replacement. No client receipt, intent, token, billing, tamper-proof audit or reconstruction of redacted requests is claimed.

No model qualification turns or real interaction logs were collected. The requested independent review used the specified GPT-6.1 Sol High reviewer. All process fixtures and observation stores were synthetic, private and temporary; their raw contents are not publication deliverables. Historical observer-v3 verdicts and transcripts remain untouched.

Reproduction

PYTHONPATH=. python3 -m unittest tools.standards_engine.tests.test_interaction_observer tools.standards_engine.tests.test_mcp tools.standards_engine.tests.test_runtime_identity
PYTHONPATH=. python3 -m unittest tools.standards_engine.tests.test_model_discovery_qualification tools.standards_engine.tests.test_replay_discovery_qualification tools.standards_engine.tests.test_replay_discovery_workflow
PYTHONPATH=. python3 -m unittest discover -s tools/standards_engine/tests
python3 -m tools.standards_contracts.standards_contracts.projection --check
PYTHONPATH=.:tools/standards_verifier python3 tools/standards_verifier/verify.py --complete

The broad command exposed I1 at original head 4887b7af; after the bounded fixture repair the current full serial suite passes all 636 tests. Cold comparison gives the workload and byte totals. Independent review binds final production/test/docs hashes. Operating contract owns configuration, safe disclosure, storage/health/recovery/retention and reporting.

Handoff resources

Retain this clean checkout and feature branch for parent publication and review; no rebase, amend or history rewrite has occurred. Synchronization is explicit: parent checks current target authority before publication/integration and reverifies any material change. Retirement follows the parent's accepted merge, rejection or explicit retained-resource decision; this task grants no destructive cleanup authority. No other mounted repository was modified.

The original /workspace/issue3-mcp-observability.bundle remains preserved at pre-fixture head 4887b7af. The qualified fixture follow-up is packaged separately as /workspace/issue3-mcp-observability-fixture-repair.bundle, outside the repository and not staged. It requires the named baseline and preserves its exact feature ref/head. In an authorized checkout containing that baseline:

git bundle verify /workspace/issue3-mcp-observability-fixture-repair.bundle
git fetch /workspace/issue3-mcp-observability-fixture-repair.bundle feat/issue3-mcp-observability:feat/issue3-mcp-observability

PR #4 already exists. Parent may inspect the exact qualified branch and its publication ref through working authorized access. Merge and installation enablement remain separate decisions. No actual telemetry or qualification trace accompanies it.