CLI Command Reference¶
The eidos command-line tool provides everything needed to scaffold, validate, serve, and mutate living specifications.
eidos [OPTIONS] COMMAND [ARGS]...
# Global --path / -p works before any subcommand (overridden by a subcommand's own --path):
eidos -p packages/api/eidos validate
eidos -p packages/api/eidos index status --json
Commands are semantically organized into six functional panels in CLI help output (eidos --help):
1. Setup & Workspace: Environment information, versioning, workspace diagnostics, repository bootstrapping, and optional repository configuration (eidos config).
2. Governance & Verification: Schema validation and spec-to-code drift detection.
3. Knowledge Graph & AI Context: Subgraph context extraction and SQLite/FTS5 knowledge graph maintenance.
4. Living Catalog & Mutations: Specifications (eidos spec) and SpecDeltas (eidos delta).
5. Living Web Portal: Local interactive web portal preview server and static site compilation.
6. Agent Ecosystem & Plugins: Multi-agent skills installation, verification, and updates conforming to agentskills.io.
Monorepo Multi-
eidos/Auto-Routing: When invoked from a Git monorepo root containing nested sub-projecteidos/directories (both sub-project-only layouts and root + sub-project layouts), path-taking commands (eidos context -f <path>,eidos index blast-radius <path>,eidos memory add -f <path>, and path-shapedspec/delta/memorytargets) auto-route to the owning sub-project,eidos driftandeidos validateautomatically evaluate dirty or discovered sub-projects (preventing false-green root checks), and rootless monorepo commands without--pathfail closed withdiscovered_subprojectshints instructing-p <subproject>/eidos.
1. Setup & Workspace¶
eidos --version¶
Display the installed Eidos engine version.
eidos info¶
Display the Eidos engine version, bundled schemas, and platform status.
eidos doctor¶
Verify optional repository configuration (checks.repo_config), Eidos tool installation, non-blocking PyPI release update availability (checks.cli_update, honoring plugin.updates_check), root AGENTS.md managed-block integrity (checks.agents_md), non-blocking open SpecDelta verification readiness (checks.open_deltas), non-blocking team operational memory health (checks.team_memories), Git repository status, specification directory health, knowledge graph index freshness, and installed agent plugin currency with non-blocking advisories for missing concrete plugin.targets:
Options:
* --path, -p PATH: Path to the project or specifications directory (default: current directory).
* --json: Output diagnostic report in JSON format (including checks.repo_config, checks.cli_update, checks.agents_md, checks.open_deltas, checks.team_memories, and checks.agent_plugin with installed_targets, configured_targets, and missing_configured_targets).
eidos init¶
Initialize a Git repository (or an independent sub-project inside a monorepo) with an Eidos living specification skeleton, tracking empty directories with .gitkeep files, self-contained eidos/.gitignore, and immediate validation. Passing either <repo> or <repo>/eidos initializes <repo>/eidos directly without nesting eidos/eidos. Note that eidos init operates 100% zero-config and does not create eidos/eidos.yaml by default (preserving any pre-existing eidos/eidos.yaml untouched; optional config can be scaffolded via eidos config init, and agent plugins are installed separately via eidos plugin install).
# Initialize living specification skeleton in current repository
eidos init
# Initialize at a custom repository or monorepo sub-project path:
eidos init /path/to/repo --title "My System"
eidos init packages/api --title "API Service"
# Initialize with a turnkey GitHub Actions or GitLab CI drift gate workflow:
eidos init --title "My System" --ci github
eidos init --title "My System" --ci gitlab
Options:
* PATH: Target project or eidos/ directory to initialize (default: current working directory .).
* --title, -t TEXT: Human-readable display title.
* --force, -f: Overwrite existing files if present (preserving an existing authored system.adoc when --title is omitted).
* --ci TEXT: Optional turnkey CI workflow template to scaffold (github for .github/workflows/eidos-drift.yml or gitlab for .gitlab-ci.eidos.yml; preserves existing workflow files unless --force is set).
eidos config¶
Scaffold, inspect, and view the offline schema for the optional, project-scoped repository configuration file (eidos/eidos.yaml, or <subproject>/eidos/eidos.yaml in monorepos).
Eidos works 100% zero-config when eidos/eidos.yaml is absent. When present, eidos/eidos.yaml configures operational engine defaults under deterministic precedence:
# Scaffold a commented, schema-validated starter eidos/eidos.yaml
eidos config init
eidos config init --force --json
# Display active config file, effective resolved settings, and per-key source attribution (default | file | env)
eidos config show
eidos config show --json
# Inspect all valid v1 config keys, defaults, and mapped EIDOS_* environment variables offline
eidos config schema
eidos config schema --json
Sub-commands:
* init [--force] [--path PATH] [--json]: Scaffolds a commented starter <eidos_dir>/eidos.yaml (refusing to overwrite an existing file with exit code 1 unless --force, -f is passed).
* show [--path PATH] [--json]: Displays the resolved config path (or absent), every effective value, and per-key provenance (default, file, or env), failing closed with exit code 1 on schema or EIDOS_* errors.
* schema [--json]: Introspects the bundled eidos-config.v1.schema.yaml schema offline (all 7 sections, constraints, built-in defaults, and EIDOS_* environment variables).
Optional eidos/eidos.yaml Reference¶
Architectural and product truth always lives in eidos/*.adoc; eidos/eidos.yaml strictly governs operational engine and workflow knobs (no credentials or LLM provider settings) and validates fail-closed (version: 1, additionalProperties: false):
version: 1
workspace:
exclude: ["generated/**"] # completely excluded from indexing, source ownership, tests, and drift
tests:
include: ["qa/specs/**"]
exclude: ["tests/fixtures/**"] # reclassified from test -> governed production source (use workspace.exclude to ignore helper scripts)
subprojects_exclude: ["examples/fixtures/**"]
drift:
base_ref: origin/main
strict: false
warn_only: false
fail_on_warnings: false
ignore_paths: ["scripts/dev/**"] # suppresses code_files only; never specs, deltas, memories, or tests
checks:
mermaid: error # error | warn | off
import_boundaries: error
public_surface: error
contract_parity: error
deprecated_references: warn
context:
default_tier: guardrails # anchor | guardrails | deep
budgets:
anchor: 300
guardrails: 1000
deep: 2500
repo_map_max_tokens: 1500
semantic:
enabled: true
variant: quantized # quantized | fp32 | fp16
# model_mirror_url: https://artifacts.internal/harrier # HTTP(S) only; SHA-256 manifest enforced
memory:
commit_drift_threshold: 5
tier_caps:
anchor: [2, 0] # [max_anchored, max_global]
guardrails: [3, 2]
deep: [5, 3]
# default_expiry_days: 90 # optional; override single entry with --expires none
lifecycle:
archive:
keep_recent: 15
include_explorations: true
plugin:
targets: ["claude", "cursor"] # concrete targets only (excludes "all")
updates_check: true
portal:
serve:
host: 127.0.0.1
port: 3000
open_browser: false
build:
out_dir: site # validated strictly inside repository root
single_file: false
[!TIP] Choosing between
workspace.exclude,workspace.tests.exclude, anddrift.ignore_paths: * Useworkspace.excludeto ignore generated code, fixtures, or standalone helper scripts (e.g., utility scripts undertests/) completely across discovery, indexing,source_ownership, and drift. * Useworkspace.tests.excludeonly when a file under a test directory should be reclassified as governed production code (code/source) and owned by a C4 component. * Usedrift.ignore_pathsto suppresscode_filesdrift warnings on specific paths while keeping them indexed (never suppresses living specs, SpecDeltas, memories, tests, or onboarding files).
Supported EIDOS_* Environment Variables¶
Environment variables override eidos/eidos.yaml and are themselves overridden by explicit CLI flags (invalid non-empty values fail closed with exit code 1; booleans accept 1/true/yes/on vs 0/false/no/off):
| Environment Variable | Config Key | Type |
|---|---|---|
EIDOS_DRIFT_BASE_REF |
drift.base_ref |
string |
EIDOS_DRIFT_STRICT |
drift.strict |
boolean |
EIDOS_DRIFT_WARN_ONLY |
drift.warn_only |
boolean |
EIDOS_DRIFT_FAIL_ON_WARNINGS |
drift.fail_on_warnings |
boolean |
EIDOS_CONTEXT_TIER |
context.default_tier |
anchor \| guardrails \| deep |
EIDOS_SEMANTIC_ENABLED |
context.semantic.enabled |
boolean |
EIDOS_SEMANTIC_VARIANT |
context.semantic.variant |
quantized \| fp32 \| fp16 |
EIDOS_SEMANTIC_MIRROR_URL |
context.semantic.model_mirror_url |
http(s) URL |
EIDOS_NO_UPDATE_CHECK |
plugin.updates_check (false) |
boolean |
EIDOS_FORCE_UPDATE_CHECK |
plugin.updates_check (true, when EIDOS_NO_UPDATE_CHECK is unset) |
boolean |
2. Governance & Verification¶
eidos validate¶
Validate all AsciiDoc specification documents against their bundled v1 JSON/YAML schemas—plus automatic fail-closed validation of optional eidos/eidos.yaml (schema_errors["eidos/eidos.yaml"]) and configurable drift.checks severities—check x-eidos-ref cross-document graph integrity, validate embedded [mermaid] and [source,mermaid] diagram syntax in-process via quickjs-ng mermaid.parse() (cached in mermaid_validation_cache), verify on-disk existence of declared container package paths and contract specification files, and enforce bidirectional multi-protocol contract parity (cli_args across Python, Go cobra, Rust clap, Node/TS commander/yargs, and C# System.CommandLine; openapi including OpenAPI 3.1 webhooks; rest_http; protobuf; graphql; bidirectional json_schema with $defs/definitions; python_protocol; asyncapi; json_rpc_stdio; code_interface; wsdl; avro; sql_ddl; trpc; websocket; and mcp).
eidos validate eidos
eidos validate --json
eidos validate --fail-on-warnings --json
eidos validate --no-fail-on-warnings --json
Options:
* PATH: Positional path to the specification directory or file (default: eidos).
* --fail-on-warnings / --no-fail-on-warnings: Escalate non-empty advisory validation warnings to exit code 1, or explicitly disable drift.fail_on_warnings: true from eidos/eidos.yaml (built-in default: False).
* --json: Output structured JSON validation report (including non-blocking advisory warnings and warning_count).
Exit Codes:
* 0: All specifications (and optional eidos/eidos.yaml) conform to schema with zero broken cross-references or missing file bindings (advisory warnings do not fail exit code 0 unless effective fail_on_warnings is active).
* 1: Schema validation errors, invalid eidos/eidos.yaml, broken cross-references, missing declared files, undocumented/stale contract operations, or advisory warnings under --fail-on-warnings detected.
[!NOTE]
eidos validateis a static catalog linter (with schema-digest-keyed fast-path caching for historicalstatus: appliedSpecDeltas). It does not inspect Git diffs or scan the test suite for polyglot invariant coverage, making it sub-second fast for local specification authoring and TDD.
eidos drift¶
The primary Git-native verification gate. Detects spec-to-code drift between Git branches (using fail-closed 3-dot merge-base comparison, loading eidos/eidos.yaml strictly from --head on commit-range runs) or uncommitted working-tree changes, validates schema conformance, enforces substantive spec diffs, and statically verifies polyglot invariant test bindings across both Planned Mode and Direct Mode:
# Compare current branch against base branch (3-dot merge-base diff):
eidos drift --base origin/main
# Inspect uncommitted working tree and staged changes:
eidos drift --uncommitted
# Output structured JSON (includes touched_components, trivially_covered_files, remediation_suggestions):
eidos drift --uncommitted --json
# Run as non-blocking warning check, or override eidos/eidos.yaml defaults on a single run:
eidos drift --warn-only
eidos drift --no-strict --no-warn-only --no-fail-on-warnings
Options:
* --base, -b REF: Base git reference to compare against (resolves default from drift.base_ref / EIDOS_DRIFT_BASE_REF ahead of origin/main or main; fails closed if an explicit ref cannot be resolved).
* --head REF: Head git reference (defaults to HEAD; commit-range checks load specs and eidos/eidos.yaml strictly from --head).
* --uncommitted, -u: Analyze uncommitted working tree and staged changes instead of branch diff.
* --path, -p PATH: Path to eidos specifications directory (defaults to ./eidos).
* --json: Output raw JSON verification result (including structural_code_files, body_only_code_files, trivially_covered_files, boundary_violations, ratchet_shrink_candidates, non-blocking validation_warnings, diff-scoped ready_to_apply_deltas, advisory untouched_consumers, and strictly non-blocking diff-scoped affected_memories).
* --strict / --no-strict: Treat body-only code changes as drift unless accompanied by a 1-hop spec, active SpecDelta, or test update (resolves default from drift.strict / EIDOS_DRIFT_STRICT).
* --fail-on-warnings / --no-fail-on-warnings: Exit with code 1 when advisory validation_warnings or ready_to_apply_deltas are non-empty unless effective warn_only is active (resolves default from drift.fail_on_warnings / EIDOS_DRIFT_FAIL_ON_WARNINGS); ratchet_shrink_candidates, untouched_consumers, and affected_memories remain strictly non-blocking review advisories.
* --warn-only / --no-warn-only: Do not exit with code 1 when drift is detected (resolves default from drift.warn_only / EIDOS_DRIFT_WARN_ONLY).
Exit Codes:
* 0: Specifications and code are synchronized, all schemas, import boundaries, and bindings valid, invariant tests green (advisory ratchet_shrink_candidates, untouched_consumers, affected_memories, validation_warnings, and ready_to_apply_deltas do not fail exit code 0, though validation_warnings and ready_to_apply_deltas escalate when effective fail_on_warnings is active).
* 1: Spec-to-code drift detected, architectural import boundary_violations detected, unowned structural code found, specification or eidos/eidos.yaml validation errors found, uncovered/orphan invariants detected, or non-empty validation_warnings / ready_to_apply_deltas under --fail-on-warnings (without --warn-only).
[!IMPORTANT]
eidos driftsubsumeseidos validate: it executes the entireSpecValidatorsuite internally as part of its gate, in addition to checking Git diffs, AST structural changes, and polyglot invariant test bindings.
3. Knowledge Graph & AI Context¶
eidos context¶
Extract a compact, rank-ordered, token-budgeted architectural subgraph slice (C4 containers/components, bound contracts, domain capabilities, active invariants, governing policies, and embedded DEC-* decisions) given target file paths, comma-separated paths, or quoted glob patterns, a component/container ID, or a natural-language task prompt. Powered by the embedded SQLite knowledge graph for sub-3ms resolution.
# Slice context for touched code files, comma-separated paths, or quoted globs (defaults to guardrails tier)
eidos context -f src/eidos/cli/main.py
eidos context -f src/eidos/cli/main.py,src/eidos/cli/context_command.py
eidos context -f "src/eidos/*/installer.py" --json
# Lightweight anchor context (<= 300 tokens)
eidos context -c CNT-EIDOS-CORE --tier anchor
# Deep architectural context including C4 internal modules (<= 2500 tokens)
eidos context -c CNT-EIDOS-CORE --tier deep
# Slice context from a free-text task description
eidos context -t "Implement Git-native drift detection"
# Slice context for uncommitted working-tree changes or a PR branch diff
eidos context --uncommitted --json
eidos context --base origin/main --head HEAD --tier guardrails
# Output in JSON format
eidos context -c CNT-EIDOS-CORE --json
Options:
* -f, --file TEXT: Target source file path(s), comma-separated paths, or quoted glob patterns (e.g. 'apps/*/Dockerfile'). Always quote globs so your shell does not expand them into positional arguments.
* -c, --component TEXT: Target container or component identifier (e.g. CNT-EIDOS-CLI, CMP-SPEC-VALIDATOR).
* -t, --task TEXT: Free-text task description or engineering prompt.
* -u, --uncommitted: Slice deduplicated architectural context for all uncommitted working-tree and staged Git changes.
* -b, --base REF: Slice deduplicated architectural context for files changed relative to a base Git reference (e.g. origin/main).
* --head REF: Head Git reference when slicing with --base (default: HEAD).
* -T, --tier [anchor|guardrails|deep]: Context compression budget (default: guardrails).
* anchor: Container/component metadata, direct contract signatures, 1-line DEC-* summaries, and up to 2 anchored MEM-* team memory summaries (<= 300 tokens).
* guardrails: Adds structured epistemic provenance_tags, domain capabilities, active invariants with test_binding, policies, full DEC-* rationale, and up to 3 anchored + 2 global MEM-* memories with non-fresh diagnostics and clipped guidance (<= 1,000 tokens).
* deep: Adds standalone C4 component details, contract schemas, downstream dependents with provenance_tags, and up to 5 anchored + 3 global MEM-* memories with extracted guidance and why sections (<= 2,500 tokens).
* --semantic / --no-semantic: Enable or disable opt-in Harrier Hybrid RRF semantic fusion when spec_embeddings synchronization is complete (semantic_sync_complete = 1; partial/interrupted syncs deterministically fall back to FTS5 BM25) (default: --semantic).
* --json: Output context slice as machine-readable JSON instead of Markdown.
* -p, --path PATH: Path to specifications directory (default: eidos).
eidos index¶
Manage and query the embedded SQLite architectural knowledge graph and FTS5 lexical search index (eidos/.cache/index.db).
The index initializes automatically on first use and lazily resynchronizes before every query via sub-5ms mtime_ns and SHA-256 dirty checking, guaranteeing zero drift.
eidos index status¶
Display database cache size, schema version (2.24.0), clean/drift synchronization state across specs and code, check latency, entity/edge counts, edge_counts_by_provenance (declared_spec, ast_import, ast_http, ast_symbol, inferred_ownership), active AST parser engine (ast-grep), symbol breakdown by syntax kind, and test-to-invariant assertion counts. Supports --json for programmatic agent inspection.
# Display rich visual status and AST telemetry:
eidos index status
# Output raw telemetry as machine-readable JSON:
eidos index status --json
Options:
* --json: Output raw index telemetry as formatted JSON.
* -p, --path PATH: Path to specifications directory (default: eidos).
eidos index sync¶
Manually synchronize or force a full clean rebuild of the SQLite database and FTS5 index, with optional Harrier semantic embedding control and JSON telemetry.
# Incremental synchronization (auto-triggered on queries if dirty)
eidos index sync
# Fast structural/AST sync skipping Harrier ONNX embedding generation
eidos index sync --no-semantic --json
# Force semantic sync even when context.semantic.enabled is false in eidos/eidos.yaml
eidos index sync --semantic --json
# Force complete rebuild from scratch
eidos index sync --force
Options:
* --force: Force complete drop and rebuild of all tables and indexes.
* --semantic / --no-semantic: Enable or skip Harrier ONNX semantic embedding synchronization when provisioned (resolves default from context.semantic.enabled / EIDOS_SEMANTIC_ENABLED; built-in default: --semantic).
* --json: Output synchronization metrics and semantic status as machine-readable JSON.
* -p, --path PATH: Path to specifications directory (default: eidos).
eidos index search¶
Perform two-tier (AND conjunction before OR fallback) column-weighted BM25 full-text search (with camelCase/snake_case identifier de-compounding and AST symbol projection) across specification titles, requirements, decisions, and invariants.
Options:
* QUERY: Search query or keywords.
* -l, --limit INTEGER: Maximum number of search results to return (default: 10).
* --semantic / --no-semantic: Enable or disable opt-in Harrier Hybrid RRF semantic fusion when spec_embeddings synchronization is complete (semantic_sync_complete = 1; partial/interrupted syncs deterministically fall back to FTS5 BM25) (default: --semantic).
* --json: Output search results as machine-readable JSON.
* -p, --path PATH: Path to specifications directory (default: eidos).
eidos index blast-radius¶
Traverse the architectural knowledge graph using delimiter-anchored, hub-scoped recursive Common Table Expressions (CTE) to calculate forward/reverse dependency blast radius (with epistemic provenance, confidence, and evidence per neighbor) before editing code or contracts.
eidos index blast-radius CNT-EIDOS-CORE --depth 2
# Filter out speculative/inferred hops, keeping only observed specs + derived AST/HTTP couplings:
eidos index blast-radius CNT-EIDOS-CORE --depth 2 --min-confidence derived
# Or resolve directly from an AST symbol or file path:
eidos index blast-radius detect_drift --depth 2
eidos index blast-radius src/eidos/vcs/drift.py --depth 2
# Machine-readable JSON output:
eidos index blast-radius CNT-EIDOS-CORE --depth 2 --min-confidence observed --json
Options:
* SYMBOL_OR_PATH: Container ID, component ID, contract ID, domain ID, symbol, or file path.
* -d, --depth INTEGER: Maximum graph traversal distance (default: 2).
* --min-confidence TEXT: Minimum epistemic edge confidence threshold (inferred default, derived, or observed).
* --json: Output results as machine-readable JSON (including min_confidence and per-neighbor provenance, confidence, via_rel_type, and evidence).
* -p, --path PATH: Path to specifications directory (default: eidos).
eidos index repo-map¶
Generate a token-budgeted structural repo map outline (classes, functions, methods, structs, routes) for AI coding agents. Powered by unified 17-language AST parsing (AstGrepIndexer via ast-grep-py), compressing whole codebases into a high-density architectural outline (~98% token compression).
# Generate structural repo map with default budget (1500 tokens)
eidos index repo-map
# Or specify a custom token budget:
eidos index repo-map --max-tokens 2000
# Output as structured JSON for autonomous agent harnesses:
eidos index repo-map --json
Options:
* -t, --max-tokens INTEGER: Maximum context tokens allocated for structural repo map outline (default: 1500).
* --json: Output structural repo map as machine-readable JSON instead of Markdown.
* -p, --path PATH: Path to specifications directory (default: eidos).
eidos index find-symbol¶
Locate symbol matches (classes, functions, methods, structs, API endpoints) across polyglot AST source files and identify their exact file/line coordinates and governing living component specifications.
# Locate a class or function symbol across the codebase:
eidos index find-symbol "ArchitecturalIndex"
# Or search with custom result limit:
eidos index find-symbol "AstGrepIndexer" --limit 10
# Output as structured JSON (includes source file, line_start, line_end, signature):
eidos index find-symbol "validate" --json
Options:
* QUERY: Exact or partial symbol name (class, method, function, or route).
* -l, --limit INTEGER: Maximum number of symbol results to return (default: 20).
* --json: Output results as machine-readable JSON.
* -p, --path PATH: Path to specifications directory (default: eidos).
eidos index semantic¶
Manage and inspect the optional local Harrier-OSS-v1-0.6B ONNX semantic embedding index (eidos-ai[semantic], stored in spec_embeddings).
# Inspect semantic runtime, provisioned ONNX model variant, and cached spec_embeddings status:
eidos index semantic status --json
# Provision Harrier-OSS-v1-0.6B ONNX artifacts into eidos/.cache/models/harrier-oss-v1-0.6b/:
eidos index semantic setup --model quantized
# Synchronize content-addressed spec_embeddings for all sliceable specifications and invariants:
eidos index semantic sync
Options:
* ACTION: Action to execute (status, setup, or sync; default: status).
* -m, --model TEXT: Harrier ONNX model variant to provision (quantized, fp32, or fp16; default: quantized).
* -f, --force: Force re-download or full re-embedding of all specifications.
* --json: Output semantic index telemetry as machine-readable JSON.
* -p, --path PATH: Path to specifications directory (default: eidos).
eidos index health¶
Display a deterministic architecture governance health scorecard across source file ownership coverage (excluding gitignored and linguist-generated/linguist-vendored files), component-scoped == Public Surface adoption (CMP-* primary coverage with CNT-* container counts reported separately), verified contract specification_file bindings, capability bound-invariant coverage, advisory validation warnings, and import-boundary ratchet_baseline debt.
Options:
* --json: Output governance health scorecard metrics as machine-readable JSON.
* -p, --path PATH: Path to specifications directory (default: eidos).
eidos memory¶
Manage Git-native team operational memories (type: agent/memory, MEM-*) stored as one .adoc file per entry under eidos/memory/ and eidos/memory/archive/. Memories capture shared repository lessons (never personal preferences), attach automatically to eidos context via a secondary budgeted pass, and never block eidos validate or eidos drift.
# Save a team operational memory (--summary is optional; --file auto-anchors owning CMP-*/CNT-* entities)
eidos memory add --title "Use pnpm in portal frontend" --category feedback \
--guidance "Use pnpm exec vitest and pnpm build inside src/eidos/portal/frontend; npm fails on devEngines." \
--why "package.json devEngines pins pnpm 12." \
--file "src/eidos/portal/frontend/**" --json
# Anchor directly to modified non-memory uncommitted files
eidos memory add --title "Keep integration DB fixtures real" --guidance "Pass tmp_path SQLite DBs." --from-diff --json
# Update an active or draft memory in place and re-stamp verification
eidos memory update MEM-USE-PNPM-IN-PORTAL-FRONTEND-A1B2 \
--guidance "Run pnpm test and pnpm build inside src/eidos/portal/frontend." --json
# List, search, and inspect team memories
eidos memory list --json
eidos memory search "pnpm frontend" --json
eidos memory show MEM-USE-PNPM-IN-PORTAL-FRONTEND-A1B2
# Re-verify freshness against current Git HEAD or archive a retired note
eidos memory verify MEM-USE-PNPM-IN-PORTAL-FRONTEND-A1B2
eidos memory archive MEM-USE-PNPM-IN-PORTAL-FRONTEND-A1B2 --reason "Migrated build toolchain"
# Run a strictly non-blocking staleness, expiry, duplicate, and spec-overlap audit (always exit 0)
eidos memory audit --json
# Graduate a proven memory into a formal DEC-*, INV-*, or POL-* living specification
eidos memory promote MEM-USE-PNPM-IN-PORTAL-FRONTEND-A1B2 --to decision --spec-id DEC-PORTAL-PNPM
Sub-commands:
* add: Create a collision-resistant, AsciiDoc-sanitized, schema-validated MEM-* memory (--title, optional --summary, --category [feedback|project|reference], --guidance, --why, --entity, --file, --auto-entities/--no-auto-entities, --from-diff, --expires YYYY-MM-DD|none, --status [active|draft], --semantic/--no-semantic, --path, --json).
* update <ID_OR_PATH>: Update an active or draft MEM-* entry in place and re-stamp verification (--title, --category, --summary, --guidance, --why, --entity, --file, --replace-targets, --auto-entities/--no-auto-entities, --expires, --clear-expires, --status [active|draft], --semantic/--no-semantic, --path, --json).
* list: List team memories with computed freshness (--category, --status, --entity, --include-archived, --path, --json).
* search <QUERY>: Search active team memories via BM25 and optional Harrier Hybrid RRF (--limit, --semantic/--no-semantic, --path, --json).
* show <ID_OR_PATH>: Display full frontmatter, freshness diagnostics, and body of an active or archived memory (--path, --json).
* verify <ID_OR_PATH>: Refresh verified_at and verified_commit to current Git HEAD (--expires, --clear-expires, --path, --json).
* archive <ID_OR_PATH>: Set status: archived and move the file into eidos/memory/archive/ (--reason, --path, --json).
* audit: Report non-blocking freshness, duplicate pairs, and formal spec overlaps with exit code 0 (--check-overlaps/--no-check-overlaps, --semantic/--no-semantic, --path, --json).
* promote <ID_OR_PATH>: Verify target DEC-*, INV-*, or POL-*, set status: promoted and promoted_to, and archive (--to [decision|invariant|policy], --spec-id, --archive/--no-archive, --path, --json).
4. Living Catalog & Mutations¶
eidos spec¶
Manage the living specification catalog: listing, authoring, inspecting, and deleting specification documents across all 15 living specification types (excluding SpecDeltas, which are managed via eidos delta).
# List all living specifications
eidos spec list
# Filter by specification type (e.g. container, component, capability, exploration)
eidos spec list --type container
eidos spec list --type component --json
# Show details of a specific document
eidos spec show CNT-EIDOS-CORE
# Inspect bundled v1 YAML frontmatter schemas, required/optional keys, and valid YAML examples
eidos spec schema
eidos spec schema capability
eidos spec schema container --json
# Scaffold a minimal draft specification blueprint
eidos spec create component CMP-AUTH-SERVICE --title "Authentication Service"
# Safely delete a specification document
eidos spec delete CMP-AUTH-SERVICE
# Deterministically scan a polyglot repository for brownfield container/contract candidates and unmapped source roots
eidos spec discover
eidos spec discover --path . --json
Sub-commands:
* list: Lists all living specifications across the 15 blueprint types in tabular or JSON format, with optional --type, -t, --status, -s, --include-archived, --path, -p, and --json flags.
* show <id_or_path>: Displays detailed frontmatter metadata and preview of a specification document.
* schema [type] [--json]: Dynamically loads and inspects bundled v1 YAML frontmatter schemas from assets/schemas/v1/ across all 16 specification types (omit [type] to list all 16 schemas, or pass a short alias like capability or canonical type like product/capability), displaying required/optional keys, nested object/array item constraints, and schema-synthesized YAML frontmatter templates.
* create <type> <id> --title <title> [--client <client>] [--design-system <ds>] [--path <path>]: Scaffolds a minimal, schema-valid draft specification blueprint (status: draft) across all 15 living specification types (system, architecture, domain, capability, policy, persona, exploration, container, component, contract, design-system, ui-component, screen, client, flow). Pass --client, -c <CLT-ID|path|slug> when creating a screen (design/screen), placing it under eidos/design/clients/<client>/screens/<screen>.adoc, and optionally pass --design-system, -d <DS-ID|path|slug> when creating a ui-component (design/ui-component) or client (design/client) in multi-design-system repositories (auto-resolves the first DS-* when omitted).
* delete <id_or_path>: Safely deletes a living specification document with cross-reference safety checks (--force, -f to override).
* discover [--path <path>] [--json]: Deterministically scans polyglot build manifests, schema-first API/data schemas (OpenAPI, AsyncAPI, Protobuf, GraphQL, OpenRPC, WSDL .wsdl, Avro .avsc/.avdl, Prisma .prisma, and canonical schema .sql files such as schema.sql/ddl.sql/*schema*.sql), code-first modern REST controller/router roots (rest_http with route_count across ASP.NET Core, FastAPI, NestJS, Express, Spring Boot, and Go), and test roots to output proposed CNT-* containers, CTR-* contracts, and unmapped code roots in Rich table or --json format.
eidos delta¶
Orchestrate SpecDeltas throughout their semantic mutation lifecycle using flat storage (eidos/deltas/):
# List all SpecDeltas (optional --status filter, --include-archived, and --json output)
eidos delta list
eidos delta list --status proposed --json
eidos delta list --include-archived
# Display delta lifecycle status dashboard or transition a specific delta's status
eidos delta status
eidos delta status DLT-2026-055 in_review
eidos delta status --json
# Inspect any active or archived SpecDelta's frontmatter, composable mutations, and AsciiDoc body
eidos delta show DLT-2026-055
eidos delta show DLT-2026-055 --json
# Create a new SpecDelta with collision-free auto ID and title-derived slug (kind: feature | enabler | bug)
eidos delta create \
--title "Migrate to PostgreSQL 16" \
--kind enabler \
--slug
# Or specify an explicit SpecDelta ID (automatically resolved across all Git refs if colliding):
eidos delta create DLT-2026-055 \
--title "Migrate to PostgreSQL 16" \
--kind enabler
# Verify all mutations and closed-schema expect: post-conditions declared in a SpecDelta:
eidos delta verify DLT-2026-055
# Output machine-readable verification results (with failure_reason diagnostics):
eidos delta verify DLT-2026-055 --json
# Detect parallel target collisions and 1-hop blast-radius overlaps across open SpecDeltas:
eidos delta conflicts
eidos delta conflicts --no-blast-radius --strict --json
# Apply a SpecDelta in-place (verifies all mutations by default and updates status to 'applied'):
eidos delta apply DLT-2026-055
# Explicitly bypass pre-apply mutation verification when needed:
eidos delta apply DLT-2026-055 --no-verify
# Audit removed or deprecated entities for dangling references and active leaks:
eidos delta audit DLT-2026-016
# Run in strict mode (exit code 1 if unacknowledged leaks exist):
eidos delta audit DLT-2026-016 --strict
# Output machine-readable JSON audit report for AI agents and CI/CD pipelines:
eidos delta audit DLT-2026-016 --json
# Safely delete an unapplied SpecDelta
eidos delta delete DLT-2026-055
# Partition and slim older terminal SpecDeltas and Explorations into archive/ subdirectories (retaining last 15)
eidos delta archive --keep-recent 15
eidos delta archive --keep-recent 15 --dry-run --json
# Compile an auditable, SpecDelta-backed changelog from Git release tags
eidos delta changelog
# Output directly to stdout or export to custom file
eidos delta changelog --stdout
eidos delta changelog --output RELEASE_NOTES.md --no-unreleased
5. Living Web Portal¶
eidos portal¶
Manage the interactive Living Web Portal and static documentation site export.
eidos portal serve¶
Launch the interactive Eidos Living Web Portal locally with live updates.
Options:
* --path, -p PATH: Path to the specifications directory (default: eidos).
* --host, -h TEXT: Bind host (resolves default from portal.serve.host; built-in default: 127.0.0.1).
* --port INTEGER: Port number (resolves default from portal.serve.port; built-in default: 3000).
* --open / --no-open: Open portal in browser automatically or suppress browser auto-open (resolves default from portal.serve.open_browser; built-in default: False).
eidos portal build¶
Export the Eidos Living Web Portal as a self-contained, air-gapped static site (index.html, ./assets/*, data.json, and local per-entity specs/<id>.json chunks by default, or a single self-contained index.html + data.json with --single-file) suitable for deployment on GitHub Pages, GitLab Pages, or static web servers.
eidos portal build --path eidos --out public
eidos portal build --path eidos --out public --single-file
eidos portal build --path eidos --no-single-file
Options:
* --path, -p PATH: Path to the specifications directory (default: eidos).
* --out, -o PATH: Destination directory for generated static assets (resolves default from portal.build.out_dir; built-in default: ./site).
* --single-file / --no-single-file: Inline scripts, styles, and specification bodies directly into index.html and data.json instead of emitting ./assets/* and lazy local specs/<id>.json chunks, or explicitly disable portal.build.single_file: true (built-in default: False).
6. Agent Ecosystem & Skills¶
eidos plugin¶
Manage and validate Eidos Agent Skills complying with the agentskills.io specification across Eidos's 24 natively supported AI coding assistants (antigravity, claude, cursor, aider, cline, kilocode, open-code, codex, copilot, amp, gemini-cli, zed, warp, windsurf, roo, goose, continue, kiro-cli, junie, trae, augment, devin, openhands, qwen-code) plus any other lowercase skills.sh agent slug when npx-skills or npx is installed on PATH, harmonized with npx-skills / npx skills and root skills-lock.json:
# Install Agent Skills for multiple harnesses (skills + AGENTS.md + skills-lock.json)
eidos plugin install claude cursor windsurf
# Copy files into custom skill directories instead of creating relative symlinks
eidos plugin install claude kilocode windsurf --copy
# Omit [TARGETS] when plugin.targets is configured in eidos/eidos.yaml:
eidos plugin install
eidos plugin update
# Or install for a specific target:
eidos plugin install antigravity
eidos plugin install claude
eidos plugin install cursor
eidos plugin install codex
eidos plugin install copilot
eidos plugin install cline
eidos plugin install kilocode
eidos plugin install open-code
eidos plugin install aider
eidos plugin install windsurf
eidos plugin install roo
eidos plugin install gemini-cli
# Inspect installed vs bundled skills version
eidos plugin version
# Validate Agent Skills bundle conformance against agentskills.io standard
eidos plugin validate
# Display Agent Skills metadata and all 24 natively supported targets (or JSON)
eidos plugin info
eidos plugin info --json
# Update installed skills to latest bundled engine version
eidos plugin update claude cursor windsurf
# Uninstall skill files and managed block references (at least one target is always required)
eidos plugin uninstall claude cursor windsurf
Sub-commands:
* install [TARGETS]...: Installs the unified eidos Agent Skill into canonical .agents/skills/eidos/ (delegating to npx-skills / npx --yes skills when available with an offline pure-Python fallback for all 24 native targets, symlinking custom skill directories such as .claude/skills/eidos, .kilocode/skills/eidos, .aider/skills/eidos, .windsurf/skills/eidos, .roo/skills/eidos, etc. unless --copy is passed; other external skills.sh slugs require npx-skills or npx on PATH), updates root skills-lock.json while preserving third-party skills, and projects the canonical root AGENTS.md managed block ([TARGETS]... falls back to plugin.targets in eidos/eidos.yaml, exiting with code 2 if neither is provided; options: --project-dir, -p, --force/--no-force, --copy/--no-copy).
* uninstall <TARGETS>...: Safely cleans up Eidos skill files (delegating skills remove for external skills.sh slugs when npx-skills/npx is available), "eidos" in skills-lock.json, and managed block target references while preserving user-owned files and third-party skills (<TARGETS>... is strictly required for safety; --project-dir, -p).
* version: Displays and compares bundled vs installed skills version (--project-dir, -p).
* update [TARGETS]...: Updates project-scoped skills to the latest bundled version ([TARGETS]... falls back to plugin.targets in eidos/eidos.yaml, exiting with code 2 if neither is provided; --project-dir, -p).
* validate: Validates an Agent Skills bundle against agentskills.io frontmatter rules and SemVer 2.0.0 versioning.
* info [PATH] [--json]: Displays Agent Skills package metadata, bundled skills, and all 24 natively supported targets (directory, canonical/symlink layout, and AGENTS.md bridges) in Rich tabular or --json format.