Troubleshooting
From the repository, docs/troubleshooting.md.
This page lists the problems you may meet while you install, plan, publish and update, each with its cause and its fix. For questions about the method, read the carried-context development FAQ.
Installing
Section titled “Installing”The install command is missing or blocked
Section titled “The install command is missing or blocked”npx: command not found or npx is not recognized. Install Node.js using the instructions for your system, then close and reopen the terminal and agent. Check:
node --versionnpx --versionBoth should print version numbers. If Node.js works but npx does not, repair or reinstall Node.js with its package tools included.
PowerShell says npx.ps1 cannot run because scripts are disabled. Use this command instead:
npx.cmd skills add sct-will/carrydownFor the installation check, run:
npx.cmd skills listThis uses the Windows command launcher without changing your execution policy.
The installer cannot download the skills. Check your internet connection. On a managed computer, ask your support team whether downloads from the Node package registry and GitHub are allowed. Copy the error message when asking for help.
Something is missing on this computer
Section titled “Something is missing on this computer”carrydown needs a coding agent, Node.js for the installer, Python 3.9 or newer for the scripts and Git. You use a terminal to install and check the skills. After installation, you work in your agent’s chat.
The first thing each skill does is check for Python 3.9 or newer. If Python is missing, it asks once whether to install it, and installs it from the official source after your yes. You still install Node.js and Git yourself. The computer preparation steps list versions and checks. If you would rather install Python yourself, follow your system’s steps. The installation walkthrough explains where to enter the commands and what to select. Manual installation is available if you cannot use Node.js.
Python or Git is missing
Section titled “Python or Git is missing”The agent cannot find Python. On macOS or Linux, check:
python3 --versionOn Windows, check:
python --versionIf you installed it recently, close and reopen the agent. If the check still fails, return to your system’s preparation steps. Tell the agent which command worked so it can use that command for the scripts.
git is not recognized or not found. Follow your system’s Git installation steps, then reopen the terminal and agent.
The folder is not a Git repository. This is different from Git being missing. Ask the agent to initialize Git in your project folder. Review the folder it names, then approve. You can draft a plan locally before connecting a GitHub repository.
The agent does not see the skills
Section titled “The agent does not see the skills”Check these in order:
-
Open the same project folder where you installed the skills. A project installation is available in that folder.
-
Follow check the installation for your chosen scope. Both skill names should appear. For a manual installation, check the copied folders that manual installation names.
-
End the agent session and start a new one, or close and reopen the application. Enable Agent Skills in its settings if the agent requires that.
-
In its chat, say:
Use the carrydown-ground-truth skill. Set up a project plan from these documents.
-
If the skills are still missing, use the complete command for your agent in the agent command list and repeat the check. If the installer reports a permission error creating a symlink, choose Copy or use the manual installation route.
You need help from your organization
Section titled “You need help from your organization”If you cannot install software, send your support team this request:
I need to run the carrydown planning skills in a local project folder. Please help me set up an approved coding agent with file and command access, Node.js 22.20 or later with npx, a current Python 3 release and Git. The installer needs access to the Node package registry and GitHub. I will need repository and project-board permissions later, when I publish the reviewed plan.
A hosted coding agent cannot refresh the engineers’ check
Section titled “A hosted coding agent cannot refresh the engineers’ check”Hosted coding agents can read the approved contexts from the repository, so they need no local workspace. The engineers’ check refreshes with a git fetch of the default branch, and whether a hosted environment allows that depends on the host. If the fetch fails, the check applies the offline grace rule or stops.
carrydown’s tests do not run inside a hosted agent, so confirm the fetch behavior for yours.
I want to remove carrydown
Section titled “I want to remove carrydown”The installer put the skill folders in your project. Run npx skills remove, or delete the skill folders. The files under docs/ in your project are yours.
The sample trial
Section titled “The sample trial”The trial on the sample walkthrough runs the engineers’ skill of the public sample on WI-03 and stops at a plan. It needs Git, Python 3.9 or later, a coding agent that reads files and runs commands, and network access for the first check. It needs no Node.js, no GitHub account and no token.
The clone fails
Section titled “The clone fails”Run git --version. If it prints no version, follow Python or Git is missing. Otherwise check the network connection: the clone downloads from GitHub, and on a managed computer your support team can say whether GitHub is reachable. If the folder carrydown-sample already exists, clone into a new, empty folder.
The agent does not find or follow the skill file
Section titled “The agent does not find or follow the skill file”Open the carrydown-sample folder itself in the agent as its working folder, not the folder above it. Then ask the agent to read docs/dev/skills/expense-approvals-dev/SKILL.md and follow it, and say the trial’s sentence again. If the agent starts to write code, stop it and repeat the end of the sentence: stop before any implementation.
The check prints an error
Section titled “The check prints an error”The skill’s first command is its check, check_context.py WI-03 in the skill’s scripts/ folder. When it passes, it prints carrydown: approved context for WI-03 is ready. Otherwise it prints one message that starts with carrydown:, a second line that says why, and stops with one of these exit codes:
- 10, no approved context. The clone has no approved context for that id. Check that the id is WI-03, then clone again into a new folder.
- 11, the approved context is stale. A newer release replaced it, it was withdrawn or expired, or the check could not fetch the default branch and has no earlier refresh to rely on. On a first run this is usually the network: check the connection and run the check again.
- 12, an obligation is not in the approved context. The specification cites a section that its approved context does not hold, so a file in the clone changed. Clone again. Do not look for the source document.
- 13, a restricted destination. The work item is marked for a destination this project does not publish. The sample has none, so clone again, and report a bug if it persists.
- 14, the specification does not match its release. The specification differs from its approved text, or git cannot show the approved text. Undo your edits to it, which
git statuslists, or clone again. - 15, inputs from more than one release. The approved files in the clone come from different releases. Pull the default branch, or clone again.
A line warning: freshness not confirmed; within offline grace means the inputs passed but GitHub could not be reached. The trial can continue. If no line starts with carrydown:, Python is missing or older than 3.9, or the command was not found. The skill’s preflight note, references/preflight.md in the skill folder, checks Python and asks before it installs anything. Python or Git is missing has the manual checks.
Install the engineers’ skill instead
Section titled “Install the engineers’ skill instead”Instead of asking the agent to read the skill file, you can install the skill with the skills installer. This route needs Node.js 22.20 or later, as prepare your computer shows. From the carrydown-sample folder, run:
npx skills add https://github.com/sct-will/carrydown-sample/tree/main/docs/dev/skills/expense-approvals-dev --agent <your agent>Replace <your agent> with your agent’s value in the agent command list: the word after --agent in its command. Start a new agent session in the same folder, then say the trial’s sentence.
Planning
Section titled “Planning”My agent does not pick up the right skill
Section titled “My agent does not pick up the right skill”Name the skill in your first sentence. This is a fallback, not the main phrase:
“Use carrydown-ground-truth to update this existing project.”
For a new plan, say “Use the carrydown-ground-truth skill.” For publishing, say “Use the carrydown-plan-to-github skill.”
My document is a Word file with no section numbers
Section titled “My document is a Word file with no section numbers”The agent can render it, but numbered sections make citations easier to maintain. Ask the agent to propose numbering in the source document and review it before planning.
My source is a PDF, an image or plain text
Section titled “My source is a PDF, an image or plain text”Word, Markdown and UTF-8 plain text render directly. The agent can inspect readable PDF, image and other files and create a Markdown rendering with numbered sections and provenance.
Give the agent the files where you keep them, or keep a local copy in an ignored docs/source/ folder. Review extracted rules, tables and diagram meaning before planning. If one file cannot be read reliably, the agent records the coverage limit and continues with the readable sources. It stops only when none of the intended ground truth can be processed.
Publishing and updating
Section titled “Publishing and updating”I do not know which GitHub token permissions to request
Section titled “I do not know which GitHub token permissions to request”No token is needed to plan locally. Publishing issues and a project board requires a GitHub personal access token. The permissions depend on who owns the board:
| Board owner | Token | Required access |
|---|---|---|
| Organization | Fine-grained token limited to the repository | Repository permissions Issues: read and write and Metadata: read; organization permission Projects: read and write |
| Your user account | Classic token | repo and project scopes |
GitHub does not currently let fine-grained tokens access user-owned projects. The token cannot give you access that your GitHub account does not already have, and an organization may require administrator approval. Follow the token walkthrough to create, check, store and revoke it without putting it in the repository or chat.
I need to be sure a document never reaches the project repository
Section titled “I need to be sure a document never reaches the project repository”A document reaches the project repository only if you say everyone who can read the repository may see it. The project holds the outputs you approved, never a restricted original or its full rendering. Originals are optional in the project even when a document is public, and the checks pass in a clean clone without them.
Answer no to the agent’s first question for that document, and keep it where it is. An ignore rule keeps new files out of git, but it does not erase a file that an earlier commit already holds. The inventory command, release.py inventory, lists what a legacy project tracks and whether it is in history. carrydown cannot rewrite history. See who may see your documents, and the security guide for the model.
A released document needs to be recalled
Section titled “A released document needs to be recalled”Text already delivered, in a clone, a fork, an issue, a stored copy or an agent transcript, cannot be recalled. Immediate revocation is not an embedded-delivery promise.
Ask the agent to withdraw the release, and give a reason, as reapprove or withdraw a release shows. A withdrawal stops further publication and tells the engineers’ check to stop on the next refresh. It does not remove anything.
The board needs settings by hand, and the roadmap shows breaks
Section titled “The board needs settings by hand, and the roadmap shows breaks”The GitHub application programming interface (API) cannot set every board setting. After it creates the board, the agent gives you a list. It includes view settings such as grouping, sorting and roadmap dates, plus workflows. Finish those settings in GitHub as part of the publishing steps.
Between two iterations with a gap in the dates, GitHub shows a break. The scripts leave the gaps from your breaks list, so the breaks in the roadmap are expected.
An engineer’s recorded decision and a source change disagree
Section titled “An engineer’s recorded decision and a source change disagree”When the engineer’s decision and the revised source fit together, the update keeps both and the review explains the result. When they conflict, the review shows both sides and the plan owner decides. The agent does not overwrite an engineer’s correction to make a regenerated specification simpler.
Decide the conflict in the review. A recorded decision does not change an obligation by itself. A released update does.
An update stopped partway
Section titled “An update stopped partway”The agent saved a proposal or started a publication that did not finish. A failure does not authorize a reset, a forced approval, a blind retry or the removal of human work.
Say “Resume the project update.” The agent finds the saved proposal or the unfinished publication and continues from what is verified. See resume a project update.
I am not sure the project is up to date
Section titled “I am not sure the project is up to date”“Up to date” means that, for the sources the agent could observe, each change has a recorded disposition, you approved the update and every required publication step is verified. It does not mean that the agent saw sources it was not given, that no impact was missed or that every engineer has received the update.
Ask the agent. While a publication step is pending, it says so.
The plan must change after the issues exist
Section titled “The plan must change after the issues exist”You can change the plan after the issues exist. Existing issue bodies are updated only when requested, and issues are never deleted by the scripts.
Review local changes first, then preview the updates to GitHub. A changed source or an engineer’s correction follows the same path: say what changed, review the one proposed update and approve it. Follow update the plan.
I found a bug or a security issue
Section titled “I found a bug or a security issue”A bug is reported in public. A security issue is reported privately.
Report a bug with the bug report form on the carrydown repository. Leave out any token, password or private document text.
Report a security issue privately. Do not open a public issue for it. Use GitHub private vulnerability reporting through the private report form on the carrydown repository. Only the maintainer can read what you send. SECURITY.md says what to put in the report and when to expect a reply.