Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
cartographer
command
Command cartographer is the single binary for both sides of the Agentic Wiki: the MCP server (`serve`) and the multi-provider client that connects agent clients to it (`agents`, `connect`, `disconnect`, `reconnect`, `status`, `sync`).
|
Command cartographer is the single binary for both sides of the Agentic Wiki: the MCP server (`serve`) and the multi-provider client that connects agent clients to it (`agents`, `connect`, `disconnect`, `reconnect`, `status`, `sync`). |
|
internal
|
|
|
agents
Package agents detects which LLM agent CLIs/apps are installed on the local machine (Claude Code, OpenCode, Codex CLI, Kiro, Antigravity), so `cartographer agents` and `cartographer connect all` know which providers to target.
|
Package agents detects which LLM agent CLIs/apps are installed on the local machine (Claude Code, OpenCode, Codex CLI, Kiro, Antigravity), so `cartographer agents` and `cartographer connect all` know which providers to target. |
|
artifactsig
Package artifactsig signs and verifies provisioning artifact envelopes.
|
Package artifactsig signs and verifies provisioning artifact envelopes. |
|
audit
Package audit implements Cartographer's local, tamper-evident audit trail.
|
Package audit implements Cartographer's local, tamper-evident audit trail. |
|
auth
Package auth implements bearer-token authorization for the HTTP transport: the token store, the middleware that resolves a request to a set of scopes, and the per-KB RBAC check (`kb:<name>:r` / `kb:<name>:rw`) the tools are gated on.
|
Package auth implements bearer-token authorization for the HTTP transport: the token store, the middleware that resolves a request to a set of scopes, and the per-KB RBAC check (`kb:<name>:r` / `kb:<name>:rw`) the tools are gated on. |
|
blocktext
Package blocktext implements the marker-delimited "managed block" primitive used by every Cartographer feature that must own a slice of a hand-curated user file (comments, ordering, everything else preserved) without parsing the file's own format: the Codex MCP server entry and per-hook registrations in config.toml (D58, TOML `#` comment markers).
|
Package blocktext implements the marker-delimited "managed block" primitive used by every Cartographer feature that must own a slice of a hand-curated user file (comments, ordering, everything else preserved) without parsing the file's own format: the Codex MCP server entry and per-hook registrations in config.toml (D58, TOML `#` comment markers). |
|
changelog
Package changelog groups the newest section of a release-please changelog by area, and checks the PR body lines that section is built from (D865).
|
Package changelog groups the newest section of a release-please changelog by area, and checks the PR body lines that section is built from (D865). |
|
changelog/gen
command
Command gen groups a release-please changelog by area and checks PR bodies for wrapped conventional lines (D865):
|
Command gen groups a release-please changelog by area and checks PR bodies for wrapped conventional lines (D865): |
|
client
Package client implements a minimal MCP client over HTTP (JSON-RPC 2.0), used by `cartographer agents/connect/status/sync` to talk to a remote cartographer server.
|
Package client implements a minimal MCP client over HTTP (JSON-RPC 2.0), used by `cartographer agents/connect/status/sync` to talk to a remote cartographer server. |
|
clientconfig
Package clientconfig reads and writes the client-side `.cartographer.yaml` file: the record of which server this machine talks to and which agent providers have been connected via `cartographer connect`.
|
Package clientconfig reads and writes the client-side `.cartographer.yaml` file: the record of which server this machine talks to and which agent providers have been connected via `cartographer connect`. |
|
config
Package config provides the YAML-based server configuration for `cartographer serve`, merged with environment variables and CLI flags.
|
Package config provides the YAML-based server configuration for `cartographer serve`, merged with environment variables and CLI flags. |
|
configurator
Package configurator generates MCP configuration files for multiple LLM providers (Claude Code, Codex CLI, Kiro, OpenCode, Antigravity, Crush, GitHub Copilot CLI).
|
Package configurator generates MCP configuration files for multiple LLM providers (Claude Code, Codex CLI, Kiro, OpenCode, Antigravity, Crush, GitHub Copilot CLI). |
|
defaults
Package defaults contains the local endpoint values shared by the native service and client first-run paths.
|
Package defaults contains the local endpoint values shared by the native service and client first-run paths. |
|
execbit
Package execbit reports whether the host filesystem carries the POSIX execute bit, and is the one place that answers that question.
|
Package execbit reports whether the host filesystem carries the POSIX execute bit, and is the one place that answers that question. |
|
gitx
Package gitx provides a git wrapper via os/exec for the Agentic Wiki.
|
Package gitx provides a git wrapper via os/exec for the Agentic Wiki. |
|
gitx/gitxtest
Package gitxtest is a git smart-HTTP server for tests (D996): the real git-http-backend behind basic authentication, in process, so a test meets what a forge's HTTPS endpoint does (a 401, a credential helper, a pre-receive hook's "remote:" lines) without a network.
|
Package gitxtest is a git smart-HTTP server for tests (D996): the real git-http-backend behind basic authentication, in process, so a test meets what a forge's HTTPS endpoint does (a 401, a credential helper, a pre-receive hook's "remote:" lines) without a network. |
|
graphalgo
Package graphalgo holds the graph algorithms behind the retrieval tools (D242): personalized PageRank, BFS, shortest paths and link prediction over an int-indexed adjacency.
|
Package graphalgo holds the graph algorithms behind the retrieval tools (D242): personalized PageRank, BFS, shortest paths and link prediction over an int-indexed adjacency. |
|
kb
Package kb implements the data plane of the OKF knowledge base.
|
Package kb implements the data plane of the OKF knowledge base. |
|
kbtest
Package kbtest copies a pre-built KB into a test directory.
|
Package kbtest copies a pre-built KB into a test directory. |
|
lint
Package lint implements deterministic lint checks on a KB scope.
|
Package lint implements deterministic lint checks on a KB scope. |
|
mcpbridge
Package mcpbridge is the local stdio MCP server that scopes one agent session to the KBs of the folder it was started in (D737).
|
Package mcpbridge is the local stdio MCP server that scopes one agent session to the KBs of the folder it was started in (D737). |
|
mcpserver
Package mcpserver implements the control plane: the MCP protocol over stdio and Streamable HTTP, and the tool registry that exposes a KB to an agent.
|
Package mcpserver implements the control plane: the MCP protocol over stdio and Streamable HTTP, and the tool registry that exposes a KB to an agent. |
|
okf
Package okf — parser/serializer for the YAML subset used in OKF frontmatter.
|
Package okf — parser/serializer for the YAML subset used in OKF frontmatter. |
|
provisioning
Package provisioning manages the synchronization of artifacts (skill, agent, hook — D48; instructions — D56; mcp, third-party MCP servers from KBs — D69) between the Cartographer server and the LLM client (CLI or MCP tool).
|
Package provisioning manages the synchronization of artifacts (skill, agent, hook — D48; instructions — D56; mcp, third-party MCP servers from KBs — D69) between the Cartographer server and the LLM client (CLI or MCP tool). |
|
repodocs
Package repodocs holds the deterministic checks that keep this repository navigable by a coding agent, plus the generators for the decision index and the code map.
|
Package repodocs holds the deterministic checks that keep this repository navigable by a coding agent, plus the generators for the decision index and the code map. |
|
repoindex
Package repoindex resolves `{{repo:<key>}}` placeholders (D75) to a local clone path: it scans a set of search roots for git repositories, reads each one's `origin` remote from `.git/config` (no `git` exec — the file is parsed directly, see readOriginURL), and normalizes the remote URL to a canonical "host/owner/name" key that is stable across every machine on the team.
|
Package repoindex resolves `{{repo:<key>}}` placeholders (D75) to a local clone path: it scans a set of search roots for git repositories, reads each one's `origin` remote from `.git/config` (no `git` exec — the file is parsed directly, see readOriginURL), and normalizes the remote URL to a canonical "host/owner/name" key that is stable across every machine on the team. |
|
safewrite
Package safewrite guards client-side writes against symlinks.
|
Package safewrite guards client-side writes against symlinks. |
|
search
Package search implements an in-memory inverted keyword index for KB concepts.
|
Package search implements an in-memory inverted keyword index for KB concepts. |
|
service
Package service manages the cartographer MCP server as a native per-user service: a launchd agent on macOS, a systemd user unit on Linux, a per-user Scheduled Task on Windows (D217).
|
Package service manages the cartographer MCP server as a native per-user service: a launchd agent on macOS, a systemd user unit on Linux, a per-user Scheduled Task on Windows (D217). |
|
settingschema
Package settingschema describes the keys of a settings file once, in code, and renders that description as comments inside the YAML file (D747).
|
Package settingschema describes the keys of a settings file once, in code, and renders that description as comments inside the YAML file (D747). |
|
skill
Package skill implements loading and validation of SKILL.md files (agentskills.io format).
|
Package skill implements loading and validation of SKILL.md files (agentskills.io format). |
|
skillbundle
Package skillbundle embeds the skills shipped inside the binary (bundled/) so a fresh install can provision an agent client before any KB exists.
|
Package skillbundle embeds the skills shipped inside the binary (bundled/) so a fresh install can provision an agent client before any KB exists. |
|
sops
Package sops decrypts sops-encrypted KB secrets and resolves the references a concept declares, turning them into the environment a skill runs with.
|
Package sops decrypts sops-encrypted KB secrets and resolves the references a concept declares, turning them into the environment a skill runs with. |
|
sqlindex
Package sqlindex implements a persistent SQLite-backed keyword index.
|
Package sqlindex implements a persistent SQLite-backed keyword index. |
|
testkbs
Package testkbs generates the synthetic test Knowledge Bases `make dev` serves (D818, D1032): eleven KBs, built to put every Atlas view in a state worth looking at — Maps with every contract key, work in every status, sources, contradictions, services, secrets, artifacts, placeholders, planted lint defects, a git history with revisions, moves and repairs, and the local state (lint trend, search misses, conflicts, usage) the server keeps beside the repository.
|
Package testkbs generates the synthetic test Knowledge Bases `make dev` serves (D818, D1032): eleven KBs, built to put every Atlas view in a state worth looking at — Maps with every contract key, work in every status, sources, contradictions, services, secrets, artifacts, placeholders, planted lint defects, a git history with revisions, moves and repairs, and the local state (lint trend, search misses, conflicts, usage) the server keeps beside the repository. |
|
testkbs/gen
command
Command gen writes the test KB fleet of package testkbs into a data directory, one subdirectory per KB: `go run ./internal/testkbs/gen <dir>`, and beside them the client settings report of an imaginary workstation (client-report.json, not a KB).
|
Command gen writes the test KB fleet of package testkbs into a data directory, one subdirectory per KB: `go run ./internal/testkbs/gen <dir>`, and beside them the client settings report of an imaginary workstation (client-report.json, not a KB). |
|
testtree
Package testtree snapshots a directory tree in memory and restores it elsewhere.
|
Package testtree snapshots a directory tree in memory and restores it elsewhere. |
|
updatecheck
Package updatecheck answers whether a newer Cartographer release exists and how this binary is upgraded (D254): the latest tag from the GitHub release list, cached for 24 hours and failing silent, and the install channel the running binary came from.
|
Package updatecheck answers whether a newer Cartographer release exists and how this binary is upgraded (D254): the latest tag from the GitHub release list, cached for 24 hours and failing silent, and the install channel the running binary came from. |
|
webui
Package webui serves the embedded read-only Atlas UI (D227).
|
Package webui serves the embedded read-only Atlas UI (D227). |
|
webui/gen
command
Command webui-provenance writes internal/webui/dist/provenance.json with the hash of the web/ source tree.
|
Command webui-provenance writes internal/webui/dist/provenance.json with the hash of the web/ source tree. |
Click to show internal directories.
Click to hide internal directories.