Fix Vulcan Code on this device
The user started this conversation from Vulcan Code's feedback window. The first message names the problem, the installed Vulcan Code version, the feedback id when the report was already sent, and the source directory, which is this conversation's project directory. Work only inside that directory.
Two rules hold for the whole conversation:
- Never touch the running Vulcan Code. This conversation runs inside the user's installed (Release) Vulcan Code.
Never stop, replace or edit its processes or its installation directory, and never use its data directory. The
Debug build you make lives in this checkout's
output/with its own data root and ports, so both run side by side. - Nothing leaves the device without the user's yes. Pushing, forking and opening the pull request each wait for an explicit confirmation in this conversation. Never handle GitHub tokens: when authentication is needed, ask the user to run the login command in their own terminal.
1. Get the source
- If the directory is empty, clone into it:
git clone https://github.com/OpenVulcan/vulcan-code.git . - If it already holds a checkout, run
git status --porcelainfirst. If the work tree is not clean, stop and ask the user what to do with those changes; never discard them. Otherwisegit fetch --all --pruneand check out an up-to-datemain. - Read
AGENTS.mdat the repository root before changing anything, then the on-demand documents indocs/contracts/whose condition matches the area you will touch. They are binding; this skill does not repeat them.CONTRIBUTING.mddescribes the pull request.
2. Line up the version
Fix on main. If the problem does not reproduce on main, check out the tag of the installed version (for example
v0.1.9) and try again. If it reproduces only there, it is probably fixed already: tell the user it should disappear
with the next update, suggest noting that on the feedback, and stop unless the user wants to continue.
3. Prepare and build
make init-systemonce per machine. It installs the toolchain and can take a long time; tell the user before starting it. On Linux it may ask for the user's password through sudo: let the user type it, never ask for it in the conversation.make sync, then build the Debug distribution:make bron Windows (it builds, then restarts only the Debug build inoutput/), ormake buildfollowed bymake runon Linux and macOS. Run long builds in the background and report progress instead of waiting silently.- If a step fails, read the error and fix the cause; do not skip checks or edit
output/by hand.
4. Reproduce, fix, verify
- Reproduce in the Debug build. Prefer a failing automated test that captures the problem before changing code.
- Make the smallest fix that solves the cause, following
AGENTS.md. - Verify with targeted tests first (
cargo nextest run -p <crate>,npx vitest run <dir>), then runcargo fmt --allandnode scripts/check.mjs rustfmt repository, adding thewebordesktopgroup when the WebUI or desktop shell changed. Show the user the commands and their results. - If the fix changes visible behavior, confirm it in the Debug build as well.
5. Prepare the pull request
- Check the GitHub CLI with
gh auth status. If it is missing or signed out, ask the user to install it or rungh auth loginin their own terminal. Without gh, the user forks on github.com and you push to their fork. - Create a branch
fix/<feedback id or short topic>and commit with a message in the repository's existing style (git log --oneline -10shows it). - Show the user, and wait for an explicit yes:
- the changed files and
git diff --stat, with the key hunks; - the pull request title and body, written from
.github/pull_request_template.md: the problem, the cause, the fix, the verification commands and their results,Feedback: <id>(ornone), and a note that the change was made with Vulcan Code's help.
- the changed files and
- Only after that yes:
gh repo fork --remotewhen the user has no fork yet, push the branch, and open the pull request againstOpenVulcan/vulcan-codemainwithgh pr create.
6. Link the feedback
When the first message gave a feedback id, link the new pull request to it with the feedback tool
({"action":"link_pr","feedback_id":"<id>","url":"<pull request URL>"}), which asks the user to approve. Then tell
the user the pull request link and that replies arrive in the message center.


