atomic

module
v0.0.0-...-197a270 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2026 License: MIT

Directories

Path Synopsis
cmd
atomic command
internal
artifacts
Package artifacts renders the authored context/ corpus once into canonical artifacts, then projects them into target-native files.
Package artifacts renders the authored context/ corpus once into canonical artifacts, then projects them into target-native files.
bundlemirror
Package bundlemirror implements the artifact mirror logic behind internal/tools/bundle-mirror, split out so it is testable without main().
Package bundlemirror implements the artifact mirror logic behind internal/tools/bundle-mirror, split out so it is testable without main().
bundlespec
Package bundlespec holds the bundle inclusion predicates and the steering source descriptors shared by artifacts, bundlemirror, and manifestcheck.
Package bundlespec holds the bundle inclusion predicates and the steering source descriptors shared by artifacts, bundlemirror, and manifestcheck.
bus
Package bus implements atomic bus: a per-user daemon behind a Unix domain socket that lets concurrent Claude Code sessions on one machine message each other over named rooms.
Package bus implements atomic bus: a per-user daemon behind a Unix domain socket that lets concurrent Claude Code sessions on one machine message each other over named rooms.
bus/remote
Package remote implements the sealed frame format that carries atomic bus traffic between a client and a gateway over an untrusted network.
Package remote implements the sealed frame format that carries atomic bus traffic between a client and a gateway over an untrusted network.
claudeinstall
Package claudeinstall writes the embedded artifact bundle to a target directory (default ~/.claude) and manages backups for changed files.
Package claudeinstall writes the embedded artifact bundle to a target directory (default ~/.claude) and manages backups for changed files.
cliusage
Package cliusage exposes the atomic command surface as data, so the validate artifacts rule can check citations against the same tree Cobra renders help from.
Package cliusage exposes the atomic command surface as data, so the validate artifacts rule can check citations against the same tree Cobra renders help from.
cliutil
Package cliutil provides shared utilities for the atomic CLI.
Package cliutil provides shared utilities for the atomic CLI.
codeintel/cli
Package cli implements the `atomic code` subcommand handlers.
Package cli implements the `atomic code` subcommand handlers.
codeintel/codectx
Package codectx turns a natural-language query into an agent-ready snapshot of the relevant portion of the code graph.
Package codectx turns a natural-language query into an agent-ready snapshot of the relevant portion of the code graph.
codeintel/db
Package db opens and initialises the code-intelligence SQLite database.
Package db opens and initialises the code-intelligence SQLite database.
codeintel/engine
Package engine is the facade both the `atomic code` CLI and the MCP server compile against.
Package engine is the facade both the `atomic code` CLI and the MCP server compile against.
codeintel/extraction
Package extraction provides the parser-pool runtime over tsbinding (tree-sitter via wazero).
Package extraction provides the parser-pool runtime over tsbinding (tree-sitter via wazero).
codeintel/extraction/languages
Package languages provides per-grammar LanguageExtractor configurations.
Package languages provides per-grammar LanguageExtractor configurations.
codeintel/extraction/standalone
Package standalone provides extractors for file formats the tree-sitter pipeline does not handle: Vue SFC, Svelte, Liquid, Delphi DFM, MyBatis XML, and SQL.
Package standalone provides extractors for file formats the tree-sitter pipeline does not handle: Vue SFC, Svelte, Liquid, Delphi DFM, MyBatis XML, and SQL.
codeintel/graph
Package graph traverses the resolved code-intelligence graph.
Package graph traverses the resolved code-intelligence graph.
codeintel/mcp
Daemon lifecycle: a per-project unix socket serving MCP over each accepted connection, with an idle reaper and auto-shutdown.
Daemon lifecycle: a per-project unix socket serving MCP over each accepted connection, with an idle reaper and auto-shutdown.
codeintel/realm
Package realm resolves repo-versus-realm scope from the process cwd, so no user flag is needed to locate the right db.
Package realm resolves repo-versus-realm scope from the process cwd, so no user flag is needed to locate the right db.
codeintel/resolution
Package resolution turns unresolved references into graph edges: imports to their target files, names to their declarations, and — via the synthesis subpackage — dynamic dispatch the source never states outright.
Package resolution turns unresolved references into graph edges: imports to their target files, names to their declarations, and — via the synthesis subpackage — dynamic dispatch the source never states outright.
codeintel/resolution/frameworks
Phoenix (Elixir) router resolver.
Phoenix (Elixir) router resolver.
codeintel/resolution/synthesis
Package synthesis infers dynamic-dispatch edges that static extraction cannot see — a setState call reaching render, an emit reaching its listener, an interface method reaching its implementation.
Package synthesis infers dynamic-dispatch edges that static extraction cannot see — a setState call reaching render, an emit reaching its listener, an interface method reaching its implementation.
codeintel/search
Package search ranks code-graph nodes through three tiers, each firing only when the one before it returned nothing: FTS5, case-insensitive LIKE, then bounded Damerau-Levenshtein fuzzy matching.
Package search ranks code-graph nodes through three tiers, each firing only when the one before it returned nothing: FTS5, case-insensitive LIKE, then bounded Damerau-Levenshtein fuzzy matching.
codeintel/types
Package types is the shared data contract every engine layer depends on, and the only engine package it may depend on in turn.
Package types is the shared data contract every engine layer depends on, and the only engine package it may depend on in turn.
coldprompt
Package coldprompt serves the brief texts behind `atomic prompt <name>`: self-contained instructions for a subagent starting with no accumulated context.
Package coldprompt serves the brief texts behind `atomic prompt <name>`: self-contained instructions for a subagent starting with no accumulated context.
config
Package config manages atomic's TOML-backed configuration under ~/.atomic/: lenient load, strict write validation, get/set/unset, atomic file writes, and a markdown render of resolved values.
Package config manages atomic's TOML-backed configuration under ~/.atomic/: lenient load, strict write validation, get/set/unset, atomic file writes, and a markdown render of resolved values.
dockerinit
Package dockerinit scaffolds the Docker eval environment: four rendered templates plus the bind-mount placeholder directories docker-compose expects.
Package dockerinit scaffolds the Docker eval environment: four rendered templates plus the bind-mount placeholder directories docker-compose expects.
docs
Package docs writes a doc-surfaces cache under config.ProjectDir: every discovered .md file with its H1 and first three H2 headings, so the signals workflow can index the documentation without loading it.
Package docs writes a doc-surfaces cache under config.ProjectDir: every discovered .md file with its H1 and first three H2 headings, so the signals workflow can index the documentation without loading it.
doctemplate
Package doctemplate serves the fill-in document skeletons behind `atomic template <name>`.
Package doctemplate serves the fill-in document skeletons behind `atomic template <name>`.
doctor
Package doctor implements the `atomic doctor` subcommand: a deterministic integrity check for atomic-claude install + project state coherence.
Package doctor implements the `atomic doctor` subcommand: a deterministic integrity check for atomic-claude install + project state coherence.
embedded
Package embedded holds the artifact bundle embedded at build time.
Package embedded holds the artifact bundle embedded at build time.
embeddedcorpus
Package embeddedcorpus loads the canonical corpus from the embedded bundle.
Package embeddedcorpus loads the canonical corpus from the embedded bundle.
followups
Package followups parses and renders the per-entry frontmatter markdown files under the project followups dir, plus the CLOSED.md ledger.
Package followups parses and renders the per-entry frontmatter markdown files under the project followups dir, plus the CLOSED.md ledger.
frontmatter
Package frontmatter parses and emits YAML frontmatter in markdown files.
Package frontmatter parses and emits YAML frontmatter in markdown files.
gateway
Package gateway implements the key store and admission ladder that front the atomic bus daemon over the network, and the HTTP server built on top of them: one endpoint, sealed responses, and the daemon started beside it.
Package gateway implements the key store and admission ladder that front the atomic bus daemon over the network, and the HTTP server built on top of them: one endpoint, sealed responses, and the daemon started beside it.
harness
Package harness owns the adapter contract, the adapter registry, and the enrollment target model.
Package harness owns the adapter contract, the adapter registry, and the enrollment target model.
harness/claude
Package claude adapts the Claude Code harness to the common adapter contract.
Package claude adapts the Claude Code harness to the common adapter contract.
harness/codex
Package codex adapts the Codex CLI to the common adapter contract.
Package codex adapts the Codex CLI to the common adapter contract.
harness/kind
Package kind names the supported harnesses.
Package kind names the supported harnesses.
harness/omp
Package omp adopts the OMP harness to the common adapter contract.
Package omp adopts the OMP harness to the common adapter contract.
hooks
Package hooks builds the Claude Code session-start payload and manages its settings.json registration.
Package hooks builds the Claude Code session-start payload and manages its settings.json registration.
ids
install
Package install owns the command-level ordering of the multi-harness lifecycle; each harness adapter keeps its own lock, recovery, and ledger commit.
Package install owns the command-level ordering of the multi-harness lifecycle; each harness adapter keeps its own lock, recovery, and ledger commit.
installstate
Package installstate owns the durable lifecycle state under ~/.atomic/install: the operation lock, ledger, journals, transactions, recovery, and retention.
Package installstate owns the durable lifecycle state under ~/.atomic/install: the operation lock, ledger, journals, transactions, recovery, and retention.
managedfile
Package managedfile owns the write primitives every Atomic target shares: managed blocks, observations, backups, and atomic and journaled publication.
Package managedfile owns the write primitives every Atomic target shares: managed blocks, observations, backups, and atomic and journaled publication.
manifestcheck
Package manifestcheck compares the committed embedded manifest against what bundlemirror would generate from the live repo root, writing nothing.
Package manifestcheck compares the committed embedded manifest against what bundlemirror would generate from the live repo root, writing nothing.
mdlink
Package mdlink rewrites inline-code path tokens in markdown prose into relative markdown links, when the token resolves under a given base directory.
Package mdlink rewrites inline-code path tokens in markdown prose into relative markdown links, when the token resolves under a given base directory.
mdparse
Package mdparse provides goldmark-based helpers for inspecting markdown structure, used by the atomic-validate spec and config validators.
Package mdparse provides goldmark-based helpers for inspecting markdown structure, used by the atomic-validate spec and config validators.
migrate
Package migrate applies versioned, replayable migration steps in ascending semver order, comparing versions via selfupdate.CompareSemver.
Package migrate applies versioned, replayable migration steps in ascending semver order, comparing versions via selfupdate.CompareSemver.
profile
~/.atomic/profile.md is the authoritative user profile.
~/.atomic/profile.md is the authoritative user profile.
prompt
Package prompt wraps charmbracelet/huh to provide interactive prompts with TTY detection and a testable internal seam.
Package prompt wraps charmbracelet/huh to provide interactive prompts with TTY detection and a testable internal seam.
repl
Package repl implements atomic repl: named, persistent Python and Node interpreter sessions an agent drives across separate Bash calls.
Package repl implements atomic repl: named, persistent Python and Node interpreter sessions an agent drives across separate Bash calls.
repoctx
Package repoctx resolves the working root for the current invocation.
Package repoctx resolves the working root for the current invocation.
repoinit
Package repoinit scaffolds the state-root layout and its ignore rules.
Package repoinit scaffolds the state-root layout and its ignore rules.
retro
Package retro extracts user-typed text and Skill/Agent tool calls from Claude Code session transcripts into a compact, line-numbered form that /retrospective-learning can scan without reading raw .jsonl traffic.
Package retro extracts user-typed text and Skill/Agent tool calls from Claude Code session transcripts into a compact, line-numbered form that /retrospective-learning can scan without reading raw .jsonl traffic.
rules
Package rules parses the path-scoped rule corpus into checkout-independent records, binds them to a project, matches paths, and maps them to target scopes.
Package rules parses the path-scoped rule corpus into checkout-independent records, binds them to a project, matches paths, and maps them to target scopes.
runtimeproof
OMP scenarios enroll an isolated home through the production adapter and never hand-write the module, so each observation is evidence for the shipped layout.
OMP scenarios enroll an isolated home through the production adapter and never hand-write the module, so each observation is evidence for the shipped layout.
scratchpad
Package scratchpad owns creation, lookup, listing, and archival of one slug-keyed bundle per unit of work — the state `atomic-plan`, `subagent-implementation`, `quick-fix`, `subagent-diagnose`, and `challenge-swarm` each carry across their own run.
Package scratchpad owns creation, lookup, listing, and archival of one slug-keyed bundle per unit of work — the state `atomic-plan`, `subagent-implementation`, `quick-fix`, `subagent-diagnose`, and `challenge-swarm` each carry across their own run.
selfupdate
Package selfupdate implements foreground and background self-update logic for the atomic binary.
Package selfupdate implements foreground and background self-update logic for the atomic binary.
serve
/api/bus/*: a web chat client over the atomic bus daemon, so the UI can watch rooms and speak into one as a human member.
/api/bus/*: a web chat client over the atomic bus daemon, so the UI can watch rooms and speak into one as a human member.
signals
Package signals scans a repo into the deterministic substrate document.
Package signals scans a repo into the deterministic substrate document.
templaterender
Package templaterender expands the {{ template "<name>" .
Package templaterender expands the {{ template "<name>" .
tools/bundle-mirror command
bundle-mirror copies the artifact bundle into atomic/internal/embedded/ so the embed directive can reach it, and writes manifest.go with the allowlist.
bundle-mirror copies the artifact bundle into atomic/internal/embedded/ so the embed directive can reach it, and writes manifest.go with the allowlist.
updatedoctor
Package updatedoctor runs a scoped doctor check after a successful self-update.
Package updatedoctor runs a scoped doctor check after a successful self-update.
validate
This file holds the shared Finding type and the ordering and counting helpers every rule runner depends on.
This file holds the shared Finding type and the ordering and counting helpers every rule runner depends on.
version
Package version exposes the binary version and commit SHA, both stamped at build time via -ldflags -X and defaulting to "dev" / "unknown".
Package version exposes the binary version and commit SHA, both stamped at build time via -ldflags -X and defaulting to "dev" / "unknown".
where
Package where implements the `atomic where` orientation verb, reporting a cwd's position across four orthogonal axes: repo root, repo-scope wiki, realm scope, and code-index scope.
Package where implements the `atomic where` orientation verb, reporting a cwd's position across four orthogonal axes: repo root, repo-scope wiki, realm scope, and code-index scope.
wiki
Package wiki implements the deterministic core of the atomic wiki feature: repo discovery, classification, scaffold creation, and idempotent <wiki-scan> block writes.
Package wiki implements the deterministic core of the atomic wiki feature: repo discovery, classification, scaffold creation, and idempotent <wiki-scan> block writes.
workflow
Package workflow resolves source-control, issue-tracker, and worktree preferences from the profile, realm, and repository levels.
Package workflow resolves source-control, issue-tracker, and worktree preferences from the profile, realm, and repository levels.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL