fable-agent/docs/receipts/fable-rsi-phase-advisory-ma...

62 lines
4.7 KiB
JSON

{
"schema": "fable.research_map.receipt.v1",
"createdAt": "2026-07-04T00:00:00.000Z",
"taskLabel": "fable-rsi-phase-advisory-map",
"task": "Map the memory-only RSI phase architecture (Phases 1-4, Phases A-D, 2026-06-19 auto-patch proof) as advisory-only process documentation",
"source": {
"classification": "user-curated memory blocks about fable's RSI phase architecture",
"items": [
"memory block: 2026-06-18 live factory reconciliation (Phase 4, 25 containers, auto_patch_proven=false, 8098 legacy)",
"memory block: 2026-06-19 RSI auto-patch proof on engine VPS (rsi_canary skill, skill_health.py --auto-patch, repair.sh, verified recovery)",
"memory block: Phase 4 close-the-loop (git-proxy /deploy connected to deploy-webhook, agents POST deploy with auth token)",
"memory block: Phase 3 AI builds and deploys (git-proxy /factory-status, /health, agent discovery)",
"memory block: Factory inventory (25 containers, 6 agents, 14 infra, 5 monitoring, 63 skills)",
"memory block: TAC deploy policy correction (signed action payloads only, 8099 canonical, 8098 legacy)"
],
"contentVerified": false,
"localProofExists": false,
"note": "Phase architecture is memory-only. Committed receipts confirm some endpoints (/factory-status, /health, 19 containers) but the full RSI loop, auto-patch, and /deploy connectivity to deploy-webhook are not locally proven in fable-agent. The 2026-06-19 auto-patch proof memory references commits 55bdf3f and fd3053b in the pi-real-engineering repo — not in fable-agent."
},
"extractedPrinciples": [
"Phase 3: AI builds and deploys — git-proxy serves /factory-status and /health for agent discovery (confirmed live by factory-live-readonly-20260703.json)",
"Phase 4: close the loop — agents deploy via git-proxy autonomously, cycle runs without human intervention (memory-only, not locally proven)",
"Phase A: self-diagnosis cron — skill_health.py checks all skills every 6 hours (memory-only)",
"Phase B: degrade detection — skills below 80% pass rate identified (memory-only)",
"Phase C: auto-patch — degraded skills POSTed to deploy-webhook for repair (memory-only, contradicting auto_patch_proven=false)",
"Phase D: verify — auto-patched skills re-tested (memory-only)",
"RSI loop: read docs → design extension → deploy via POST /deploy → update docs (memory-only; POST deploy contradicts guarded deploy posture)",
"auto_patch_proven=false — full autonomous auto-patch is not locally proven in fable-agent",
"2026-06-19 rsi_canary auto-patch proof in pi-real-engineering repo (commits 55bdf3f, fd3053b) — advisory only, not in fable-agent repo"
],
"constraints": [
"RSI phase architecture is memory-only, not deploy authority for fable-agent",
"git-proxy /factory-status and /health endpoints are confirmed live (factory-live-readonly-20260703.json)",
"git-proxy /deploy connectivity to deploy-webhook is memory-only — not confirmed in fable-agent",
"agents POSTing deploy commands with auth token is blocked as dangerous (stale-memory-quarantine claim #5)",
"skill_health.py cron and full RSI loop are memory-only — not locally proven",
"2026-06-19 auto-patch proof (rsi_canary) is in pi-real-engineering repo, not fable-agent; advisory only",
"auto_patch_proven=false until a fresh local degraded-skill recovery receipt is produced in fable-agent",
"canonical deploy remains 8099/deploy via git-proxy; 8098/deploy-webhook remains legacy/internal/stale",
"memory-only factory snapshot (25 containers) exceeds live proof (19 containers); advisory until re-proven",
"no deploy, vendoring, dashboards, or new packages were performed for this mapping"
],
"fableAgentAlignment": [
"Phase 3 pattern (git-proxy endpoints for agent discovery) is confirmed live and matches fable-agent's architecture",
"Phase 4/RSI loop (autonomous deploy cycle) contradicts fable-agent's guarded deploy posture (8099 canonical, signed/gated only)",
"Phases A-D (skill_health.py auto-patch) contradicts auto_patch_proven=false policy; quarantined as dangerous",
"2026-06-19 auto-patch proof in pi-real-engineering is advisory; does not prove auto_patch_proven for fable-agent",
"TAC deploy policy correction (signed action payloads only) matches committed fable-agent truth"
],
"skipped": [
"live verification of skill_health.py existence or behavior",
"live verification of POST /deploy on git-proxy",
"live verification of RSI loop end-to-end execution",
"fetch of pi-real-engineering commits 55bdf3f or fd3053b",
"deploy actions or route checks",
"new dependency changes"
],
"decision": "advisory",
"deployAttempted": false,
"autoPatchProven": false
}