atomic

module
v0.0.0-...-9fe12d6 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: MIT

Directories

Path Synopsis
cmd
atomic command
internal
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, shared by bundlemirror at build time and manifestcheck at runtime so the two cannot disagree about what ships.
Package bundlespec holds the bundle inclusion predicates, shared by bundlemirror at build time and manifestcheck at runtime so the two cannot disagree about what ships.
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.
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.
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.
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
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
Package profile captures deterministic environment data and renders the profile.md stub written at install time.
Package profile captures deterministic environment data and renders the profile.md stub written at install time.
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.
reminder
Package reminder manages frontmatter markdown reminders under .claude/.scratchpad/reminders/.
Package reminder manages frontmatter markdown reminders under .claude/.scratchpad/reminders/.
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 .claude/ layout and its ignore rules.
Package repoinit scaffolds the .claude/ layout and its ignore rules.
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.

Jump to

Keyboard shortcuts

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