Repository navigation
Phase 10: provider-neutral generic adapter interface - #9
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Sorry @EmergentMonk, you've used your own review budget of 250,000 diff characters for the last 7 days.
You can request another review in 4 days and 8 hours by commenting @sourcery-ai review. Upgrade to get a review now.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Reviewer's GuidePhase 10 adds a provider-neutral adapter translation layer with shared persistence, implements HTTP and local-process reference adapters, preserves captured evidence while isolating runtime metadata, supports persistable failures, and validates the design with integration tests and a dedicated CI lane. Sequence diagram for successful generic adapter observationsequenceDiagram
participant Adapter as GenericHTTPAdapter or ProcessAdapter
participant Translator as build_observation
participant Store as LocalEvidenceStore
participant Custody as LocalCustodyLedger
participant Verify as Independent verifier
Adapter->>Translator: observe()
Translator-->>Adapter: AdapterObservation
Adapter->>Store: persist_observation(observation)
Store->>Store: put_artifact()
Store->>Store: put_event()
Store->>Custody: append()
Store->>Store: finalize()
Custody->>Verify: verify()
Verify-->>Adapter: verified persisted observation
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
@copilot Please Review this exact SHA 0dc6337 against the existing contract. Report only actionable correctness defects, with a minimal reproduction, expected versus actual behavior, and affected lines. State whether each reproduction was executed or statically inferred. Don’t repeat fixed findings without a new failing case. Keep architectural suggestions separate and non-blocking. |
Reviewed |
Summary
Implements Phase 10 — Generic Adapter Interface.
AdapterContractand shared observation builderGenericHTTPAdapterfor ordinary HTTP/HTTPS request-response boundariesProcessAdapterfor local argv/stdin/stdout/stderr process boundariesCOLLECTION_FAILEDadapters.ymlCI laneADAPTERS.md,ARCHITECTURE.md, README, and ROADMAPExit-gate demonstration
No provider-specific changes are made to
provenance-core.Summary by Sourcery
Establish a provider-neutral adapter layer for HTTP and local process boundaries while reusing the existing core schema, persistence pipeline, and verification guarantees.
New Features:
Enhancements:
CI:
Documentation:
Tests: