Repository navigation
docs(cpex-ocsf-audit): stage the praxis in-tree port as patches - #589
Merged
Merged
Conversation
The port PRAXIS-INTREE-PLAN.md describes is built and verified on praxis-proxy/policy main at da22e0a, the praxis-proxy/policy#84 merge commit, and staged under integrations/cpex-ocsf-audit/praxis-port/ as two patches: a verbatim import of this crate at AI-Identity main 395d64e into reference/plugins/ocsf-audit, and the adaptation to that tree (workspace member and dependencies, the PPE lint set, edition 2024, headers and the comment convention, README and auditing-guide edits). The pull request body and a README with the routing split and paste-able apply, push and history-preserving alternative blocks sit beside them. The maintainer applies and pushes under his own identity, since praxis gates merges on a CLA. Verified on the pinned toolchain: make lint, make test, make doc, cargo deny check, cargo check --workspace --all-targets with and without --all-features; 35 tests; emit_sample, decision_sink_demo and provenance_demo byte-identical to their vectors; panic_drive on gw-1:decision at stream_seq 0 with plugin_panic. Both landing shapes were dry-run on fresh checkouts and give the same tree. PRAXIS-INTREE-PLAN.md records the prepared state and where the result departs from the plan: base64 0.23 (the builtins' major), the file secret backend in provenance_demo (set_var is unsafe in edition 2024), the payload parameter dropped from ocsf::apply_decision, tokio-util gone, two typos.toml entries, and the provenance vector carried. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019BKU46zuw1Yu8E8yBQj4DP
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019BKU46zuw1Yu8E8yBQj4DP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Stages the in-tree port of this crate into praxis-proxy/policy, per
integrations/cpex-ocsf-audit/PRAXIS-INTREE-PLAN.md, as two patches underintegrations/cpex-ocsf-audit/praxis-port/with the pull request body and a hand-over README beside them. The maintainer applies and pushes them under his own identity, since praxis gates merges on a CLA; nothing in this PR posts to praxis.0001-import.patch: verbatim copy of this crate at AI-Identity395d64eintoreference/plugins/ocsf-audit.0002-adapt.patch: the adaptation to that tree: workspace member and workspace dependencies, the PPE lint set, edition 2024, file headers and the comment convention, a rewritten crate README, the three sample-output files with their output blocks kept byte for byte, a second sink block indocs/content/auditing.md, and the root README layout note.PRBODY.md: the praxis pull request description.README.md: the routing split and three paste-able blocks (apply, push and open the PR, and the history-preserving alternative from praxis'sdocs/dev/port-provenance.md).PRAXIS-INTREE-PLAN.mdmoves to "prepared" and records where the result departs from the plan. The crate README gets a status bullet.Verification
Built on praxis
mainatda22e0a(the praxis-proxy/policy#84 merge commit) with the pinned toolchain (1.96.0, nightly rustfmt):make lint(fmt check, clippy-D warnings, both feature sets)make test(both feature sets)make doc(both feature sets)cargo deny checkcargo check --workspace --all-targets, with and without--all-featurestypos,markdownlinton added and touched filesauditing.md, untouched)emit_sample,decision_sink_demo,provenance_demoda22e0apinpanic_driveplugin_panicdeny ongw-1:decisionatstream_seq0Both landing shapes were dry-run on fresh checkouts of
da22e0aand produce the same tree (6b682de4): the squash copy viagit am -sof both patches, and the filter-repo import (28 commits, 16 files, tip tree identical to the import commit) merged with unrelated histories plus0002on top. In both, author, committer and sign-off areJeff Leva <120221487+Levaj2000@users.noreply.github.com>and no Claude trailer is present.Departures from the plan, recorded in the plan file
base64is0.23: atda22e0athe builtins declare0.23directly and the lock already carries both majors.provenance_demoresolves its demo keys through thefilesecret backend:std::env::set_varisunsafein edition 2024 and the workspace forbids unsafe. Same digests.ocsf::apply_decisiondrops its payload parameter (only the removed cpex path used it).tokio-utilis gone;typos.tomlgains an ignore for the W3C trace-context span id andcose.No source change to this crate; nothing hashed moves.
🤖 Generated with Claude Code
https://claude.ai/code/session_019BKU46zuw1Yu8E8yBQj4DP
Generated by Claude Code