Files
charleswiltgen__axiom/.gitignore
T
Charles Wiltgen 876d863a29 build: gate the shipped Go binaries against their source
The binary in bin/ is what ships — the plugin, the MCP bundle and the
Codex and Cursor variants all carry it, never the Go source — and
nothing compared the two. A Go edit whose binary was never rebuilt
shipped the old tool with every check green: the args.go parity check
compares copies, the MCP coverage check confirms presence, and the Go
test step reads the source.

New static check, so it runs on `npm test` and on every commit through
the pre-commit hook. It leads with content — a compiled source changed
while the binary's bytes still match HEAD means the rebuild never
happened, which a `touch` on the binary cannot fake — and falls back to
the existing mtime-plus-dirtiness rule for a binary rebuilt once and
then left behind by a further edit. Source staged without the rebuilt
binary is its own failure, because the working tree can look right while
the commit ships the old binary. Deletions count too: a removed file
cannot appear in a directory walk.

It excludes what `go build` excludes — `_test.go`, `testdata/`,
underscore- and dot-prefixed files, other platforms' GOOS suffixes — so
a flagged binary is always one a rebuild fixes, and it exempts library
modules that ship no binary at all. The walk is guarded: a dangling
symlink used to throw out of Phase 1, skipping every later check and
reporting a crash in the same words as a finding.

`git status` now lists untracked files individually, so a brand-new
package directory is visible to this check and to the bundle and Codex
staleness checks, which a collapsed directory entry hid from all three.

Also ignore xclog's build artifacts, which the rebuild instruction left
untracked in the tree.
2026-09-19 15:50:51 -07:00

98 lines
1.8 KiB
Plaintext

# Local development and scratch files
scratch/
notes/
temp/
local/
IDEAS.md
CONTINUE.md
# Local agent context — private dev state, never distributed
# CLAUDE.md is canonical; AGENTS.md is a symlink to it (import-blind harnesses read it verbatim)
.claude/
CLAUDE*.md
/AGENTS.md
.omp/
# Beads issue tracker
.beads/
# ck index cache and config
.ck/
.ckignore
# VitePress cache and build
docs/.vitepress/cache
docs/.vitepress/dist
# Internal planning — must not appear in published docs (see srcExclude
# in docs/.vitepress/config.ts and check 12c in scripts/pre-deploy.ts)
docs/superpowers/
docs/plans/
docs/specs/
# MCP Server build artifacts
axiom-mcp/node_modules/
axiom-mcp/dist/
axiom-mcp/*.tsbuildinfo
# Codex plugin (regenerate with: npm run build:codex)
# Committed so users can install without a build step
# axiom-codex/
# Node modules and dependencies
node_modules/
yarn.lock
pnpm-lock.yaml
# NPM auth tokens (root only — axiom-mcp/.npmrc uses env var reference, safe to commit)
/.npmrc
# TOML files (defense-in-depth against fnox.toml or other secret-bearing TOML
# being accidentally committed). .mise.toml is already tracked and unaffected
# by this rule. To track a new .toml file, use `git add -f`.
*.toml
# Environment files
.env
.env.local
.env.*.local
# IDE and editor files
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# OS files
Thumbs.db
CHANGELOG.md
# Dolt database files (added by bd init)
.dolt/
*.db
axiom-mcp/docs/
# Local tool build artifacts (distributed binaries live in plugins/axiom/bin/)
tools/xclog/xclog
tools/xclog/xclog-amd64
tools/xclog/xclog-arm64
tools/xcui/xcui
tools/xcui/xcui-amd64
tools/xcui/xcui-arm64
tools/xcprof/xcprof
tools/xcprof/xcprof-amd64
tools/xcprof/xcprof-arm64
# Beads / Dolt files (added by bd init)
.beads-credential-key
.beads.gate.lock
__pycache__