Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FaADA545v1Fw4im5hHFoTq
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FaADA545v1Fw4im5hHFoTq
Cargo crate at the repo root (binary: delphi, dep: anyhow). Same commands, files, refs and outputs; still shells out to git and gh. Repo root comes from DELPHI_ROOT, the current directory, or the path saved by 'delphi setup'. Integration tests run bash and Rust on the same sandbox and compare outputs. The bash CLI stays in place until the port is adopted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FaADA545v1Fw4im5hHFoTq
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FaADA545v1Fw4im5hHFoTq
Every compiled file is a 1:1 copy of one source; layouts choose per entry between sync (linked: refresh updates, propose sends back) and copy (yours after the first copy), plus an optional assembled instruction file and the layout's own files/. Adds 'workspace diff [--upstream]' and shared-source tags. Removes line-level routing, .skill specs, MCP assembly, the interactive layout picker, and the bash CLI. Migrates argos-dev. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FaADA545v1Fw4im5hHFoTq
Copies follow block moves; layout new and files/ dests go through path checks; check validates moves.tsv paths; diff warns about uncommitted edits. A file entry may now sit inside a directory entry's dest when the directory's source has nothing there; argos-dev syncs whole skill folders. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FaADA545v1Fw4im5hHFoTq
Shared git/capture/worktree helpers, typed lock rows and routing results, smaller route/workspace functions, dead v1 leftovers removed. No behavior changes covered by tests or the spec. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FaADA545v1Fw4im5hHFoTq
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FaADA545v1Fw4im5hHFoTq
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FaADA545v1Fw4im5hHFoTq
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FaADA545v1Fw4im5hHFoTq
Workspace folders under context/<scope>/workspaces/<name>/ with workspace.yml (instructions, links, repos), fully materialized on main. 'delphi sync' reconciles links per file against main; checkouts are non-cone sparse clones of one folder on ws/<user>/<name>; flattened commands (create, list, checkout, open, refresh, diff, propose, status, mv, sync, check, setup); CI runs check + sync --check on PRs and syncs main after merges. Removes compile, lock, generated refs, routing, copy entries, moves.tsv, and layouts. Migrates argos-dev. Replaces the flow diagram with the v3 version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FaADA545v1Fw4im5hHFoTq
Propose uses one merged base so reverts of shared edits propagate; status 'ahead' counts only unpushed own commits; sync reads the owner exec bit like git; workspace.yml can't be a link dest; link sources can't contain workspace folders; CI splits a read-only check job from the main-sync job and tolerates a moved main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FaADA545v1Fw4im5hHFoTq
Single fetch/commit/worktree helpers, typed provenance fields, one dispatch table, named steps in checkout/propose/sync; mv no longer shells out to date. CLAUDE.md module list and Cargo description match v3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FaADA545v1Fw4im5hHFoTq
bracyw
marked this pull request as draft
September 26, 2026 18:26
Moves commit, to-tickets, and the base/workspace instruction parts under software/application-software/argos; argos-dev links nothing outside it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FaADA545v1Fw4im5hHFoTq
blocks/docs/skills/settings entries are linked (<source> [-> <dest>]) with per-key default dests; mcp fragments generate .mcp.json like instructions generate CLAUDE.md. Replaces links:. check enforces each entry sits under its key's directory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FaADA545v1Fw4im5hHFoTq
A skill folder may hold skill.yml (name, description, body: blocks); delphi sync generates its SKILL.md, and a hand edit is a conflict. argos-dev's open-pr/update-pr include their own block plus the shared pr-body.md instead of linking the block into each skill folder. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FaADA545v1Fw4im5hHFoTq
…routing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FaADA545v1Fw4im5hHFoTq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This replaces the bash CLI with a Rust CLI (
cargo install --path .) and a new model: workspaces are folders inside Delphi, fully built out and committed onmain. Spec:docs/design.md. Goals:docs/goals.md. Diagram:docs/delphi-flow.png, with its editable.drawioalongside.context/<scope>/workspaces/<name>/. Itsworkspace.ymllistslinks(a shared source mapped to a path in the folder), an optionalinstructions:list (used to generateCLAUDE.md), andrepos. Every other file in the folder belongs to that workspace alone.delphi sync: compares each shared file againstmain. A change on one side, whether the source or any linked copy, is written to the source and every copy. Two different edits to the same file are reported as a conflict. Sync runs on propose, CI checks it on every PR, and CI re-runs it onmainafter merges.ws/<user>/<name>. Delphi's root files are never checked out.mainusing plain git (diff,diff --upstream,refresh).create,list,checkout,open,refresh,diff,propose,status,mv,sync,check,setup.generatedrefs, line-level and per-file routing,.skillspecs,copyentries,moves.tsv,layouts/.argos-devis now a workspace folder.commitandto-ticketsbecame shared skills thatargos-devlinks in.pr-body.mdis linked into both PR skills.History on this branch
Testing
cargo test: 23 end-to-end tests pass, run against a sandbox with a bare origin and a stubbedgh. They cover sync (fan-out in both directions, adding and deleting files in linked folders, conflicts, new links, generatedCLAUDE.md, idempotence), checkout, refresh, diff, propose followed by merge and refresh in another workspace, status, create, list, mv, check, setup, offline use, and the CI sync script.cargo clippy -D warnings,cargo fmt --check, anddelphi checkplusdelphi sync --checkon the real repo are all clean.Notes for reviewers
delphi checkout <name>..github/workflows/delphi.yml. The PR job is read-only. The main-sync job has write access and commits as github-actions[bot].mainand leave copies different, the source's version wins.--offlineflag, the doubled push protection, and redundant meta fields.🤖 Generated with Claude Code
https://claude.ai/code/session_01FaADA545v1Fw4im5hHFoTq