Skip to content

feat(metacognition): evidence-bound operator meta-model - #262

Draft
Deleted user (ghost) wants to merge 4 commits into
mainfrom
agent/operator-meta-model-v1
Draft

feat(metacognition): evidence-bound operator meta-model#262
Deleted user (ghost) wants to merge 4 commits into
mainfrom
agent/operator-meta-model-v1

Conversation

@ghost

@ghost ghost commented Aug 8, 2026

Copy link
Copy Markdown

Adds a fail-closed, evidence-bounded operator meta-model between latent inference, routing, persistent policy, and factual response claims.

Historical knowledge lineage

This slice explicitly inherits two precursor ideas from the 2026-04-11 Obsidian Sovereign_Brain vault introduced in commit 81b0470bec975e86b7abb7d910d34d505920a7e5:

  • Hallucination Delta: HD = |claimed_correctness - actual_correctness|
  • Sovereignty Law 3 / NO GUESSING: ambiguity must block or return to the operator rather than be filled by assumption.

The Obsidian material is treated as historical KNOWLEDGE, not runtime authority. This PR promotes only the portions re-expressed as typed code and tests.

Core invariants

  • HYPOTHESIS != AUTHORITY
  • ROUTING_BASIS != RESPONSE_CLAIM
  • CONTENT_RISK != USER_STATE
  • EXTERNAL_BEHAVIOR != INTERNAL_STATE
  • MODEL_CONFIDENCE != EVIDENCE
  • AMBIGUITY != PERMISSION_TO_GUESS

Operator-model semantics

  • Latent domains: USER_STATE, USER_INTENT, USER_PREFERENCE
  • Non-latent routing/context domains: CONTENT_RISK, TASK_CONTEXT
  • Authority: NONE | ADVISORY | ROUTING_ONLY | ASSERTABLE
  • Routes: DEFAULT | CLARIFY | SAFETY_CONSERVATIVE | BLOCKED
  • An unconfirmed latent user/operator hypothesis remains ADVISORY regardless of model confidence.
  • Supported CONTENT_RISK may be ROUTING_ONLY without becoming evidence of USER_STATE.
  • DEFAULT routing cannot rely on an unresolved latent operator hypothesis: clarify or block instead.
  • Persistent policy/mode changes require caller-supplied thresholds, repeated evidence, explicitly independent signals, assertability, and calibration evidence.

Meta-model Hallucination Delta

The historical HD primitive is generalized at T2 into posterior calibration:

MetaHD = mean(|predicted_correctness_bps - actual_correctness_bps|)

This is an engineering calibration metric, not a claim that one scalar captures all hidden-state error.

Files

  • sovereign-omega-v2/src/metacognition/operator-model.ts
  • sovereign-omega-v2/test/unit/operator-meta-model.test.ts

Epistemic state

  • historical Obsidian lineage recovered: ESTABLISHED
  • lineage translated into typed implementation: ESTABLISHED
  • code written: ESTABLISHED
  • tests authored: ESTABLISHED
  • latest head: 61d0c5a1e92b61f02ebcbfd67ff0b5b033016718
  • test execution PASS: NOT ESTABLISHED
  • GitHub Actions: Hadolint PASS; several admission/control workflows failed before exposing executed test steps, so those failures are not classified as code-test failures
  • runtime routing integration: NOT YET IMPLEMENTED
  • production effect: NOT ESTABLISHED

Base remains exact main@0bdffe75b56e5cd27c0632e1ba166620da327494. Keep draft until executable verification and runtime integration are complete.

@vercel

vercel Bot commented Aug 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hook-generator Ready Ready Preview Aug 8, 2026 3:04am
hub Ready Ready Preview Aug 8, 2026 3:04am
platform-picker Ready Ready Preview Aug 8, 2026 3:04am

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
aegisomega 61d0c5a Commit Preview URL

Branch Preview URL
Aug 08 2026, 03:03 AM

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.

0 participants