diff --git a/DANNY_STOCKER_INFRAFABRIC_DOSSIER.md b/DANNY_STOCKER_INFRAFABRIC_DOSSIER.md index 4fa74a7..5f99cb9 100644 --- a/DANNY_STOCKER_INFRAFABRIC_DOSSIER.md +++ b/DANNY_STOCKER_INFRAFABRIC_DOSSIER.md @@ -42,7 +42,7 @@ Boundary note: IF.BUS is non-epistemic (transport + privilege enforcement only); ### Key Formulas (So Metrics Stay Honest) - **Latency decomposition:** `t_total = t_model + t_transport + t_governance` - **Transport overhead:** `t_transport = t_redis + t_schema + t_sigverify` -- **Governance escalation:** `IF.BIAS → IF.GUARD(4) triage (Core 4) → IF.GUARD council (5–30)` (extended roster is sometimes referred to as `IG.GUARD`) +- **Governance escalation:** `IF.BIAS → IF.GUARD(4) triage (Core 4) → IF.GUARD council (5–30)` (extended councils include specialist voting seats selected by IF.BIAS; extended roster is sometimes referred to as `IG.GUARD`) - **TTT coverage:** `trace_coverage = traced_events / total_events` - **Microlab velocity:** `TTV = t(idea → versioned_doc + trace)`; `TTD = t(doc → deployed_change)` @@ -140,8 +140,8 @@ This aligns with the dossier’s own principle: | Pillar | Primary paper (anchor) | `if://doc` handle | TTT evidence intent | |--------|-----------------------|-------------------|---------------------| -| Transport | IF.BUS — The Universal Kinetic Transport Protocol | `if://spec/if.bus/v1.2` | Deterministic actuation + privilege enforcement | -| Assurance | IF.ARMOUR — Epistemic Counter-Intelligence Protocol | `if://spec/if.armour/v1.2` | Physics-anchored reality defense + active deception | +| Transport | [IF.BUS — The Universal Kinetic Transport Protocol](#ifbus--the-universal-kinetic-transport-protocol) | `if://spec/if.bus/v1.2` | Deterministic actuation + privilege enforcement | +| Assurance | [IF.ARMOUR — Epistemic Counter-Intelligence Protocol](#ifarmour--epistemic-counter-intelligence-protocol) | `if://spec/if.armour/v1.2` | Physics-anchored reality defense + active deception | | Master spec | [INFRAFABRIC: The Master White Paper](#infrafabric-the-master-white-paper) | `if://doc/INFRAFABRIC_MASTER_WHITEPAPER/v1.0` | Defines the protocol stack, URIs, and audit surfaces | | Inquiry | [IF.5W](#if5w-structured-inquiry-framework-for-guardian-council-deliberations) | `if://doc/IF_5W_STRUCTURED_INQUIRY_FRAMEWORK/v1.0` | Structured prompts with evidence slots | | Preflight | [IF.BIAS](#ifbias-bias-risk-pre-council-decision-matrix) | `if://doc/IF_BIAS_PRECOUNCIL_MATRIX/v1.0` | Sizes councils (5–30) and assigns expert voting seats | @@ -164,9 +164,31 @@ Note: The two “Transport” rows reflect layer separation—IF.BUS is the dete | Authority compromise | Logs, forkability | Swarm-lock | | Adversarial incoherence | None | Partial detection | + + +## IF.BUS — The Universal Kinetic Transport Protocol (spec v1.2) — dossier stub + +This dossier references **IF.BUS** as the canonical *deterministic actuation + privilege enforcement* transport substrate (`if://spec/if.bus/v1.2`). + +Current canonical “closest full text” included in this dossier: +- **IF.bus: The InfraFabric Motherboard Architecture v2.0.0** — anchor: `#ifbus-the-infrafabric-motherboard-architecture` — handle: `if://doc/IF_BUS_WHITEPAPER/v2.0.0` + +Why this stub exists: some external reviewers/LLMs will skip an entire pillar if the referenced anchor does not resolve. This section is a deliberate *anti-skip* shim until the full IF.BUS spec text is embedded verbatim in the dossier. + + + +## IF.ARMOUR — Epistemic Counter-Intelligence Protocol (spec v1.2) — dossier stub + +This dossier references **IF.ARMOUR** as the canonical *epistemic immune-system / reality-defense* layer (`if://spec/if.armour/v1.2`). + +Current canonical “closest full text” included in this dossier: +- **IF.armour: Biological False-Positive Reduction in Adaptive Security Systems** — anchor: `#ifarmour-biological-false-positive-reduction-in-adaptive-security-systems` — handle: `if://doc/IF_Armour/v1.0` + +Why this stub exists: external reviewers/LLMs sometimes skip an entire pillar if the anchor is missing. This section ensures the “Assurance” pillar is linkable from the opening map even while the IF.ARMOUR spec text remains under active consolidation. + ### Reader Path (Start Here) -- **If you only read 8 things:** [The Fuck Moment](#ifstory-origin-story-02-the-fuck-moment) → [Page Zero](#ifstory-origin-story-04-page-zero) → [Master White Paper](#infrafabric-the-master-white-paper) → [IF.TTT skeleton](#ifttt-the-skeleton-of-everything) → IF.BUS (transport spec) → IF.ARMOUR (assurance spec) → [IF.BIAS](#ifbias-bias-risk-pre-council-decision-matrix) → [IF.GUARD](#ifguard-strategic-communications-council-for-ai-message-validation) +- **If you only read 8 things:** [The Fuck Moment](#ifstory-origin-story-02-the-fuck-moment) → [Page Zero](#ifstory-origin-story-04-page-zero) → [Master White Paper](#infrafabric-the-master-white-paper) → [IF.TTT skeleton](#ifttt-the-skeleton-of-everything) → [IF.BUS](#ifbus--the-universal-kinetic-transport-protocol) → [IF.ARMOUR](#ifarmour--epistemic-counter-intelligence-protocol) → [IF.BIAS](#ifbias-bias-risk-pre-council-decision-matrix) → [IF.GUARD](#ifguard-strategic-communications-council-for-ai-message-validation) - **Latency framing:** Use `t_total = t_model + t_transport + t_governance`; only `t_transport` is benchmarked in microlab terms, and never presented as “council deliberation time.” - **Consensus framing:** “Unanimous” means “the council converged,” not “the claim is true”; treat any 100% consensus output as a governance artifact until raw evidence bundles are attached. - **Validation framing:** External validation is reported as an observational microlab pilot, not proof, and not a consciousness claim. @@ -23240,7 +23262,9 @@ flowchart LR - Free quota is enforced server-side (anti-tamper): `5/day` per Google account; paywall redirect to `/pricing`. - RAG store: `pct 220:/root/sergio_chatbot/chromadb/` (production Chroma, single-tenant) with collections including `sergio_personality` and psychotherapy corpora chunks. - Embeddings: offline Chroma ONNX MiniLM embedder (no external calls); LLM: `gpt-5.2` via Codex CLI (provider is switchable). -- IF.TTT + tracing is live end-to-end (see “Monitoring / trace proof” below). +- Response language is enforced server-side: the assistant responds in the **same language** as the user’s question (no code-switching unless explicitly requested). +- IF.TTT + tracing is live end-to-end (see “Monitoring / trace proof” below), including user-visible inline citations + trace IDs. +- IF.BIAS → IF.GUARD integration is live as a POC guardrail: high-risk triggers can short-circuit or override responses; full “specialist council” orchestration is planned but not yet implemented in this runtime. ```mermaid flowchart LR @@ -23279,8 +23303,22 @@ Chunk metadata stored per embedding: `source_id`, `source_sha256`, `source_file` - If opened without `?trace=...`, it auto-attaches to the latest trace for the logged-in user via `GET /api/trace/latest`. - Trace APIs (OAuth gated): - `GET /api/trace/latest` → most recent `trace_id` for the authenticated user + - `GET /api/trace/history` → recent signed traces (for the current user) - `GET /api/trace/` → signed event summary (verifiable hash + signature metadata) + - `GET /api/trace/payload/` → full question + full final output (artifact) with payload hash verification + - `GET /api/trace/events/` → historical pipeline events (pre-signature) for realtime + replay - `GET /api/trace/stream/` → SSE event stream (pipeline stages, timings, replacements, guard decisions) +- Citation + trace rendering policy (user-visible output): + - The model is instructed to cite clinical context with inline tags like `[Source: if://citation/.../v1]`. + - The backend converts these to inline `[1] [2] …`, appends a verified `Sources:` block, then appends `Trace: ` as the last line. + - Retrieval evidence (what was retrieved but not cited) is shown in diagnostics rather than cluttering chat output. +- Trace payload storage (artifact retention for external review): + - Path: `pct 220:/opt/if-emotion/data/trace_payloads/.json` + - The signed summary event stores `payload_sha256` + `payload_path` to bind the artifact into the chain-of-custody. +- Operator admin UI (OAuth gated): + - `https://emo-social.infrafabric.io/admin.html` shows registered users + last access + quota, and supports quota resets. +- Codex authentication trap + operational fix: + - Codex CLI auth lives in `pct 220:/root/.codex/`. If Codex starts returning `usage_limit_reached` errors, sync the known-good host creds from `mtl-01:/root/.codex/` into `pct 220:/root/.codex/`. - IF.TTT registry monitoring: - Registry API is LAN-only (intentionally): `http://10.10.10.240:8787/v1/status` - Public redacted view is served from emo-social: `GET https://emo-social.infrafabric.io/api/public-status`