Repository navigation
test: add trace equivalence proof evidence - #352
Conversation
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 42 minutes and 3 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (8)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: be29408939
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
## Summary Adds the first trace-equivalence proof slice for architectural completeness. Closes #341 ## Problem The proof catalog had semantic and structural evidence, but no normalized observable trace vocabulary that could compare an operation across surfaces without falling back to raw output-string equality. Existing diagnostics such as pipeline probes also were not mapped into the proof vocabulary. ## Solution - Added `polylogue.proof.traces` with stable observable event nouns, ordered traces, `happens_before` edges, privacy-safe returned-ID hashing, and a provider-filter query trace builder. - Added proof subjects and catalog claims for `trace.operation.surface_equivalence` and `diagnostic.observable_trace_mapping`. - Added trace and diagnostic mapping runners that emit `EvidenceEnvelope` results with reproducer, trust, and environment metadata. - Added seeded archive tests proving repository/facade provider-filter traces compare by semantic payloads and mapping `devtools.pipeline-probe` archive-subset diagnostics into the trace vocabulary. - Regenerated `docs/verification-catalog.md`. ## Verification - `pytest tests/unit/proof/test_trace_evidence.py tests/unit/proof/test_catalog.py -q` - `ruff check polylogue/proof tests/unit/proof` - `pytest tests/unit/proof -q` - `mypy polylogue/` - `ruff format --check polylogue/proof tests/unit/proof` - `devtools render-all` - `devtools render-all --check` - `devtools verify` - pre-push `devtools verify --quick`
The proof catalog had semantic and structural evidence, but no normalized observable trace vocabulary that could compare an operation across surfaces without falling back to raw output-string equality. Existing diagnostics such as pipeline probes also weren't mapped into the proof vocabulary. Adds `polylogue.proof.traces` with stable observable event nouns, ordered traces, `happens_before` edges, privacy-safe returned-ID hashing, and a provider-filter query trace builder. Adds proof subjects and catalog claims for `trace.operation.surface_equivalence` and `diagnostic.observable_trace_mapping`. Adds trace and diagnostic mapping runners that emit `EvidenceEnvelope` results with reproducer, trust, and environment metadata. Adds seeded archive tests proving repository/facade provider-filter traces compare by semantic payloads and maps `devtools.pipeline-probe` archive-subset diagnostics into the trace vocabulary. Verification: ruff + mypy + pytest over proof / trace-evidence / catalog suites; devtools render-all --check, verify and --quick green. Closes #341
The proof catalog had semantic and structural evidence, but no normalized observable trace vocabulary that could compare an operation across surfaces without falling back to raw output-string equality. Existing diagnostics such as pipeline probes also weren't mapped into the proof vocabulary. Adds `polylogue.proof.traces` with stable observable event nouns, ordered traces, `happens_before` edges, privacy-safe returned-ID hashing, and a provider-filter query trace builder. Adds proof subjects and catalog claims for `trace.operation.surface_equivalence` and `diagnostic.observable_trace_mapping`. Adds trace and diagnostic mapping runners that emit `EvidenceEnvelope` results with reproducer, trust, and environment metadata. Adds seeded archive tests proving repository/facade provider-filter traces compare by semantic payloads and maps `devtools.pipeline-probe` archive-subset diagnostics into the trace vocabulary. Verification: ruff + mypy + pytest over proof / trace-evidence / catalog suites; devtools render-all --check, verify and --quick green. Closes #341
The proof catalog had semantic and structural evidence, but no normalized observable trace vocabulary that could compare an operation across surfaces without falling back to raw output-string equality. Existing diagnostics such as pipeline probes also weren't mapped into the proof vocabulary. Adds `polylogue.proof.traces` with stable observable event nouns, ordered traces, `happens_before` edges, privacy-safe returned-ID hashing, and a provider-filter query trace builder. Adds proof subjects and catalog claims for `trace.operation.surface_equivalence` and `diagnostic.observable_trace_mapping`. Adds trace and diagnostic mapping runners that emit `EvidenceEnvelope` results with reproducer, trust, and environment metadata. Adds seeded archive tests proving repository/facade provider-filter traces compare by semantic payloads and maps `devtools.pipeline-probe` archive-subset diagnostics into the trace vocabulary. Verification: ruff + mypy + pytest over proof / trace-evidence / catalog suites; devtools render-all --check, verify and --quick green. Closes #341
|
Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.
Only the rows listed above are dispositioned. Held findings remain open. |
Summary
Adds the first trace-equivalence proof slice for architectural completeness.
Closes #341
Problem
The proof catalog had semantic and structural evidence, but no normalized observable trace vocabulary that could compare an operation across surfaces without falling back to raw output-string equality. Existing diagnostics such as pipeline probes also were not mapped into the proof vocabulary.
Solution
polylogue.proof.traceswith stable observable event nouns, ordered traces,happens_beforeedges, privacy-safe returned-ID hashing, and a provider-filter query trace builder.trace.operation.surface_equivalenceanddiagnostic.observable_trace_mapping.EvidenceEnveloperesults with reproducer, trust, and environment metadata.devtools.pipeline-probearchive-subset diagnostics into the trace vocabulary.docs/verification-catalog.md.Verification
pytest tests/unit/proof/test_trace_evidence.py tests/unit/proof/test_catalog.py -qruff check polylogue/proof tests/unit/proofpytest tests/unit/proof -qmypy polylogue/ruff format --check polylogue/proof tests/unit/proofdevtools render-alldevtools render-all --checkdevtools verifydevtools verify --quick