Skip to content

feat: add durable bridge ledger scaffold - #15

Merged
Jdelg718 merged 1 commit into
mainfrom
phase-14-durable-bridge-ledger
May 18, 2026
Merged

feat: add durable bridge ledger scaffold#15
Jdelg718 merged 1 commit into
mainfrom
phase-14-durable-bridge-ledger

Conversation

@Jdelg718

Copy link
Copy Markdown
Owner

Summary

  • Adds Phase 14 durable bridge ledger scaffold backed by SQLite.
  • Claims approved-action audit IDs durably before any future provider mutation.
  • Dedupe is keyed by audit_id and fails closed on duplicate, unsafe, unsupported, or out-of-bundle actions.
  • Adds explicit status transition guards and tests for terminal/manual-review states.
  • Updates docs/roadmap/handoff for the Phase 14 safety boundary.

Safety Boundaries

  • No OAuth implementation.
  • No provider credentials.
  • No Gmail/Microsoft/IMAP/SMTP/n8n/provider calls.
  • No live provider mutation nodes.
  • Ledger stores IDs/status only — no message body, subject, headers, tokens, API keys, passwords, or cookies.

Verification

  • python3 scripts/validate_n8n_workflow_exports.py
  • python3 -m py_compile outreach_filter.py botfucker/*.py scripts/validate_n8n_workflow_exports.py
  • python3 -m unittest discover -s tests -v

Team Review

  • Rex: PASS — no blockers; concurrent claim sanity check passed.
  • Gus: APPROVED — no ops/n8n blockers.

@Jdelg718
Jdelg718 merged commit 8904d67 into main May 18, 2026
8 checks passed
@Jdelg718
Jdelg718 deleted the phase-14-durable-bridge-ledger branch May 18, 2026 11:56
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