Purpose‑Built for the “Two‑Party Approval Flow (TPAF)”
All steps are deterministic, auditable, and require explicit human confirmation before any irreversible action is taken.
{| class=\"wikitable\" |
| Item | Description |
|---|---|
| Runbook ID | HCE‑TPAF‑RB‑001 |
| Version | 1.0 (2025‑09‑15) |
| Effective Date | 2025‑09‑15 |
| Owner | Helix Core Ethos – Governance Team |
| Stakeholders | Product Ops, Security, Compliance, Engineering, Legal, End‑User Support |
| Scope | End‑to‑end execution of a high‑impact intent (e.g., data‑model training, fund transfer, policy change) that requires two‑party (requester + approver) consent before any irreversible effect occurs. |
| Related Docs | • Helix Core Ethos – Principles (TTD‑first, Consent & Least‑Privilege)
• API Spec – intent.json‑ld
• Smart‑Contract ABI – TPAF.sol
• Data‑Retention Profiles (see Appendix A) |
| Assumptions | • All participants have an HSM‑backed signing key registered on the Besu ledger.
• Network connectivity to the Besu node is verified (health‑check passed).
• The “Intent” payload is human‑readable and stored in an immutable object store (e.g., IPFS, S3 with Object‑Lock). |
| Exclusions | Routine low‑impact intents (Tier 0) that do not require two‑party approval. |
{| class=\"wikitable\" |
| Role | Primary Responsibilities | Required Access |
|---|---|---|
| Requester | Drafts the intent, signs the initial payload, submits to the approval queue. | REQUESTER key, read‑only ledger view. |
| Approver | Reviews intent, validates compliance, signs to grant consent. | APPROVER key, write‑access to ledger for approval transaction. |
| Ops Engineer | Executes the runbook, monitors ledger inclusion, triggers downstream actions after confirmation. | Full node admin, CI/CD pipeline trigger. |
| Compliance Officer | Verifies that the intent satisfies all regulatory & policy checks before approval. | Read‑only audit logs, policy‑engine access. |
| Security Analyst | Confirms that HSM keys are healthy, validates cryptographic material, monitors for anomalies. | HSM admin, security monitoring dashboard. |
| Incident Commander (on‑call) | Handles any failure, escalates per the Incident Response Playbook. | Full system access. |
All actions are logged with a tamper‑evident receipt (Merkle proof) that is automatically emailed to the requester, approver, and compliance officer.
; Infrastructure
https://besu.node.company:8545; Credentials
req‑key‑<UUID>app‑key‑<UUID>; Software
node >= 18.0 with web3.jsdocker >= 24jq for JSON-LD manipulation; Documentation
; Human Confirmation
All steps are to be executed in order. Any deviation must be logged in Section 7 (Deviation Log).
Step-by-step actions and expected outputs (see full runbook for exact CLI commands and validations).
Verify requester signature → Run checklist → Human confirmation → Sign and archive.
Submit transaction → Verify receipt → Email parties → Invoke external irreversible API only after all checks.
Archive artifacts → Log retention profile → Schedule purge if applicable → Close run in dashboard.
{| class=\"wikitable\" | | Metric | Threshold | Alert Destination | Description | |---|---|---|---| | Ledger inclusion latency | > 30s/block | Ops Slack #tpa-alerts | Indicates congestion | | Signature failures | ≥ 1 per run | PagerDuty | Potential key compromise | | Email delivery failure | > 0 | Compliance email queue | Must resolve before continuing | | Vault storage error | Any | Ops Email | Prevents data loss | | Unauthorized access | Any | Security SOC | Detects audit breach |
{| class=\"wikitable\" | | Failure Point | Immediate Action | Escalation Path | Evidence to Capture | |---|---|---|---| | Schema validation | Abort, return to Requester | None | Validation log | | Signature failure | Halt, flag for rotation | Security → IC | HSM audit log | | Checklist ❌ | Reject, notify requester | Compliance → Legal | Checklist snapshot | | Ledger not mined | Retry x3, then mark Failed | Ops → IC | Tx hash, node logs | | Email bounce | Re-send alternate channel | Ops → Compliance | SMTP logs | | External API error | Stop, notify parties | IC → Product | API response |
{| class=\"wikitable\" | | Run ID | Deviation | Reason | Approved By | Date | Mitigation | |---|---|---|---|---|---| | uuid‑example‑001 | Increased gas to 250k | Congestion | Security Lead | 2025‑09‑20 | Script updated |
All deviations must be recorded before a run is closed.
{| class=\"wikitable\" | | Artefact | Location | Retention | Access Control | |---|---|---|---| | Intent JSON‑LD | S3 (Object-Lock) | 5 yrs | Compliance, Ops | | Signed Package | S3 (Object-Lock) | 5 yrs | Same | | Receipt | Besu archive + Vault | 7 yrs | Auditors | | Emails | Mail archive | 7 yrs | Legal | | Audit logs | PostgreSQL DB | 10 yrs | RBAC (Auditor) |
All artefacts are hash-linked (Merkle root on-chain).
tpa-improvement){| class=\"wikitable\" | | Profile | Description | Min Retention | Max Retention | Delete Trigger | |---|---|---|---|---| | low-impact | Non-critical metadata | 30 days | 1 yr | Manual | | medium-impact | Analytics results | 180 days | 3 yrs | Auto | | high-impact | Weights, transfers | 5 yrs | 7 yrs | Auto unless legal hold | | regulatory-hold | Legal/subpoena | Indefinite | Indefinite | Legal override |
All items must be ✅:
{
\"@context\": \"https://schema.org/\",
\"@type\": \"Receipt\",
\"identifier\": \"0xabc123…\",
\"dateIssued\": \"2025-09-15T14:23:07Z\",
\"transactionHash\": \"0xabc123…\",
\"requester\": \"req-key-7f9c‑…\",
\"approver\": \"app-key-3a1e‑…\",
\"signatures\": {
\"requester\": \"MEUCIQ…\",
\"approver\": \"MEUCIQ…\"
},
\"merkleProof\": {
\"root\": \"0xdef456…\",
\"path\": [\"0x01\", \"0x23\", \"0x45\"]
},
\"actionId\": \"ACT‑2025‑00057\",
\"status\": \"completed\"
}
Prepared by: Helix Core Ethos – Governance Team
Reviewed & Approved: Stephen Hope, Director – 2025‑10‑08
All actions in this runbook are governed by Helix Core Ethos: no hidden training, no dark patterns, no unverifiable claims, and no irreversible actions without confirmed human consent.
Category:Runbooks
Category:TPAF
Category:AI Governance
Category:Operational AI