Skip to content

Troubleshooting ​

Start with atticus doctor in the metarepo: most problems are on the machine, and each line it prints says what to do. It also says how AI steps run here (handed off to your assistant, or model mode with which provider and whether its key variable is set, by name only) and whether the /atticus-* slash-command files are there and current. It makes no network call, so it doesn't call the model.

What you seeWhat it meansWhat to do
atticus isn't foundThe install script's folder isn't on PATH yetOpen a new terminal. On macOS or Linux, add ~/.local/bin to PATH
"Atticus needs Node.js 22.13 or later"An older NodeInstall Node 22 LTS from your software catalogue
[FAIL] OpenSpec CLIThe bundled OpenSpec didn't runRun the install script again from the bundle
[warn] Long paths (Windows)Git will fail on deep worktree pathsgit config --global core.longpaths true
"Git has no user here, so Atticus records you as ..." or Set your Git user in the appGit doesn't know who you are on this machine, so your OS user name stands ingit config --global user.name "Your Name" and git config --global user.email you@example.com, then restart atticus ui
"approved only by ..., who raised it; it needs someone else's approval"The hand-off PR's only approval is from the person who raised itAsk another reviewer on the Git host; merging the PR approves the gate
change status says "Hand-off: merge PR #..."The gate waits on its hand-off PR, not on anything in AtticusGet it approved and merged on the Git host (or atticus change sync <id> --approve once it is approved), then atticus change sync <id>
"Would open ... Nothing was sent"A write to the Git host, work tracker or service desk is a dry run until you confirm itRun the same command again with --approve
[warn] TLS certificatesA proxy is set and no extra CA isSet NODE_EXTRA_CA_CERTS to your organisation's root certificate (PEM)
"Another scan is running"A scan holds the lock on this metarepoWait for it. If its process is gone, the next scan takes over and says the last one didn't finish
"The last scan stopped before it finished"A scan was cut shortNothing to repair: this scan brings the catalog up to date. Every file is written whole
"This metarepo was upgraded by Atticus X"A newer Atticus has upgraded itInstall X or later on this machine
[warn] Metarepo version: upgrade steps to runThis Atticus writes newer filesatticus upgrade, then a pull request
A screen says "The catalog is empty: run atticus scan first"Nothing is scanned yetatticus scan, or Check with the built-in readers on Scans
Port 4321 in useAnother atticus ui or programatticus ui --port 4322
A shipped dialect isn't appliedIts own tests failed; the scan lists whyCheck the scan's problems; for your own dialects, atticus dialect test <name>
"Could not read this Helm template at line N"It depends on a form Atticus doesn't evaluateNothing is guessed: that template's objects are left out. Move the cluster-dependent part into values if you can
"Remote base ... is not fetched"A kustomization uses a URL as a baseScans never fetch; add the base's repo to the manifest so it is scanned as its own repo
"House framework X is imported by N repos and no framework model covers it"Several repos import a module of your organisation's that no model readsatticus onboard framework <name> --from <its source, JAR or package>. If it is only shared types (no calls, no routes), ignore the line
"Framework model X read nothing in ..., which import it"The framework changed under the model (a renamed annotation, a new client)atticus onboard framework <name> --from <its new source> --users <those repos>, then atticus onboard accept framework <name> --replace
Onboarding a framework says "a draft can't change it"The assistant changed an entry the learner read from codeNothing: it is handed back. If no attempt passes, add the missing entries by hand and run atticus onboard check framework <name> --from <source>
Onboarding a framework says "it reads nothing they don't give without it"The model's packages aren't what those repos import, or its entries don't match how they call itCheck --users names repos that use the framework; give its prefixes with --package when the learner can't tell (a pipeline library)
An AI step waits foreverHand-off mode waits for your assistantOpen the prompt it wrote, answer in your assistant, then atticus handoff done <run-id>; with AI off, write it yourself
"No vertex model provider is installed"That adapters.model.type has no providerUse anthropic, openai-compatible, azure-openai or bedrock (admin guide, "Calling a model directly"), or hand-off mode
"reads its key from the environment variable X, which isn't set"Model mode needs the key in that variableSet X in the environment Atticus runs in. Never put the key in runtime.yaml
"looks like a key or token itself"A key was written into runtime.yamlRemove it, rotate the key, and name an environment variable in keyEnv instead
"refused the credentials (HTTP 401)" or "(HTTP 403)"The key is wrong, expired or not allowed that modelCheck the variable named in the message; for Bedrock, the AWS variables, bedrock:InvokeModel and model access
"has no model called ..." or "no deployment called ... (HTTP 404)"The model id, deployment or baseUrl is wrongCheck model (or deployment and apiVersion for Azure OpenAI) and baseUrl in runtime.yaml
"kept asking Atticus to slow down (HTTP 429)"The provider's rate limitWait and run it again, or ask for a higher limit; maxRetries sets how often Atticus retries
"The proxy ... refused to connect Atticus" (HTTP 407)The proxy wants credentials or blocks the hostPut the proxy's credentials in HTTPS_PROXY, ask for the host to be allowed, or add it to NO_PROXY if it is internal
"doesn't trust the certificate ... presented"TLS inspection with your organisation's CASet NODE_EXTRA_CA_CERTS (or caFile in the model settings) to the CA's PEM file
"stopped the answer at the output limit"The answer was longer than maxOutputRaise maxOutput (up to what the model allows), or make the step smaller
"didn't answer within N seconds"A slow model or a long answerRun it again, or raise timeoutMs
"Unknown: Component repo, System owner and an interface spec for ..." at a gateNothing says who owns that system; the profile a new metarepo ships has no systems in it yetThe finding names the file and field: add the system under systems: in org-pack/profiles/<platform>/profile.yaml with its owner, in a pull request. Answering the owner question alone doesn't close it: the gap closes when the fact is in the catalog
openspec: command not foundOpenSpec ships inside the installed Atticus package, not on your PATHRun it through Atticus: atticus openspec status, atticus openspec instructions apply. status, instructions and show take --change, which Atticus fills in when one change is open
"... isn't YAML (line N, column M)"Your assistant's answer doesn't parse; most often an unquoted value holding a :Fix that line in the file named (a value holding a :, a # or { } [ ] goes in double quotes), then run the step again or atticus handoff done <run-id>
"... was not written" after a stage found somethingThe run being finished isn't the one the stage is waiting onRun the stage again with --resume <the run it named>; the stage carries your last answer into each new round's folder, so there is nothing to copy across
A write to a shared system became a stepThe adapter is manual or couldn't be reachedDo the step from Manual steps, under Changes (every field is ready to copy), then record it: atticus todo done <step>
"... facts need more memory than Node was given"This repo's facts don't fit in the heap Node has, or in the memory the machine has freeSet ATTICUS_MAX_OLD_SPACE=4096 (megabytes) and verify again: $env:ATTICUS_MAX_OLD_SPACE=4096; atticus verify <repo> --write in PowerShell, ATTICUS_MAX_OLD_SPACE=4096 atticus verify <repo> --write in bash. Or close an IDE, or verify a repo at a time
atticus verify ends with no output at all and exit 137The kernel killed it for memory before it could print (an older Atticus, or another program taking the memory while it ran)Free memory and run it again with ATTICUS_MAX_OLD_SPACE set; this Atticus says so in words instead
"N entries' auth rests on no cited line"Those entries claim an auth that no cited line shows, so the catalog leaves it outHave your assistant give each entry an authCite — the file and line that sets the auth and what it writes there — then verify again. The claim is in the facts file either way
"Warning: X looks like Y, already listed" from atticus repo add, or atticus next says "No facts are filed under X, but Y has some"One repo is listed under two ids (a case, _/- or version-suffix difference, or the same clone URL), so its facts and the manifest drifted apartKeep one id: atticus repo rename <old> <new> moves the manifest entry, the facts and their companions, the questions and the catalog records, then review and commit the change in a pull request (Atticus commits nothing)
"N entries or calls claim an HTTP method their lines don't write"The method a fact claims is on neither its cited line (nor the method chain it is in), the next line, a cite.with line nor, for a gateway's forwarding call, its route's lineA warning, not a rejection: have your assistant check the method, or cite the line that writes it in cite.with
A sync was stopped (Stop, or the app closed) and the next one says "the base clone has local changes"An older Atticus left a checkout half-done in the base cloneThis Atticus puts a stopped checkout back on the commit it was on, and the next sync does so if it couldn't. For a clone an older one left, if nothing in it is yours: git -C workspace/<repo> checkout --force <branch>, then git -C workspace/<repo> clean -fd (base clones are read-only). Always with -C workspace/<repo>: never run git clean at the metarepo's root, where it deletes every file of yours git doesn't track
"an earlier sync was stopped in the base clone's checkout, and it wasn't put back: ... Nothing was changed"The base clone holds what that stopped checkout didn't leave: a file or an edit of yours, a commit on its branch, or workspace/<repo> is a link to a clone of yoursNothing was touched. Move your work out of workspace/<repo> (base clones are read-only) and sync again; or delete the mark it names, workspace/<repo>/.git/atticus-sync-checkout.json, to keep the clone as it is (the next sync then skips it for its local changes). A link: delete the link itself, never what it points to, and sync again
A sync says "your version of <path> was kept at .../.git/atticus-put-back/<at>/<path>"Putting a stopped checkout back found a file at a path that checkout writes that was neither commit's: an edit of yours, or a file the stopped checkout had half-writtenThe copy is there for you and Atticus never deletes it. If it is yours, take what you need from it to a clone of your own (base clones are read-only); then delete the copy, or the whole atticus-put-back folder, yourself
"what that checkout didn't write is staged: ... Nothing was changed"A version of a file the stopped checkout writes is staged in the base clone, and it is neither commit's: an edit you added, or a file you made where the fetched commit adds oneNothing was touched. Move the file out of workspace/<repo>, then git -C workspace/<repo> restore --staged -- <path>, and sync again; or delete the mark it names to keep the clone as it is
"<path> is a folder with files in it, where one commit has a submodule and the other a file ... Nothing was changed"The commit the base clone was on and the one the sync fetched disagree about <path>: a submodule in one, a file in the other; and the folder there has files in it (git doesn't look inside a submodule's folder, so it can't tell whose they are)Nothing was touched: putting the file back would have deleted that folder's files. Move what you need out of workspace/<repo>/<path> (base clones are read-only) and sync again; or delete the mark it names to keep the clone as it is
"this clone's history can't show the sync left it"The base clone's branch is at the commit the sync fetched, but git keeps no reflog of it there (core.logAllRefUpdates off), so nothing shows the sync's checkout moved itNothing was touched. Run the git -C workspace/<repo> update-ref ... it names (it sets the branch back to the commit it was on; your files are still checked as above), then sync again; or delete the mark to keep the clone as it is
A sync says "git's lock .../index.lock is there: if no git is running in ..., delete it"A sync was stopped while another git worked in that base clone, and its lock is still thereWait for that git to finish; if none runs there, delete the lock it names, then sync again
The page says "The Atticus app at this address now shows another metarepo"atticus ui was started again in another folder on the same port while this page was openReload the page to see that metarepo. Nothing this page asked was sent to it; a write it was making says "Not sent": do it again
"N slips of form fixed in the facts"A camelCase fact id was slugged (and every reference to it), or a flow with no cite took its entry's lineNothing to do: verify (or atticus map's batch) wrote the fixed facts back; the Map shows the fix as a note until the next verify writes it. A collision (two ids that slug to the same one) is still refused: rename one of them
"Nothing written: ... was written before beta.27"The metarepo's catalog was written by an earlier Atticus, before the catalog was built from slots (ADR 0195). Run atticus upgrade to see what adopting it writes, then atticus upgrade --yes.
"The last undo took back the upgrade"atticus catalog undo took back the adoption into slots, so the catalog is one from before beta.27 again and every writer waits. Run atticus upgrade --yes to adopt it again.
"The first build would change N record files" during atticus upgradeThe catalog isn't exactly what a build of it makes (some files were written by hand). Each file is listed with how it changes; the copy in catalog/sources/legacy/generated-before-upgrade/ keeps them as they were. Run atticus upgrade --yes --accept-changes N with the count listed.
"This would remove N records ... so they wait for you to confirm"The build would remove more than 10% of a repo's records (or 200): a repo's facts replacing its readers' read, an answer joining loose ends, a repo archived. Each is listed with why. Run the same command with --allow-removals N, the count it listed; atticus catalog undo --yes takes it back.
"N files under catalog/generated were changed by hand since the last build"Something edited the generated catalog. Nothing is overwritten: atticus catalog edits --curate makes each edit a curated decision the next build keeps, or rerun with --discard-edits N to replace them (their bytes are kept for atticus catalog undo).
"... no changed slot, input, manifest entry or curated decision explains it. That is a bug"The build would remove records nothing explains. Nothing is written; send the list (atticus support bundle).
"its readers slot keeps its last good read" after a scanThat repo wasn't read in full (not cloned, outside --repos, a reader failed, changes not committed): its records stay as last read. Fix what the line says, then scan again.
"Atticus can't tell <repo>'s commit: workspace/<repo> has no .git of its own"That repo's folder under workspace/ is a copy, not a Git clone, and no --commit was given. Its facts are checked at no commit, and verify --write still writes them, saying this warning first; the commit is never taken from the metarepo around it. Sync the repos (or atticus workspace sync) to clone it again, or pass --commit <sha>.
"Nothing written: N facts were rejected (... read at another commit than <sha>: read <repo> again at this commit ...)"Some facts were read at an earlier commit than the clone is at now. An Apply never writes facts under a commit they weren't read at, so nothing is written: read the repo again at this commit (atticus map <repo>, or Read again on its Map), then Apply. The same refusal comes when every fact of the read was rejected.

Where to see what Atticus is doing ​

Open the Console at the foot of the app (in the bottom panel, under the page; in the classic layout Open the Console; it is there on every page, in a browser and in the VS Code and IntelliJ panels). It lists everything Atticus is doing or did lately on this metarepo, newest first, wherever it was started:

  • what you started in the app: a scan, a sync, Apply, Propose, Bring in, an AI step, the critic, a wiki's sync, a team's tool, a run's Done, a Copilot run (with its tab per session);
  • the long commands run in a terminal, by VS Code or IntelliJ, or by a Copilot session: atticus map (and map --all), verify, scan, workspace sync, task run, task run-ready, knowledge scan, upgrade, handoff done, index rebuild, reconcile;
  • the hand-off runs that wait for your assistant, with where the prompt is and how to finish it, and what Done printed once it ran.

Each entry says what it is, where it was started, whether it is running, done, failed, cancelled, waiting or "ended without saying" (its terminal was closed, or it crashed), and when. Pick one to see what it printed, live: follow the end, search, copy. While anything runs, a strip under the top bar says what and how far, with Show in the Console and Stop for what the app started. A command run in a terminal stops in its terminal (Ctrl+C).

A job the app started (a scan, a sync, an AI step, Apply) is kept the same way, so it is still in the Console after the app restarts, titled by what it is and the repos, changes or runs it names (never words you typed). One still running when the app closed says "stopped when the app closed"; one another atticus ui window runs says to stop it there. atticus ui in a folder that isn't a metarepo keeps nothing there.

A command run outside the app keeps what it prints in .atticus/logs/runs/<run>.log, and a small record of itself (the command words, the repo, change and run ids it was given, its flag names, and in its title the values that are ids, names or dates, never one that looks secret; when it started and how it ended) in .atticus/logs/running/<run>.json. Each line is redacted as the log is (below). Only the last 50 runs are kept, each log to its last 2 MB or so. Quick commands (help, list, show, next, --json questions, --check, --dry-run) keep nothing. ATTICUS_RUN_LOG=off turns it off for a command, and for the app's jobs when atticus ui is started with it. The last 50 runs are counted together, the terminal's and the app's. .atticus/logs/ is never committed.

The log ​

.atticus/logs/atticus.log in the metarepo: one JSON object per line, newest last. Each command with its flag names, exit code and time; failed API calls; crashes with their stack. Secrets, tokens, credentials in URLs, your home folder and user name are hidden before anything is written. ATTICUS_LOG=debug atticus <command> records more for one run.

Asking for help ​

bash
atticus support bundle

writes .atticus/logs/atticus-support-<time>.zip (or --out <file>): versions, operating system, the machine checks, the setup checklist, org-pack problems, counts of records, changes, repos and inputs (never their names) and the last 2,000 lines of the redacted log. Nothing is sent anywhere. Read every file before it leaves your organisation: an error message can still name one of your systems or changes, so remove what you can't share.