Bring an existing project in
A repository that already has code, a Justfile, AGENTS.md or CI workflows needs different steps than
an empty folder. The installer keeps your files and merges only its own blocks. Keep the custom recipes
and workflows that you still need, and let the stack replace the rest.
This page covers the migration steps, CI workflows and .gitignore. For low-level block and clash rules,
see Bring an existing project in on the
jnterfaces site. First install the machine programs and clone jnterfaces as shown in
Start a new project.
Start with a dry run
In the repository root, preview the install with --dry-run and --update. --dry-run checks version
floors and prints every file that the installer would write or change. It makes no edits to the
repository. --update pulls the latest release tags in your local package clones first.
For a language repository, pass --profile python, --profile typescript or --profile rust. For a
docs-only repository (like this site), name the roles directly:
uv run "${SKILL_PACKAGES_DIR:-$HOME/.local/share/skill-packages}/jnterfaces/scripts/install_stack.py" \
--dry-run --update tasker prose docs --target . --defaults --answer docs-publish=noWhen an AI agent runs the installer with no terminal, pass --defaults plus any --answer KEY=VALUE
overrides. Without them, the installer prints the setup questions (issues, integration, tasker,
review-model, docs-publish) and exits with no changes.
Resolve Justfile recipe clashes
install_stack.py keeps your Justfile and inserts a short import block at the top
(import? '.agents/install.just' and JLOG_RUN). But some recipe names belong to the installer or to an
active role, so your Justfile cannot define them:
- Installer names.
install,uninstall,env-laband the variablejn_copier. - Profiles and roles.
python,typescript,rust, and role recipes such asreview,ci-gate,prose-check,docs,docs-build,docs-checkanddocs-publish.
Before you run the real install, decide whether to replace or keep your Justfile:
- Hand the recipes over to jnterfaces. If your old
Justfileonly defined role recipes by hand (such asdocs,docs-check,prose-checkandcheck), delete it first. The installer then writes a starterJustfile, and every role recipe andjust checkwork with no clashes. - Keep custom project recipes. Rename any recipe that clashes (for example rename
installtosetup). You may keep custom overrides for steps such aslint,testorcheck. End each step withjlog step NAME(with no#!shebang line). A customcheckmust start withworktree-warning, run every step listed in.agents/stack.json, and end withjlog pass.
Run the installer
Once you clear any recipe clash, drop --dry-run and run the same command:
uv run "${SKILL_PACKAGES_DIR:-$HOME/.local/share/skill-packages}/jnterfaces/scripts/install_stack.py" \
--update tasker prose docs --target . --defaults --answer docs-publish=noThat command clones any missing packages (agent_gest_git_skills, nossaifd or profiles) into your
package cache. It writes .agents/, .claude/, .codex/ and .pre-commit-config.yaml, installs
pre-commit if needed, and registers the Git hooks in .git/hooks/.
Audit CI workflows and GitHub Pages
install_stack.py writes a starter file only when the project has none. Inspect every file in
.github/workflows/ right after install:
- Old
check.yml. If the repository already had its owncheck.yml, the installer skipped it. Delete the old file before install (or copy thetaskerstarter by hand) so pull requests runjust ci. - Other workflows that call
just. Every recipe line now runs throughjlog. Any workflow that callsjust(such as apages.ymlthat runsjust docs-build) fails in CI until it installsjlog. - GitHub Pages through Actions (
pages.yml). If GitHub Pages deploys through GitHub Actions rather thangh-pages, pass--answer docs-publish=no. Keep.github/workflows/docs-publish.ymlso futurejust installruns do not recreate it. Remove itspushtrigger (leave onlyworkflow_dispatch) and set its permissions tocontents: read. - Programs that
tools-checkverifies inrelease.yml. In CI,tools-checkskips only per-clone checks (commit-hooks), not binary version floors. A CI job that runsjust checkwithtaskerneedsjust,uv,jlog,gestandjagtonPATH. Because thetaskerstarterrelease.ymlomitsgestandjagt, add pinned installs for both. Withdocson,docs-checkrunssmalldocsthroughuvx, and you can also preinstall the pinnedsmalldocswheel in CI.
Check .gitignore and AGENTS.md
- Ignore Python bytecode in non-Python repositories. Helper scripts under
.agents/skills/run with Python and can leave untracked__pycache__/folders behind. If your repository has no Python profile, add__pycache__/and*.py[cod]to.gitignoreso stray bytecode does not blockjlog passor the commit gate. - Fill in
AGENTS.md. If the installer wrote a starterAGENTS.md, replace each<replace-me>placeholder with your project name, folders, default branch, CI workflows and commands. If you kept custom recipe names in yourJustfile, map each task to your recipe name inAGENTS.mdso agents follow thejustskill.
Verify with the skills and make the first commit
The commit gate checks the whole worktree, both staged files and any unstaged or untracked files. Follow this order for the first commit:
-
Stage everything and run the deterministic checks:
git add --all just install --check just checkIf a step fails, fix it and stage the fix, then run
just checkagain. If you have a docs site, runjust docs-buildas well to check strict site output. -
Run targets that edit files first (
just update-docs, thenjust prose). In Claude Code or Codex withtaskeron, an agent commit needs commit-gate records from both targets. On the first commit, new Markdown files under.agents/andAGENTS.mdtrigger them even ifdocs/did not change. Manualnossaifdsteps do not write theproserecord. Withouttasker, runjust prose-check -vand thenossaifdanddeclaudesteps directly. -
Run the review targets last (
just review, andjust test-reviewif code changed). Hand each printedAGENT_TASKpacket to a fresh subagent. In a repository with old files, an adversarial review catches workflow gaps, stale README instructions and overly broad permissions before push. -
If a review finds defects, fix them, stage the fixes and re-run any target whose input files changed. Then run
just checkone final time and commit. Thepre-commitandcommit-msghooks verifyjlog passon the staged tree and stamp theCommit-Gate:trailer. In Claude Code and Codex, hooks recordAGENT_RESULTpackets automatically. In a plain terminal or another harness, the gate checksjlog pass, while fresh review and prose subagents still catch defects before push.
When you push, the pre-push hook runs just ci locally. If your repository uses SSH remotes and your
clone points to HTTPS, switch origin to SSH (or configure gh auth setup-git) before you push workflow
changes.