Skip to content

feat: lawful metadata harvest smoke bundle, run artifact schema, and CI gate#286

Open
mdheller wants to merge 1 commit into
mainfrom
feat/lawful-metadata-harvest-smoke
Open

feat: lawful metadata harvest smoke bundle, run artifact schema, and CI gate#286
mdheller wants to merge 1 commit into
mainfrom
feat/lawful-metadata-harvest-smoke

Conversation

@mdheller

Copy link
Copy Markdown
Member

Summary

  • Adds schemas/lawful-metadata-harvest-run-artifact.schema.v0.1.json: OAI-PMH-style harvest run artifact; three-batch fixture, compatible with ProCybernetica lawful-metadata-harvest-envelope contract; enforces no_live_network_harvest=true and promotion_decision.promotion_is_explicit=true (promotion is never an implied effect of harvest completion)
  • Adds bundles/lawful-metadata-harvest-smoke/bundle.json: bundle descriptor with ProCybernetica and SocioSphere upstream anchors; non-live smoke mode
  • Adds harvest-run-artifact.valid.json (3-batch OAI-PMH harvest, promotion deferred, no anomaly) and reject_token-loop-anomaly.json (resumption loop detected, replay invalidated)
  • Adds tools/validate_lawful_metadata_harvest.py with 3 policy gate checks; 4 checks pass; wires validate-lawful-metadata-harvest into make validate

Closes #160

Test plan

  • make validate-lawful-metadata-harvest passes (4/4)
  • make validate passes (aggregate)
  • reject_token-loop-anomaly.json is correctly rejected

…CI gate (#160)

Adds lawful-metadata-harvest-run-artifact.schema.v0.1.json: run artifact
for OAI-PMH-style three-batch harvest. Fields: artifact_id, run_ref,
harvest_batches (verb enum: Identify/ListRecords/etc), envelope_ref,
replay_ref, promotion_decision (explicit, not implied), token_loop_anomaly,
and no_live_network_harvest (const: true). Compatible with ProCybernetica
lawful-metadata-harvest-envelope contract structure.

Adds bundles/lawful-metadata-harvest-smoke/bundle.json: smoke bundle
descriptor with ProCybernetica and SocioSphere upstream anchors. No live
network harvesting.

Adds harvest-run-artifact.valid.json (three-batch run, promotion deferred,
no anomaly) and reject_token-loop-anomaly.json (resumption_loop detected).

Adds tools/validate_lawful_metadata_harvest.py with policy gates: no live
harvest, explicit promotion, token loop anomaly invalidates replay; 4 checks
pass. Wires validate-lawful-metadata-harvest into make validate.

Closes #160
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.

Add AgentPlane smoke bundle for lawful metadata harvest receipts

1 participant