-
Notifications
You must be signed in to change notification settings - Fork 1
repository implementation plans
title: Repository Implementation Plans acronyms: [AIS, BCC, DID, MVP] created: 2026-08-06 updated: 2026-08-06 type: architecture tags: [infrastructure, planning, roadmap, documentation] confidence: high source_files:
- IMPLEMENTATION_PLAN.md
- SPECIFICATION.md
- README.md
- docs/INTERFACE_CONTRACT.md
- spec/integrity-protocol-v0.4.md
- spec/xibalba-shield-v1.md
- docs/audits/2026-08-06-cross-repository-status.md
This page is the cross-repository implementation and specification ledger for the Integrity Protocol product stack. It summarizes the root IMPLEMENTATION_PLAN.md and SPECIFICATION.md files that now exist in each project root:
-
INTEGRITY-LATEST/IMPLEMENTATION_PLAN.mdandINTEGRITY-LATEST/SPECIFICATION.md -
integrity-mvp/IMPLEMENTATION_PLAN.mdandintegrity-mvp/SPECIFICATION.md -
xibalba-shield/IMPLEMENTATION_PLAN.mdandxibalba-shield/SPECIFICATION.md -
xibalba-graph-memory/IMPLEMENTATION_PLAN.mdandxibalba-graph-memory/SPECIFICATION.md
The root implementation plans and root specifications are the repo-local implementation/specification source of truth. The permanent audit ledger at /home/xibalba/Documents/INTEGRITY — Cross-Repository Audit and Implementation Plan.md and the repo-local docs/audits/2026-08-06*.md files provide the current verification evidence. This wiki page is the canonical cross-repo map used to see dependency direction, closed work, open work, and blockers in one place.
- Dependency order
- Audit evidence boundary
- INTEGRITY-LATEST
- Integrity MVP
- Xibalba Shield
- Xibalba Graph Memory
- Cross-repository task list
- Update rule
flowchart LR
Latest["INTEGRITY-LATEST<br/>protocol backend, contracts, APIs, canonical wiki"]
Shield["xibalba-shield<br/>endpoint evidence producer"]
Graph["xibalba-graph-memory<br/>local provenance memory service"]
MVP["integrity-mvp<br/>presentation and operator workflows"]
Shield -->|DID, BCC, telemetry, evidence export| Latest
MVP -->|reads public API/SDK/wiki surfaces| Latest
MVP -->|renders Shield status/evidence| Shield
MVP -->|renders recall, graph, provenance states| Graph
Graph -.->|future one-way citation boundary| Latest
INTEGRITY-LATEST remains the protocol authority. Shield and graph memory do not become dependencies of INTEGRITY-LATEST unless a public interface explicitly adds that boundary. The MVP is a consumer and presentation layer.
-
DONEmeans implemented and verified by the audit's cited command, direct read, or deployment evidence. -
PARTIALmeans some implementation exists, but the required scope or control is incomplete. -
PLANNEDmeans specified or designed with no verified implementation found. -
BLOCKEDmeans required work exists but depends on a documented environment, dependency, or decision. -
UNVERIFIEDandREQUIRES REVIEWclaims must not be promoted to production status. - Dirty worktree evidence and clean default-branch evidence stay labeled separately until reviewed.
Role: Protocol trust backend: contracts, SDK, CLI, BCC middleware, Oracle/AIS, user API, dashboard, ZKP, canonical wiki, and protocol specs.
Specification authority: README.md, SPECIFICATION.md, PRODUCTION_GAPS.md, docs/INTERFACE_CONTRACT.md, spec/integrity-protocol-v0.4.md, spec/README.md, spec/ais-api/v1, docs/MAINNET_READINESS.md, docs/audits/2026-08-06-cross-repository-status.md, and docs/wiki/.
Audit checkpoint: Clean main has broad test evidence but main CI is red on SDK drift; PR #48 is green and unmerged. Base Sepolia deployment, source/role matching, production controls, and automatic-merge authority remain review items.
Closed:
- Solidity primitive suite, factory, and per-agent primitive contracts exist.
- Integrity Health, SmartBAA, ComplianceGate, Oracle/AIS, telemetry, BCC, SDK, CLI, user API, and ZKP packages exist.
- Canonical wiki exists and feeds downstream MVP/GitHub wiki projections.
- Protocol spec v0.4 is version-controlled Markdown and supersedes the archived v0.3 PDF.
- Status vocabulary exists: VERIFIED, PARTIAL, PLANNED, BLOCKED, DEPRECATED, REMOVED.
Planned / todo:
- Close
docs/MAINNET_READINESS.mdblockers in consequence order. - Enforce agent-only genesis anchoring at the contract level.
- Implement uniform minimum stake/tier elevation constraints.
- Generalize Delegation instrument and authority resolution.
- Apply identity-ceiling clamp consistently in scoring and public reads.
- Implement lineage attestation, silence-as-signal handling, and required counterparty symmetry.
- Add versioned BCC intent schema and conformance vectors.
- Complete evidence-export Phase B/C and report examples.
- Complete SDK test/implementation reconciliation through PR #48 review; do not merge automatically.
- Verify Base Sepolia deployment records against chain state, bytecode, roles, ownership, and configuration.
- Resolve or explicitly preserve the automatic-merge workflow after human-review policy review.
- Label clean-main, active-branch, and dirty-worktree evidence separately in docs.
Blocked:
- Shield evidence scoring is blocked until Oracle-side mapping is designed.
- Compliance evidence export polish is blocked until Phase B/C are built.
- Mainnet launch remains blocked by open readiness items.
Role: React/Vite presentation and operator-workflow layer for the Integrity Protocol product stack.
Specification authority: README.md, SPECIFICATION.md, PRODUCTION_GAPS.md, docs/audits/2026-08-06-status.md, archived historical plans under docs/archive/2026-08-06/, INTEGRITY-LATEST interface/wiki docs, and Shield README/spec status.
Audit checkpoint: Clean-main production build passed, but npm audit reports 4 vulnerabilities, the documented ESLint command is broken, and hosted main E2E fails before tests when the private sibling checkout token is missing.
Closed:
- React/Vite/TypeScript shell exists with routes for landing, dashboard, identity, intelligence, health, Shield, financials, memory, settings, legal docs, and wiki.
- Service clients exist for Oracle, user API, and BCC middleware.
- Generated
/wikirenders the canonical INTEGRITY-LATEST wiki snapshot. - Wiki renders Markdown tables, Mermaid diagrams, relative links, repo links, article TOC, and ordered protocol TOC.
- Wiki header uses the Xibalba Solutions logo linked to
/. - Focused Playwright wiki suite validates current wiki behavior.
Planned / todo:
- Replace remaining static panels with live reads where endpoints exist.
- Add visible unavailable/error states for backend-dependent panels.
- Align route labels with current Integrity vocabulary.
- Surface Shield evidence from stable backend/exporter data.
- Render graph-memory recall, traversal, provenance, contradiction, forgetting, and verification states.
- Add broader Playwright coverage for identity, Shield, memory, and financial workflows.
- Add or declare ESLint, or remove the broken
lintscript. - Triage npm vulnerabilities without forced major upgrades.
- Fix private sibling checkout handling for
INTEGRITY_LATEST_PATand archive a real local-stack Playwright run. - Verify frontend hosting/release path instead of treating the Vite dev-server Dockerfile as production hosting.
Blocked:
- Live Shield evidence display is blocked until exporter readback/reporting paths are stable.
- Graph-memory parity is blocked until runtime controller/API contracts are stable.
- Production automation is blocked until backend availability and env contracts stabilize.
Role: Endpoint security agent for AI-agent discovery, local policy enforcement, guardrail hooks, and Integrity-backed evidence export.
Specification authority: SPECIFICATION.md, README.md, SECURITY.md, docs/audits/2026-08-06-status.md, shield/sensors/ebpf/README.md, and INTEGRITY-LATEST protocol specs.
Audit checkpoint: Root-free tests pass at 62 passed and 7 skipped. Process-exec and file-write eBPF verification are historical documented evidence; the audit did not reproduce live eBPF/exporter verification. TCP-connect remains blocked.
Closed:
- Event and policy schemas exist.
- Policy engine is table-driven, local/offline, first-match, and tested.
- Agent Core exists: DeviceContext, AgentRegistry, EventRouter, EventLog.
- Integrity Exporter uses real
integrity-sdkBCC signing and telemetry submission. - Exporter has historically documented live-stack proof against
bcc_middleware; current audit did not reproduce the live exporter path. - Six guardrail hooks exist and are tested.
- CLI supports status, events, validate, and run commands.
- Process-exec and file-write Linux eBPF sensors are live-verified.
- Root-free test suite passes: 62 passed, 7 skipped.
Planned / todo:
- Unblock TCP-connect eBPF verification.
- Design DNS observation via uprobe or packet parsing.
- Add config-loadable sensitive-path filtering.
- Register Shield exporter DID with Integrity Oracle.
- Verify Shield decisions through the intended evidence/audit surface.
- Design signed policy bundle format, managed service packaging, and pilot runbooks.
- Plan Windows ETW, macOS endpoint, and SIEM/SOAR integrations.
- Reconcile protocol-facing Shield spec status with the observed implementation map.
- Resolve the specification wording inconsistency between five and six guardrail hooks.
- Add free GitHub Actions CI and pin the
integrity-sdkdependency to a reviewed release or commit.
Blocked:
- TCP-connect sensor is blocked by current BCC/kernel version skew.
- Windows/macOS sensors are blocked until target platforms are available.
- Tenant cloud policy API is blocked until a real server contract exists.
Role: Local, provenance-aware graph memory MCP server and runtime-controller substrate for Xibalba agent memory.
Specification authority: SPECIFICATION.md, spec/xibalba-graph-memory-v1.md, README.md, docs/audits/2026-08-06-status.md, archived historical plans under docs/archive/2026-08-06/, docs/architecture/runtime-controller-contract.md, docs/architecture/event-hash-chain.md, and docs/integrity/xibalba-graph-crypto-profile-v1.md.
Audit checkpoint: The suite passes with uv sync --extra drive && uv run pytest -q; plain default test collection fails because Drive tests import optional Google dependencies without the Drive extra. Runtime adapters, controller/session synchronization, tests, and viewer changes are present in the dirty worktree and require separate review.
Closed:
- SQLite is specified as the canonical local store.
- Provenance-first memory model is specified.
- Event hash chain, entity/relation graph, contradiction/supersession, and forgetting lifecycle are specified.
- Integrity DAG citation boundary is specified as one-way/read-only.
- Runtime adapter checklist exists for Claude, agy, and Codex.
- Viewer scaffold and tests exist in the current worktree.
- Core package test suite passes when installed with the Drive extra.
Planned / todo:
- Confirm schema version and migrations against the implementation.
- Finish tests for bootstrap, WAL, FTS5, idempotency, and profile isolation.
- Finalize lexical recall, optional vector path, bounded traversal, and contradiction visibility.
- Expose MCP tools for store, recall, link, neighbors, path, contradict, forget, verify, status, and backup.
- Finalize runtime controller contract and adapter boundaries.
- Finish viewer integration for recall, graph traversal, provenance, contradiction, forgetting, and verification.
- Decide whether Drive ingestion dependencies are supported by default, optional test extras, or skipped cleanly when absent.
- Review and commit or discard runtime adapter, controller, session synchronization, test, and viewer work as a separate change set.
- Expand README with installation, current status, privacy, retention, backup/restore, profile isolation, and MCP operations.
- Verify MCP discovery and direct tool calls through an isolated Hermes profile.
Blocked:
- Full runtime parity is blocked by Codex and agy hook-surface limits until wrappers are verified.
- Integrity DAG anchoring is blocked on consuming the Integrity Memory DAG once available.
- Viewer production readiness is blocked until API contract stabilizes.
- Add root
IMPLEMENTATION_PLAN.mdto INTEGRITY-LATEST. - Add root
SPECIFICATION.mdto INTEGRITY-LATEST. - Add root
IMPLEMENTATION_PLAN.mdto integrity-mvp. - Add root
SPECIFICATION.mdto integrity-mvp. - Add root
IMPLEMENTATION_PLAN.mdto xibalba-shield. - Update root
SPECIFICATION.mdin xibalba-shield. - Add root
IMPLEMENTATION_PLAN.mdto xibalba-graph-memory. - Add root
SPECIFICATION.mdto xibalba-graph-memory. - Add this canonical wiki rollup page.
- Sync canonical wiki into integrity-mvp after this page is accepted.
- Merge permanent audit docs into implementation plans without duplicate task entries.
- Archive superseded historical plan/handoff files under dated
docs/archive/2026-08-06/folders. - Push each root implementation plan to its owning remote branch.
- Add CI/documentation checks that fail when WIKI_INDEX page counts drift.
Update the owning repo root IMPLEMENTATION_PLAN.md first, then update this wiki page when a closed/planned/blocked status changes, a public interface changes, or a cross-repo dependency changes.
Generated from INTEGRITY-LATEST/docs/wiki. Edit the canonical repository files, not this mirror.
- A2A Negotiation Protocol [PLANNED]
- AIS API — Versioned Wire Spec
- Agent Integrity Score (AIS)
- Agent Primitives (Self-Sovereign Identity)
- Behavioral Commitment Chain (BCC)
- ComplianceGate & Integrity Health
- Cross-Chain Reputation Sync [PLANNED]
- Decentralized Identifier (DID)
- Identity Ceiling & Verification Ladder [BUILT]
- Integrity Market (Prediction Markets, Binary Options, A2A Capital Allocation)
- Integrity Protocol Specification
- Local Metrology (Client-Side AIS Signal Derivation)
- Merkle Batching & Anchoring Convention
- Observability & PHI Safety Pipeline
- On-Chain Governance
- Persistent Memory Bridge
- Persistent Memory, Genesis Root & Lineage [PARTIALLY BUILT]
- Smart BAA (On-Chain Business Associate Agreement Escrow)
- Telemetry Ingestion Pipeline
- Testing Strategy
- The Four Foundational Primitives
- Xibalba Agent Operating Model
- ZK-ML Model-Inference Verification [PLANNED]
- Zero-Knowledge Proving Pipeline