🇩🇪 Deutsch | 🇬🇧 English | 🛡️ Security Policy | 📝 Changelog | 🤝 Contributing Guide | 🤝 Code of Conduct | 📋 llms.txt | 📜 Third-Party Licenses | 📄 Level 1 SBOM Text | ⚖️ Notice
Note
For LLM-optimized index and quick reference, see llms.txt.
system-explorer creates evidence-based maps of a modular agent and software
system. The tool separates two layers:
- Desired functions – what the overall system is intended to provide.
- Function carriers – skills, repositories/modules, MCP interfaces, stacks, actors, commands, or other components that actually or prospectively provide these functions.
This mapping reveals full, partial, absent, overlapping, and negative coverage. A function without an evidenced carrier is not merely "unknown"; it is a visible system gap.
- bounded scanner for manifests, skills, entry points, and document links
- typed control maps for
AGENTS.md,CLAUDE.md,README.md, policies, decisions, freely configured control files, and entry directories - registry, database, and cloud maps with tables, actual/desired data actors, transfer paths, and credential references only
- local SQLite evidence registry containing URI, locator, hash, and temporal context instead of copied source data
- desired specification for functions, carriers, coverage, and structure
- transcript adapters for Codex, Claude Code, Claude Desktop, Gemini/agy, Kimi, and generic JSONL
- an opt-in, disabled-by-default provider-native hook contract that stores only redacted call/result/error metadata and source hashes
- actual, desired, diff, and coverage maps as JSON, ASCII, Mermaid, and HTML
- federated map imports/exports with identical views per device, system boundaries, and whole-system analysis
- private/partially open server checks, protection coverage, cost/locality comparisons, and purpose checks for individual modules or repositories
- LLM trace and LLM action maps for sessions and CLI, API, tool, and system connection paths
- function-path maps from entry points and actors through carriers to functions, outputs, and cross-system handoffs
- crystallized peripheral resources for installed software, external modules, repositories, scripts, and skills, including LLM control paths, flexibility, and evidence-required token-saving potential
- additive V4 composition contracts for bundles, catalogs, systems, desired instances, resolution tests, and fleets
- deterministic pinned read-only resolution with profiles, suppressions, root containment, and canonical content hashes
- fleet resolution across hosts: stable fleet ids kept apart from relative manifest paths, preserved host bindings, justified desired deviations, and blocking gaps reported separately from tolerated ones
- typed read-only bridge from
system-explorer.resolution.v1into desired and coverage evidence with requirement severity and provider overlap - explicit hashed function-equivalence contracts between differing desired and actual function IDs, without name or outcome heuristics
- optional ApiProber evidence intake for authorized passive REST checks
ai-media-editorconnector for explainer-video-ready storyboards, narration scripts, and Mermaid diagrams derived from analyzed system maps- safe idempotent repository/bundle diagram maintenance with dry run, lock/dirty gates, atomic readback, and optional commit and push
- local graphical interface with evidence-related details
- optional GET-only panel mount for the existing
ellmos-unified-guihost - read-only, prompt-assisted change proposals with mandatory gates
- path-probing plans for external, budgeted swarm tests
system-explorer is designed for autonomous agent swarms, platform engineers, and security auditors who require cryptographic certainty about available capabilities:
- [PERSONA-01] Autonomous AI Agent Engineers & Swarm Architects: Verify that tools, skills, and MCP endpoints exist and match expected signatures before delegating tasks, eliminating tool hallucination and collisions.
- High-Intent Queries:
ai agent capability discovery tool,mcp endpoint verification python,tool hallucination prevention multi-agent.
- High-Intent Queries:
- [PERSONA-02] Enterprise System Architects & SREs (Architecture Drift Detection): Detect architectural drift between desired system models and actual running implementations across multi-repository landscapes.
- High-Intent Queries:
evidence-backed system cartography,architecture drift detection python,function carrier coverage analysis.
- High-Intent Queries:
- [PERSONA-03] Local-First & Sovereign Software Developers: Explore system maps and module topologies 100% offline with zero external network dependencies or telemetry exfiltration.
- High-Intent Queries:
local-first software system mapping,zero-egress architecture visualizer,offline system topology explorer.
- High-Intent Queries:
- [PERSONA-04] Security, Compliance & Governance Auditors: Audit component provenance with Ed25519-signed actual-self receipts, SHA-256 content hashes, unprivileged non-elevation (
RunAsInvoker), and 100% permissive open-source dependencies.- High-Intent Queries:
ed25519 signed capability receipts,open-source sbom verification python,unprivileged runasinvoker architecture.
- High-Intent Queries:
system-explorer provides a distinct architectural paradigm compared to traditional static wikis, APM tracing platforms, graph databases, and standard static code linters:
| Dimension / Capability | system-explorer (ellmos-ai) | Static Wikis / Docs (Confluence / Markdown) | APM / Distributed Tracing (Datadog / Jaeger) | Graph DBs (Neo4j / Memgraph) | Generic Linters / Dependency Checkers |
|---|---|---|---|---|---|
| Mapping Model | Two-layer: Desired Functions vs. Evidenced Carriers | Static text, quickly drifts from reality | Runtime HTTP/RPC traffic traces only | Raw graph edges without function/carrier semantics | Package tree / import graph only |
| Evidence Basis | SHA-256 hashes, URIs & Ed25519 signed receipts (INV-EVID-02, INV-ED25519-07) |
Subjective human claims / notes | Unauthenticated telemetry spans | Custom query schemas | AST / requirements.txt parsing |
| Drift Detection | Automated diffing of desired vs. actual coverage (INV-FAIL-03) |
❌ Manual, labor-intensive review | ❌ None (only checks syntax/deps) | ||
| Network & Privacy | 100% Local-First / Zero-Egress (INV-LOCAL-01) |
❌ Cloud-hosted SaaS or internal web server | ❌ Massive telemetry egress to cloud | Local daemon or cloud server | Local execution |
| Evidence Storage | Local SQLite with URIs & hashes (no raw payload) | Full text articles & attachments | High-volume SaaS log/trace storage | Heavyweight graph DB disk footprint | Ephemeral / in-memory |
| Execution Overhead | Bounded scan with timeout & transactional rollback (INV-TIME-08) |
Read/write web requests | Continuous background CPU/RAM daemon | Quick CLI run | |
| Multi-Host Parity | Strict host segregation (WORKSTATION-LG vs ASUS-GEI, INV-SCOP-06) |
Single global workspace | Distributed trace correlation | Single DB cluster | Host-agnostic |
| Visualization | Native Mermaid flowcharts, sequence diagrams & Web UI | Static embedded images | Proprietary web dashboard | Graph browser UI | Terminal output |
| Agent / LLM Readiness | Machine-readable llms.txt, JSON export & CLI |
❌ Incompatible with local agent prompts | ❌ Complex query language required | Terminal JSON/text | |
| User Privileges | Unprivileged User-Mode (RunAsInvoker) (INV-NON-05) |
User permissions | Often requires root/agent daemon | Service daemon | User process |
+----------------------------------------------------------------------------------------+
[VIEW 1: CLI RUNTIMES, USER INTERFACES & AUTOMATION ENTRY POINTS]
------------------------------------------------------------------------------------------
+-------------------------+ +-------------------------+ +--------------------------+
| system-explorer CLI | | Local Web Dashboard | | Transcript & Probe |
| (scan, ingest, map, | | (127.0.0.1:8765 | | Adapters (Codex, Claude,|
| system-resolve, etc.) | | Loopback Only) | | Gemini/agy, Kimi) |
+-------------------------+ +-------------------------+ +--------------------------+
|
v
+----------------------------------------------------------------------------------------+
[VIEW 2: SYSTEM-EXPLORER SOVEREIGN CORE ENGINE & CARTOGRAPHY ORCHESTRATOR]
------------------------------------------------------------------------------------------
+------------------------------------------------------------------------------------+
| Bounded Scanner Engine | V4 Composition Resolver | Actual-Self Search Router |
| - Manifests, Skills | - Pinned Subsystem Refs | - Ed25519 Receipt Verifier |
| - Control Documents | - Provider Cardinality | - Scoped Decision Authority |
| - Function Carriers | - Strict Host Bindings | - Hashed Function Equivalence |
+------------------------------------------------------------------------------------+
|
v
+----------------------------------------------------------------------------------------+
[VIEW 3: SQLITE EVIDENCE LEDGER, ED25519 SEARCH RECEIPTS & TRUST STORE]
------------------------------------------------------------------------------------------
+-------------------------+ +-------------------------+ +--------------------------+
| Local SQLite Evidence | | Receipt Trust Store | | Exporter & Storyboard |
| Store (URIs, Locators, | | (Ed25519 Public Keys, | | Pipeline (JSON, Mermaid, |
| SHA-256 Checksums) | | File SHA-256 Pins) | | ASCII, HTML, ai-media) |
+-------------------------+ +-------------------------+ +--------------------------+
|
v
+----------------------------------------------------------------------------------------+
[VIEW 4: AIR-GAP DEFENSE PERIMETER, ZERO-EGRESS & GOVERNANCE BOUNDARY]
------------------------------------------------------------------------------------------
+-------------------------+ +-------------------------+ +--------------------------+
| 100% Local-First | | Fail-Closed Anti-Drift | | Unprivileged Non-Elev. |
| - Zero Network Egress | | - Mismatch -> Blocked | | - RunAsInvoker User Mode |
| - Loopback 127.0.0.1 | | - 0 Target Mutation | | - 48h Response SLA |
+-------------------------+ +-------------------------+ +--------------------------+
+----------------------------------------------------------------------------------------+
system-explorer organizes discovery, evidence harvesting, deterministic resolution, and governance gates into a clean layered local architecture:
flowchart TD
subgraph UI_CLI["Client, CLI & Web Surface"]
CLI["system-explorer CLI<br/>(ingest, scan, system-resolve, coverage)"]
WebUI["Local Web Dashboard<br/>(127.0.0.1:8765 / Loopback only)"]
Exporter["Map & Storyboard Exporter<br/>(JSON, Mermaid, ASCII, HTML)"]
end
subgraph Discovery["Bounded Scanner & Harvester Engine"]
Scanner["Manifest & Skill Scanner<br/>(ellmos.module.v2, skills, entry points)"]
Adapters["Transcript Adapters<br/>(Codex, Claude, Gemini/agy, Kimi)"]
Resources["Resource Harvesters<br/>(Software commands, DBs, registries)"]
end
subgraph Storage["Immutable Evidence Layer"]
DB[("Local SQLite Evidence Store<br/>(URIs, Locators, SHA-256 Hashes)")]
TrustStore["Receipt Trust Store<br/>(Ed25519 public keys, key pins)"]
end
subgraph Engine["Resolution & Bridge Engine"]
Resolver["V4 Composition & Fleet Resolver<br/>(Instance matching, bundles, catalogs)"]
Bridge["Resolution Bridge<br/>(Desired vs. actual coverage, gaps)"]
Equiv["Function Equivalence Bridge<br/>(Typed hashed equivalence contracts)"]
Router["Actual-Self Search Router<br/>(Ed25519-signed receipt validation)"]
end
subgraph Governance["Governance & Invariant Gate"]
Gate{"Fail-Closed Invariant Gate<br/>(All-or-Nothing validation)"}
StatusPass["Verified System Map<br/>(Full / Partial / Declared coverage)"]
StatusFail["Blocked Resolution<br/>(Quarantined / Visible gap / 0 mutation)"]
end
CLI --> Scanner
CLI --> Adapters
CLI --> Resources
Scanner --> DB
Adapters --> DB
Resources --> DB
WebUI --> DB
DB --> Resolver
DB --> Bridge
TrustStore --> Router
Resolver --> Gate
Bridge --> Gate
Equiv --> Gate
Router --> Gate
Gate -->|Evidence & Hash Valid| StatusPass
Gate -->|Mismatch / Missing Authority| StatusFail
StatusPass --> Exporter
StatusFail --> Exporter
The following sequence diagram illustrates the lifecycle of bounded system discovery, hash-pinned authority receipt validation, all-or-nothing resolution, and drift detection:
sequenceDiagram
autonumber
actor Dev as Operator / Agent
participant CLI as System Explorer CLI
participant Scanner as Scanner & Harvester
participant Store as SQLite Evidence Store
participant Resolver as Resolution & Bridge Engine
participant Gate as Governance & Drift Detector
participant Output as Exporter / Local UI (127.0.0.1)
Dev->>CLI: system-explorer ingest --config explorer.json
CLI->>Scanner: Bounded Scan (Manifests, Skills, Docs, Entry Points)
Scanner->>Store: Store Immutable Evidence (URI, Locators, SHA-256 Hashes)
Dev->>CLI: system-explorer system-resolve instance.v1.json --catalog bundles.catalog.v1.json
CLI->>Resolver: Match Desired Specifications vs. Actual Function Carriers
Resolver->>Store: Query Decision & Policy Authority Receipts
Store-->>Resolver: Verified Hash-Pinned Authority Receipts (document:decision / policy)
Resolver->>Gate: Evaluate Cardinality & Authority Receipts (All-or-Nothing)
alt Validation Succeeded & Evidence Matches
Gate-->>Resolver: Coverage Verified (Full / Partial / Declared)
Resolver->>Output: Emit Resolved System Map (JSON / Mermaid / HTML)
Output-->>Dev: Coverage Report & Local Dashboard on 127.0.0.1:8765
else Authority Missing or Hash Drift Detected
Gate-->>Resolver: Conflict / Tamper / Missing Authority (Fail-Closed)
Resolver->>Output: Emit Blocked Resolution (Unavailable / Quarantined)
Output-->>Dev: Visible Gap & Drift Warning (0 Target Mutation)
end
python -m venv .venv
.\.venv\Scripts\python -m pip install -e .
system-explorer init --config explorer.json
system-explorer ingest --config explorer.json --time-budget-seconds 300
system-explorer coverage --config explorer.json
system-explorer assess --config explorer.json
system-explorer map --config explorer.json --view control --format mermaid
system-explorer map --config data-cloud.json --view data --format html --output data-map.html
system-explorer documents --config explorer.json --role policy
system-explorer register X:\system\SPECIAL-ENTRY.md --role control --entry --config explorer.json
system-explorer map --config explorer.json --view coverage --format html --output map.html
system-explorer map-export --config explorer.json --view all --output system-map-WORKSTATION.json
system-explorer map-import system-map-LAPTOP.json --config explorer.json
system-explorer map --config explorer.json --view llm-traces --system LAPTOP
system-explorer map --config explorer.json --view federation
system-explorer server-check --config deployment.json
system-explorer provider-refresh --config deployment.json
system-explorer purpose-check --target carrier:system-explorer --config deployment.json
system-explorer resources --config software-resources.json
system-explorer software-endpoints --config software-resources.json --refresh
system-explorer map --config software-resources.json --view resources
system-explorer explain-video --config explorer.json --output explainer-package --media-editor ..\ai-media-editor --probe
system-explorer diagrams --repo C:\_Local_DEV\repos\my-module
system-explorer diagrams --bundle .\bundles\media.bundle.v1.json --apply --commit --push
system-explorer manifest-validate C:\path\to\a-system-repo
system-explorer component-registry-check component.registry.bindings.v1.json --bundle-root bundles
system-explorer system-resolve instance.v1.json --catalog bundles.catalog.v1.json --registry-bindings component.registry.bindings.v1.json
system-explorer fleet-resolve fleet.v1.json --catalog bundles.catalog.v1.json
system-explorer coverage --config explorer.json --resolution resolved-system.json
system-explorer coverage --config explorer.json --equivalence function-equivalence.json
system-explorer import-resolution resolved-system.json --config explorer.json
system-explorer import-function-equivalence function-equivalence.json --config explorer.json
system-explorer test-resolve system-test.v1.json --catalog bundles.catalog.v1.json
system-explorer serve --config explorer.jsonBy default, the interface binds only to 127.0.0.1:8765.
scan and the scan phase of ingest have a default CLI time budget of 300
seconds. Each root is processed as a separate transactional checkpoint. If an
error occurs before the commit, the open root transaction is rolled back;
already completed roots remain consistently stored. If an error occurs
exactly at a commit boundary that is no longer open, telemetry reports
root_commit_state_uncertain instead of falsely claiming a rollback. In JSONL
mode, progress and CLI errors are written exclusively as JSONL to stderr,
while the final result is written exclusively to stdout.
python -m system_explorer.cli scan `
--config C:\path\to\system-explorer.json `
--time-budget-seconds 900 `
--progress jsonl `
--progress-interval-seconds 5--progress off disables telemetry. --time-budget-seconds 0 explicitly
disables the deadline; this is not recommended for unattended runs. Ctrl+C
exits with code 130 and rolls back an open transaction. A resume cursor does
not yet exist: the next run scans the roots again and uses idempotent upserts.
Hard process termination can still create SQLite recovery artifacts and is
not a controlled shutdown.
In an additional Git worktree, a global editable install may still point to a different clone. For a verifiably correct test run, either use an isolated virtual environment in the worktree or explicitly place its source first:
$env:PYTHONPATH = (Resolve-Path .\src).Path
python -m unittest discover -s tests -v
python -m ruff check src testsCustom control files are configured through control_documents (glob, role,
entry flag), and entry directories through entry_directories. The control
and tree views show resolved and missing pointers together with their source
line. Additional documents can also be registered and rediscovered
interactively through the CLI and local UI.
The data view automatically recognizes JSON registries and SQLite schemas.
Additional registries, databases, table purposes, writers/readers, cloud
connections, direct or indirect mirrors, and credential references are
described neutrally through configuration; see
examples/data-cloud.json. Credential values are
never read or stored.
System identity is defined under system; map_imports, connections, and
handoffs represent external maps, SSH/Tailscale connections, and
asynchronous .SYNC handoffs. Every domain view can be restricted to an
origin system in the CLI and UI, or combined across all available maps. See
docs/FEDERATED-MAPS.md and
examples/deployment-federation.json.
Server and repository purposes are evaluated as criteria rather than mere
labels. Rules for private servers, partially open services, ApiProber, and
cost comparisons are documented in
docs/DEPLOYMENT-PURPOSE-MODEL.md; a dated
provider baseline is available in
docs/CLOUD-SERVER-BASELINE_2026-07-29.md.
Installed software is not automatically equated with LLM usability.
software_resources and a bounded software_discovery.commands allowlist
register the resource, function, and control path. ◆, ◇, △, ○, and ?
denote native, direct, indirect, reference-only, and unevidenced LLM readiness.
software-endpoints --refresh turns that same evidence into the deterministic
system-explorer.software-endpoint-registry.v1 projection. It lists only typed
resource, interface, function, actor, readiness, and observed installation fields;
raw source content, credential values, and target-system mutation remain excluded.
The output is content-hashed and validated by
schemas/software-endpoint-registry.v1.schema.json.
The rules and truth boundaries are documented in
docs/CRYSTALLIZED-RESOURCES.md; a neutral
configuration is available in
examples/software-resources.json.
The V4 contracts, hash rules, output/log bindings, and CLI boundaries are
documented in
docs/V4-COMPOSITION-CONTRACTS.md.
manifest-validate checks either a single file or an entire repository tree.
component-registry-check validates typed bundle references against exactly
hashed native sources and calculates occurrence-based declared_only gates.
system-resolve --registry-bindings consumes this exact canonical logic; a
second resolver in the manifest repository is unnecessary. Host context and
observation time belong only in explicitly generated receipts, not in the
host-neutral binding manifest. Resolver output is written atomically only
with an explicit --output; runtime actions and target-system mutations
remain excluded.
Cardinality rules are consumed only through a versioned, SHA-256-pinned
external reference. The evaluator checks exact, min, and max per scope,
provider, component, and function and distinguishes intentional overlap,
duplicate assignment, and real conflict. Missing, expired, or contradictory
rules produce a blocked proposal gate; no local competing rule authority is
created.
External swarm results can be imported as referential probe receipts:
system-explorer import-probe-receipt probe-receipt.json --config explorer.json `
--source-sha256 <authorized-source-sha256> --runner-id runner-1 --task-id task-1The importer verifies provenance, identities, source/content hashes and idempotence, and stores only evidence metadata and an index. A receipt never proves function coverage, Actual-Self identity, or authorization by itself.
For a pinned external ellmos.stack.v2 schema, pass
--stack-schema-pin stack-schema-pin.json to system-resolve. The resolver
blocks if the source is unavailable, expired, hash-drifted, or version-
incompatible; the external schema is verified in place and not copied here.
The default remains fail-closed when a required component is only declared.
For a full development-system inventory that intentionally contains planned,
inactive bundles, --emit-blocked-resolution may emit a source-verified
resolution for read-only identity and evidence checks. Every affected bundle
stays blocked; all of its components and functions are quarantined as
unavailable, while their declared state remains evidence metadata. The
output is marked blocked-evidence-only; the flag never grants runtime
activation or an executable provider.
import-actual-self accepts a hashed and Ed25519-signed
ellmos.actual-self-component-receipt.v1 from a native runtime query. Stable
reference, registry hash, source/record ID, host scope, expiry, and exact
function IDs must match an already source-verified resolution. The producer –
for example access_surface:controlcenter – remains the evidence source and
is not reinterpreted as a function provider. declared, inferred, external
hosts, expired receipts, and name similarity provide no availability.
Permitted signer, host, adapter, receipt schema, and maximum TTL come from the
local content-hashed system-explorer.receipt-trust-store.v1; the query cannot
supply its own trust key. In addition, receipt_trust_store_sha256 in the
local Explorer configuration must pin the SHA-256 of the trust-store file
separately; the content hash stored inside the store is not a root of trust.
Each signer record additionally pins the SHA-256 of the referenced public-key
file. This key pin is rechecked during every verification so that a replaced
PEM cannot be authorized by an unchanged trust store.
system-explorer search-route search-query.json `
--config explorer.json `
--resolution resolved-system.json `
--actual-self controlcenter-native-readback.json `
--authority-receipt scoped-decision-receipt.json `
--output search-receipt.jsonsearch-route does not accept free-text search. Exact candidates, semantic
ranking, and ControlCenter lexical search may supply only typed stable
references. System Explorer then filters them against registry identity,
actual-self evidence, and scope-specific coverage. Scores are compared only
within their explicitly named score_domain. Ambiguity remains fail-closed.
The generated ellmos.search-routing-receipt.v1 is read-only by default and
does not execute a tool. An explicitly requested executable selection also
requires matching, separately signed
ellmos.search-authority-receipt.v1 references. The query contains only their
stable references; embedded or self-asserted authority fields are invalid. A
delegated-avatar-decision is valid only within its component, capability,
query, host, and system scopes, and requires a delegation reference, evidence
references, minimum confidence, freshness, and freedom from conflicts. The
signer policy must explicitly permit the delegation reference. The receipt
issuer and scope.host_ids must match the host of the currently resolved
system instance; a multi-host signer does not permit foreign-host replay. A
raw TOM_lm prediction alone is not an authority. Stored actual/authority
receipts are cryptographically verified again for every search; a manipulated
SQLite metadata record is insufficient. Every authority evidence and
conflicts ref must also resolve uniquely in the local Evidence Store with the
exact declared SHA-256 and an authorizing document:decision or
document:policy source kind. External/read-only evidence and missing,
deleted, ambiguous, or hash-mismatched records block executable authority.
The following sequence diagram models the cryptographic lifecycle of Ed25519 trust store verification, actual-self readback validation, and fail-closed search routing:
sequenceDiagram
autonumber
actor Caller as Agent / Caller
participant CLI as System Explorer (search-route)
participant Trust as Receipt Trust Store (Ed25519)
participant Evidence as SQLite Evidence Store
participant Router as Actual-Self Search Router
participant Gate as Fail-Closed Security Gate
Caller->>CLI: search-route (candidates, resolution, actual-self, authority)
CLI->>Trust: Validate Ed25519 Key Pin & Store SHA-256 Digest
Trust-->>CLI: Public Key & Signer Policy Validated
CLI->>Router: Dispatch Scoped Candidates & Score Domain
Router->>Evidence: Query Decision & Policy Provenance (URIs & Checksums)
Evidence-->>Router: Verified Local Evidence Records (document:decision / policy)
Router->>Gate: Evaluate Scopes, Host-IDs & Delegated Authority Receipts
alt Cryptographic Verification Succeeded & Scope Valid
Gate-->>Router: Authorized Selection Verified
Router->>CLI: Construct ellmos.search-routing-receipt.v1 (Readback-Verified)
CLI-->>Caller: Emit Routing Receipt (Status: AUTHORIZED)
else Tamper, Expiry, Scope-Mismatch or Foreign-Host Replay
Gate-->>Router: Security Violation or Ambiguity Detected (Fail-Closed)
Router->>CLI: Quarantine Selection (Zero Tool Execution)
CLI-->>Caller: Emit Blocked Receipt (Status: BLOCKED)
end
The ai-media-editor connector materializes a UC6 handoff with a storyboard,
German narration, and Mermaid visuals from selected maps. It does not silently
render media itself or copy raw evidence. The separate repository diagram
adapter writes only a marked generated documentation file into explicitly
named Git roots; dry run is the default. Its contract and security gates are
documented in
docs/CONNECTOR-ADAPTERS.md.
- Sources remain in place; only references and checksums are stored.
- Prompt and transcript content is not stored.
- A manifest declaration does not prove actual use.
- A tool call proves successful function execution only together with a result, readback, or test.
- The module produces proposals but does not modify target systems.
- Newer evidence wins only within the same relationship; older positive evidence cannot obscure negative evidence.
Details are available in ARCHITECTURE.md, data rules in
docs/EVIDENCE-MODEL.md, and adapter boundaries in
docs/PROVIDER-ADAPTERS.md.
A stored system-explorer.resolution.v1 output can be imported directly as
desired evidence:
ellmos.system.v1 may compose pinned subsystem_refs. The resolver validates
their role and profile, rejects path/identity cycles, and keeps every child as
an independently hashed nested resolution; child bundles and functions are
never flattened into the parent. Identical system/instance output bindings
are deduplicated, while conflicting policies for the same target fail closed.
Until scoped subsystem projection exists, the resolution importer rejects a
non-empty subsystem tree explicitly instead of silently dropping it.
When a caller needs evidence for a component in the root system before child
projection is available, --root-only-resolution is an explicit scoped
fallback for import-resolution, import-actual-self,
import-search-authority, and search-route. It imports only root carriers,
records projection_scope: root-only and the exact omitted subsystem count,
and never treats children as absent or verified.
system-explorer coverage `
--config explorer.json `
--resolution resolved-system.jsonAlternatively, desired_resolution_sources in the Explorer configuration
accepts one or more resolution paths; coverage and ingest import them
relative to the configuration directory. Scope and component.ref determine
a collision-safe hashed carrier ID; both readable values remain in metadata.
Only known active desired_status values and their provides create desired
function edges; unavailable remains visible as carrier status but provides
no function. consumes remains descriptive carrier metadata. required,
recommended, optional, and desired_status remain attached to the edges.
A newer resolution for the same instance replaces its older active desired
projection. Older generations are recorded as stale-ignored during later
imports and cannot roll back active state; equal generations with different
content hashes are rejected as conflicts. Parsing, source hash, and file
metadata come from the same opened byte snapshot. State validation and
projection replacement run together within a SQLite BEGIN IMMEDIATE
boundary so concurrent imports of the same scope are decided serially.
Coverage output separates discovery_summary from desired_summary and
reports multiple resolution scopes individually: only required counts as a
hard gap, while recommended and optional gaps remain separately visible.
Multiple desired providers within the same scope appear as desired_overlap;
the same providers on different hosts are not merged into an artificial
overlap. assess and propose preserve this scope boundary, so a satisfied
host cannot conceal another host's gap. Actual coverage additionally requires
a typed match of component_ref or stable_ref. A different observed
provider on the same host is reported as wrong-provider and
carrier-mismatch, not as satisfying the desired function. A fallback that
the resolution explicitly declares as a second provider remains eligible for
coverage. For host-bound instances, only the explicit host ID counts; neither
the instance scope nor a shared logical system ID may satisfy multiple hosts
at once.
The scanner propagates real component identity without name heuristics: valid
ellmos.module.v2 manifests provide exactly module:<id>, and skills provide
only an explicitly declared component_ref. Duplicate source claims are a
fail-closed conflict; untagged carriers and mere name, case, path, tag,
package, or command similarity remain ineligible for coverage. Software
resources are bound only when their canonical configuration declaration is
also present as hashed evidence.
The import writes exclusively to the local Explorer evidence registry.
Resolutions with non-empty runtime_actions or target_mutations are
rejected; neither source nor target system is changed.
Differing desired and actual function IDs are never equated based on names,
capitalization, paths, tags, or a similarly described outcome. A positive
mapping instead requires a system-explorer.function-equivalence.v1 contract
with:
- a typed
component_ref; - exact schema, version, and content-hash pins for desired and actual contracts;
- a typed decision or policy authority;
- decision/policy evidence already present in the evidence store, with an
identical URI and SHA-256 and carrying the same concrete
authority_ref; - a verified actual carrier on exactly the same host;
- positive native actual evidence with a permitted readback/probe source type
and SHA-256.
declaredandinferredare insufficient.
Template contracts are host-neutral; actual host deviations require an
explicit host-override with host ID and rationale. Multiple applicable
authorities for the same target constitute a conflict and materialize no
coverage. Contract or scanner hash drift withdraws coverage until a renewed
mapping exists. The synthetic edge inherits the native actual status and
cannot upgrade it; observed therefore remains partial coverage.
The V4 inventory found 68 unique desired function IDs and 886 actual function IDs with no exact intersection. This release therefore deliberately provides only the registry, importer, and synthetic tests, but no real equivalence mapping. Real pairs are added only after an explicit capability contract and decision/policy provenance exist.
system-explorer strictly adheres to 10 foundational system and operational invariants:
| ID | Invariant | Description & Enforcement |
|---|---|---|
| INV-LOCAL-01 | 100% Local-First & Zero Network Egress | All analysis, transcript parsing, and evidence storage operate exclusively offline. The web server binds strictly to 127.0.0.1:8765. Zero telemetry or remote data transmission. |
| INV-EVID-02 | Immutable Evidence & Content Checksums | Source files remain in place. The local SQLite store records only URIs, locators, temporal metadata, and SHA-256 digests; raw prompt and private payload contents are never stored. |
| INV-FAIL-03 | Fail-Closed Resolution & Anti-Drift | Any missing authority receipt, content hash drift, expired key pin, or unevidenced capability triggers an immediate quarantine/blocked state. No heuristic guessing. |
| INV-RO-04 | Read-Only Governance & Zero Target Mutation | The system explorer generates proposals, system maps, and diffs without modifying scanned modules, target environments, or external registries. |
| INV-NON-05 | Non-Elevation & Unprivileged Execution | Executes completely within standard user-level privileges (RunAsInvoker). Never requires administrative or root privileges. |
| INV-SCOP-06 | Strict Scope & Host Isolation | Instances and carriers on different physical hosts (WORKSTATION-LG, ASUS-GEI) are strictly segregated. Cross-host merging of identical names is rejected. |
| INV-ED25519-07 | Cryptographic Receipt Integrity | Actual-self and search authority receipts require valid Ed25519 cryptographic signatures verified against local content-hashed trust stores with SHA-256 key pinning. |
| INV-TIME-08 | Bounded Scan Time & Transactional Rollback | Scans operate within configurable deadlines (default 300s). Root scans execute within atomic transactional boundaries; errors roll back open transactions safely. |
| INV-CROSS-09 | Cross-Platform Parity & Multi-Host Sync Resilience | Native file paths and manifest references are normalized across Windows, Linux, and macOS. Hardened against cloud sync conflict copies and multi-agent lock contention. |
| INV-SLA-10 | 48h Security Response & 5-Day Triage SLA | Security vulnerabilities receive initial acknowledgment within 48 hours and formal triage within 5 business days, backed by coordinated disclosure. |
system-explorer remains usable on its own. In a V4 composition, it is the
required discovery, mapping, and coverage checker for the
ellmos-core-discovery-bundle. Direct partners are ellmos-core as the
orchestration caller and the recommended component resolver and semantic
routing partner.
The same module is the concrete read-only provider for the
module:software-endpoint-registry composition role: its dedicated CLI projection
materializes the already evidenced software-resource graph without creating a
second registry authority.
The module can also provide read-only support at two boundaries:
ellmos-governance-assurance-bundle: optional mapping of decision documents, policies, and references. Decisions and policies remain with their domain authorities.ellmos-sync-federation-bundle: recommended cloud-safe map projection. Federation and transfer remain with their designated carriers.
MCP servers such as ControlCenter are access surfaces, not function owners of this module. Authoritative membership, versions, profiles, and private composition recipes are defined exclusively in the respective bundle manifest; this public overview is only a safe discovery aid.
Three prospective optional capability integrations do not yet have a cataloged module provider in ellmos-module.v2.json and are tracked here as roadmap boundaries rather than active optional manifest dependencies:
controlcenter.context— planned read-only context projection fromellmos-controlcenter-mcp(currently an MCP access surface rather than av2module provider).byum.prompt-evidence— planned redacted prompt-evidence handoff frombuild-your-users-mindonce exposed as a typed module capability.apiprober.passive-export— planned passive endpoint export intake fromApiProbercomplementing the localapi-prober.evidence-adapter.
system-explorer is part of the ellmos-ai ecosystem under the open-bricks umbrella:
| Tool | Focus & Purpose |
|---|---|
policy-registry |
Canonical policy management & evaluation contracts |
sqlite-transit-sync |
SQLite replication & delta sync bridge |
coma |
Context Manager & Semantic Router for LLM agents |
automation-master |
Enterprise automation orchestration & scheduling |
ellmos-delegation-authority |
Fail-closed signed delegation grant & capture authority |
ellmos-controlcenter-mcp |
Unified MCP control plane for tools, profiles & decisions |
ellmos-filecommander-mcp |
High-performance filesystem manipulation MCP server |
ellmos-codecommander-mcp |
Code intelligence, AST refactoring & structural edit MCP server |
n8n-manager-mcp |
Visual workflow automation & node configuration MCP server |
lock-master |
Cross-process atomic lock management & resource leasing |
ticket-master |
Deterministic task tracking & atomic ticket ledger |
clutch |
Transactional git state management & atomic branch operations |
DevCenter |
Developer workstation hub & tool registry |
CodeBox |
Sandboxed code execution & test harness |
MethodenAnalyser |
Code complexity & method structure analysis |
CleanMarkdown |
Deterministic markdown formatting & linting engine |
PDFtoPDFocr |
Local-first searchable PDF OCR & text extraction |
open-bricks |
Umbrella organization for sovereign desktop & developer tools |
system-explorer enforces comprehensive quality assurance through automated test suites, strict linting, bytecode compilation, and contract validation:
- Pytest Suite: 248 tests executed with
--basetemp=.pytest_tempand 100% green pass rate. - Ruff AST Linter: Complete compliance with PEP 8 and modern Python 3.10+ lint standards (
ruff check src tests). - Python Bytecode Compilation: Verified across all source trees (
python -m compileall -q src tests). - Contract & Metadata Invariants: Validated in
tests/test_metadata.pyandtests/test_versioning.py.
pytest -ra -v
ruff check src tests
python -m compileall -q src testssystem-explorer maintains enterprise-grade open-source compliance and transparent dependency governance:
- 100% Permissive Open-Source Stack: All direct runtime dependencies (
cryptography, Python Standard Library) and development tooling (pytest,ruff,build,jsonschema) are licensed under permissive terms (MIT, Apache-2.0, BSD-3-Clause, PSFL). - Zero Restrictive Copyleft: No GPL, AGPL, or proprietary commercial modules are required or bundled.
- Local-First & Unprivileged: Executes under
RunAsInvokerwith zero outbound network calls, binding the local web UI exclusively to loopback127.0.0.1:8765. - Level 1 SBOM Inventory: Detailed per-package licenses, upstream links, Invariant Cross-Reference Matrix (
INV-LOCAL-01toINV-SLA-10), and complete license texts are documented inTHIRD_PARTY_LICENSES.md, plain-text companionTHIRD_PARTY_LICENSES.txt, andNOTICE.
In accordance with INV-SLA-10, security vulnerabilities are acknowledged within 48 hours and formally triaged within 5 business days:
- Security Contacts:
[email protected],[email protected],[email protected] - Coordinated Disclosure: Reports submitted via GitHub Security Advisories or direct PGP-encrypted security contacts.
Die Bereitstellung dieser Software erfolgt unentgeltlich im Rahmen eines Gefälligkeitsverhältnisses. Gemäß § 521 BGB haftet der Urheber ausschließlich für Vorsatz und grobe Fahrlässigkeit. Jegliche Haftung für leichte Fahrlässigkeit, Folgeschäden sowie Datenverlust im Zusammenhang mit dem Betrieb oder der Auswertung von Systemkarten ist ausgeschlossen.
