Skip to content

MVP foundation: fixtures, verdict schema, policy versioning (#81 #76 #75)#86

Open
kuyacarlo wants to merge 7 commits into
devfrom
mvp/75-76-81-foundation
Open

MVP foundation: fixtures, verdict schema, policy versioning (#81 #76 #75)#86
kuyacarlo wants to merge 7 commits into
devfrom
mvp/75-76-81-foundation

Conversation

@kuyacarlo

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • cd backend && uv run pytest — 16 passed
  • All commits GPG-signed (git log --show-signature)
  • Spot-check POST /ingest returns policy_id and GET /policies lists current version

Closes #81
Closes #76
Closes #75

Add red fixture tests and handoff stubs for #81/#76/#75.
Ensure pytest resolves the backend package via pythonpath.

Signed-off-by: kuyacarlo <106532351+kuyacarlo@users.noreply.github.com>
Two Markdown policies with Controls sections for ingest/E2E demos.

Signed-off-by: kuyacarlo <106532351+kuyacarlo@users.noreply.github.com>
Red tests for REQUIRED_VERDICT_KEYS and build_verdict_event.

Signed-off-by: kuyacarlo <106532351+kuyacarlo@users.noreply.github.com>
Add build_verdict_event helpers, wire validate responses, and fix
ActivityLog detached-instance returns after commit.

Signed-off-by: kuyacarlo <106532351+kuyacarlo@users.noreply.github.com>
Red integration tests for Policy model, ingest version rows, and GET /policies.

Signed-off-by: kuyacarlo <106532351+kuyacarlo@users.noreply.github.com>
Ingest upserts Policy rows by content hash/name and exposes list/get APIs.

Signed-off-by: kuyacarlo <106532351+kuyacarlo@users.noreply.github.com>
Keep project AGENTS.md aligned with #75/#76/#81 contracts for the next agent.

Signed-off-by: kuyacarlo <106532351+kuyacarlo@users.noreply.github.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.

MVP: Sample policy pack for E2E MVP: Structured verdict logging schema MVP: Policy storage schema & versioning

1 participant