Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 8 additions & 56 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: CI

on:
push:
branches: [dev, "feature/**", "bug/**", "hotfix/**"]
pull_request:
branches: [dev]

Expand All @@ -17,12 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- uses: dtolnay/rust-toolchain@stable

- name: Cache cargo registry and build
uses: actions/cache@v4
Expand All @@ -48,12 +41,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- uses: dtolnay/rust-toolchain@stable

- name: Cache cargo registry and build
uses: actions/cache@v4
Expand All @@ -66,40 +54,18 @@ jobs:
restore-keys: |
${{ runner.os }}-cargo-test-

- name: Run tests (atomic-core)
run: cargo test -p atomic-core

- name: Run tests (atomic-config)
run: cargo test -p atomic-config

- name: Run tests (atomic-identity)
run: cargo test -p atomic-identity

- name: Run tests (atomic-repository)
run: cargo test -p atomic-repository

- name: Run tests (atomic-agent)
run: cargo test -p atomic-agent

- name: Run tests (atomic-remote)
run: cargo test -p atomic-remote

- name: Run tests (atomic-cli)
run: cargo test -p atomic-cli
- name: Run tests
run: cargo test --workspace

fmt:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
profile: minimal
components: rustfmt
override: true

- name: cargo fmt --check
run: cargo fmt --all -- --check
Expand All @@ -110,13 +76,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
profile: minimal
components: clippy
override: true

- name: Cache cargo registry and build
uses: actions/cache@v4
Expand All @@ -138,12 +100,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- uses: dtolnay/rust-toolchain@stable

- name: Cache cargo registry and build
uses: actions/cache@v4
Expand All @@ -167,12 +124,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install MSRV toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: "1.87"
profile: minimal
override: true
- uses: dtolnay/rust-toolchain@1.90

- name: Cache cargo registry and build
uses: actions/cache@v4
Expand Down
13 changes: 3 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
uses: dtolnay/rust-toolchain@1.90

- name: Cache cargo registry and build
uses: actions/cache@v4
Expand Down Expand Up @@ -107,12 +103,9 @@ jobs:
- uses: actions/checkout@v4

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@1.90
with:
toolchain: stable
profile: minimal
target: ${{ matrix.target }}
override: true
targets: ${{ matrix.target }}

- name: Install cross-compilation OpenSSL (aarch64)
if: matrix.cross
Expand Down
18 changes: 17 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -366,9 +366,25 @@ This simplifies the codebase while maintaining semantic clarity.
│ └── AB/CDEF... # Two-level directory structure
├── config.toml # Repository configuration
├── current_view # Active view name
└── working_copy_id # Working copy state
├── working_copy_id # Working copy state
└── workspaces/ # Per-view shelved artifacts
└── <view_name>/ # Shelved build artifacts for this view
```

### Workspace Shelving

See [README.md § Workspace Shelving](README.md#workspace-shelving) for the
user-facing explanation of how `.atomicignore` vs `[workspace] shelve` work.

Relevant code: `atomic-config/src/lib.rs` (`WorkspaceConfig`, `RepoConfig`),
`atomic-repository/src/repository/switch.rs` (`switch_view`, `collect_ignored_paths_on_disk`),
`atomic-cli/src/commands/init.rs` (`get_shelve_patterns`).

**Summary**: All ignored files are shelved per-view by default. Paths in
`[workspace] expose` are the exception — they persist across all views.
`atomic init` seeds `expose` with common tool configs (`.opencode`, `.vscode`,
`.idea`, `.claude`, `.gemini`). No per-language shelve lists needed.

### Single GRAPH Architecture

All edges live in one canonical GRAPH table. Views determine visibility by
Expand Down
Loading
Loading