Back to OS

The Research Engine

SCOPELOGIC

The advanced semantic and vector processing core. ScopeLogic synthesizes multi-model queries and constructs mathematically deterministic DAG proposals, definitively eliminating AI hallucinations before they reach execution.

DRAFT-ONLY PROPOSAL BOUNDARY

ScopeLogic acts as a high-intelligence sandbox. It evaluates intent and generates logic, but operates under a strict architectural mandate: it possesses zero authority to persist, execute, or modify OS state without explicit human validation.

Interview Loops

Runs bounded clarification questions. Enforces a strict one-question-per-round rule to accurately consolidate requirements without hallucinating user intent.

Draft DAG Generation

Transforms intent into structured JSON Directed Acyclic Graphs (DAGs). Hard-blocked from generating arbitrary executable bash, sh, or python code blocks.

Independent Validation

Runs structural integrity (SI) and safety assertion (SA) checks independently of the model. Emits validation metadata and confidence scores to PortGrid.

Hallucination Defense

Cross-references proposed logic against the verifiable BaseVault schema. Instantly rejects unknown node types, unmapped tools, and cyclical dependencies.

MODULE OWNERSHIP CONTRACT

REF: DOC-03 / 09

SCOPELOGIC OWNS

  • >> Bounded interview questions and requirements consolidation
  • >> Producing structured draft DAG JSON proposals
  • >> Synthesizing context windows to prevent adapter drift
  • >> Running validation assertions (SA/SI) and emitting warnings
  • >> Determining quantitative confidence scores
  • >> Sending validated proposals to the PortGrid approval queue

DOES NOT OWN

  • >> Workflow Execution: Never directly runs or executes workflows (CoreExec owns this).
  • >> Production Persistence: Cannot write approved workflows directly to BaseVault tables.
  • >> Model Routing: RouteSwitch dictates API traffic routing and fallback cascades.
  • >> Human Approvals: PortGrid manages the UI gates for operator approval or rejection.
  • >> Arbitrary Scripts: Strictly blocked from creating shell/exec nodes.