Skip to content

feat(integrations): commit cpex-ocsf-audit reference implementation - #412

Merged
Levaj2000 merged 1 commit into
mainfrom
feat/cpex-ocsf-audit-refimpl
Jul 27, 2026
Merged

feat(integrations): commit cpex-ocsf-audit reference implementation#412
Levaj2000 merged 1 commit into
mainfrom
feat/cpex-ocsf-audit-refimpl

Conversation

@Levaj2000

Copy link
Copy Markdown
Owner

Commits integrations/cpex-ocsf-audit/ — the CPEX CMF plugin that emits each dispatched request as an OCSF AI Operation event off the run(audit-log) seam, optionally hash-chained and DSSE-signed.

Why now

The crate had sat untracked in the working tree for several sprints. Unlike the review-package copy under docs/cosai-ws4-ocsf-mapping/ (gitignored at .gitignore:75), this path matched no ignore rule — so it had neither the protection of an ignore rule nor the backup of being tracked, and was one git add -A from undeliberate publication. Its own manifest already stated the intent:

This crate is intentionally standalone (NOT a member of the cpex workspace) so it can live in the AI-Identity repo as a reference implementation.

This makes that deliberate.

Why it's safe to publish

  • Own code, license = "Apache-2.0", every dependency from crates.io (no git-sourced or vendored deps).
  • contextforge-org/cpex is itself a public repo; this crate is a near-twin of its public audit-logger builtin, differing only in record shape.
  • scripts/check-no-confidential.sh passes; a secret/PII scan of the diff found only the synthetic fixture alice@corp.com.

Prepared for publication

  1. Build docs retargeted to public dev (verified to carry crates/cpex-core). feat/hil_apl is not a public branch — confirmed absent from the 26 public heads — so it's kept only as verified-green provenance, with drift against dev flagged as unverified.
  2. Two dead README links removed. The README linked CMF-OCSF-FIELD-MAP.md and cmf-ocsf-mapping-review.md, both gitignored: they would have 404'd for every public reader and named a private review artifact. The mapping now points at src/ocsf.rs, which is the executable mapping anyway.
  3. ANTIGRAVITY-TASK*.md excluded and gitignored at any depth — offload briefs are internal workflow, not deliverables.

Known gap

Not rebuilt against dev. Last verified green against feat/hil_apl ad666ba (2026-07-06); API drift is unverified and called out in both the manifest header and the changelog. Needs a cargo build against a dev checkout to close.

Closes the "decide a home for the CPEX crate" item (sprint 18 #436).

@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ai-identity-landing Ready Ready Preview, Comment Jul 27, 2026 6:46pm
dashboard Ready Ready Preview, Comment Jul 27, 2026 6:46pm

The crate has sat untracked in the working tree for several sprints. Unlike
the review-package copy under docs/cosai-ws4-ocsf-mapping/, this path was not
covered by any .gitignore rule — so it had neither the protection of an ignore
rule nor the backup of being tracked, and was one `git add -A` from an
undeliberate publication. Its own Cargo.toml header states the intent:
standalone, outside the cpex workspace, "so it can live in the AI-Identity
repo as a reference implementation". This makes that deliberate.

Own code, Apache-2.0, all deps from crates.io. contextforge-org/cpex is a
public repo and this crate is a near-twin of its public audit-logger builtin.

Prepared for publication:
- Build docs point at the public `dev` branch (verified to carry
  crates/cpex-core). The feat/hil_apl baseline is not a public branch; kept
  as provenance with API drift against dev called out as unverified.
- README no longer links two gitignored files (CMF-OCSF-FIELD-MAP.md,
  cmf-ocsf-mapping-review.md) that would 404 publicly and name a private
  review artifact. The mapping now points at src/ocsf.rs, which is the
  executable mapping anyway.
- ANTIGRAVITY-TASK*.md offload briefs excluded and gitignored — internal
  workflow, not deliverables.

Not rebuilt against dev; last verified green against feat/hil_apl ad666ba.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@Levaj2000
Levaj2000 force-pushed the feat/cpex-ocsf-audit-refimpl branch from fcca7a6 to bdb2647 Compare July 27, 2026 18:44
@Levaj2000
Levaj2000 merged commit 4faa077 into main Jul 27, 2026
6 checks passed
@Levaj2000
Levaj2000 deleted the feat/cpex-ocsf-audit-refimpl branch July 27, 2026 18:49
Levaj2000 added a commit that referenced this pull request Jul 27, 2026
…no API drift (#414)

#412 shipped the crate with an honest caveat: last verified green against
feat/hil_apl ad666ba (not a public branch), never rebuilt against public
dev. Closed today: against dev @ baa9e17 (shallow clone, path dep repointed,
lockfile regenerated) cargo build, all 13 tests, and the emit_sample example
pass unchanged. No API drift at the surface this crate uses.

Manifest header, README (Building + Status), and the changelog entry updated
from 'expect API drift' to the dual-baseline verified claim.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant