TR-CODESENTINEL-2026-07 · POLYMATH GLOBAL · CODESENTINEL · TECHNICAL REPORT

CodeSentinel: A SEAM-Governed Development, Security, and Intelligence Platform

SEAM-governed runtime, ORACL memory architecture, CIDS security controls, validation systems, and evidence surfaces

Abstract

CodeSentinel is a SEAM-governed platform for automated repository maintenance, security monitoring, policy enforcement, and evidence-aware development operations. This report uses a version-agnostic, evidence-anchored frame: each capability is tied to the public package, public source, or active development line where it was observed. PyPI 1.1.1 and GitHub 1.1.3.b1 + hotfix2 expose a lean core surface. CIDS, the governance/evidence cluster, CaSTaP integration, and full ORACL/ORACode exist only in the unpublished 1.1.5 development line; CIDS also carries dated, operator-confirmed private-deployment evidence. Calamum supplies adversarial validation context, and ORACode supplies semantic retrieval and evidence-discovery capabilities.


1Introduction and Prior Art

CodeSentinel is a cross-platform maintenance, security-monitoring, and development-governance platform. It integrates command-line control, scheduled maintenance, repository diagnostics, configuration checks, commit- and gate-time credential scanning, file-integrity verification, alert routing, repository hygiene, tiered memory, policy evaluation, and evidence retention within a unified operational architecture.

The platform treats repository state as a governed data stream. Observations enter through scanners, process monitors, integrity checks, and development audits; policy and intelligence layers classify those observations; authorized execution surfaces apply maintenance or remediation; audit and memory systems retain the resulting evidence. This closed-loop structure supports reproducible diagnosis and longitudinal analysis of repository health.

The system builds on familiar prior-art categories: repository maintenance automation, configuration and credential scanning, integrity baselines, scheduled operations, audit logging, and policy-driven development workflows. CodeSentinel combines those categories under the SEAM contract, coordinating security, efficiency, awareness, and minimalism as one operating system. ORACL adds historical context and evidence continuity, while CIDS supplies the embedded security control plane.

2Distribution and Technical Lineage

CodeSentinel has three evidence surfaces rather than one primary version. Package metadata defines the externally reproducible PyPI surface, the public repository defines the most advanced public-source surface, and the active development line defines unpublished integration evidence. A capability inherits no feature or status from another surface.

2.1Package identity

The codesentinel package is published on PyPI at 1.1.1 with 12 observed top-level commands. The public joediggidyyy/CodeSentinel tree reaches 1.1.3.b1 + hotfix2 while retaining the same version string. Both are lean core releases: neither contains CIDS, the governance/evidence command cluster, the CaSTaP adapter, ORACode/ORACall, or full ORACL. PyPI release metadata and downloadable artifacts identify the package version; the README badge is stale and is not release identity.

2.2Active source architecture

The active source architecture, versioned 1.1.5 in package metadata, integrates ORACL memory and evidence flows, CIDS, policy and job-state controls, validation surfaces, and extended reporting infrastructure. This surface is not publicly downloadable. Its capabilities are included only where runtime observation, retained evidence, or operator confirmation establishes their status. [A1]

Availability
PyPI public package   GH public source  
DEV unpublished development line
Evidence status
LIVE active use   IMPL functional when invoked   PARTIAL incomplete integration   PLANNED specified, not built   UNRESOLVED conflicting or insufficient evidence
CodeSentinel platform lineage Installable package PyPI 1.1.1 · GitHub 1.1.3.b1 + hotfix2 Active source integrated architecture · validation · research
FIG. 1 Public package and source releases provide a lean, externally reproducible core. The unpublished development line carries broader integration evidence without becoming a public release.
TABLE 1 · Distribution and architecture surfaces
AvailabilityVersionEvidence roleStatus
PyPI1.1.1Downloadable 12-command core baselineIMPL
GH1.1.3.b1 + hotfix2Most advanced public-source baseline; lean package treeIMPL
DEV1.1.5Unpublished governance, full ORACL/ORACode, CaSTaP, and CIDS integration evidenceIMPL
TABLE 1 Availability and evidence status are independent: a development-line capability may be live, implemented, partial, planned, or unresolved without becoming publicly obtainable.

3Platform Composition and Controlled Execution

PyPIGHDEV/IMPL

The application contract is exposed through the command-line interface and a Python orchestration object. In the active development line, CodeSentinel composes configuration, alert routing, SessionMemory, the cadence scheduler, lazy DevAudit access, and a permanent process monitor. Construction starts the monitor when enabled; shutdown hooks persist memory and stop monitoring. The scheduler is composed but does not become active merely because the object exists. A 2026-07-17 runtime status probe reported loaded configuration, operational OK, and an inactive scheduler. [A2]

3.1Composition and lifecycle

Repository diagnostics, integrity state, process observations, and retained operational context enter the loop as evidence. Policy and authority gates decide whether an action may proceed; observations and ORACL advice do not authorize mutation. Approved actions execute through bounded CLI or Python surfaces, and their outputs return to logs, manifests, SessionMemory, or reports. If the process monitor cannot start, the core retains a degraded None monitor state and emits a warning rather than claiming supervision. Sections 5 through 7 separate autonomous runtime, governance authority, and ORACL advice; Section 8 begins the independent CIDS enforcement boundary.

Observe repository state diagnostics · configuration integrity · processes Evaluate and govern policy and authority gates ORACL advisory context target and path classification validation and mode checks authorized action selection Execute CLI · Python API safe edit · archive first bounded remediation Retain logs · manifests reports · receipts SessionMemory retained evidence informs subsequent observation and evaluation
FIG. 2 Observation, authority, execution, and retention remain separate stages. Evidence and advice can inform a later decision, but only a policy-authorized control surface may mutate state.

3.2Control surfaces and recoverable mutation

The public releases provide a smaller core CLI, while the development line exposes 50 top-level commands grouped by operational role. [A18][A19] Command registration is not capability evidence; each report claim follows observed behavior. The Python object returns structured status, scan, maintenance, and DevAudit results. Development-line safe-edit and filesystem controls classify targets, stage changes, prefer archival to deletion, and preserve finalize or rollback evidence. Their selected runtime tests passed 29/29 on 2026-07-17. [A9]

TABLE 2 · Runtime and evidence surfaces
SurfaceAvailabilityAuthority and runtime roleEvidence productStatus
Command-line interfacePyPI GH DEVOperator-triggered control surface; public and development inventories differExit status, structured output, logs, and command-specific artifactsIMPL
Python orchestration objectPyPI GH DEVComposes configuration, alerts, memory, scheduler, DevAudit, and process supervisionStructured dictionaries plus subsystem logs and retained stateIMPL
Safe edit and governed filesystemDEVPolicy-gated mutation with target classification and archive-first handlingStaged content, verification result, archive manifest, finalize or rollback recordIMPL
Process-monitor compositionDEVConstructor-started child tracking and cleanup when enabledMonitor status and bounded cleanup historyIMPL
SessionMemory handoffDEVPersists context at shutdown; it advises but does not authorize mutationSession state and continuity recordsIMPL
TABLE 2 Runtime surfaces share a common expectation: observable execution, governed authority, and retained evidence.

4Security, Active Integrity, and Credential Custody

PyPIGHDEV/LIVE

CodeSentinel holds several distinct kinds of protected state, each with its own authority, verification method, and recovery path. Scanning surfaces inspect the repository and its configuration and route findings into evidence; four protected-state domains hold integrity over repository files, the operations task SSOT, the credential VAULT, and the managed execution environment.

4.1Scanning surfaces

PyPIGHDEV/LIVE

Three scanning surfaces operate at distinct points in the workflow. Built-in scan PARTIAL routes repository diagnostics through the CLI — bloat analysis, configuration checks, and structured findings — delivering diagnostic and configuration auditing. Dependency-vulnerability and code-security analysis are explicit placeholders. DevAudit IMPL runs a development audit on invocation; a direct 1.1.5 run completes cleanly and returns structured audit findings.

Four protected-state domains carry integrity, each with its own baseline, transition rules, and recovery path.

4.2Repository integrity

DEV/LIVE

A bounded SHA-256 baseline records the repository's trusted state. Exclusion patterns keep transient trees — caches, environments, logs, and archives — outside the baseline, a whitelist admits approved additions, and a critical-file policy marks paths that must hold constant. Baseline generation carries a file-count safety cap that keeps a scan bounded.

Verification walks the workspace against the baseline and classifies every deviation — modified, missing, unauthorized-new, and critical-file violation — at graded severity, then returns structured statistics (files checked, passed, modified, missing, unauthorized, and critical) alongside a security-event record for each violation. The monitor advances through explicit generate, verify, report, reset, and rebaseline states, and a live baseline holds in the observed workspace as of 2026-07-17. It governs repository files and operates independently of the CIDS integrity mechanisms. [A3][A5]

generate bounded SHA-256 baseline verify walk against baseline report structured statistics rebaseline explicit re-establishment reset returns to a newly generated baseline passed matches baseline modified content changed missing tracked path absent unauthorized-new outside whitelist critical protected path moved graded severity evidence produced on every run files checked · passed · modified · missing · unauthorized · critical · security-event record per violation
FIG. 3 Repository verification resolves into one of five graded outcome classes, each carrying its own severity and its own security-event record. Rebaseline is a distinct state rather than a side effect, so a re-established baseline is always a deliberate act.

The graded outcomes carry the section's operative distinction. A modified file and an unauthorized addition both break the baseline, and they mean different things: one records drift in known content, the other records content that entered the workspace outside the whitelist. Critical-path violations sit at the top of that ramp because the policy marks those paths as constants. The severity classification is what converts a hash comparison into an actionable security record.

4.3Operations-task SSOT integrity

DEV/LIVE

Canonicalized SHA-256 hashing seals operations/tasks.json against an integrity sidecar held beside it. Verification returns one of three states: a match confirms the SSOT, an absent task file or sidecar reports a not-yet-initialized baseline, and a hash mismatch is a hard failure that signals an out-of-band edit. Every authorized mutation passes a guarded atomic write that refreshes the sidecar under a recorded author, and a forced rebaseline touches only the sidecar — never the task data — so the authoritative record stays intact while its baseline is re-established. Archive and restore manifests preserve task-artifact lineage across collision and rollback. The task SSOT is its own protected-state domain and stands in active operational use.

4.4VAULT custody and CaSTaP boundary

DEV/LIVE

VAULT custody is layered. A checksum guardian computes a SHA-256 hash over the credential store and reports one of three integrity states — verified, uninitialized, or violated — so tampering surfaces on the next check. Every authorized edit is a deliberate act: it records a reason, an authorizer, and a UTC timestamp into a tamper-evident audit trail, then re-establishes the baseline under explicit lock and rebaseline. A bootstrap boundary confines exposure — credentials load once into the session environment, and operational code reads them only from environment variables, never from the store directly. Names-only environment-profile validation then confirms that a profile's required variables are present, by canonical name or approved alias, without surfacing a single value. This is integrity custody: it guarantees tamper detection and authorized-edit control, and it holds stored content under integrity protection rather than encryption at rest. [A6][A7]

Two transport-facing surfaces sit beyond the store, each carrying its own status. CaSTaP IMPL, the credential transport, is tested and fail-closed and awaits active wiring in 1.1.5; Section 11 specifies it. A development credential-operations CLI IMPL seals VAULT-held credentials into context-bound CaSTaP packets and recovers them only under matching context, failing closed on a context mismatch; a bounded end-to-end run confirms the full seal, inspect, and recover cycle. A no-key convenience path and payload re-serialization remain development concerns held for hardening.

4.5Managed environment and script trust

DEV/PARTIAL

Canonical-environment enforcement binds execution to a registered environment identity through a registry and a manifest, so a mutable script runs only from a known, recorded environment. Script authorization, revocation, and hash verification gate which scripts may execute, a policy audit records the trust decisions, and archive-first pruning preserves recoverability in place of deletion. The authorization, verification, and revocation paths operate today. One environment-detection boundary — repository-marker classification of the canonical environment — carries PARTIAL and is tracked in Section 18. [A8][A10]

The four domains share a method and diverge in everything else. Each holds its own baseline, resolves failure on its own terms, and recovers through its own path.

TABLE 3 · Protected-state domains
DomainBaselineVerification outcomeFailure semanticsRecovery pathStatus
Repository integrityBounded SHA-256 baseline under exclusion, whitelist, and critical-path policyFive graded classes with structured statisticsGraded severity per violation classReset to a new baseline, or explicit rebaselineLIVE
Operations-task SSOTCanonicalized hash held in an integrity sidecarMatch, not-yet-initialized, or hash mismatchMismatch is a hard failure signalling an out-of-band editSidecar-only rebaseline preserving task dataLIVE
VAULT custodyChecksum over the credential storeVerified, uninitialized, or violatedTamper surfaces on the next checkAuthorized edit under recorded reason, authorizer, and UTC timestamp, then lock and rebaselineLIVE
Managed environment and script trustRegistry and manifest binding execution to a registered environment identityAuthorization, revocation, and hash verification outcomesUnregistered scripts stop at the gate; one detection boundary carries PARTIALArchive-first pruning preserving recoverabilityPARTIAL
TABLE 3 Four domains, four authorities. Each carries a distinct baseline and failure semantic, and every recovery path re-establishes trust without discarding the protected content.

Together these surfaces hold CodeSentinel's protected state under verifiable, recoverable custody.

5Autonomous Operations and Runtime Supervision

PyPIGHDEV/PARTIAL

CodeSentinel's maintenance and supervision layer runs as a governed runtime surface. The public package exposes the core maintenance and alert entry points; the development line carries the full scheduler, monitor, watchdog, posture, inactivity, and retention surfaces. The scheduler dispatches preconfigured task categories under policy and mode gates, the monitor and watchdog keep execution bounded, and alerts record evidence without taking authority.

5.1Coordinated maintenance cadence

DEV/IMPL

The primary cadence scheduler and the archive-maintenance scheduler move as separate but coordinated lifecycles. The primary scheduler dispatches daily, weekly, biweekly, and monthly work categories; it fails closed when scheduling support or runnable jobs are absent, honors companion start and stop coordination, retains last-run summaries, and reports inactive status instead of inventing liveness. The archive scheduler keeps its own task-state records and error backoff, and the uptime field remains a placeholder, so the report states activation and retained outcomes rather than a fabricated uptime value.

5.2Persistent and per-command supervision

DEV/IMPL

The permanent process monitor tracks CodeSentinel child processes, detects parent loss, performs bounded terminate-or-force-kill cleanup, checks for zombies where supported, and keeps a bounded cleanup history. The command watchdog wraps a single command, enforces a timeout, attempts process-tree termination, captures output, and returns an explicit timeout/result state. These surfaces stay separate from the CIDS lane watchdogs and from gate-worker cleanup.

Four supervision lifecycles run across the platform, and each answers a different question about a different span of time.

TABLE 4 · Supervision lifecycles
LifecycleScopeDurationTriggerFailure semanticsEvidence
Permanent process monitorCodeSentinel child processesSpans the sessionParent loss or zombie detectionBounded terminate, then force killBounded cleanup history
Per-command watchdogOne wrapped commandSpans one invocationTimeout expiryProcess-tree termination with explicit timeout stateCaptured output and result state
Gate workersOne lifecycle gateSpans one gate evaluationGate completionTeardown after gate behavior concludes; two Windows paths carry PARTIALGate outcome record
CIDS lane watchdogsInternal and external Sentry lanes on the Edge nodeContinuous under systemdHealth probe failureBounded restart attempts, then escalationJSONL telemetry, dated 2025-12-11
TABLE 4 The four lifecycles separate cleanly by span: a session, an invocation, a single gate, and a continuously supervised service. Section 9 owns the CIDS lane watchdogs, and Section 6 owns gate workers; the row here fixes their boundary against platform supervision.

5.3Automation safety and evidence envelope

DEV/PARTIAL

Mode posture gates unattended hooks: manual posture blocks them, while agent and auto posture permit them without creating task authority. Inactivity freeze and thaw pause state under snapshot-bound trip and refractory controls, and thaw resumes only when the snapshot and mode match. Automation retention records invoked work as a manifest plus append-only index, while alerts stay in the evidence lane: console and file delivery work, the file timestamp defect is repaired, Slack URL validation rejects unsafe destinations, and external email and Slack delivery remain unobserved.

active automation permitted frozen state held under snapshot refractory re-trip suppressed trip inactivity threshold thaw snapshot and mode agree refractory expiry returns the surface to active mismatch holds frozen state persists inactivity protection is snapshot-bound at both edges
FIG. 4 The thaw edge carries a guard: resume proceeds when the recorded snapshot and the current mode both agree, and a mismatch holds the frozen state. Freeze is therefore a protective latch rather than a timer.

The guard on the thaw edge is what makes the freeze protective. Resuming requires the environment to match the conditions captured when the freeze tripped, so a surface that changed underneath a paused operation stays paused until an operator resolves the difference. The refractory window then prevents an immediate re-trip from converting a single inactivity event into a cycle.

The current 2026-07-17 regression batch passes 20/20 across scheduler guardrails and status, process monitoring, command watchdog behavior, inactivity persistence fallback, and repaired file-alert timestamps. That batch reinforces the section contract without widening it: the scheduler dispatches work, the monitor and watchdog supervise execution, and alerting records evidence. [A11][A12]


6Governance, Job State, and Evidence Production

DEV/LIVE

Work inside CodeSentinel passes through an explicit authority structure. Policy and lifecycle gates constrain what may proceed, a canonical task record holds the sole authority to change job state, a continuity layer preserves session and campaign context across time, and a family of derived views renders that state as evidence. Each layer holds a distinct authority, and the boundaries between them are load-bearing: exactly one of them writes lifecycle state.

authorized work operator or agent request policy and lifecycle gates remediation first, then enforcement permit degraded override under explicit authority block guarded atomic write canonical operations task record create · classify · start · block · hold · resume · close · archive · restore sole lifecycle mutation authority continuity layer session memory · campaign stack advisory next-step state derived views dashboards · reports · metrics regenerated projections advises regenerates from authority · state change advice · evidence, no authority
FIG. 5 One write-edge reaches the canonical record, and it passes through the gate layer. Continuity advises and derived views regenerate, so both read the record without ever writing to it.

The figure's decisive feature is the count of solid edges entering the canonical record: one. Gates decide whether work proceeds and the record decides what the state becomes, which keeps a blocked gate from silently leaving a job half-transitioned. Everything below the record reads from it, so a dashboard or a stored campaign frame can go stale and be corrected by regeneration rather than by reconciliation between competing sources of truth.

6.1Policy enforcement and lifecycle gates

DEV/IMPL

A policy layer resolves the rules that apply to a request and routes evaluation to the responsible guard. Guards evaluate remediation first: where a condition is correctable, the layer offers the correction before it reaches a hard outcome, and enforcement applies where correction is unavailable or declined. A gate sequence then binds the working day — preflight, beginning-of-day, pre-job, post-job, repair, and end-of-day — with each gate positioned at a point where authorized work begins or concludes. [A13]

Gates permit work, block it, or record a degraded override under explicit authority, and every outcome is retained as evidence. Authority to change a job's lifecycle state stays with the canonical task record described in 6.2; a gate constrains whether work proceeds and leaves the state transition to that record. Retained policy events carry provider-qualified assurance, and the distinction is material: a raw SHA-256 value is an integrity digest, local HMAC and simulated key-management signing are separate modes with their own trust properties, and externally backed key-management assurance holds only where a configured provider supplies it. [1][2] Gate-worker cleanup carries PARTIAL on two Windows teardown paths that run after the gate's own behavior completes; Section 18 tracks them. These gate workers stay distinct from the permanent process monitor and per-command watchdog of Section 5 and from the CIDS lane watchdogs of Section 9. [A14][A15]

6.2Canonical job and task state

DEV/LIVE

The operations task record is the single mutation authority for job lifecycle state. Create, classify, start, block, hold, resume, close, archive, and restore transitions all resolve to it, and each passes through a guarded atomic write that leaves the record consistent under interruption. Integrity verification seals the result against the sidecar baseline described in Section 4, so an out-of-band edit surfaces on the next check rather than propagating silently.

Around that authority sit supporting mechanics: deterministic lead selection resolves ownership without ambiguity, artifact lineage ties produced evidence back to the work that generated it, dry-run prediction reports the transition a request would perform before it performs one, and campaign linking connects a job to the continuity structures of 6.3. The canonical surface wraps older internals where lineage requires it, and authority remains undivided — the superseded job surface is a compatibility path rather than a second source of state. Focused lifecycle, integrity, discovery, archive, restore, and linkage coverage passes 106 of 106 checks, and the pipeline stands in active operational use. [A4]

TABLE 5 · Lifecycle transitions
TransitionTrigger classAuthorityEvidence producedReversible
createWork intakeOperator or authorized agentTask record with canonical identifierYes, through archive
classifyTriageOperator or authorized agentClassification field and audit entryYes, by reclassification
startGate-cleared executionTask record under gate clearanceStart record and lead assignmentYes, through hold
blockDependency or gate outcomeTask record under gate outcomeBlock record with reasonYes, through resume
holdOperator decisionOperatorHold record with reasonYes, through resume
resumeCondition clearedOperator or authorized agentResume record and prior-state linkYes, through hold or block
closeCompletionOperator or authorized agentClosure record and artifact lineageYes, through restore
archiveRetention policyTask recordArchive manifest preserving lineageYes, through restore
restoreRecovery or reopeningOperatorRestore manifest with collision handlingYes, through archive
TABLE 5 Every transition resolves to the same record, produces its own evidence, and has a defined return path. Recoverability is a property of the lifecycle itself rather than of a backup taken alongside it.

Reversibility across the whole matrix is what makes the single-authority design safe to operate. Because archive and restore are themselves transitions with manifests, a closed or archived job remains recoverable through the same authority that closed it, and the lineage tying artifacts to the work that produced them survives the round trip.

6.3Session continuity and advisory state

DEV/LIVE

Session memory and the campaign stack carry context across the boundaries where it would otherwise be lost. Every recorded event holds a canonical identifier and a link to the event preceding it, forming a journal whose head is verified on read, so the chain is tamper-evident and a break is detectable at the point of use. Primary and side frames separate a session's main line of work from its excursions, operations-awareness snapshots capture surrounding state at the moment of record, and temporal continuity plus manifest links let a later reader recover what was known and when.

The layer also holds advisory next-step state: it proposes what follows from the recorded context. That advice informs an operator or an agent and carries no authority to start, close, or otherwise transition a job, which remains with 6.2. Forty-one active journal, tamper-detection, execution, hydration, persistence, and diagnostic checks pass, and the operator confirms the pipeline in active use. Seven absent historical fixtures are fixture debt tracked in Section 18 and stand apart from current capability evidence. Section 7 carries the ORACL tier architecture, confidence flow, and promotion mechanics in depth; Section 5 owns inactivity freeze and thaw.

6.4Derived evidence and behavioral feedback

DEV/IMPL

Dashboards, reports, snapshots, metrics, and completion telemetry are regenerated views over canonical state. Each is reproducible from the record it reads, which keeps the authoritative task data as the one place state lives and lets a stale view be corrected by regeneration. Display enrichment advances monotonically for readability within a rendered view and resolves back to the canonical record rather than writing to it.

Scoring itself is explicit rather than impressionistic. The platform maintains three continuous session scores in the unit interval — knowledge, compliance, and stability — each a weighted blend of observed telemetry. Stability combines guard state g, action success a, security-event continuity σ, and policy cleanliness π:

S = 0.45g + 0.25a + 0.15σ + 0.15ππ = 1 / ( 1 + ( v / 3 )2 )
(1)

The policy term π is the design detail worth noting: violations v enter through a smooth inverse-square penalty rather than a threshold, so the score degrades continuously as violations accumulate instead of dropping through discrete steps. Compliance blends precedent sp, semantic continuity ss, operator clarity so, and automation health sm, the last of these pairing a maintenance indicator m with stability itself:

C = 0.30sp + 0.20ss + 0.30so + 0.20smso = max( 0, 1 v2 / 10 ),  sm = ½m + ½S
(2)

Both blends carry weights summing to one, so each score stays in the unit interval and a reader can attribute movement to a named component. Knowledge takes a different shape — a weighted mean over four readings, with cache health r1, policy state r2, inter-cycle stability r3, and session activity r4 entering at relative weights 1, 2, 2, and 1:

K = ( r1 + 2r2 + 2r3 + r4 ) / 6r3 = max( 0, 1 ΔC ) ry
(3)

The divergence penalty ry is deliberately asymmetric. Measuring divergence as the previous knowledge score against current compliance, an over-confident system is corrected at full strength while an under-confident one is penalized at half, so knowledge can recover toward compliance instead of being held down:

ry = ½|Kprev C| if Kprev < C,  |Kprev C| otherwise
(4)

That asymmetry is a feedback guard. Without it, a low knowledge score would depress stability, which feeds compliance, which would in turn hold knowledge down — a self-sustaining trough. Halving the penalty in the under-confident direction breaks the loop while leaving over-confidence to be arrested immediately, so drift is corrected faster than it accumulates. The activity term r4 holds at one for the first four hours of a session and descends to zero by six, which keeps a long-idle session from reporting the confidence of an active one. Scores are advisory throughout: they describe a session's observed condition and inform prioritization, and authorization to act continues to come from the policy and gate layer of 6.1 and the task authority of 6.2.

Behavioral processing runs as an ordered sequence — ingest, score, dashboard, publish — where each stage advances on the success of the one before it. Publication here names the final stage of that pipeline, and the scores and feedback it produces are advisory: they inform prioritization and review, and authorization to act continues to come from the policy and gate layer of 6.1 and the task authority of 6.2. Documentation and evidence indexing, which resolves manifests through a registry and persists bidirectional links, is catalogued in Appendix B and Appendix E. [A22][A23]


7ORACL: Memory, Orchestration, and Advisory Intelligence

PyPIGHDEV/LIVE

ORACL is CodeSentinel's resident memory and evidence layer. It organizes short-term session state, mid-term context summaries, and long-horizon patterns under a controlled promotion flow, indexes that memory so its evidence remains navigable, and returns advice grounded in what it has recorded. Session memory runs on every CodeSentinel surface; the deeper indexing, lineage, and advisory apparatus belongs to the development line. [A24]

7.1Tier model and promotion semantics

PyPIGHDEV/LIVE

The tier model partitions memory by temporal horizon and retrieval cost. The Session Tier holds active context for immediate operations — the working task stack, cached file context, recorded decisions, and point-in-time operational and policy snapshots — under a bounded time-to-live that keeps the latency-sensitive tier small. The Context Tier retains compact summaries for cross-session continuity, written as dated records under a fixed retention lifetime and aged out on a defined schedule. The Intelligence Tier preserves long-horizon patterns and recurring structure.

Promotion is unidirectional and non-blocking: a record moves outward from session to context to long-horizon retention as its immediate relevance decays, and it never travels back inward to reappear as active state. That direction is what keeps the tiers honest — recall reaches back through the index rather than by reviving expired context, so a summary can inform a decision without impersonating current state. The confidence attached to a record travels with it, so a promoted summary carries the strength of the evidence behind it rather than acquiring authority through age.

Residency follows directly from record age. Writing a(r) for the age of record r, and Ts and Tc for the session and context retention bounds:

tier(r) = session if a(r) Ts,  context if Ts < a(r) Tc,  long-horizon otherwise
(5)

Promotion to the long-horizon tier applies a confidence ladder rather than age alone. A candidate pattern is scored on the consistency of its observed outcomes and the size of its sample. For an action observed n times with success rate s:

Cp = 0.6 · 2|s ½| + 0.4 · min( n / 20, 1 )
(6)
promote Cp 0.75,  n 5,  s ( 0.3, 0.7 )
(7)

The consistency term in (6) rewards distance from an even split in either direction, so a reliably unsuccessful approach scores as highly as a reliably successful one — both are decisive evidence, and both are worth retaining. Equation (7) makes that explicit by discarding the ambiguous middle band entirely and requiring a minimum sample before any pattern is eligible. Long-horizon enrichment along this path is PARTIAL: the scoring and gate are implemented, while the pipeline that carries promoted patterns into the archive retains development scaffolding.

where memory lives how it is found what backs it Session Tier active task state · cached context decisions · operational snapshots Context Tier compact summaries · cross-session dated records · fixed retention Intelligence Tier long-horizon patterns recurring structure promotes promotes Central index query routing evidence retrieval lineage lookup spans all three tiers at uniform cost Evidence store signed logs snapshots dated summaries retrieval returns the path back to source resolves to indexed by promotion · one-way One index spans every horizon, so retrieval cost tracks the question rather than the age of the answer.
FIG. 6 Memory is partitioned by horizon; retrieval is not. Records move outward one tier at a time, while a single index reaches all three through one path and the evidence store anchors each result to the material behind it. The thresholds that drive promotion are the subject of the temporal view that follows.

The figure's organizing relation is the separation between where memory lives and how it is found. Each tier holds records at its own horizon, and a single index spans all three, so retrieval cost stays proportional to the question rather than to the age of the answer.

7.2Index, confidence, and evidence lineage

DEV/LIVE

ORACL couples tiered memory with centralized indexing to recover intent, recent decisions, historical patterns, and their supporting evidence. A link index maintains routable references across records and exports its state for inspection, while a manifest registry resolves documents by source, dataset, and subject so a stored conclusion can be traced to the material that produced it. Together they make lineage a lookup rather than a reconstruction.

Confidence travels with evidence through that index. A record carries the provenance of its supporting material, and a retrieval returns both the answer and the path back to its source, so a reader can judge the strength of a claim by following its lineage rather than by trusting its position in the store.

Recommendations drawn from historical cases carry their own score, computed over a set S of similar prior cases with success rate s, where Δd is the age in days of the most recent case:

Cr = 0.3 · min( |S| / 20, 1 ) + 0.4 · 2|s ½| + 0.3 · max( 1 Δd / 90, 0 )
(8)

Equation (8) governs advice rather than promotion, and it weights three properties a reader would otherwise have to infer: how much evidence exists, how decisive that evidence is, and how recent it is. Recency decays linearly to zero across a ninety-day window, so a recommendation resting on stale precedent reports lower confidence without being withheld. The consistency term is shared with (6), which keeps a single notion of decisiveness across both the promotion ladder and the advisory path.

TABLE 6 · ORACL tiers and evidence roles
LayerPrimary roleAnalytical role
Session TierActive task context and immediate cacheSupports reconstruction of in-flight decisions
Context TierRecent summaries and cross-session continuityPreserves local history through compact indexed records
Intelligence TierLong-horizon patterns and historical structureAnchors recurring decisions and repository-wide memory
Central indexLookup and routing across the tiersMakes the evidence path explicit and navigable
TABLE 6 The tier roles reflect the local ORACL architecture: one-way promotion, indexed recall, and evidence retention under a controlled memory contract.

7.3Journal integrity, expiry, and manifest links

DEV/LIVE

The memory layer keeps an append-only event journal as its continuity record, and integrity rests on digests taken over the live structures it tracks — the task set, the working stack, the recorded decisions, and the cached file context. Because each exported state carries those digests alongside a session identifier and timestamp, a later reader can establish whether the memory they are reading is the memory that was written. The journal in the observed workspace holds tens of thousands of records as of 2026-07-18, and continuity spans months of dated context files.

Retention is explicit at both horizons. Session state expires under a bounded time-to-live, and context records age out under a fixed lifetime, so the store stays proportionate to its useful window and expiry is a scheduled property rather than a cleanup afterthought. Manifest links bind stored records to the documents and datasets that produced them, and archived context is retained separately from the active tier, which keeps historical material available for lineage while holding it out of current state. Section 5 owns inactivity freeze and thaw, and Section 6 owns the canonical job-state custody that this layer records against. [A20][A21]

record age Ts Tc session residency task stack · decisions cached context · snapshots context residency dated summary records fixed retention lifetime archived context retained for lineage held out of active state promote age out confidence ladder consistency · sample size · gate at 0.75 long-horizon retention enrichment path is PARTIAL Recall reaches backward through the index at every stage; records advance outward and never return inward as active state. indexed recall
FIG. 7 Records advance outward as their age crosses each retention bound, and only patterns clearing the confidence gate of equations (6) and (7) reach long-horizon retention. Recall runs in the opposite direction through the index, so history stays reachable without re-entering active state.

The temporal view exposes what the structural model cannot: promotion is driven by age at the tier boundaries and by evidence strength at the long-horizon gate, so the two thresholds do different work. Age governs where a record lives, and confidence governs whether it becomes a durable pattern at all.

7.4Advisory surfaces and role separation

DEV/LIVE

ORACL exposes its memory through three surfaces that differ by role rather than by feature. A recall surface answers questions about what the workspace knows, returning records and their lineage. An advisory surface composes recorded state into a proposed next step, delivered as a structured payload that names the frame, the task, the proposed action, and the source that justifies it — so the advice arrives with its own provenance attached. An agent-facing surface presents the same memory to automated callers under the platform's execution contract.

All three return evidence and proposals to the caller that asked for them. Authority to change lifecycle state stays with the canonical task record of Section 6, policy enforcement stays with the gate layer, and network response authority stays inside CIDS. That separation is what makes the advisory layer safe to consult freely: a proposal carries the weight of its evidence, and acting on it remains a separate, authorized decision.

TABLE 7 · Advisory surfaces by role
SurfaceQuestion it answersReturnsConfidence basisAuthority
RecallWhat does the workspace already know?Records with lineage back to source materialProvenance of the retrieved recordNone — evidence only
AdvisoryWhat follows from the current state?Structured next-step payload naming frame, task, proposed action, and sourceEquation (8) over comparable prior casesNone — proposal returned to the caller
Agent-facingWhat context applies to this automated call?The same memory under the platform execution contractInherited from the underlying recordNone — bounded by the caller's own authority
TABLE 7 The three surfaces differ by question and return type while sharing one property: each hands back evidence or a proposal, and the decision to act resolves elsewhere — at the canonical task record, the gate layer, or inside CIDS.

8CIDS: Authority, Trust Boundaries, and Router Topology

DEV/LIVE

CIDS — the Calamum Intrusion Detection System — is CodeSentinel's router-resident network security subsystem, and it holds an independent authority boundary: every consequential network-security decision for the protected network resolves inside CIDS. The subsystem owns device admission through its whitelist, active neutralization of unauthorized stations, the VPN killswitch, honeypot trap services, normalization of Sentry telemetry, and the CaSTaP transport that seals traffic between its nodes. This section establishes who decides, where enforcement executes, and which boundaries protect both; Sections 9 through 12 then treat each component plane at implementation depth. [A28][A29]

8.1Authority model and decision ownership

DEV/LIVE

The authority model answers one question precisely: which component may decide, which may execute, and which may only observe or advise. Three tiers govern the design. The operator holds final authority for privileged response — lockdown, killswitch engagement, and whitelist policy change. CIDS holds autonomous enforcement authority within operator-set policy: its enforcement agent admits or neutralizes wireless stations against the whitelist at machine speed, without a human in the loop. Every other component — the Sentry lanes, the watchdogs, the EdgeGraph agent, SentryCortex, Sentry-Prime, and the dashboard — observes, transforms, supervises, or renders; none of them originates an enforcement decision. The authority map draws this contract in two edge classes: solid edges carry enforcement or control authority, and dotted edges carry telemetry, evidence, and advice, along which no authority travels.

Operator privileged-response gate · policy authority CIDS authority core device admission (whitelist) · active neutralization L2 deauthentication · L3 filtering · VPN killswitch honeypot traps · telemetry normalization · CaSTaP transport telemetry & supervision plane Sentry internal · Sentry external · watchdogs EdgeGraph agent · SentryCortex · Sentry-Prime dashboard operator surface status · whitelist admin · monologue ORACL cognitive analysis advisory output only authorizes policy & privileged response telemetry · response candidates state · events evidence out · advice in · no authority crosses enforcement / control authority telemetry · evidence · advice (no authority)
FIG. 8 Enforcement authority concentrates in the CIDS core under an operator gate; telemetry, evidence, and advisory paths carry no authority. The contract holds by design across every component; per-component liveness and evidence status resolve in the authority matrix.

The map's decisive relation is the vertical pairing at its center: policy flows down from the operator through the whitelist, and enforcement executes autonomously inside CIDS at machine speed. ORACL sits outside the enforcement boundary by design — it receives graduated events as evidence and returns advisory output, and the boundary between the two is a one-way authority wall documented in the consolidation and seam analyses. The authority matrix states that same contract component by component, with the evidence standing behind each claim. [A25]

TABLE 8 · CIDS authority matrix — decision ownership, execution surface, and evidence status
ComponentPrimary functionDecision authorityExecution surfaceEvidence status
OperatorFinal authority for privileged response and policy changeAuthorizes lockdown, killswitch, whitelist policyConsole and CLIAuthority by design (governance contract)
CIDS enforcement agentWireless admission enforcement against the whitelistDecides and executes autonomous neutralizationL2 deauthentication, L3 filteringLIVE · operator-confirmed 2026-07
Sentry · internal laneHost awareness, monologue, Cortex feedNone — observes and reportsTelemetry onlyLIVE · operator-confirmed 2026-07
Sentry · external laneExternal transport termination and validationNone — validates and forwardsTelemetry onlyLIVE · operator-confirmed 2026-07
WatchdogsPer-lane service supervision and recoveryRestart authority over supervised unitsService restartLIVE · operator-confirmed 2026-07; 5/5 integration tests 2025-12
EdgeGraph agentFile, port, and neighbor integrity graph; drift detectionNone — observes and reportsTelemetry onlyLIVE · operator-confirmed 2026-07
SentryCortexSemantic telemetry state and differential analysisNone — analyzes and storesLocal storeIMPL · runtime graph loads 2026-02
Sentry-PrimeNormalization, deduplication, correlation, forwardingNone — transforms and forwardsRelay pipelineIMPL · tested, not active/wired in current 1.1.5
DashboardOperator surface: status, whitelist administration, monologueExecutes operator-authorized administration onlyAuthenticated consoleIMPL · operationally tested, not active/wired in current 1.1.5
GuardsHoneypot traps, VPN killswitch, nexus integrity, recoveryExecute under CIDS and operator authorityService actionsLIVE · operator-confirmed 2026-07; last killswitch mode record dated
ORACLCognitive analysis over graduated CIDS eventsNone — advisory output onlyAdvisory interfaceBoundary documented · 2026-06
TABLE 8 Decision authority resolves to exactly two holders — the operator and the CIDS enforcement core — and every telemetry, analysis, and rendering component operates without enforcement authority. Current activity plus operator confirmation establishes LIVE; dated functional proof establishes IMPL when a surface is no longer active.

8.2Router-resident topology

DEV/LIVE

CIDS executes on one enforcement host: the Edge node, which is the network's router (operator-confirmed, July 2026). The active host stack includes the enforcement agent that evaluates wireless station state against the whitelist, both Sentry daemons in separated internal and external lanes, a watchdog instance supervising each lane, the EdgeGraph integrity agent, and the guard set. The same host is the tested deployment target for the CIDS dashboard, and dated proof-of-life records show BRAIN and administrative satellite classes delivering CaSTaP-sealed telemetry to that surface. Both the dashboard and that transport path carry IMPL: operator-confirmed functional under test, inactive and unwired in working 1.1.5. The topology map therefore carries two layers at once — the active enforcement stack, and the separately labeled tested transport and dashboard path — so current operation and proven capability stay legible as distinct claims.

wireless stations · external context Edge enforcement node · router operator-confirmed live · July 2026 CIDS enforcement agent station watch · whitelist evaluation L2 deauth · L3 filter Sentry · internal lane awareness · monologue · Cortex feed watchdog-supervised EdgeGraph agent file · port · neighbor graph drift detection Sentry · external lane external transport termination validation · watchdog-supervised integrity guards honeypot · VPN killswitch nexus guard · recovery CIDS dashboard service operator console · tested functional inactive · unwired in current 1.1.5 BRAIN compute node satellite Sentry · watchdog tested CaSTaP telemetry path administrative endpoints satellite Sentry · watchdog tested CaSTaP telemetry path 802.11 association CaSTaP CaSTaP fail-closed ingress: non-CaSTaP traffic rejected operator-confirmed live · July 2026 tested proof of life · inactive abstracted node class solid edges — topology relationships, not uniform liveness · identifiers abstracted to node classes
FIG. 9 The Edge node is the router and runs the active enforcement stack. The dashboard and CaSTaP links show an operator-confirmed functional test topology, not current liveness: both are IMPL, tested but inactive and unwired in working 1.1.5. Node classes replace all network identifiers.

Concentrating enforcement on the router places authority at the network choke point: admission decisions execute where the medium is controlled, deauthentication acts at the access point, and filtering acts on the forwarding path. Lane separation isolates external transport faults from internal awareness, and a watchdog per lane keeps recovery local to the failure. Section 9 details the enforcement agent, the lane contracts, and the recovery plane; Section 10 follows the telemetry through Sentry-Prime, SentryCortex, and the EdgeGraph.

8.3Trust boundaries and transport ownership

DEV/LIVE

Two boundaries structure trust. The enforcement boundary encloses the Edge node: admission, neutralization, killswitch, and trap authority never leave the router. The advisory boundary separates CIDS from ORACL: evidence crosses outward, advice returns, and enforcement authority never transfers. Transport ownership follows the same line: CIDS owns CaSTaP, the Calamum Secure Transfer Protocol that carries traffic between its own nodes. Holding the transport inside the subsystem is what makes the enforcement boundary enforceable rather than merely declared — the ingress a satellite reaches is one CIDS defines, seals, and validates, so admission to the telemetry path is itself a CIDS decision. Operator-confirmed testing across the local, BRAIN, and Edge node classes demonstrated fail-closed rejection of non-CaSTaP traffic, corroborating the December 2025 hardening record. CaSTaP is IMPL: functional and fail-closed under test, inactive and unwired in working 1.1.5. Section 11 specifies the transport lanes in full.

Authority invariant CIDS retains final response authority within its boundary, the operator retains final authority over privileged response, and ORACL's advisory interface carries no enforcement authority. The planned repository extraction of CIDS preserves these interfaces unchanged.

9Router Enforcement Agent, Dual Sentries, and Watchdog Recovery

DEV/LIVE

Five processes implement the Edge-node enforcement and supervision plane: the enforcement daemon, two Sentry lanes in separate failure domains, and a watchdog paired to each lane. Their separation keeps enforcement authority in the daemon while allowing a lane fault to be recovered without touching the other lane or interrupting enforcement.

9.1Router enforcement and safety modes

DEV/LIVE

The enforcement daemon is the router-resident process that executes the active-neutralization path on the Edge node. Implemented in cids_daemon.py, it observes wireless station state on a two-second cycle, evaluates each associated station against the whitelist, and applies two independent controls to an unauthorized station: a Layer 3 drop on its source address and a Layer 2 deauthentication at the access point. Each decision is retained as event evidence, which is what allows an admission outcome to be reconstructed after the fact rather than inferred from current state. [A30]

The whitelist is re-read at the top of every cycle, so authorization is evaluated against current policy rather than against policy as it stood when the daemon started. Writing the cycle as a relation over sets makes the daemon's behavior exact: for observation cycle k, with stations Sk and whitelist Wk, the Layer 3 drop set accumulates while the Layer 2 action set does not.

Dk = Dk−1 { s Sk : s Wk }Ak = { s Sk : s Wk }
(9)

The two lines are the same predicate with different memory, and the difference is the design. D is persistent state: the daemon tests whether a drop rule already exists before inserting one, so re-observing the same station across cycles leaves the set unchanged. The union is idempotent, D is monotone, and the control converges instead of compounding into duplicate rules. A carries no memory at all — deauthentication is re-issued on every cycle in which the station is still present, because a deauthentication frame is an event rather than a rule and a station that re-associates must be ejected again. One control holds a boundary; the other repeatedly pushes against it, and a station that keeps returning meets both.

The cycle model below asks what happens to a single station between one observation and the next.

reload whitelist current policy, every cycle query stations associated wireless clients in whitelist? per station set membership yes · no action station passes unchanged Layer 3 drop · guarded insert only if not already present Layer 2 deauthenticate re-issued every cycle record event evidence outcome reconstructable per station, per cycle yes no monitor-only build withholds both controls 2 s then repeat
FIG. 10 One admission cycle. Whitelist membership is the only test, and it is re-evaluated against freshly loaded policy every two seconds. The two controls differ in memory rather than in target: the Layer 3 drop is guarded by an existence check and therefore converges, while deauthentication is re-issued for as long as the station remains associated. The monitor-only build follows the identical path and withholds both controls.

A second daemon, cids_daemon_optimized.py, implements the same observation and evaluation path with neutralization held behind a MONITOR_ONLY safety gate. It is a separately selectable build IMPL rather than a runtime toggle on the live daemon, so a deployment that needs detection without enforcement — a survey, a whitelist rehearsal, a shared medium where deauthentication would be inappropriate — selects it deliberately at install time. Sensing, whitelist evaluation, and evidence retention are unchanged in that mode; only the two enforcement controls are withheld. The active-neutralization daemon is the one running on the Edge node.

9.2Dual Sentry lane isolation

DEV/LIVE

The two Sentry lanes are distinct service instances with their own role, configuration, telemetry stream, and failure domain. The internal lane owns host awareness, the monologue record, and the feed into SentryCortex. The external lane terminates external ingress, validates it, and forwards only what survives that validation. Because the lanes are separate instances rather than threads of one process, an external transport fault cannot degrade internal awareness, and the two telemetry streams stay attributable to their source lane.

Both lanes are operator-confirmed live as of 2026-07-16. Their role definitions and supervision wiring rest on a separate 2025-12-11 deployment record, and the two dates answer different questions: one establishes that the lanes are running, the other establishes what they were built to do. The deployed lane instances are the authoritative configuration — the repository carries a single non-templated base service, and the per-lane identity is established at deployment rather than in source.

operator policy and recovery gate privileged response and policy change resolve here CIDS enforcement core cids_daemon.py 2 s poll · whitelist reload Layer 3 MAC drop · Layer 2 deauth monitor-only build retains same sensing path internal Sentry lane cids-sentry@internal.service awareness · monologue · Cortex feed external Sentry lane cids-sentry@external.service ingress termination · validation internal watchdog probe: health check action: restart + verify external watchdog probe: health check action: restart + verify operator gate
FIG. 11 The router enforcement core owns active neutralization on the Edge node, while the internal and external Sentry lanes remain process-separated and watchdog-supervised. The monitor-only build keeps the same sensing path behind a safety gate, and the lane roles carry the 2025-12-11 deployment record as their evidence.

9.3Watchdog recovery and the response-candidate boundary

DEV/LIVE

Each lane is paired with its own watchdog, and that pairing is what keeps recovery local. A watchdog probes the health of one lane, and on a failed probe it attempts a bounded number of restarts of that lane alone, verifying health after each attempt before treating the recovery as complete. Attempts are bounded so a lane that cannot be restarted surfaces as a persistent fault rather than absorbing the node in a restart loop. Telemetry stays attributed to the lane that produced it throughout, so a recovery is reconstructable afterward: which lane failed, how many attempts it took, and whether the verification succeeded.

The tail of that sequence is where the authority boundary reasserts itself. A verified recovery produces a SentryCortex state differential and a dashboard event IMPL, and those artifacts constitute evidence and a response candidate. A candidate carries no power to act. Neutralization, lockdown, policy change, and escalation all remain behind the CIDS and operator gate established in Section 8, so the recovery plane can observe, restore, and report without ever acquiring the authority to respond.

An integration run on 2025-12-11 records 5/5 checks passing against these recovery paths. That result establishes that the paths work when exercised; recovery durations, attempt distributions, and failure-rate behavior would require a declared observation window, and Section 13 records that empirical surface as one still awaiting its data. [A34][A35]

watchdog health probe internal lane · external lane healthy path returns to service failure detected lane-local fault state scoped to one lane restart attempt systemd or script restart bounded retry policy verified recovery health check passes again process ownership restored Cortex differential state delta captured lane evidence retained dashboard event and response gate internal / external lane record · operator-CIDS response remains gated recovery sequence recorded 2025-12-11 · 5/5 integration checks
FIG. 12 The triad recovery sequence starts with a watchdog probe, moves through bounded restart attempts, and records a verified recovery before Cortex differential state and dashboard evidence are emitted. The sequence ends in evidence and a response candidate; the gate that could act on it stays behind CIDS and operator authority, and the integration record carries its 2025-12-11 date.
TABLE 9 · Router enforcement and recovery role matrix
ComponentService or processLane or boundaryPrimary responsibilityEvidence status
Router enforcement corecids.service · cids_daemon.pyEdge nodeWhitelist evaluation, Layer 3 source drop, Layer 2 deauthenticationLIVE · operator-confirmed 2026-07
Monitor-only variantcids_daemon_optimized.pyEdge nodeSame observation and evaluation path with neutralization withheldIMPL · implemented safety mode, not the selected build
Internal Sentry lanecids-sentry@internal.serviceInternal telemetry laneAwareness, monologue, Cortex feedLIVE · operator-confirmed 2026-07; role recorded 2025-12-11
External Sentry lanecids-sentry@external.serviceExternal telemetry laneTransport termination and validationLIVE · operator-confirmed 2026-07; role recorded 2025-12-11
Internal watchdogcids_sentry_watchdog@internal.serviceInternal recovery laneHealth probe, bounded restart attempt, verified recoveryLIVE · operator-confirmed 2026-07; 5/5 integration checks 2025-12-11
External watchdogcids_sentry_watchdog@external.serviceExternal recovery laneHealth probe, bounded restart attempt, verified recoveryLIVE · operator-confirmed 2026-07; 5/5 integration checks 2025-12-11
Recovery evidence tailCortex differential to dashboard eventEvidence laneEmits state delta and lane-attributed record as a response candidateIMPL · dashboard path tested, not active/wired in current 1.1.5
Operator gateOperator / CIDS response boundaryPrivileged responseLockdown, policy change, and escalation approvalAuthority by design (governance contract)
TABLE 9 The matrix keeps enforcement authority on the router, separates the internal and external lanes, and assigns lane recovery to watchdog-supervised restart and verification paths. The evidence labels stay dated and node-class based.

10Sentry-Prime, SentryCortex, EdgeGraph, and Filesystem Intelligence

DEV/LIVE

Section 9 described the processes that hold CIDS authority. This section describes what they know. Four surfaces build local state on the Edge node: a preprocessing relay that turns satellite heartbeats into structured evidence, a lane-local semantic store, a graph agent that watches the node for drift, and a bounded filesystem inspection primitive. Each of them produces evidence, and evidence is the whole of what they produce — the authority to act on it stays where Section 8 places it. [A31]

10.1Sentry-Prime preprocessing and forwarding

DEV/IMPL

Sentry-Prime lives inside the dashboard process. app.py imports SentryPrime and instantiates it once at startup, and the /api/sentry_relay route is the only caller of its pipeline, which makes the dashboard-embedded copy the authoritative implementation rather than one of several. A satellite heartbeat arrives at that route authenticated and decrypted, is attributed to the Sentry role that sent it, and enters preprocessing as a single payload.

Preprocessing runs four stages in a fixed order. Normalization enforces UTC timestamps, rewrites MAC addresses to one delimiter and one case, and coerces port and process fields to consistent types, so that every later comparison is between like and like. Correlation records each port anomaly and each flagged process against the device reporting it, and raises a cross-device finding once the same signature appears on two or more satellites — the property that separates a local oddity from a coordinated one. Enrichment attaches threat indicators for known-suspicious ports and process names and stamps the record with preprocessing provenance; network-context classification is implemented in the same stage and attaches when address resolution supplies an address. Deduplication hashes the alert-bearing fields of the payload and suppresses a repeat of that signature inside a sixty-second window, which keeps a persistent condition from arriving as a flood of identical alerts.

Suppression keys on a signature rather than on the payload. The relay hashes a canonical serialization of the alert-bearing fields alone — origin identity, host, port events, and integrity alerts — and suppresses a record whose signature was last seen inside the window W:

σ(p) = trunc16 SHA-256( canonical( mac, host, port events, integrity alerts ) )suppress(p) σ(p) C ( t C[σ(p)] ) < W
(10)

Restricting the signature to alert-bearing fields is what makes suppression useful. A satellite reporting the same anomaly every few seconds varies its benign fields — counters, timings, ambient state — on every send, so a whole-payload hash would differ each time and suppress nothing. Keying on the alert alone means the second and subsequent reports of an unchanged condition collapse, while any change to the condition itself produces a new signature and passes immediately.

What survives deduplication is forwarded into heartbeat handling and reaches the dashboard store. What is suppressed returns a suppression result and is written to the monologue stream, so a suppressed duplicate remains reconstructable rather than vanishing. Both pieces of preprocessing state are bounded: expired signatures are swept from the deduplication cache on a periodic interval, and the correlation buffer is cleared once it exceeds its size limit, so a long-running relay cannot accumulate state without limit. Per-stage timings accumulate alongside processed, suppressed, and error counts, and a failure inside any stage increments the error count and propagates rather than dropping the payload quietly.

A bounded local run on 2026-07-18 exercised the pipeline end to end: it normalized MAC, port, and process fields, attached preprocessing metadata, and suppressed a repeated payload. That establishes the relay as functional when invoked IMPL, tested and awaiting active wiring in working 1.1.5. The standalone Prime coordinator is a different surface, and Section 11 owns it.

The pipeline model below asks how a raw heartbeat becomes structured, reviewable, and retainable without crossing the authority boundary. It traces the relay from satellite ingress through the four preprocessing stages to the dashboard store, and names the evidence each stage leaves behind.

satellite heartbeat BRAIN · Admin node class authenticated · decrypted Sentry-Prime relay · dashboard /api/sentry_relay normalize UTC · MAC case port and process types correlate cross-device port · process signatures enrich threat indicators preprocessing provenance deduplicate 60 s window on the alert signature forward suppress dashboard store /api/heartbeat enriched record retained monologue stream suppression recorded duplicate stays reconstructable correlation buffer device set per signature cleared at its size limit deduplication cache signature to last-seen time expired entries swept reads · writes reads · writes evidence out · authority stays with CIDS and the operator heartbeat receipt · correlation finding · threat metadata · stage timings and counts
FIG. 13 Order and state are the two things this pipeline gets right. Normalization runs first so later comparisons are between like and like, and deduplication runs last so suppression acts on the fully formed record — which is why the fork sits outside the relay: preprocessing returns a verdict, and the route decides where the payload goes. Correlation and deduplication each own a bounded store, so the relay accumulates judgement without accumulating memory.

10.2SentryCortex and EdgeGraph local state

DEV/LIVE

Two stores hold local state on the Edge node, and they answer different questions. SentryCortex is a Sentry lane's semantic memory of the device it runs on. EdgeGraph is the node's structural record of itself, maintained so that change becomes visible.

SentryCortex initializes inside a Sentry lane when its module is available, and the lane continues without it when it is not, so the store enhances the lane rather than gating it. Once initialized it ingests each heartbeat as a timestamped telemetry point and maintains process knowledge keyed by process identity, recording first-seen and last-seen times so a process can be placed in time rather than only observed now. It answers three query classes, all of them locally: recent telemetry and process history read from its own tables, while file context reads an ORACode weighted graph loaded at construction and indexed by path for direct lookup. That third class is what lets a lane ask what a file means rather than only what it is. A runtime graph load is recorded on 2026-02 IMPL, and a bounded local run on 2026-07-18 ingested a telemetry point, retained a process record, and returned both database-backed query classes from an in-memory store.

EdgeGraph runs as cids-graph-agent.service on the Edge node and is the live observation core of this section. Each cycle builds three views: file metadata across the filesystem, listening ports with the processes behind them, and the network neighbors visible to the node. Hashing is deliberately selective — a file is hashed when it sits under a critical path or carries an executable, configuration, or script extension; an unchanged modification time reuses the previous hash; and files above a size threshold are marked rather than read — so the cost of a cycle tracks the parts of the node that matter rather than the size of its disk.

Drift is the comparison, not the scan. Each of the three views is differenced against its retained counterpart, and the agent raises what the current cycle holds that the previous one did not:

Δk = Kk Kk−1,  K { files, ports, neighbors }
(11)

The asymmetry of that operator is worth stating plainly: it reports appearance. A file that arrives, a port that begins listening, a neighbor that joins the segment — each raises evidence on the cycle it appears. Departure changes the retained graph without raising anything, because the current state simply replaces the previous one. The agent is therefore an instrument for detecting what has been added to a node, which is the shape most host-integrity questions take.

What appears for the first time is raised as drift evidence before the graph is replaced by the current state. The graph persists to disk on a slower interval than the scan, so a restarted agent resumes against known state instead of reporting the entire node as new. An optional uplink can forward a drift summary for analysis and returns commentary to the log; it is advisory in the strict sense and reaches no enforcement path. A Windows implementation of the same agent exists IMPL; the Linux agent is the one running as the Edge-node service.

The model below asks how local telemetry becomes durable state and where each store's results terminate. It places the semantic store, the drift graph, and the bounded capture primitive on one plane and shows what leaves it.

observe file metadata · selective hash listening ports · process network neighbors difference current against retained drift evidence what this cycle added retained graph previous cycle state persist to disk slower than the scan read · replace next cycle resume on restart
FIG. 14 The EdgeGraph cycle, and the two clocks that govern it. Observation and differencing run on the fast loop, so drift surfaces on the cycle it appears; persistence runs on the slow loop, so a restarted agent resumes against known state rather than reporting the whole node as new. The retained graph is both the comparison basis and the thing the comparison replaces.

10.3Bounded filesystem inspection and the integration boundary

DEV/IMPL

Filesystem inspection is a primitive with explicit bounds, invoked against approved roots. A capture takes a list of root paths, walks each one, and records name, size, modification time, and permission bits for the entries it can read. It respects the permissions it meets — an unreadable directory is recorded as unreadable and the walk continues past it — so inspection sees exactly what the invoking context already may.

Three independent bounds cap the walk — a maximum depth D, a maximum file count N, and a maximum wall-clock duration T — and the walk halts at a node as soon as any one of them is met:

halt(v) d(v) D n N ( t t0 ) Treason(v) = the bound met first
(12)

Recording which disjunct fired is what makes a partial capture legible. The branch is marked truncated and the bound that stopped it is retained beside the mark, so a reader can distinguish a tree that ended because it ran deep from one that ended because it ran long — a distinction that changes what the result means. The primitive carries two bound profiles: an on-demand default, and a tighter periodic profile running one level shallower on roughly half the file and time budget, because a capture folded into a routine cycle can afford less than one an operator has asked for.

Exclusions remove virtual filesystems, high-churn log and cache directories, development artifacts, mount points, and binary and media file classes before the walk reaches them. The result is a metadata tree — names, sizes, timestamps, and permission bits — serialized to JSON and gzip-compressed for transport, and restored by the inverse operation. A bounded local run on 2026-07-18 captured a tree under explicit depth, file, and time caps, compressed it, and restored it to the original structure, establishing the primitive as functional when invoked with its bounds set IMPL.

Where that primitive attaches is a separate question from whether it works. The periodic push that once carried snapshots inside the heartbeat is archived in favor of on-demand capture, and the current caller is a filesystem query verb on the peer back-channel handler. That handler defines its own bearer authentication, persona-tier check, and payload signing, and its initializer awaits a call site in the Sentry path PARTIAL. On-demand remote inspection is therefore an integration boundary still under construction, and Section 11 owns the transport it will sit on.

The crosswalk below ties each surface in this section to the source that implements it, the runtime surface that carries it, and its node class, and it separates the maturity of a primitive from the maturity of the wiring around it.

TABLE 10 · Local intelligence component crosswalk
ComponentKey file(s)Service or surfaceNode classEvidence status
Sentry-Prime relayservices/network_router/cids/dashboard/app.py, services/network_router/cids/dashboard/sentry_prime.pycids-dashboard.service · /api/sentry_relayEdge nodeIMPL · tested, awaiting active wiring in 1.1.5
SentryCortex local stateservices/network_router/cids/sentry/sentry_cortex.py, services/network_router/cids/sentry/cids_sentry.pycids-sentry@internal.service lane-local storeEdge nodeIMPL · runtime graph load recorded 2026-02
EdgeGraph drift agentservices/network_router/cids/cids_graph_agent.pycids-graph-agent.serviceEdge nodeLIVE · operator-confirmed 2026-07
EdgeGraph Windows siblingservices/network_router/cids/cids_graph_agent_windows.pyImplementation sibling of the Linux agentWindows host classIMPL
Filesystem snapshot primitiveservices/network_router/cids/sentry/filesystem_snapshot.pyBounded local capture, compression, and restoreEdge node and satellite Sentry pathIMPL · bounded capture exercised 2026-07-18
Remote filesystem query integrationservices/network_router/cids/sentry/p2p_handler.pyPeer query verb; initializer awaits a Sentry call siteSatellite Sentry pathPARTIAL
Dashboard operator surfaceservices/network_router/cids/dashboard/templates/index.html, services/network_router/cids/dashboard/app.pycids-dashboard.service · authenticated console and health endpointsEdge nodeIMPL · Prime's host dependency; Section 12 owns its behavior
TABLE 10 The crosswalk separates each surface's own maturity from the maturity of its wiring: the Linux drift agent runs as a service, its Windows counterpart is an implementation, and the snapshot primitive is complete while the remote query path that would call it is still being joined up. Node classes stand in for network identity throughout.

11CaSTaP, CalamumUplink, and Sentry Back-Channel Transports

DEV/IMPL

This transport layer asks how CIDS separates sealed authority-bearing traffic from auxiliary relay and peer traffic. CaSTaP is the canonical transport envelope. CalamumUplink layers an RSA-sealed ephemeral key over a CaSTaP packet so satellite Sentries can bind telemetry to runtime context. The P2P back-channel remains a distinct peer surface with bearer-token and persona-tier controls, HMAC signing, roster state, and explicit query, broadcast, register, and heartbeat routes. Emergency recovery stays separate from all of those lanes and is treated as a bounded response path, not a general transport.

11.1Transport taxonomy and authority

DEV/IMPL

Five lanes carry CIDS traffic, and they are separated by what they are permitted to do rather than by what they transmit. CaSTaP is the canonical envelope: a context-bound seal that every other sealed lane is expressed in terms of. CalamumUplink is not a second protocol but a key-transport layer over a CaSTaP packet. Relay and heartbeat carry authenticated evidence into the dashboard path. The peer back-channel supplies coordination verbs between Sentries. Recovery carries bounded local control, and it is the only lane of the five that can change a running system — which is why Section 8 places its authority outside the transport layer entirely.

CaSTaP carries operator-confirmed functional proof-of-life with fail-closed behavior on context mismatch, and the current hardening suite passes 5/5 IMPL, tested and awaiting active wiring in working 1.1.5. The lanes below hold their own maturity independently: CalamumUplink and relay/heartbeat are likewise IMPL, the peer back-channel is PARTIAL, and lane-local recovery retains the LIVE status established in Section 9 without lending it to the transport plane.

transport taxonomy and authority boundaries CaSTaP sealed telemetry envelope context-bound AES-GCM packet CIDS transport ownership satellite ↔ Edge Edge ↔ satellite CalamumUplink RSA key wrap + CaSTaP packet public-key seal with runtime context layered on top of CaSTaP satellite telemetry uplink relay / heartbeat normalized heartbeats and monologue dashboard auth token + relay contract advisory / evidence surface satellite → dashboard P2P back-channel query / broadcast roster / register / heartbeat bearer + ACL + HMAC peer coordination only peer ↔ peer / coordinator emergency recovery restart / quarantine lockdown / incident control operator + CIDS response gate bounded response lane local remediation / escalation
FIG. 15 The transport lanes are distinct by purpose, trust anchor, and authority. CaSTaP and CalamumUplink protect sealed telemetry, relay/heartbeat serves evidence collection, the P2P back-channel serves peer coordination, and emergency recovery remains a bounded response lane under operator and CIDS control.

11.2CaSTaP and CalamumUplink assurance

DEV/IMPL

CaSTaP binds a packet to the runtime context it was produced in. Sealing canonicalizes that context deterministically, hashes it, and encrypts the payload under AES-GCM with a random nonce, carrying the context hash alongside the ciphertext. Unsealing reverses the order deliberately: the receiver parses the packet and compares context hashes before attempting decryption, so a packet presented in the wrong context is rejected on a hash comparison rather than on a failed authentication tag. That ordering is what makes the failure fast and unambiguous, and it is the sense in which the envelope fails closed — a context mismatch and a tampered payload both terminate the exchange, the first at the comparison and the second at the authenticated decrypt. [3]

CalamumUplink is a key-transport layer over that envelope rather than a parallel protocol. It generates an ephemeral CaSTaP key, seals the payload with it, wraps the key under RSA-OAEP for the receiving identity, and prepends the wrapped key to the resulting packet. The envelope contract is untouched: what changes is how the symmetric key reaches the far side. Reading the two as one protocol with two key-distribution modes is the correct model, and it is why a change to the envelope propagates to both. [4]

The canonical encoder and decoder live in services/network_router/cids/sentry/cids_security.py. A second byte-identical copy sits in the dashboard tree at this checkpoint; it is a duplicate of the same implementation rather than a second protocol authority, and consolidating it does not alter the packet contract. Both paths are IMPL — tested, with the current hardening suite passing 5/5, and awaiting active wiring. [A32]

The next visual asks how CaSTaP itself enforces the boundary once a packet arrives. It follows the canonical envelope from context canonicalization through hash binding and AES-GCM sealing to fast rejection and authenticated unsealing when the runtime context matches.

CaSTaP assurance sequence payload input canonicalize sorted JSON context hash + seal AAD + AES-GCM packet hdr · nonce · hash sealed telemetry context-bound packet input parse header reject malformed verify context hash mismatch rejects decrypt same context cleartext result local use Fast rejection preserves the boundary; successful unlock requires the same canonical context that sealed the packet.
FIG. 16 CaSTaP seals telemetry by binding the runtime context into the packet and rejects mismatches before decryption proceeds. The authoritative encoder/decoder therefore enforces a context-sensitive boundary rather than a mere encryption wrapper.

11.3Relay, heartbeat, and the peer back-channel

DEV/IMPL

The relay is not the mesh, and keeping them apart matters. Relay and heartbeat move authenticated evidence from a satellite to the dashboard along a single directed path: ingress is authenticated and decrypted, preprocessing runs where Section 10 describes it, and enriched state reaches the dashboard store. It is a collection surface, and it terminates at a store IMPL, tested against the current dashboard application and awaiting active wiring.

The peer back-channel is a different shape: Sentries addressing one another and a coordinator. It implements query, register, roster, heartbeat, and broadcast verbs, each behind a bearer-token check and a persona-tier authorization test, with a helper that signs responses under HMAC. An operator-confirmed mesh exercise over the CaSTaP-gated path succeeded on or before 2026-05, which establishes that the verbs work when driven.

Its integration is where the maturity sits PARTIAL. The handler's initializer is not called from the main Sentry path; the broadcast verb builds and signs an envelope and then counts roster members rather than delivering to them; and roster state is held in memory, so it is scoped to the lifetime of the process holding it. Those are the boundaries of what the peer surface currently does, and Section 19 owns the work that extends them.

The final transport visual asks how the peer mesh is organized and where a failure in it terminates. It shows the coordinator-backed roster path, the authenticated peer verbs, and which parts of the surface are implemented against which remain expansion work.

P2P topology and failure routing coordinator roster owner peer query filesystem · metrics · logs peer broadcast envelope signed register / heartbeat liveness + roster refresh peer sentry authenticated node class failure boundary coordinator loss or auth mismatch fail-closed routing persona-tier ACL + bearer token + HMAC an unauthenticated or out-of-tier request is refused at the handler policy gate signed messages Peer traffic is authenticated, persona-scoped, and roster-backed; a refused request carries no authority with it.
FIG. 17 The P2P mesh remains coordinator-backed and fail-closed. Query, broadcast, register, and heartbeat are authenticated peer verbs, and a request that fails its bearer or persona-tier check is refused at the handler rather than degraded into partial access. Roster state is held for the lifetime of the process holding it, and durable roster, failover, and quarantine controls belong to the expansion programme.

11.4Recovery and failure routing

DEV/IMPL

Recovery is the one lane here that acts rather than carries, and its live portion is deliberately small. Health probing, bounded restart, and post-restart verification run beside each Sentry lane on the Edge node and are LIVE, as Section 9 establishes; a dated 2025-12-11 integration run records 5/5 checks passing against those paths. That surface is local: it restores a process on the node it runs on, under CIDS and operator authority, and it is not a distributed recovery transport.

The distinction matters because the two are easy to conflate. Restarting a lane and re-establishing a federation are different problems with different failure modes, and only the first is implemented. Persistent roster state, coordinator failover, quarantine, transport-wide rate enforcement, replay defense, and protocol-version negotiation are PLANNED, and Section 19 carries their mechanics, dependencies, and the evidence each would need to be promoted.

Taken together the three transport views describe a layered boundary: the envelope protects sealed telemetry through context binding, the relay preserves evidence quality without acquiring authority over it, and the peer surface authenticates its verbs while its delivery and persistence remain incomplete. The inventories below turn that topology into auditable contracts, and the last of them separates the controls that exist today from those that belong to the expansion programme.

TABLE 11 · CIDS transport endpoint and message-contract inventory
SurfaceKey file(s)Auth / trust anchorDirectionPayload or contractEvidence status
CaSTaP envelopeservices/network_router/cids/dashboard/cids_security.pyContext hash + AES-GCMBidirectional packet sealCanonical packet with header, nonce, hash, ciphertextIMPL · tested, not active/wired
CalamumUplinkservices/network_router/cids/dashboard/cids_security.py, services/network_router/cids/sentry/cids_sentry.pyRSA-wrapped ephemeral key + CaSTaP contextSatellite telemetry uplinkHybrid seal for telemetry bound to runtime contextIMPL · layered on CaSTaP
Relay / heartbeatservices/network_router/cids/dashboard/app.pyDashboard auth token + relay contractSatellite → dashboard/api/sentry_relay and /api/heartbeatIMPL · tested dashboard path, currently inactive
P2P back-channelservices/network_router/cids/sentry/p2p_handler.pyBearer token + persona-tier ACL + HMACPeer ↔ peer / coordinatorquery, broadcast, roster, register, heartbeatPARTIAL · coordinator-backed; handler not initialized by the Sentry path
Emergency recoveryservices/sentry_watchdog/watcher.py, services/network_router/cids/sentry/cids_sentry_watchdog.ps1, deployment/systemd/cids_sentry_watchdog@.serviceOperator + CIDS response gateLocal remediation / escalationHealth probe, bounded restart attempt, verified recoveryLIVE · lane-local recovery; 5/5 integration run 2025-12-11
TABLE 11 Each transport surface has a distinct trust anchor and authority boundary. The inventory keeps the control plane separate from the evidence-bearing relay and the peer mesh.
TABLE 12 · Transport comparison across CIDS lanes
LanePrimary purposeTrust anchorPayload classStatus boundary
CaSTaPCanonical packet seal between CIDS nodesContext hash + AES-GCMTelemetry envelopeCIDS-owned transport authority
CalamumUplinkWrap telemetry with an RSA-sealed ephemeral keyPublic-key seal + CaSTaP contextTelemetry uplinkLayered on top of CaSTaP, not separate from it
Relay / heartbeatNormalize, enrich, and persist evidence-bearing heartbeatsDashboard auth token and relay contractHeartbeat and monologue recordsAdvisory evidence surface; no enforcement authority
P2P back-channelCoordinate peer queries, broadcasts, registration, and livenessBearer token, persona-tier ACL, HMACPeer control messagesCoordinator-backed and fail-closed
Emergency recoveryLocal remediation, bounded restart, and escalationOperator gate plus CIDS response policyControl actionsBounded response lane, not a general transport
TABLE 12 The comparison keeps the lanes separate by role and authority. It makes clear which surfaces carry sealed telemetry, which ones preserve evidence, and which one is a controlled response path.
TABLE 13 · Transport threat, control, and validation matrix
ThreatAffected lane(s)ControlStatusEvidence or owner
SpoofingCaSTaP, CalamumUplink, P2PContext hash binding; bearer token and persona-tier authorization on peer requestsIMPLContext mismatch rejected before decryption; peer verbs require an authenticated caller
TamperingCaSTaP, CalamumUplinkAES-GCM tag verification; RSA-OAEP wrapped key integrityIMPLUnseal fails on a tampered payload and on a mismatched context
Path escapeRelay/heartbeat, P2P query, filesystem inspectionFixed endpoint contracts; query-type gating; bounded roots, depth, count, and durationIMPLOnly declared query verbs dispatch; a capture halts at its first bound with the reason recorded
Resource exhaustionWatchdog recovery, filesystem inspectionBounded restart attempts; capture file and duration capsIMPLRestart attempts are bounded per lane; bounded capture exercised 2026-07-18
Stale stateRelay/heartbeat, P2P rosterBounded cache lifetime with periodic sweep; roster last-seen updatesIMPLExpired signatures swept on a periodic interval; roster entries refreshed on heartbeat
Privilege misuseEmergency recovery, operator viewsOperator and CIDS response gateLIVENo transport surface transitions state; the gate is the only path, per Section 8
ReplayCaSTaP, P2P, relay/heartbeatTTL and counter-based replay defensePLANNEDSection 19
Peer floodingP2P back-channelTransport-wide rate enforcementPLANNEDSection 19
Coordinator lossP2P back-channelDurable roster, coordinator failover, and quarantinePLANNEDSection 19
TABLE 13 The matrix separates the controls that exist today from those the expansion programme owns. Context binding and authenticated encryption contain spoofing and tampering; bounded query types and capture budgets contain path escape and resource exhaustion; the operator gate contains privilege misuse. Replay defense, rate enforcement, and coordinator failover are named here at their real maturity so the current boundary is legible rather than assumed.

12Console, Activity, and Response

DEV/LIVE

Five components produce operator-facing evidence in CIDS, and each writes its own record family to its own store. The honeypot, the killswitch service, the Nexus integrity guard, the recovery manager, and the router enforcement core run as services on the router LIVE. The browser dashboard that renders their activity holds its own maturity independently: it is IMPL, tested and inactive in working 1.1.5, and its read view and access-control layer is scoped PARTIAL.

Those two facts are kept apart throughout this section. A guard being live says nothing about whether a console is available to watch it, and a console being implemented says nothing about whether the guard it renders is running. The subsections below take the record primitives first, then the crosswalk of who produces what and who reads it, then the authority gate that separates observation from response, and finally the four bounded controls that act.

12.1Dashboard, status, and observed event records

DEV/IMPL

The dashboard's monologue writer log_monologue() appends one JSON object per line to a behavioral log. Each entry carries a timestamp, an action label, a message, and a severity. When the caller supplies no severity the writer derives one from the action label, so failure and error actions resolve to error, warning actions to warning, and authentication or startup outcomes to success, with everything else recorded as informational. An event that arrives on a Sentry lane additionally carries that lane's role, which is the whole of the attribution the record holds.

Three read primitives sit over that file and over live process state, and they differ in what survives them. The monologue reader returns the last hundred entries newest first, reading from the file each time. Status assembly get_status_data() composes a fresh view on every read from current process and interface state rather than from a stored snapshot. Stream publication combines a status view and a monologue view into a single frame and re-emits it once per second, so the frame is a rendering of state rather than a record of it. Node presence is held in a heartbeat cache keyed by hardware address, and a purge pass drops any entry unseen for five minutes before status is assembled, which is why a departed node leaves the view instead of persisting in it.

The distinction that organizes this surface is therefore not what each primitive shows but how long what it shows survives, and which component wrote it in the first place.

produced by retained as read through Dashboard monologue writer IMPL · tested, inactive in 1.1.5 Honeypot service LIVE · bounded intrusion capture Nexus and killswitch services LIVE · service-local logging Recovery manager LIVE · bounded repair levels Status assembler and stream IMPL · tested, inactive in 1.1.5 Persistent records Monologue JSONL · appended per event Intrusion JSONL · appended per touch Service-local logs · appended by unit Incident JSON and Markdown · one pair per event Transient state Heartbeat cache · purged at five minutes Stream frame · rebuilt each second Console panels monologue, status, connections IMPL · inactive dashboard application Operator and archive review intrusion, incident, and log files LIVE · read on the producing host Each producer keeps its own field family, its own retention, and its own reader. Read view and access control across the dashboard surfaces is scoped PARTIAL.
FIG. 18 Activity evidence reaches the operator along five independent producer paths. Persistent record files and transient cache and stream state are read through separate surfaces, and every family retains its own fields, its own retention, and its own producer.

Solid edges mark what a component writes and thin edges what a reader consumes, and the two store classes never merge. Records that persist survive the process that wrote them and remain readable on the host afterwards; cache and stream state exist only for as long as the surface holding them runs. A console that is inactive therefore withholds the transient view entirely while leaving every persistent record exactly where its producer left it.

12.2Attribution, retention, and view controls

DEV/IMPL

Attribution is per-producer rather than shared. A monologue entry names a Sentry lane only when the event arrived on one. An intrusion record names a source address and, where resolution succeeds, a hardware address. An incident record names a component and a host. Each of those is the attribution its own producer had available at the moment of writing, and no field common to all three carries a reader from one record to another.

Retention follows the producer just as closely. Appended files grow until the host rotates them and outlive the process that wrote them. The heartbeat cache is bounded by its five-minute purge. A stream frame is discarded as soon as the next one is built. Recovery evidence is written once per event as a matched JSON and Markdown pair carrying the recovery level, the action attempted, and its outcome. These are four different retention behaviors, and the console does not impose a fifth on top of them.

The crosswalk below fixes, for each producer, what it records, how long the record lives, what it names, and who reads it.

TABLE 14 · Current event and evidence crosswalk
ProducerRecord familyPersistenceAttributionRead throughAccess boundaryStatus
Monologue writer log_monologue()Timestamp, action label, message, severity, optional Sentry roleAppended per event to a behavioral JSONL fileSentry lane role when the event arrives on a laneConsole monologue panel, last 100 entries newest firstDashboard read view PARTIALIMPL
Status assembler get_status_data()Composed process, interface, and service viewRebuilt on each read; nothing storedReporting hostDashboard status widgetsDashboard read view PARTIALIMPL
Heartbeat cacheNode record: hostname, hardware address, last-seen timeHeld in memory; purged after five minutes unseenReporting nodeActive-connections panelDashboard read view PARTIALIMPL
Stream publicationCombined status and monologue frameTransient; rebuilt once per secondInherited from the two composed sourcesEvent-source client in the consoleDashboard read view PARTIALIMPL
Honeypot serviceTimestamp, source address, resolved hardware address, trigger, action, method, severity, attack classAppended per touch to an intrusion JSONL fileSource address and hardware address where resolution succeedsIntrusion panel and archive review on the hostHost-localLIVE
Nexus guard and killswitch servicesService log lines carrying the observed condition and the action takenAppended by each unit to its own service logOwning service and hostOperator review on the hostHost-localLIVE
Recovery manager create_incident_report()Incident record: identifier, recovery level, component, action, outcome, hostOne JSON and Markdown pair written per recovery eventComponent and hostArchive reviewHost-localLIVE
TABLE 14 Seven producers, seven retention behaviors, and two access boundaries. Dashboard-side records are reached through the console at the console's own maturity; host-side records are read where the service wrote them.

Read access across the dashboard surfaces is scoped PARTIAL: the layer that decides which reader receives which view is present and incomplete, and Section 18 carries it. A cross-producer record contract, view shaping by reader capability, and a universal pointer from any event back to its supporting evidence file are PLANNED, and Section 19 owns their specification and promotion evidence. The boundary that holds today is the one the crosswalk states: each store is read where it is written, at the maturity of the surface that reads it.

12.3Active response and operator authority

DEV/LIVE

Observation and response are separated by an explicit authority gate. The router enforcement service acts on whitelist and anomaly outcomes under CIDS and operator authority and is LIVE; Section 9 specifies its observation cycle, its neutralization path, and the separately built monitor-only variant. The dashboard's manual response route is IMPL: it is present and gated on explicit operator authorization, it sits inside the application that is inactive in working 1.1.5, and it inherits nothing from the enforcement service's liveness.

Every other surface named in this section is an evidence surface. The console renders, Sentry-Prime preprocesses, SentryCortex holds local semantic state, and telemetry reports. None of them acquires authority to change a running system by producing a record recommending that one be changed. That is what makes the gate an architectural boundary rather than a convention: authority is held by the operator and by CIDS, and the surfaces that observe are constituted so that they cannot exercise it.

What the response plane makes visible is which inputs reach the gate, and what each permitted path writes on the far side of it.

observations authority response paths Whitelist misses and anomaly candidates from the router and Sentry lanes Integrity mismatch and stale heartbeat from guards and the relay path Operator / CIDS authority gate state-changing response resolves here evidence surfaces carry no authority Router enforcement LIVE · idempotent source drop Manual dashboard response IMPL · route inside the inactive application Honeypot capture LIVE · writes its own intrusion record Nexus guard and recovery manager LIVE · restoration and incident report Killswitch service LIVE · logging mode recorded 2026-02-15 Each permitted path writes its own evidence, and the gate separates observation from response.
FIG. 19 Whitelist misses, anomaly candidates, integrity mismatches, and stale heartbeats all reach the same authority gate before any state-changing response. Each permitted path carries its own maturity and writes into its own store.

The gate is single, but the paths beyond it are not equivalent. Router enforcement and the three guards act on the host and are live; the manual console route is implemented and waits on the application that hosts it. Each path writes into the store its own component owns, so a permitted action leaves evidence in one place and the action itself tells a reader which place that is.

12.4Integrity guards and recovery evidence

DEV/LIVE

Four controls act, and each is bounded independently of the others. The honeypot presents decoy services, records a touch as an intrusion entry carrying its trigger, severity, and attack class, and neutralizes the source; its safeguards hold the host's own identities outside the set of eligible targets, and captured material is truncated before it is written. The Nexus integrity guard compares each live file against a held reference copy on a fixed interval, restores the reference copy when the two hashes differ, and restarts the service mapped to that file. The recovery manager escalates through bounded levels — restoring or repairing a corrupt service configuration, restarting a failed service, and reinstalling it when a restart does not hold — and writes a matched JSON and Markdown incident record at each level it reaches, so the escalation path is reconstructable from the records alone. [A33]

The killswitch service is live and watches the tunnel continuously. Its operating posture is reported separately from its liveness, because the two are established by different evidence: the dated 2026-02-15 record places the service in logging mode, where a tunnel drop is registered as a critical condition and the access interface is left up for diagnosis. Liveness is what the operator confirms; the mode carries its own date.

Each of these controls writes where it runs. Intrusion entries, service logs, and incident pairs are three stores under three retention behaviors, held on the host that produced them. A reader assembles the picture by consulting them in turn, and the value of that arrangement is that no single store can be corrupted into a misleading account of what the other two observed.

The next section stays separate: Calamum remains an adversarial validation context rather than a response authority, and ORACode remains a retrieval context rather than an operator control surface.

13CIDS Current-Capability Validation and Evidence Matrix

DEV/LIVE

CIDS is proven at its core and advancing at its edges. The router enforcement service, the two separated Sentry lanes with their paired watchdogs, EdgeGraph drift observation, and the integrity and recovery guards are LIVE, in active use on the enforcement host. That set is what the platform's active protection rests on.

The capabilities around that core hold their own maturity rather than being averaged into it. A tested transport awaiting wiring, a handler awaiting its call site, and a read layer in progress are three different conditions, and each carries the evidence that fixes it. The subsections below take the current evidence position first, then the capability matrix across the CIDS planes, then the measurements CIDS presently supports, and finally the questions its evidence leaves open.

13.1Evidence method and status projection

DEV/LIVE

CIDS runs on one enforcement host. As of July 2026 the router enforcement service, the internal and external Sentry lanes, the watchdog paired to each lane, the EdgeGraph drift agent, and the honeypot, killswitch, integrity guard, and recovery manager all run there in active use. Dated records establish what those components were built to do: lane roles and a watchdog recovery run recording 5/5 checks from 2025-12-11, and a killswitch mode record from 2026-02-15.

A second group of surfaces is proven by direct exercise. Bounded runs on 2026-07-18 drove Sentry-Prime normalization and suppression, SentryCortex telemetry and process queries, and capped snapshot capture and restore. The CaSTaP envelope holds functional proof-of-life with fail-closed rejection on context mismatch and passes its hardening suite 5/5. A peer mesh exercise over the sealed path succeeded on or before 2026-05. Each returns what it was built to return when called.

That last clause carries the weight, because several CIDS surfaces are complete and awaiting their call sites. A filesystem query verb sits on the peer handler ready for a Sentry path to invoke it, and the browser dashboard renders every record family it was built for, awaiting activation in working 1.1.5. These are wiring stages, and each component's own maturity is stated alongside the maturity of its wiring wherever the two differ.

CIDS evidence spans December 2025 to July 2026, and each claim below carries the date its evidence was observed rather than inheriting the freshest date around it. Where a component's liveness and its operating posture rest on different records, both are stated: the killswitch service is live and watches the tunnel continuously, and the logging mode it operates in is dated 2026-02-15.

13.2Current capability and evidence matrix

DEV/LIVE

CIDS divides into six planes, each carrying its own evidence. Authority and supervision are live throughout: enforcement, both Sentry lanes, and their paired watchdogs run continuously on the enforcement host. Intelligence, transport, and console each pair a proven core with integration advancing behind it. Response is live where it enforces and operator-driven where a person acts directly.

plane LIVE IMPL PARTIAL UNRESOLVED Authority and enforcement Router enforcement core enforcing on the host July 2026 Supervision and recovery Lanes and watchdogs active use 2026-07-16 5/5 recovery run 2025-12-11 Local intelligence EdgeGraph drift running as a service July 2026 Prime, Cortex, snapshot bounded probe 2026-07-18 Remote query wiring awaiting its call site inspection 2026-07-18 Transport Sealed envelope proof-of-life 5/5 hardening 2026-07-18 Peer back-channel verbs exercised on or before 2026-05 Current mesh liveness awaiting a current mesh exercise Console and activity Records, relay, console tested, awaiting activation in 1.1.5 Read view and access bounded probe 2026-07-18 Response and integrity Guards, recovery, killswitch active and running July 2026 Manual console route gated on operator authorization Every placement is current capability measured against its strongest governing evidence. Planned expansion is specified in Section 19.
FIG. 20 The six CIDS planes against the maturity each currently holds. The shape of the matrix reports where the system is proven, where it is tested and awaiting wiring, and where its present condition is open.

Two properties follow. Authority and liveness coincide: every capability able to change a running system is one in active use, carrying the strongest evidence in the section. And the advancing work is integration rather than function — the transport seals, the peer verbs authenticate, and the console renders, so what remains is joining proven surfaces to the paths that drive them.

The ledger below states each capability at its own level, with the evidence that fixes it, what it does today, the authority it holds, and the section that specifies it.

TABLE 15 · Current CIDS capability and evidence ledger
CapabilitySurfaceStatusEvidence classEvidence dateWhat it does todayAuthority roleOwner
Router enforcement and the CIDS authority coreEnforcement hostLIVEActive use with runtime corroborationJuly 2026Evaluates station state against the whitelist and acts on the outcomeHolds enforcement authority with the operatorSections 8, 9
Internal and external Sentry lanes with paired watchdogsEnforcement host, separated lanesLIVEActive use; dated deployment and integration recordsActive use 2026-07-16; roles and 5/5 recovery run 2025-12-11Carries telemetry on two process-separated lanes, each probed and restarted by its own watchdogEvidence-bearing; recovery acts on lane processes onlySection 9
EdgeGraph drift observationEdge node, Linux serviceLIVEActive use; implementation inspectionJuly 2026Builds file, port, and neighbor views each cycle and raises first appearances as driftObservation onlySection 10
Honeypot, killswitch service, Nexus integrity guard, and recovery managerEnforcement hostLIVEActive use; implementation inspection; dated mode recordLiveness July 2026; killswitch mode recorded 2026-02-15Four bounded controls run continuously, each writing its own evidence where it runsAct within individually bounded scopesSection 12
Sentry-Prime preprocessing and SentryCortex local stateSatellite Sentry pathIMPLBounded behavioral probe; implementation inspection2026-07-18Normalizes and deduplicates telemetry when invoked; holds local semantic state and answers queries against itAdvisory; no enforcement authoritySection 10
Bounded filesystem snapshot primitiveSatellite Sentry pathIMPLBounded behavioral probe2026-07-18Captures a bounded metadata tree, compresses it, and restores it by the inverse operationRead-onlySection 10
Remote filesystem query integrationPeer back-channelPARTIALImplementation inspection2026-07-18Carries the query verb; its initializer awaits a call site on the Sentry pathRead-only and authority-neutralSections 10, 11
CaSTaP envelope and CalamumUplink key transportSealed transport laneIMPLFunctional proof-of-life; hardening suite5/5 hardening checks 2026-07-18Seals a packet to its runtime context and rejects a mismatch before decryption; tested and inactive in working 1.1.5Transport boundary; carries no decision authoritySection 11
Relay, heartbeat, and the CIDS browser dashboardConsole applicationIMPLTested function; implementation inspection2026-07-18Moves authenticated evidence along a directed path into a store the console renders; the application is inactive in working 1.1.5Evidence collection and displaySections 11, 12
Peer query, register, roster, heartbeat, and broadcast verbsPeer meshPARTIALMesh exercise; implementation inspectionExercise on or before 2026-05Authenticates each caller by bearer check and persona tier; the handler is not initialized from the main lane, broadcast counts roster members, and roster state is process-scopedPeer coordination; a refused request carries no authoritySection 11
Dashboard records and manual response routeConsole applicationIMPLImplementation inspection; bounded probe2026-07-18Writes and reads distinct record families under their own retention; the manual route is gated on explicit operator authorization inside the inactive applicationResponse only under explicit operator authorizationSection 12
Dashboard read view and access-control layerConsole applicationPARTIALBounded probe; implementation inspection2026-07-18Decides which reader receives which view; the layer is present and incompleteRead boundarySections 12, 18
Active response and integrity recoveryEnforcement hostLIVEActive use; implementation inspectionJuly 2026Enforcement and the integrity and recovery guards act on the host and each write into the store their own component ownsActs behind the operator and CIDS authority gateSections 9, 12
TABLE 15 Thirteen capability groups at their own maturities. Each row states the class of evidence that fixes its status and the date that evidence was observed, so a reader can distinguish a capability in active use from one established by a probe or by inspection alone.

Authority in CIDS tracks evidence. Every capability able to change the state of a running host is in active use, and the manual console route adds a second path behind explicit operator authorization, activating with the application that hosts it.

13.3Validation coverage and empirical readiness

DEV/LIVE

What is established about CIDS today is functional and behavioral. The watchdog integration run recording 5/5 checks establishes that the recovery paths work when exercised. Bounded probes establish that preprocessing normalizes and deduplicates, that a snapshot captures and restores, and that a sealed packet is rejected on a context mismatch. Each fixes whether a mechanism works.

Performance is a separate measurement with its own requirements. A pass count is a count: five successful recoveries establish that recovery succeeds, while duration, attempt spread, and behavior under load are each their own observation. A latency figure, an availability percentage, a scaling curve, and a recovery-time distribution all require a declared window against a declared workload.

Seven such characterizations apply to CIDS. Each states what it measures, the observation it requires, and the dataset that will support it.

TABLE 16 · Empirical readiness of quantitative CIDS characterizations
CharacterizationRequired observationRequired measuresEvidence available todayDispositionResolution gate
Evidence freshness and availability across activity surfacesContinuous console operation over a declared windowRecord age at read, gap intervals, surface availability fractionRead primitives exercised inside an inactive applicationAwaiting datasetA declared-window freshness and availability series from an active console
Preprocessing throughput and latencyA declared workload driven through the full preprocessing pathConserved stage counts in and out, per-stage latency distributionA bounded functional probe confirming normalization and suppressionAwaiting datasetConserved stage counts with a latency distribution over a declared workload
Watchdog recovery timing and reliabilityRepeated induced lane failures across both lanesPer-lane recovery duration, attempts to success, censored non-recoveriesAn integration run recording 5/5 checks passingAwaiting datasetPer-lane duration, attempt, and censoring data over a declared window
Structural drift rate over timeContinuous drift observation across known change eventsDrift events per interval with change boundaries markedA live observation cycle with no retained comparative seriesAwaiting datasetA dated drift series with its change boundaries annotated
Snapshot scaling behaviorCapture across filesystem trees of materially different sizesCapture duration and compressed size against tree sizeA single bounded capture and restoreAwaiting datasetA multi-size capture fixture spanning the intended range
Direct versus relayed transport latencyMatched workloads driven over both paths under equal conditionsPercentile latency per path, delivery outcome countsFunctional proof-of-life on the sealed envelopeAwaiting datasetMatched direct and relayed workloads with percentile latency
Transport control outcomes under pressureA controlled adversarial fixture driven against the peer surfaceAccepted, rejected, replayed, rate-limited, and quarantined countsAuthenticated verbs exercised in a functional mesh runAwaiting datasetA controlled fixture producing each outcome class, with the corresponding controls in place
TABLE 16 Each characterization names the dataset that will support it and the evidence standing today. In every case the requirement is an observation window and a declared workload against a capability already proven functional.

Two of these gates depend on more than data collection. Transport control outcomes require the rate enforcement, replay defense, and quarantine controls that Section 19 specifies, so the fixture and the controls it would measure arrive together. Freshness and availability require an active console, which is the same wiring that advances the dashboard surfaces. The remaining five require only that the observation be made and recorded.

What CIDS does is therefore established on functional evidence, and how fast, how often, and how reliably it does it follows the observations named above. Each gate is specific rather than general, so a characterization becomes supportable as soon as its dataset exists.

13.4Residual uncertainty and resolution evidence

DEV/LIVE

CIDS retains one open current-state condition: peer-mesh liveness. The peer mesh was exercised successfully over the sealed path on or before 2026-05, which establishes that its verbs work; current mesh traffic awaits a fresh exercise on the working build. The killswitch service is active and running LIVE.

CIDS keeps the peer verbs built and authenticated while current mesh traffic awaits fresh observation. Remote query integration, dashboard access, and quantitative characterization retain their bounded evidence requirements alongside that condition.

TABLE 17 · Residual uncertainty register
Open claimCurrent statusLast authoritative evidenceWhat remains openEvidence that resolves it
Current peer mesh livenessUNRESOLVEDMesh exercise over the sealed path, on or before 2026-05Whether peers currently register, hold roster state, and exchange traffic on the working buildA dated mesh exercise on the current build with registration, roster, and delivery observed
Remote filesystem query integrationPARTIALImplementation inspection 2026-07-18Whether a Sentry call site drives the query verb end to endAn observed end-to-end query initiated from the Sentry path
Dashboard read view and access-control layerPARTIALBounded probe and inspection 2026-07-18Which reader receives which view once the layer is completeA probe covering each reader class against each view the console exposes
Quantitative performance characterization across the seven surfaces aboveNo eligible datasetFunctional and behavioral evidence onlyLatency, availability, drift-rate, scaling, and recovery-time behaviorDeclared observation windows and controlled workloads for each surface
TABLE 17 Five open items, each scoped to what its evidence establishes and what a further observation will settle. Two concern the present condition of a live or tested surface, two concern integration paths in progress, and the last concerns measurement rather than capability.

An absent dataset and an unobserved system state are different conditions. A capability awaiting performance measurement is working and uncharacterized; the surfaces covered by the final row all hold the maturity their own evidence supports. Section 18 carries the reader-relevant limitations that follow from this register, and Section 19 specifies the expansion work that closes the integration and control gaps behind it.

14Calamum: Adversarial Validation Context

PyPIGH/IMPL

Calamum Test is a project-aware adversarial validation harness, published independently as calamum-test 0.3.1. It executes defined validation work against a declared subject, applies thresholded evaluation to the interactions it captures, and retains reviewable evidence artifacts that record what ran and under what conditions. A focused suite exercised on 2026-07-18 passed 11/11 across its public API, catalog, and signing contracts. The harness develops on its own release line, distinct from the Calamum Intrusion Detection System and its CalamumUplink transport, which operate inside CodeSentinel's enforcement architecture; the shared name records common origin, and each system holds its own runtime.

Technical references The Calamum technical report specifies the validation lanes, evaluation contracts, retained artifacts, audit posture, reproducibility, and quantitative results. The source is published at joediggidyyy/calamum and the distribution at calamum-test.

A retained Calamum run supports a CodeSentinel claim when its subject, conditions, outcome, and provenance map to that claim. Calamum evaluates and records; lifecycle transitions, policy, execution authority, and CIDS response stay with the CodeSentinel surfaces that own them. That separation is what makes a Calamum artifact usable as independent corroboration of detection thresholds, regression behavior, and evidence lineage.

15ORACode: Semantic Retrieval and Evidence Context

DEV/IMPL

ORACode is the graph-construction plane: it turns governed repository artifacts and the relations among them into a versioned semantic substrate. ORACall is the retrieval plane over that substrate, resolving queries into ranked, evidence-linked results. Each rebuild produces a versioned snapshot carrying the repository state at that build. Both planes run in the unpublished development line rather than in the public distributions, PyPI 1.1.1 and GitHub 1.1.3.b1 + hotfix2, and Section 16 sets out the reproducibility boundary that follows.

Technical reference The ORACode / ORACall technical report owns the graph schemas and construction phases, ranking mathematics, integrity mechanics, telemetry, performance analysis, and the subsystem's own limitations.

Development-line CodeSentinel exposes graph build and inspection, retrieval with fallback, search and persona handling, visualization, and advisory integration over these two planes. A locked selected-suite run passed 61/61 across those families, and a focused drift check on 2026-07-18 passed 20/20 across graph linkage, search, persona handling, and graph-rebuild behavior. ORACL remains the temporal memory, continuity, and advice layer described in Section 7; ORACode and ORACall supply semantic construction and retrieval beneath those advisory surfaces. Ranked results, confidence scores, and graph edges inform a decision and carry no authority to transition a job, change policy, execute work, or trigger a CIDS response. [A26][A27]

16Packaging, Distribution, and Reproducibility

PyPIGHDEV/IMPL

16.1Public artifacts and release identity

CodeSentinel publishes the lean core through two distinct artifacts in its distribution lineage. PyPI provides the versioned codesentinel 1.1.1 installation artifact, while the public GitHub release 1.1.3.b1 + hotfix2 supplies the lean source and tag lineage. The unpublished development line carries version 1.1.5 and broader integration evidence. Public reproduction therefore covers the lean core at the identity and contents of each public surface.

16.2Shipping and managed-environment controls

CodeSentinel prepares releases with safeguards that run on invocation. The bounded publication-manifest verifier checks a three-document set associated with a prior public drop and, on 2026-07-18, verified all three declared entries. [A17] The managed-environment control registers authorized environments, resolves one canonical primary, verifies policy before scripts execute, and retires superseded environments through archive-first handling. Its 2026-07-18 inventory resolved the registered set and canonical primary; repository-marker detection carries a narrow PARTIAL edge while the inventory and selection controls remain functional.

16.3Reproducibility boundary

CodeSentinel makes its lean core publicly reproducible through PyPI and GitHub. The development line owns governance and evidence depth, CIDS, CaSTaP integration, full ORACL, and the integrated ORACode/ORACall surface; reproducing those capabilities requires governed access to the unpublished 1.1.5 source and the dated evidence attached to each capability. Each capability retains the status established by its own evidence. CIDS additionally rests on dated private-deployment evidence.

Calamum Test and ORACode/ORACall also publish independently. Calamum Test distributes calamum-test 0.3.1 through PyPI and GitHub. ORACode/ORACall publishes the oracode 0.1.0 source release through its own GitHub repository, where a 2026-07-10 published-clone reviewer loop reproduced installation, graph construction, search, query, and test execution. These independent artifacts reproduce their own project scopes; their CodeSentinel relationships retain the availability and status of the integrated surfaces.

TABLE 18 · Distribution and reproducibility surfaces
SurfaceAuthoritative identityAvailabilityReproducible scopeVerification evidenceReproduction limitStatus
PyPI packagecodesentinel 1.1.1PyPIVersioned installation artifact for the lean corePublic metadata and artifact verificationIntegrated capabilities reside on the development lineIMPL
Public GitHub source1.1.3.b1 + hotfix2GHLean source and tag lineageTag and tree verificationIntegrated capabilities reside on the development lineIMPL
Development sourceUnpublished 1.1.5DEVGovernance, evidence, ORACL, ORACode/ORACall, CaSTaP, and CIDS integrationPackage metadata and import identity agreeGoverned access with dated capability evidenceIMPL
source surface
Publication-manifest controlPrior-drop three-document setDEVDeclared publication entries2026-07-18: all three entries verifiedThree-document verification scopeIMPL
Managed-environment controlRegistered inventory and canonical primaryDEVAuthorization, verification, primary selection, and archive-first retirement2026-07-18: inventory and canonical primary resolvedRepository-marker detection edgeIMPL
detection PARTIAL
Calamum Test releasecalamum-test 0.3.1
public source
PyPI GHStandalone adversarial validation and retained-evidence contractsPublic metadata, source, and focused contract validationIndependent project; CodeSentinel and CIDS retain their own authorityIMPL
ORACode/ORACall releaseoracode 0.1.0GHStandalone graph construction and retrieval reviewer loop2026-07-10 published-clone installation, build, search, query, and test reproductionCodeSentinel integration remains on the development lineIMPL
TABLE 18 CodeSentinel exposes two public artifacts, one unpublished integration source, and two bounded release safeguards; Calamum Test and ORACode/ORACall retain independent public releases.

17Platform Validation, Audits, and Evidence Surfaces

PyPIGHDEV/LIVE

CodeSentinel validates capability claims against evidence that identifies the subject, conditions, outcome, observation time, and lineage. Its live authority core spans canonical task and QuestStack state, protected-state verification, ORACL continuity, and CIDS evidence production; narrower producers and views retain their own statuses. Canonical records establish authority inside their owned domains; behavioral evidence establishes function under declared conditions; current operational evidence establishes active use. Derived views retain their value by carrying the source and freshness information from which they were produced.

17.1Evidence classes and claim promotion

CodeSentinel gives a dated operational-use attestation and a direct runtime observation equal evidentiary weight when each maps to the same subject and conditions. Focused tests establish behavior under a declared fixture, deployment records preserve dated configuration, and implementation inspection establishes structure. [A36] Status promotion stays within the capability and observation window that the evidence supports.

CodeSentinel draws on nine evidence families, each bounded by its own authority and freshness contract.

TABLE 19 · Evidence classes, authority, and freshness
Evidence classAnswersAuthoritative scopeCanonical or derivedFreshness requirementStatus consequenceOwner or index
Operational-use attestationCurrent use, topology, selected mode, and authority assignmentAttested capability and environmentDirect operational evidenceDated current-use statementMay support LIVE within the dated scopeOwning capability section
Direct runtime observationBehavior or state observed during an invocation or windowInvoked surface and declared conditionsDirect observationObservation date or windowSupports LIVE operation or IMPL function at the observed levelOwning capability section
Focused behavioral test or probeFunctional, failure, integrity, or security semantics under a controlled fixtureNamed subject, fixture, and resultControlled observationTest date, fixture class, and outcomeSupports IMPL for the proven behaviorOwner section and suite evidence
Deployment or service recordConfiguration and operating state at the record dateRecorded deployment and roleDated operational recordRecord date; current state follows newer evidenceSupports dated deployment; LIVE follows current observationDeployment owner
Canonical state or custody recordAuthoritative state, transitions, and integrity within an owned domainWriter and mutation contractCanonicalCurrent head and verification timeSupports the owner's status within that domainState-domain owner
Append-only event or audit recordOrdered component-local observations, actions, and outcomesProducer and record familyProducer-local recordEvent time and retention windowCorroborates behavior; authority remains producer-localProducer contract
Derived view, metric, or indexAggregation, navigation, health, or interpretation over source evidenceReferenced source recordsDerived and read-onlyGeneration time and source freshnessInherits source status and carries read-only authoritySource owner and derived index
External retained evidenceIndependent validation mapped to a CodeSentinel claimSubject, conditions, result, and provenanceIndependently ownedRun date and artifact provenanceCorroborates the mapped claim; authority remains independentSection 14 and dedicated evidence owner
Implementation or configuration inspectionComponent identity, wiring, contracts, and bounded static propertiesInspected revision and artifactsStatic implementation evidenceRevision or tree observedEstablishes structure; behavioral evidence promotes to IMPLOwner section and source index
TABLE 19 CodeSentinel accepts nine evidence families at bounded scopes; dates, lineage, and ownership determine the status each can support.

CodeSentinel keeps a capability's status attached to the evidence that establishes it. A current observation can establish active use for its dated subject, a controlled test can establish function under its fixture, and a derived view can interpret authoritative inputs while preserving their ownership.

17.2Canonical state and derived evidence

CodeSentinel separates state authority from evidence rendering. Canonical operations-task and job records own lifecycle mutation. Protected-state baselines and custody ledgers own integrity inside their domains. Component journals and append-only records preserve events under the producer's contract. CodeSentinel renders dashboards, reports, metrics, health summaries, behavioral scores, and indices as read-only interpretations of those sources. [A16]

CodeSentinel reconstructs an operation through the fields defined by the owning record contract. Cross-system reconstruction maps the producer, record family, observation time, action or outcome, and stable source references across those contracts. Regenerable views carry generation time and source freshness so their interpretation remains traceable to authoritative inputs.

17.3Coverage, freshness, and evidence lineage

CodeSentinel binds validation coverage to the conditions actually exercised. A focused test fixes behavior under its declared fixture; a runtime probe fixes observed behavior or state at a time; an operational-use attestation fixes active use and topology at its date; a deployment record fixes the configuration recorded at its date. Stronger duration, frequency, population, and performance characterizations follow observations designed for those measures.

CodeSentinel retains detailed CIDS capability, empirical-readiness, and residual evidence in the CIDS validation synthesis; it maps independently owned Calamum artifacts through the adversarial-validation context and ORACode/ORACall subsystem evidence through the semantic-retrieval context. CodeSentinel maps its interface taxonomy in Appendix B, repository source lineage in Appendix A, and public external references in Appendix F; its residual claims retain the same scope, freshness, and lineage discipline.

18Limitations and Unresolved Operational Claims

PyPIGHDEV/PARTIAL

CodeSentinel carries a bounded set of reader-relevant limitations across integration, operational freshness, validation, and public reproducibility. Each entry preserves the working parent capability's status and names the evidence that resolves the narrower condition. CodeSentinel's present operating state remains bounded by the conditions below.

18.1Integration and hardening limits

18.2Unresolved operational state

18.3Validation and reproducibility limits

19Future Expansion and Platform Evolution

DEV/PLANNED

CodeSentinel's forward evolution coordinates CIDS expansion, ORACL and Brain evolution, and core-platform controls through one dependency contract. Present foundations retain the status established in their owning sections. Every expansion target carries PLANNED; executable artifacts that satisfy the stated interface and acceptance contract promote the bounded capability to IMPL, and dated runtime or deployment evidence establishes LIVE operation within its observation window.

Dependencies express security, authority, and evidence prerequisites; calendar order remains independent. Evidence contracts precede broader reach, transport assurance precedes distributed actuation, CIDS retains response authority, and boundary extraction follows stable interfaces and compatibility evidence.

19.1Expansion basis and dependency semantics

The CIDS trajectory comprises twelve connected capabilities: attributable activity records, measurable preprocessing, Triad health exchange, transport assurance, peer federation, bounded filesystem inspection, multi-scope integrity graphs, read-only intelligence tools, capability-shaped console views, fleet rollout, emergency recovery, and repository extraction. Each will advance at its own evidence gate while sharing the contracts shown below.

CURRENT FOUNDATIONS component-local records · bounded preprocessing and inspection · CIDS authority · authenticated transport helpers · inventory-driven deployment evidence current foundation planned delta EVIDENCE AND ASSURANCE ROOTS Attributable Activity Stream schema · redaction · freshness · evidence pointers CaSTaP assurance identity · signatures · replay defense · receipts SCHEMA, CUSTODY, AUTHORIZATION, AND FAIL-CLOSED VISIBILITY GATES Sentry-Prime counters stage conservation and latency Triad health exchange differentials and lane attribution Bounded filesystem pull approved roots and evidence paths Multi-scope integrity graph stable chunks and checkpoints P2P federation roster, query, relay, and quarantine CAPABILITY, TRANSPORT, AND EVIDENCE-LINEAGE GATES Capability-shaped console attribution, freshness, contained actions Read-only ORACL tools status, snapshot, and peer-query evidence Fleet rollout preflight, verification, observation window Emergency recovery lane explicit enablement and audit chain INTERFACE STABILITY, STANDALONE OPERATION, AND COMPATIBILITY GATE CIDS repository and package extraction stable schemas · CodeSentinel adapters · cross-repository evidence identifiers Arrows encode prerequisite contracts; dates, duration, and implementation order remain independent across branches.
FIG. 21 CIDS expansion is an evidence- and authority-ordered graph. Current component foundations support twelve planned deltas; promotion occurs per workstream, while extraction waits for the interfaces and compatibility evidence produced across the graph.

The first promotion gate is executable conformance: schema fixtures, authorization and redaction tests, deterministic component behavior, and evidence-lineage validation must satisfy the capability's interface contract. Deployment status then follows a dated observation of the same identity and configuration. The graph constrains prerequisites while independent branches progress concurrently.

19.2Evidence and preprocessing foundation

Current CIDS producers preserve component-local activity, status, intrusion, service, and incident records, while the dashboard-embedded Sentry-Prime path carries IMPL normalization, deduplication, correlation, enrichment, bounded buffering, and latency instrumentation. The expansion will establish one attributable Activity Stream event contract across Sentry-Prime, the Triad, policy gates, and console records. Each event will carry freshness semantics and a stable evidence pointer, and capability-aware redaction will shape the visible record before it reaches a consumer. [A38]

Sentry-Prime will expose stable counters for ingress, normalization, deduplication, correlation, enrichment, anomaly handling, forwarding, rejection, and processing latency. Promotion follows producer and consumer schema fixtures, unauthorized-view redaction tests, deterministic pipeline fixtures, counter-conservation and bounded-buffer checks, and a sanitized runtime sample bound to the deployed preprocessing identity.

19.3Triad and local-state completion

The dual Sentry lanes and their watchdogs carry LIVE evidence within their dated deployment scope. SentryCortex local state and bounded filesystem snapshots carry IMPL, EdgeGraph drift observation carries LIVE, and remote filesystem query integration carries PARTIAL. These foundations establish lane supervision, local semantic state, bounded inspection, and file, port, and neighbor observations. CIDS retains response authority throughout.

The Triad will add health exchange, port and process differentials, restart-frequency analysis, quarantine-candidate events, and lane-attributed routing. The filesystem path will add authorized read-only pull, approved-root policy, evidence-path results, caching, differential queries, and traversal-budget reporting. The integrity graph will add scope policy, deterministic chunk identities, dirty-subgraph recomputation, signed hard checkpoints, rollback, backpressure, and a federation-ready schema. [A37][A39]

LOCAL EVIDENCE TO CONTROLLED FEDERATION Current local scope file · port · neighbor bounded snapshot metadata LIVE / IMPL foundations Edge and host scope policy budgeted visibility Deterministic chunks stable chunk identity Dirty-node propagation bounded recomputation Signed checkpoints atomic commit · rollback backpressure evidence Federated scope explicit enablement and schema gate PROMOTION EVIDENCE root-hashreproducibility interrupted-writerecovery host-scanprevention measureddelta cost cross-systemschema compatibility
FIG. 22 Local integrity observations will expand through deterministic scope and checkpoint contracts before federation. The acceptance rail makes readiness falsifiable: reproducibility, safe recovery, bounded visibility, measured recomputation, and schema compatibility gate promotion.

Promotion follows health and fallback tests, differential fixtures, lane-specific deployment telemetry, authorized and denied path tests, traversal and truncation fixtures, root-hash reproducibility, interrupted-write recovery, accidental host-scan prevention, a delta-cost benchmark, and cross-system schema compatibility. Response candidates remain subject to the operator and CIDS authority gate.

19.4Assured transport and distributed security

The CaSTaP envelope and CalamumUplink key transport carry IMPL evidence for fail-closed context binding and remain inactive in working 1.1.5. Peer query, registration, roster, heartbeat, and broadcast helpers carry PARTIAL; their current mesh liveness remains UNRESOLVED. These foundations establish canonical transport ownership, authenticated verbs, and a prior gated back-channel exercise.

CaSTaP will add canonical envelopes, key identifiers, signatures, receipts, expiry, nonce and counter replay defense, risk classes, rotation, revocation, and posture-bound controls. The peer lane will add persistent roster state, signed broadcast delivery, bounded remote queries, relay and failover, log aggregation, forensic access, transport pinning, rate limits, quarantine, and protocol-version handling. Explicit enablement, whitelist and query authorization, key custody, and publication-safe topology gate distributed operation.

Promotion follows rejection tests for malformed, unsigned, expired, replayed, revoked, and context-mismatched traffic; rotation-overlap and signed-receipt evidence; end-to-end peer fixtures; rate-limit and quarantine checks; relay and failover exercises; roster persistence; log lineage; and a reproducible latency and load benchmark. Transport conveys authenticated evidence and requests while response authority remains with CIDS.

19.5Fleet and recovery expansion

Inventory-driven deployment surfaces, names-only runbooks, staged QuestFrames, and dated rollout records provide the present fleet foundation. The expansion will resolve an environment-backed inventory, run preflight checks, deploy the declared Sentry service set, verify service identity, observe stability over a declared window, append redacted per-node evidence, and close each deployment job with a retained outcome. Dated rollout records establish the configuration observed at their date; current fleet liveness follows the observation window owned by each rollout. [A40]

CURRENT FLEET FOUNDATION inventory-driven deployment surfaces · names-only runbooks · staged work packets · dated rollout records PLANNED DEPLOYMENT AND EVIDENCE SEQUENCE Inventory abstract node class Preflight authority and readiness Deploy declared service set Verify service identity Observe declared window Append redacted evidence Close job retained outcome DECLARED OBSERVATION GATE serviceavailability heartbeat and relaycontinuity timeout anderror rate duplicate-processcount authentication-mismatch count
FIG. 23 Fleet promotion follows a closed evidence loop: inventory and preflight establish the target class, verification fixes deployed identity, a declared window characterizes stability, and the retained closure binds the observation to the deployment job.

The fleet gate requires active services, stable heartbeat and relay behavior, zero duplicate spawns, zero authentication-mismatch events, and timeout and error rates measured over the declared window. Each abstract node class advances against its own retained promotion evidence.

TABLE 20 · Satellite and fleet rollout evidence matrix
Abstract node classDeclared service setVerificationObservation windowEvidence status
Deployment controllerInventory resolver, rollout coordinator, and evidence writerInventory identity, preflight outcome, authorization trace, and retained job closureFrom inventory resolution through closure receiptPLANNED
Satellite SentrySentry lane, lane watchdog, and heartbeat/relay clientService active, expected process identity, and zero duplicate spawnsDeclared per-lane stability window after service verificationPLANNED
Fleet evidence observerRead-only health, heartbeat, relay, and evidence collectionHeartbeat continuity, authentication-mismatch count, and timeout/error-rate evidenceMatched fleet window with expected heartbeat denominatorsPLANNED
TABLE 20 Each fleet role has its own service identity, verification boundary, and observation window. Every row remains planned until the retained rollout evidence satisfies that role's contract.

The emergency recovery lane follows peer hardening. It will expose a minimal allowlisted command set under signed requests, replay defense, append-only audit, and an explicit privileged-capability gate. Disabled is its standing posture; enablement, use, audit closure, and automatic return to that posture form one retained chain. Promotion requires standing-posture proof, unauthorized and replay rejection, a bounded command-set check, and a recovery drill with rollback evidence.

19.6Read-only intelligence and operator surfaces

The development dashboard carries IMPL for its tested records and manual response route, while its access-control layer carries PARTIAL. The expansion will give the Activity Stream contract one graduated-event representation and expose CIDS status, filesystem snapshots, and peer queries to ORACL as read-only, evidence-emitting tools with explicit availability state. CIDS whitelist policy will gate each request, evidence packets will retain attribution and source lineage, and ORACL will remain advisory.

The console will render persona-shaped operational views with freshness and staleness state, attributable activity, offline-safe assets, bounded paging, and evidence-linked controls. Capability checks and explicit confirmation will contain privileged actions while CIDS and the operator retain decision authority. Promotion follows availability-state fixtures, input and injection tests, schema and evidence-packet conformance, a read-only side-effect audit, authorization-matrix coverage, stale-data rendering, privileged-action audit evidence, offline-asset validation, accessibility checks, and narrow-width rendering. [A41]

19.7Repository and package extraction

CIDS currently resides inside the development-line CodeSentinel source boundary and exposes distinct enforcement, observation, transport, graph, console, and evidence contracts. Extraction will move those capabilities behind an independent CIDS source and package boundary while a CodeSentinel adapter preserves governed integration. Shared schemas, standalone operation, compatibility policy, migration manifests, and cross-repository evidence identifiers will keep authority and lineage stable across the transition. [A42]

CURRENT EMBEDDED FOUNDATION CodeSentinel development source Embedded CIDS modules enforcement observation transport graph console evidence current integration boundary extract PLANNED ADAPTER CodeSentinel ↔ CIDS adapter shared event and evidence schemas authority and response contracts read-only status, snapshot, and query interfaces version and compatibility policy cross-repository evidence lineage bind PLANNED INDEPENDENT BOUNDARY Independent CIDS package Enforcement mode CIDS authority and receipts Observation mode Sentry, graph, and bounded inspection Console and evidence mode attributable read and audit surfaces standalone operation PROMOTION GATE adapter contract tests · combined and standalone matrices · migration manifest · cross-reference validation
FIG. 24 Extraction preserves the operating contracts across a new source boundary. CodeSentinel retains governed integration through an adapter, CIDS gains standalone modes, and shared schemas plus evidence identifiers preserve authority and lineage.

CIDS and CodeSentinel will move the boundary artifacts as coordinated contracts. Each boundary surface stays PLANNED until its schema, adapter, standalone behavior, compatibility gate, and evidence lineage pass as one contract.

TABLE 21 · Repository-extraction interface matrix
Interface contractCodeSentinel adapterCIDS standalone behaviorCompatibility gateEvidence lineage
Activity and evidence records
PLANNED
Maps platform producers and consumers to the shared attributable-event schemaEmits, validates, redacts, and retains records under the same schemaProducer/consumer fixtures, schema-version policy, and redaction conformanceStable event identity and evidence pointer
Authority and response candidates
PLANNED
Preserves policy gates and routes candidate actions to CIDS authorityOwns enforcement decisions and retains request, receipt, and action lineageAuthority-effect tests, signed receipts, and unauthorized-mutation rejectionLinked request, receipt, decision, and action identifiers
Read-only status, snapshot, and query
PLANNED
Exposes nullable, evidence-emitting interfaces to CodeSentinel and ORACLServes bounded status and evidence queries under CIDS whitelist policyAdapter contract, input/schema validation, and explicit unavailable-state fixturesQuery identity and provenance-bearing evidence packet
Deployment and package boundary
PLANNED
Binds compatible CIDS package identity through an integration manifestInstalls, operates, validates, and releases under an independent package lifecycleCodeSentinel-only, CIDS-only, and combined test matrix plus migration manifestPackage version, migration record, and cross-repository evidence identifiers
TABLE 21 Extraction advances by contract family. Schema behavior, adapter behavior, standalone operation, compatibility, and evidence lineage promote together for each boundary surface.

Promotion requires CodeSentinel-only, CIDS-only, and combined test matrices; adapter contract tests; a migration manifest; package-compatibility evidence; and cross-reference validation over the shared evidence identifiers. The resulting boundary supports independent CIDS operation and preserves CodeSentinel's governed integration.

19.8Acceptance synthesis

All twelve CIDS expansion capabilities carry PLANNED. Their current foundations retain the owner statuses established in Sections 9-13, while each target advances through its own interface, security, acceptance-evidence, and migration-invariant gate. The dependency graph permits independent progress and keeps broader reach behind attributable evidence, transport assurance, and CIDS authority.

TABLE 22 · CIDS expansion dependencies and acceptance evidence
CapabilityPresent foundationPlanned deltaDependency or gateAcceptance evidenceMigration invariantStatus
Activity Stream and attributionComponent-local producers and draft shared contractCanonical attributable events with redaction, freshness, and evidence pointersNames-only publication and fail-closed visibility policySchema fixtures, producer/consumer conformance, redaction, freshness, and evidence-link testsAttribution and source lineage remain stable across every producer and viewPLANNED
Sentry-Prime observabilityAuthoritative dashboard-embedded pipeline IMPLStable stage counters through ingress, transformation, forwarding, rejection, and latencyCanonical event schema and preprocessing identityDeterministic fixtures, counter conservation, buffer bounds, sanitized runtime sample, and deployment identityThe authoritative pipeline identity and conserved event accounting remain fixedPLANNED
Sentry TriadDual lanes and watchdogs LIVE; Cortex paths at owner statusHealth exchange, differentials, restart analysis, candidate events, and lane attributionShared event schema, exact lane roles, and CIDS authorityHealth/fallback tests, differential fixtures, integration contract, lane telemetry, and response-gate evidenceLane identity remains attributable and CIDS retains final response authorityPLANNED
CaSTaP assuranceContext-bound envelope and key transport IMPLCanonical identity, signatures, receipts, expiry, replay defense, risk classes, rotation, and revocationTransport identity, key custody, whitelist, and risk policyMalformed, unsigned, expired, replayed, revoked, and context-mismatch rejection plus rotation and receipt evidenceFail-closed context binding, custody, and receipt lineage remain intactPLANNED
Peer federationAuthenticated peer primitives PARTIAL; liveness UNRESOLVEDPersistent roster, signed broadcast, bounded query, relay/failover, aggregation, rate control, and quarantineAssured transport, explicit enablement, query authorization, and publication-safe topologyEnd-to-end fixtures, signature/replay rejection, rate/quarantine tests, failover, persistence, lineage, and load benchmarkPeer identity, authorization, and signed evidence lineage survive routing changesPLANNED
Bounded filesystem pullBounded snapshot primitive IMPL; remote integration PARTIALAuthorized read-only pull, approved roots, evidence paths, caching, differentials, and budget reportingShared events, assured transport, and query authorizationPath, symlink, traversal, truncation, payload-size, and heartbeat-regression fixturesTraversal stays bounded, results remain evidence references, and heartbeat remains independentPLANNED
Multi-scope integrity graphLocal EdgeGraph drift observation LIVEScope policy, stable chunks, dirty-node recomputation, signed checkpoints, rollback, and backpressureCanonical graph vocabulary, scope budgets, and atomic checkpointsRoot-hash reproducibility, interrupted-write recovery, host-scan prevention, delta benchmark, and schema compatibilityStable node identity and atomic checkpoint semantics persist across scopesPLANNED
Read-only ORACL toolsGraduated-event, data-source, and tool-interface designsEvidence-emitting CIDS status, snapshot, and peer-query tools with explicit availabilityEvent and transport contracts, graph/query readiness, CIDS whitelist, and advisory authorityAvailability fixtures, input/injection/schema tests, side-effect audit, and evidence-packet conformanceInterfaces remain read-only, nullable, provenance-bearing, and advisoryPLANNED
Console and operator evidenceDashboard records and manual route IMPL; access layer PARTIALPersona views, freshness, contained privileged actions, offline assets, bounded paging, and evidence-linked controlsShared events, Triad state, capability model, and endpoint-role separationAuthorization matrix, stale-data rendering, action audit, offline assets, accessibility, and narrow-width checksViews inherit source authority; privileged action remains explicitly gatedPLANNED
Satellite and fleet rolloutInventory-driven deployment surfaces and dated rollout recordsRepeatable Sentry deployment, service verification, stability observation, and redacted node evidenceEnvironment inventory, preflight, shared events, and transport controlsActive services, heartbeat/relay stability, duplicate/auth counts, and timeout/error rates over a declared windowAbstract node identity and observation windows remain bound to retained rollout jobsPLANNED
Emergency recovery laneBounded recovery-channel designMinimal allowlisted signed channel with replay defense, audit, explicit enablement, and automatic returnShared events, assured transport, privilege gate, and peer hardeningStanding-posture proof, rejection fixtures, bounded commands, audit chain, and rollback drillDisabled remains the standing posture and every use remains attributablePLANNED
CIDS package extractionEmbedded modules and an interface-preserving separation strategyIndependent package with stable schemas, CodeSentinel adapters, standalone operation, and compatibility policyInterface stabilization, extraction map, and compatibility contractCodeSentinel-only, CIDS-only, and combined matrices, adapter tests, migration manifest, and cross-reference validationAuthority, schemas, adapters, and cross-repository evidence identity remain stablePLANNED
TABLE 22 Every CIDS target remains planned and advances on its own falsifiable evidence. The migration invariant in each row preserves authority, attribution, and compatibility while capability boundaries expand.

CIDS expansion therefore moves from attributable evidence through assured local and distributed controls to interface-stable extraction. Each promotion preserves the authority and lineage already established by the current system.

19.9ORACL and governed execution evolution

CodeSentinel currently computes advisory knowledge, compliance, and stability scores through the Section 6.4 model, equations (1)-(4), and carries an implemented stability-floor helper within that scoring foundation. ORACL's planned governance scalar will adjust those scores through normalized hot-snapshot observables xi ∈ [0,1] and combine them as a policy gate:

G = min( C, S′ ) · K  PLANNED
(13)

The min(C′,S′) term is a conjunctive floor: compliance and stability must both support the resulting gate, and K′ scales that floor. Promotion requires a defined observable lattice, adjustment rules, consumer, reason codes, policy thresholds, provenance-bearing output, deterministic edge-case tests, and approval-path integration. G belongs to ORACL policy governance; Brain's planned environmental-health summary remains a distinct measure with a distinct owner. [A46]

ORACL will evolve across separable configuration, surface, service, and execution axes. Repo-native tool and server configuration will make VS Code a derived compatibility renderer rather than the canonical authority. Launcher-neutral task dispatch will let scheduled, continuous-integration, and agent-triggered work use CodeSentinel-owned execution without waiting for a Model Context Protocol (MCP) migration. These movements can promote independently. [A44][A45]

MCP service scenarios cover local desktop access, managed WAN/mobile connector access, and authenticated LAN or remote-node context. No topology is selected by design alone. Each placement advances through its own availability, transport, custody, offline, authentication, and recovery evidence. The planned ORACL MCP runtime will place authenticated health, signed liveness, names-only audit, a versioned tool/evidence packet, and a discoverable tool registry around the native platform. [A43]

MCP tools will separate read-only context and CIDS evidence access from sandboxed and explicitly authorized mutation. Text and path guards, deterministic schemas, bounded execution, and availability reporting govern every tool class. Mutating tools will invoke CodeSentinel's canonical job, filesystem, Git, and post-action gate surfaces; CIDS-domain requests remain advisory and pass through CIDS authority. This architecture creates no parallel writer or shadow enforcement path.

ORACL memory, the canonical job SSOT, local SessionMemory persistence, and ORACode/ORACall retrieval provide the present context foundation. Planned native evolution adds a launcher-neutral dispatcher, SSOT-first contextual selection, stale-plan rejection, explainable proposals, a service-hardened graph watcher, authenticated remote context, authorized agent loops, a supervised shell, and a restricted in-process terminal. The dispatcher, MCP service, connector paths, remote context, and terminal can mature in stages; operator approval and canonical mutation authority remain final throughout.

Brain PLANNED will extend ORACL with event-sourced long-horizon memory, an ORACode-shaped graph carrying typed relations and provenance, partitioned visibility, and a single bounded staged mutation interface. Governance mechanisms port by pattern. The architectural through-line joins CodeSentinel's canonical lifecycle writer, Brain's planned append-only authoritative history and staged mutation path, and an ORACode-shaped derived query substrate. [A47]

TABLE 23 · ORACL and platform-evolution dependencies and promotion evidence
MovementPresent foundationPlanned target and boundaryDependenciesAcceptance evidenceStatus
Derived ORACL governance gateCurrent K/C/S computation and stability-floor helper IMPLCompute G from a defined normalized-observable lattice as an ORACL policy gate distinct from Brain EHSObservable lattice, adjustment rules, consumer, reason codes, thresholds, and approval authorityConjunctive-floor and edge tests, provenance output, regime-consumer integration, approval, and unauthorized-mutation rejectionPLANNED
IDE-independent tool and MCP configurationWorkspace-oriented tool/MCP audit hooks IMPL; authority extraction PARTIALMake a repo-native tool/server catalog canonical and render VS Code configuration as derived compatibility outputIdentity schema, ownership map, secret-reference split, compatible renderer, and audit migrationCanonical/rendered parity, editor-absent audit, multiple-server inventory, deterministic regeneration, secret-free output, and rollbackPLANNED
Launcher-neutral task executionNative job, gate, filesystem, and Git surfaces IMPL; native-preference boundary PARTIALDispatch scheduled, continuous-integration, and agent-triggered tasks without VS Code execution authority while retaining optional launchersExact task mapping, configuration SSOT, timeout policy, modular CLI seams, and compatibility windowOutput/exit/evidence parity, editor-absent runs, derived-launcher validation, failure/timeout fixtures, and rollbackPLANNED
MCP service and connector scenariosLocal advisory ORACL LIVE; reusable service and security patterns IMPLEvaluate independently gated local/desktop, managed-WAN/mobile, and LAN/remote-node service placements with authenticated health and auditThreat model, protocol contract, signing custody, origin/transport policy, connector registration, and fallback modelLocal-only operation, authentication/origin rejection, signed health, stale-heartbeat behavior, selected-connector checks, offline evidence, and no-open-port auditPLANNED
MCP tools and governed agencyORACL memory and job SSOT LIVE; ORACode/ORACall and native CLI surfaces IMPLVersioned tool packets, registry discovery, guarded read-only and sandbox/live lanes, explainable context, and authorized agent executionStable schemas/reason codes, availability, CIDS evidence contracts, canonical mutation authority, and approval policyRegistry/schema conformance, fail-closed input tests, read-only audit, lane isolation, proposal fixtures, post-action gate/rollback, and unauthorized-mutation rejectionPLANNED
Persistent semantic and remote contextForeground graph watcher IMPL; local SessionMemory persistence and retrieval LIVEService-harden graph watching and add authenticated, freshness-bound, provenance-validated remote context before cross-node sessionsWatcher-role reconciliation, bounded subprocesses, lifecycle ownership, remote trust/custody, and merge policyRestart/recovery, duplicate-instance and bounded-rebuild tests, stale/corrupt rejection, authenticated round-trip, and no-authority-transfer evidencePLANNED
Terminal-native governed operationBroad CodeSentinel CLI and command-owned mutation surfaces IMPLEvolve through a supervised shell toward a restricted in-process terminal using the existing command, evidence, policy, and mutation authoritiesCLI modularity, callable entry point, command allowlist, transcript redaction, portability, and rollback boundariesIn-process parity, disallowed-command rejection, terminal fixtures, redacted evidence, deterministic help/completion, and native policy/gate parityPLANNED
Distributed configuration and secret authorityVAULT custody LIVE; managed-environment controls IMPL with a PARTIAL detection edgeSplit secret and non-secret contracts, establish EDGE remote authority, retain encrypted bounded fallback, and validate network-first startupThreat model, source-role split, CIDS stability, cache integrity/expiry, rotation/revocation, and offline recoveryRemote-unavailable fallback, tamper/expiry/revocation rejection, rotation overlap, authority trace, secret-free logs, and rollback drill [A48]PLANNED
Governed release and evidence controlShip verification, packaging, offline install, derived configuration/documentation, and report tooling IMPLUnify ship, package, and publish through release-definition packets, scoped executors, signed request/receipt artifacts, and evidence bundlesAccepted policy, channel/authority model, signing custody, IDE-independent configuration, reproducible rendering, and rollbackSigned verification, least privilege, tamper/replay rejection, channel matrix, artifact parity, deterministic outputs, rollback, and evidence-bundle validation [A49]PLANNED
ORACode storage evolutionMirror-v2 indexes, fast-path search, and dedicated ORACode evidence IMPLMeasured sharding, compaction/rotation, publish/rollback rules, and an optional gated storage rungBaseline and bottleneck evidence, stable schema/provenance, compatibility boundary, and storage-rung gateBenchmark, shard routing/integrity, interrupted-compaction recovery, retention, publish/rollback, backend parity, and current metrics packet [A50]PLANNED
TABLE 23 ORACL's surface, MCP, context, and terminal scenarios advance independently of the three core-platform movements. Each target remains planned until its own authority, compatibility, security, and provenance-bearing evidence gates pass.

Brain's detailed PLANNED architecture is available in the Brain 2 Reference Manual; its research framing is available in the Brain 2 research-fair poster.

20Conclusion

CodeSentinel joins repository observation, policy evaluation, explicitly authorized execution, retained state, and reconstructable evidence into a governed operating loop. Observations enter protected state domains with attributable context; lifecycle supervision and policy gates bound consequential action; canonical job state governs permitted mutations; and dashboards, metrics, and indices project derived evidence. Automation acquires operational meaning through that chain of bounded authority and evidence-bearing outcomes.

ORACL supplies memory, evidence lineage, and advice while CIDS owns network-security decisions and enforcement. Calamum contributes independent adversarial validation, and ORACode contributes semantic retrieval and provenance traversal. Their coordination rests on explicit interfaces and retained evidence: each subsystem preserves its own authority, hands off attributable records, and contributes within its assigned decision rights.

Technical confidence follows the same discipline. Evidence retains the scope established at its owner surface, while public and development surfaces retain their distinct meanings. Each claim is bounded by the named surface, observation, test, or record that makes it reproducible. CodeSentinel's durable value is traceable authority: what the system observed, what governed the decision, what action was permitted, and what evidence survives for reconstruction.


AAppendix A · Internal Source Map

Repository-relative sources are grouped by claim owner and evidence class. Implementation, tests, dated deployment records, architecture, and forward design remain separate so that a source supports only the inference its own evidence class permits.

BAppendix B · Package and Entry-Point Metadata

Package metadata establishes declared identity and discoverability. Target resolution, runtime execution, and public availability remain separate evidence questions.

TABLE B1 · Package and entry-point metadata
Surface or entry pointDeclared identifier / targetAvailabilityStatusTechnical role / evidence boundary
Package identity and Python floorcodesentinel · >=3.8PyPI GH DEVIMPLDeclared package and interpreter-compatibility metadata; not proof of every interpreter/platform combination
PyPI release1.1.1PyPIIMPLDownloadable lean-core package artifact
Public GitHub release1.1.3.b1 + hotfix2GHIMPLLean public-source and tag lineage; hotfix identity remains distinct from the version string
Active source1.1.5DEVIMPLUnpublished integration metadata
Primary CLIcodesentinel = codesentinel.cli:mainPyPI GH DEVIMPLOperational entry point; command availability remains surface-scoped
Setup CLIcodesentinel-setup = codesentinel.launcher:mainDEVIMPLDeclared target resolves in active source; no aggregate cross-platform execution claim
Setup GUIcodesentinel-setup-gui = codesentinel.gui_launcher:mainDEVUNRESOLVEDDeclared target does not resolve; the differently located GUI implementation is not equivalent wiring
TABLE B1 Metadata fixes declared identities while availability and runtime evidence remain independently scoped.
TABLE B2 · Top-level CLI group-to-capability crosswalk
CLI groupTop-level commandsCountArchitectural ownerAvailability / status boundaryAppendix treatment
Core operationsstatus, scan, clean, fs, search, git6Sections 3-5PyPI GH DEV · IMPL / PARTIALNames only; runtime, scan, cleanup, filesystem/search, and trust behavior remain with the owner sections
Governance & lifecycleday, gate, job, dashboard, reports, plan, ops, integrity, memory, policy10Sections 4-7 and 17DEV · IMPL / PARTIALRegistration does not imply that every command mutates canonical state
Knowledge & documentationdocs, index, format, pdf, tags5Section 17 and Appendix EDEV · IMPLEvidence discovery is retained; formatting, PDF, and tag helpers remain non-architectural utilities
ORACode & agent surfacesoracall, oracode, agents, advise, behavioral, learn, insight, workbench, edit, feedback10Sections 6, 7, and 15DEV · IMPL / PARTIALAdvisory/retrieval roles remain distinct from canonical job and CIDS authority; lab surfaces gain no architectural status
Runtime, setup & releaseship, vault, credentials, venv, update, integrate, setup, flash8Sections 4 and 16DEV · IMPL / PARTIALCustody, environment, and release behavior remain owner-scoped; setup/integration helpers create no independent architecture claim
Diagnostics, GUI & labssim, maintenance, alert, schedule, test, dev-audit, gui, apex, benchmark, wagonwheel, metrics11Sections 4-5DEV · IMPL / PARTIAL / UNRESOLVEDIncluded maintenance, alert, and audit roles retain owner status; simulator, GUI, Apex, benchmark, and WagonWheel remain metadata-only or non-architectural
TotalDistinct registered top-level names50Owner sections abovePer-command evidence onlyNo group-level execution, public-availability, or support inference
TABLE B2 The registered help taxonomy provides names and ownership routing, not a command-level support claim.

CAppendix C · CIDS Component, Service, and Interface Crosswalk

CIDS remains an embedded DEV subsystem. Its implementation, service, node-class, and interface identities resolve to the status and authority boundaries established in Sections 8-13; route or source presence alone supplies no liveness inference.

TABLE C1 · CIDS component, service, node, and status crosswalk
Component or laneCanonical implementationService / process identityNode classAuthority / evidence roleStatus / date qualifierOwner
Active-neutralization enforcementservices/network_router/cids/cids_daemon.pycids.serviceEdge / routerEvaluates admission policy and executes CIDS neutralizationLIVE · observed 2026-07-16Sections 8-9
Monitor-only daemonservices/network_router/cids/cids_daemon_optimized.pySelectable alternative buildEdge / routerObserves and evaluates with neutralization withheldIMPL · no live-service inferenceSection 9
Internal Sentry laneservices/network_router/cids/sentry/cids_sentry.pycids-sentry@internal.serviceEdgeInternal awareness, monologue, and Cortex feed; no enforcement authorityLIVE · observed 2026-07-16; role dated 2025-12-11Sections 8-9
External Sentry laneservices/network_router/cids/sentry/cids_sentry.pycids-sentry@external.serviceEdgeExternal ingress validation and forwarding; no enforcement authorityLIVE · observed 2026-07-16; role dated 2025-12-11Sections 8-9
Internal-lane watchdogservices/network_router/cids/sentry/cids_sentry_watchdog.ps1cids_sentry_watchdog@internal.serviceEdgeProbes and performs bounded restart of the internal lane onlyLIVE · observed 2026-07-16; integration dated 2025-12-11Section 9
External-lane watchdogservices/network_router/cids/sentry/cids_sentry_watchdog.ps1cids_sentry_watchdog@external.serviceEdgeProbes and performs bounded restart of the external lane onlyLIVE · observed 2026-07-16; integration dated 2025-12-11Section 9
Dashboard-embedded Sentry-Primeservices/network_router/cids/dashboard/sentry_prime.pycids-dashboard.service in-process pipelineEdgeAuthoritative normalization, correlation, enrichment, deduplication, and forwarding pipelineIMPL · tested 2026-07-18; inactive/unwiredSections 10, 13
Standalone Sentry-Prime coordinatorservices/network_router/cids/sentry/sentry_prime.pyStandalone coordinator applicationCoordinatorHeartbeat, roster, and health surface; distinct from the embedded pipelinePARTIALSections 10-11
SentryCortexservices/network_router/cids/sentry/sentry_cortex.pyLane-local in-process storeEdge / satelliteSemantic telemetry state and local queries; advisory onlyIMPL · graph load 2026-02-11; bounded probe 2026-07-18Sections 10, 13
EdgeGraph Linux agentservices/network_router/cids/cids_graph_agent.pycids-graph-agent.serviceEdgeLocal file, port, and neighbor drift observationLIVE · observed 2026-07-16Sections 10, 13
EdgeGraph Windows siblingservices/network_router/cids/cids_graph_agent_windows.pyImplementation siblingWindows hostPlatform sibling of the local drift agent; no service-liveness inferenceIMPLSection 10
Filesystem snapshot primitiveservices/network_router/cids/sentry/filesystem_snapshot.pyBounded in-process primitiveEdge / satelliteRead-only, capped metadata capture, compression, and restoreIMPL · exercised 2026-07-18Sections 10, 13
Remote filesystem query integrationservices/network_router/cids/sentry/p2p_handler.pyPeer query handler; Sentry initializer pendingSatelliteAuthority-neutral query transport around the bounded primitivePARTIAL · inspected 2026-07-18Sections 10-11, 18
Canonical CaSTaP / CalamumUplinkservices/network_router/cids/sentry/cids_security.pyCIDS transport libraryCIDS nodesContext-bound packet sealing and fail-closed transport authorityIMPL · 5/5 hardening checks 2026-07-18; inactive/unwiredSections 8, 11, 13
Dashboard CaSTaP consumer copyservices/network_router/cids/dashboard/cids_security.pycids-dashboard.service consumerEdgeByte-identical consumer copy; never a second protocol authorityIMPL · inherits canonical transport behavior onlySection 11
P2P handler/coordinator primitivesservices/network_router/cids/sentry/p2p_handler.pyAuthenticated peer BlueprintPeer / coordinatorQuery, broadcast, roster, registration, and heartbeat primitivesPARTIAL · tested on or before 2026-05; current mesh UNRESOLVEDSections 11, 13, 18
Browser dashboard applicationservices/network_router/cids/dashboard/app.pycids-dashboard.serviceEdgeEvidence ingress, status rendering, records, and privileged manual responseIMPL · tested 2026-07-18; inactive/unwiredSections 11-13
Dashboard read/access layerservices/network_router/cids/dashboard/app.pycids-dashboard.service read boundaryEdgeShapes reader access to dashboard viewsPARTIAL · probed 2026-07-18Sections 12, 18
Honeypotservices/network_router/cids/cids_honeypot.pycids-honeypot.serviceEdge / routerBounded trap, intrusion evidence, and source neutralizationLIVE · observed 2026-07-16Sections 12-13
VPN killswitchservices/network_router/cids/cids_killswitch.pycids-killswitch.serviceEdge / routerWatches the tunnel; service liveness and operating mode remain separate claimsLIVE · observed 2026-07-16; logging mode dated 2026-02-15Sections 12-13
Nexus integrity guardservices/network_router/cids/integrity/nexus_guard.pynexus-guard.serviceEdge / routerCompares held references, restores drifted files, and restarts mapped servicesLIVE · observed 2026-07-16Sections 12-13
Recovery managerservices/network_router/cids/integrity/cids_recovery_manager.pyRecovery-manager processEdge / routerBounded escalation with component-local incident evidenceLIVE · observed 2026-07-16Sections 12-13
Inventory-driven fleet deployerdeployment/deploy_fleet.pyInventory-backed deployment processFleet controlPresent source foundation for the X10 rollout contract; not a current deploymentPLANNEDSection 19
TABLE C1 CIDS component identity is resolved independently from service liveness, integration maturity, and authority; shared implementations do not collapse distinct deployed lanes.
TABLE C2 · CIDS endpoint, message, and authority crosswalk
Interface familyRoute or contractMethod / directionProducer → consumerAuthentication / context controlAuthority effectStatusOwner
Relay health/api/sentry_relay/healthGETDashboard relay → health readerNo verified gateReports relay state; no mutation or enforcement authorityIMPL · inactive applicationSections 10-11
Sentry relay ingress/api/sentry_relayPOST · inboundSatellite Sentry → embedded PrimeBearer check plus CaSTaP context bindingTransforms and forwards evidence onlyIMPL · tested/inactiveSections 10-11
Heartbeat ingress/api/heartbeatPOST · inboundSatellite/relay → dashboard storeBearer check plus CaSTaP context bindingUpdates evidence/cache state; no enforcement authorityIMPL · tested/inactiveSections 11-12
Status and event reads/api/status, /api/graph_metrics, /api/monologue, /streamGET / SSE · outboundDashboard stores → console readerRead-view/access layer remains incompleteDerived read-only views; source records retain authorityIMPL routes · access PARTIALSection 12
Filesystem-map reads/api/fs_map, /api/fs_map/<mac>GET · outboundDashboard cache → authorized readerBearer checkRead-only bounded snapshot accessIMPL routes; remote producer integration PARTIALSections 10, 12, 18
Manual response/api/killPOST · privilegedAuthorized console → CIDS response pathBearer check and explicit operator gateExecutes a privileged response under CIDS/operator authorityIMPL · inactive applicationSections 8, 12
Peer query/api/p2p/queryPOST · peer requestAuthorized peer → Sentry handlerBearer/persona check plus HMACReturns bounded read data; authority-neutralPARTIALSections 10-11
Peer broadcast/api/p2p/broadcastPOST · peer fan-outAuthorized peer → roster membersBearer/persona check plus HMACAttempts evidence delivery; roster count is not delivery proofPARTIALSection 11
Peer roster/api/p2p/rosterGET · peer readAuthorized peer → coordinator stateBearer/persona check plus HMACReads process-scoped coordination statePARTIALSections 11, 13
Peer registration/api/p2p/registerPOST · peer controlPeer → coordinatorBearer/persona check plus HMACRegisters process-scoped peer state; no enforcement authorityPARTIALSection 11
Peer heartbeat/api/p2p/heartbeatPOST · peer controlPeer → coordinatorBearer/persona check plus HMACRefreshes process-scoped liveness evidencePARTIAL; mesh liveness UNRESOLVEDSections 11, 13, 18
Coordinator heartbeat/api/heartbeatPOST · inboundSatellite Sentry → standalone PrimeBearer checkNormalizes, caches, and forwards advisory evidencePARTIALSections 10-11
Coordinator roster/api/p2p/rosterGET · outboundStandalone Prime → authorized SentryBearer checkReads the coordinator's process-local rosterPARTIALSection 11
Coordinator health/healthGETStandalone Prime → health readerNo verified gateReports process health onlyPARTIALSection 11
TABLE C2 Interface existence is separated from deployment, authentication completeness, and authority effect; the live router-enforcement path remains distinct from the inactive manual-console route.

DAppendix D · CIDS Evidence and Validation Ledger

CIDS evidence retains the observation date and evidence class attached to each claim. Current service observations, historical deployment records, focused probes, and derived views remain independently scoped; a newer date elsewhere does not refresh an older claim.

TABLE D1 · Dated CIDS capability-evidence ledger
CapabilityEvidence classDate / windowEvidence statementSupported status / claimFreshness / inference boundaryOwner
Router active neutralizationOperator observation2026-07-16The enforcement service was observed in active use on the enforcement host.LIVE enforcementSupports the observed service and authority assignment, not another component's liveness.Sections 8-9, 13
Router intrusion responseDated deployment record2025-12-06A bounded router response event corroborated the active-neutralization path.Dated enforcement behaviorEvent evidence supports that response only; current state follows the 2026-07-16 observation.Sections 9, 13
Internal and external Sentry lanesOperator observation2026-07-16Both separated telemetry lanes were observed live.LIVE lanesDoes not establish dashboard, transport, or peer-mesh liveness.Sections 8-9, 13
Paired lane watchdogsOperator observation2026-07-16One watchdog per Sentry lane was observed live.LIVE supervisionLiveness does not characterize recovery-time distributions.Sections 9, 13
Lane roles and deployment identityDated deployment record2025-12-11Internal/external role separation and per-lane supervision wiring were recorded.Dated role/deployment evidenceThe record establishes purpose and topology at that date; current liveness comes from 2026-07-16.Sections 9, 13
Watchdog recovery pathAutomated test2025-12-11An integration run recorded 5/5 checks across the bounded lane-recovery paths.IMPL recovery behaviorPass count establishes exercised behavior, not duration, reliability, or load response.Sections 9, 11, 13
BRAIN/admin satellite pathDated deployment record2025-12-11Satellite classes and their sealed telemetry roles were corroborated in the retained rollout record.Dated deployment/role evidenceNo current satellite or watchdog liveness follows without a current observation.Sections 8, 11
EdgeGraph Linux agentOperator observation2026-07-16The drift-observation service was observed in active use.LIVE observationSupports the Linux service only; the Windows sibling remains IMPL.Sections 10, 13
SentryCortex graph contextRuntime probe2026-02-11The ORACode-backed graph loaded for the local semantic store.IMPL graph loadOne graph load does not establish continuous lane initialization or service liveness.Sections 10, 13
Sentry-Prime preprocessingRuntime probe2026-07-18A bounded run normalized telemetry, added preprocessing provenance, and suppressed a repeated alert signature.IMPL when invokedThe hosting dashboard remained inactive/unwired in working 1.1.5.Sections 10, 13
SentryCortex local queriesRuntime probe2026-07-18An in-memory run ingested telemetry, retained process state, and returned database-backed query classes.IMPL local query behaviorBounded process scope; no deployment or continuous-initialization inference.Sections 10, 13
Filesystem snapshotRuntime probe2026-07-18A capped metadata tree was captured, compressed, and restored to its original structure.IMPL bounded primitiveDoes not establish active remote-query integration or scaling behavior.Sections 10, 13
CaSTaP fail-closed behaviorRuntime probe2026-07-17The sealed transport functioned under test and rejected nonconforming context.IMPL functional transportThe transport and dashboard path remained inactive/unwired in working 1.1.5.Sections 8, 11, 13
CaSTaP hardening controlsAutomated test2026-07-18The focused hardening suite recorded 5/5 checks.IMPL tested controlsSeparate from the 2025-12-11 watchdog checks and from operational deployment.Sections 11, 13
P2P back-channel primitivesRuntime probeOn or before 2026-05A CaSTaP-gated mesh exercise succeeded across authenticated peer primitives.PARTIAL tested primitivesCurrent mesh liveness remains UNRESOLVED; broadcast roster count is not delivery proof.Sections 11, 13, 18
Dashboard and Sentry-Prime pathRuntime probe2026-07-17The dashboard/relay path was functionally exercised.IMPL tested application pathThe application remained inactive/unwired in working 1.1.5.Sections 10-13
Dashboard records and manual responseImplementation inspection2026-07-18Record families and the explicitly gated manual response route were inspected with a bounded read probe.IMPL routes; read layer PARTIALRoute existence does not inherit live router-enforcement status.Sections 12-13, 18
Derived dashboard snapshotDerived evidence view2026-02-15A retained dashboard view recorded the state presented by its source records.Dated derived stateThe view inherits source scope and cannot supersede newer direct observations.Sections 12-13
Honeypot serviceOperator observation2026-07-16The bounded trap service was observed in active use.LIVE guardSupports service liveness, not dashboard availability.Sections 12-13
Honeypot deploymentDated deployment record2025-12-08The bounded rollout record verified the honeypot deployment and related enforcement context.Dated deployment evidenceCurrent liveness comes from the later 2026-07-16 observation.Sections 8, 12-13
Killswitch serviceOperator observation2026-07-16The tunnel-watching service was observed active and running.LIVE serviceService liveness does not refresh its separately recorded operating mode.Sections 12-13
Killswitch operating modeDated deployment record2026-02-15The retained record placed the service in logging mode for that observation.Dated action postureThe record states mode at that date; it is not a present-liveness or unresolved-status claim.Sections 12-13
Nexus guard and recovery managerOperator observation2026-07-16Both bounded integrity/recovery controls were observed in active use.LIVE controlsEach retains its own action scope and evidence store.Sections 12-13
TABLE D1 Dated evidence supports only the capability, behavior, deployment, or view actually observed; service liveness, operating posture, and derived presentation remain separate claims.
TABLE D2 · Partial and unresolved evidence-resolution ledger
SurfaceParent capability statusNarrow residual statusLast authoritative evidenceCurrent inference allowedEvidence required to resolveOwner
Current P2P mesh livenessPeer primitives PARTIALUNRESOLVEDSuccessful sealed-path exercise on or before 2026-05Authenticated verbs worked in that exercise.A dated current-build window observing authenticated registration, roster, heartbeat, query, and deliverySections 11, 13, 18
Remote filesystem query integrationLocal primitive IMPLPARTIALImplementation inspection and bounded local probe, 2026-07-18The bounded local primitive functions; the query verb exists.Authorized and denied end-to-end queries initiated by the Sentry path with bounded output and observed consumer evidenceSections 10-11, 13, 18
Dashboard read-view/access layerDashboard IMPLPARTIALBounded probe and inspection, 2026-07-18The application renders its record families when invoked.An access-control matrix covering authenticated/unauthenticated reader classes, view shaping, redaction, and fail-closed configurationSections 12-13, 18
Activity freshness and availabilityDashboard IMPL; read layer PARTIALAwaiting datasetRead primitives exercised inside an inactive application, 2026-07-18Functional reads onlyA declared-window series of record age, gap intervals, and surface availabilitySections 13, 18
Preprocessing throughput and latencySentry-Prime IMPLAwaiting datasetBounded normalization/suppression probe, 2026-07-18Functional pipeline behavior onlyConserved stage counts and per-stage latency distributions over a declared workloadSections 13, 18
Watchdog recovery timing/reliabilityWatchdogs LIVEAwaiting dataset5/5 integration checks, 2025-12-11Exercised recovery success onlyPer-lane durations, attempt counts, and censored non-recoveries over a declared windowSections 9, 13, 18
Structural drift rateEdgeGraph LIVEAwaiting datasetActive-use observation, 2026-07-16Live observation cycle and appearance detectionA dated drift series with known change boundaries annotatedSections 10, 13, 18
Snapshot scalingSnapshot primitive IMPLAwaiting datasetSingle bounded capture/restore, 2026-07-18Function under one bounded fixtureMulti-size fixtures recording capture duration and compressed size against tree sizeSections 10, 13, 18
Direct versus relayed transport latencyCaSTaP IMPL; peer path PARTIALAwaiting datasetFunctional sealed-envelope proof, 2026-07-17Transport function onlyMatched direct and relayed workloads with percentile latency and delivery outcomesSections 11, 13, 18
Transport controls under pressurePeer primitives PARTIALAwaiting controls and datasetAuthenticated mesh exercise on or before 2026-05Authenticated verbs under the bounded exerciseA controlled fixture producing accepted, rejected, replayed, rate-limited, and quarantined outcome classes after the named controls existSections 11, 13, 18
TABLE D2 A narrow residual does not downgrade its working parent capability; each row names the distinct observation, workload, or control evidence needed to close that residual.

EAppendix E · Subsystem and Evidence-Index References

Reader navigation and evidence discovery remain separate from capability status. A link identifies a reading or distribution surface; it does not promote CodeSentinel integration, operational status, deployment, or lifecycle authority.

TABLE E1 · Subsystem and publication crosswalk
Subsystem / contextCodeSentinel roleOwner section(s)Dedicated reading pathAvailability boundary
ORACLTiered memory, evidence lineage, advisory context, and governed-evolution scenariosSection 7; Section 19; Appendix AThis report is the verified reading path; no independent public ORACL report is claimed.SessionMemory appears across release surfaces; deeper governed-memory apparatus remains DEV.
CIDSEmbedded network-security decision and enforcement subsystemSections 8-13; Section 19; Appendix C; Appendix DThis report is the verified reading path; no independent public CIDS package, repository, or report is claimed.Embedded DEV system; package extraction remains PLANNED.
Calamum TestIndependently owned adversarial validation and retained-evidence contextSection 14; Section 16Calamum technical report; Calamum public source; Calamum packageIndependent PyPI GH release; its availability does not transfer to CIDS.
ORACode / ORACallSemantic retrieval and provenance-traversal contextSection 15; Section 16ORACode / ORACall technical report; ORACode public sourceIndependent GH release; CodeSentinel integration remains DEV.
Brain knowledge artifactsReading artifacts for the planned Brain/ORACL evolution contextSection 19.9Brain 2 Reference Manual; Brain 2 research-fair posterCanonical site-tree artifacts resolve locally; the capabilities they describe remain PLANNED.
TABLE E1 Subsystem reading paths preserve independent ownership and release boundaries; no link supplies implementation or deployment evidence for another subsystem.
TABLE E2 · Evidence-index surface crosswalk
SurfaceAuthority roleCanonical or derivedProducerConsumer/reading pathStatusOwner
Documentation manifestsSchema-bound inventory and discovery evidence; no source-document mutationDerived manifest; source documents remain canonicalDocumentation-manifest builderManifest registry and documentation readersDEV · IMPLSection 6.4; Appendix A
Domain indicesHuman- and machine-readable navigation over owned documentationDerived navigation surfaceDomain-index builderDocumentation readers and discovery toolingDEV · IMPLSection 6.4; Section 17
Manifest-registry resolutionResolves indexed documents by source, dataset, subject, and keywordCanonical resolver record within discovery scope; never lifecycle SSOTManifestRegistryORACL context lookup and evidence discoveryDEV · IMPLSection 7; Section 17
Confederated session/dataset linksPersists bidirectional discovery links without job, policy, or document authorityCanonical for recorded link associations; linked artifacts retain their own authorityConfederatedLinkIndexSession, dataset, and manifest readersDEV · IMPLSection 6.4; Section 7
TABLE E2 The isolated CS21 probe proves manifest construction and validation, registry keyword resolution, and bidirectional link persistence; it does not establish comprehensive corpus freshness, production deployment, or mutation authority.

FAppendix F · External References

External authorities appear only where a retained technical claim depends on a standard or protocol specification.

  1. [1]National Institute of Standards and Technology. FIPS PUB 180-4: Secure Hash Standard (SHS). August 2015 update. Canonical publication record.
  2. [2]National Institute of Standards and Technology. FIPS PUB 198-1: The Keyed-Hash Message Authentication Code (HMAC). July 2008. Canonical publication record.
  3. [3]Dworkin, M. NIST Special Publication 800-38D: Recommendation for Block Cipher Modes of Operation: Galois/Counter Mode (GCM) and GMAC. National Institute of Standards and Technology, November 2007. Canonical publication record.
  4. [4]Moriarty, K., Kaliski, B., Jonsson, J., and Rusch, A. RFC 8017: PKCS #1: RSA Cryptography Specifications Version 2.2. Internet Engineering Task Force, November 2016. Canonical RFC record.