one-setup-all-agents 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- one_setup_all_agents-0.1.0/.github/workflows/ci.yml +102 -0
- one_setup_all_agents-0.1.0/.github/workflows/release.yml +71 -0
- one_setup_all_agents-0.1.0/.gitignore +29 -0
- one_setup_all_agents-0.1.0/AGENTS.md +16 -0
- one_setup_all_agents-0.1.0/CHANGELOG.md +19 -0
- one_setup_all_agents-0.1.0/CLAUDE.md +1 -0
- one_setup_all_agents-0.1.0/CONTRIBUTING.md +43 -0
- one_setup_all_agents-0.1.0/LICENSE +21 -0
- one_setup_all_agents-0.1.0/PKG-INFO +204 -0
- one_setup_all_agents-0.1.0/README.md +177 -0
- one_setup_all_agents-0.1.0/SECURITY.md +70 -0
- one_setup_all_agents-0.1.0/docs/adding-a-tool.md +204 -0
- one_setup_all_agents-0.1.0/docs/decisions/0001-names-and-distribution.md +35 -0
- one_setup_all_agents-0.1.0/docs/decisions/0002-config-and-state-locations.md +33 -0
- one_setup_all_agents-0.1.0/docs/decisions/0003-source-layout-on-disk.md +36 -0
- one_setup_all_agents-0.1.0/docs/decisions/0004-minimum-python-and-dependencies.md +23 -0
- one_setup_all_agents-0.1.0/docs/decisions/0005-journal-backup-ledger.md +62 -0
- one_setup_all_agents-0.1.0/docs/decisions/0006-atomic-writes.md +33 -0
- one_setup_all_agents-0.1.0/docs/decisions/0007-skills-distribution.md +53 -0
- one_setup_all_agents-0.1.0/docs/decisions/0008-adapter-engine-boundary.md +31 -0
- one_setup_all_agents-0.1.0/docs/decisions/0009-adapter-interface-v1.md +46 -0
- one_setup_all_agents-0.1.0/docs/decisions/0010-engine-v1.md +64 -0
- one_setup_all_agents-0.1.0/docs/decisions/0011-claude-code-adapter.md +68 -0
- one_setup_all_agents-0.1.0/docs/decisions/0012-codex-adapter-and-shared-links.md +72 -0
- one_setup_all_agents-0.1.0/docs/decisions/0013-antigravity-adapter.md +64 -0
- one_setup_all_agents-0.1.0/docs/decisions/0014-tool-detection.md +45 -0
- one_setup_all_agents-0.1.0/docs/decisions/0015-source-layout-v1.md +103 -0
- one_setup_all_agents-0.1.0/docs/decisions/0016-unknown-formats-are-refused.md +35 -0
- one_setup_all_agents-0.1.0/docs/decisions/0017-init-import-adoption-snapshot.md +95 -0
- one_setup_all_agents-0.1.0/docs/decisions/0018-commands-sync-status-undo.md +204 -0
- one_setup_all_agents-0.1.0/docs/decisions/0019-verification-results-v0.1.md +71 -0
- one_setup_all_agents-0.1.0/docs/decisions/0020-release-and-publishing.md +34 -0
- one_setup_all_agents-0.1.0/docs/decisions/README.md +28 -0
- one_setup_all_agents-0.1.0/docs/github-metadata.md +45 -0
- one_setup_all_agents-0.1.0/docs/releasing.md +67 -0
- one_setup_all_agents-0.1.0/docs/verification/linux.md +33 -0
- one_setup_all_agents-0.1.0/docs/verification/macos.md +28 -0
- one_setup_all_agents-0.1.0/docs/verification/windows.md +28 -0
- one_setup_all_agents-0.1.0/pyproject.toml +70 -0
- one_setup_all_agents-0.1.0/scripts/check_dist.py +104 -0
- one_setup_all_agents-0.1.0/scripts/check_personal_data.py +176 -0
- one_setup_all_agents-0.1.0/scripts/hooks/pre-commit +11 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/__init__.py +19 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/__main__.py +8 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/_core/__init__.py +4 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/_core/fsutil.py +21 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/_core/jsonc.py +76 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/_core/jsonc_edit.py +218 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/_core/mask.py +98 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/_core/runner.py +240 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/_core/toml_edit.py +277 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/adapters/__init__.py +37 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/adapters/_common.py +316 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/adapters/antigravity.py +949 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/adapters/base.py +216 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/adapters/claude_code.py +809 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/adapters/codex.py +775 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/adapters/opencode.py +661 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/cli.py +198 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/commands/__init__.py +5 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/commands/init.py +322 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/commands/status.py +286 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/commands/sync.py +150 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/commands/undo.py +121 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/config_source.py +698 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/context.py +41 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/detect.py +266 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/engine/__init__.py +20 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/engine/apply.py +448 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/engine/atomic.py +144 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/engine/backup.py +190 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/engine/errors.py +86 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/engine/fsops.py +361 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/engine/journal.py +520 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/engine/links.py +116 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/engine/lock.py +129 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/engine/plan.py +367 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/engine/revert.py +242 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/engine/runcli.py +52 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/engine/undo.py +205 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/importer.py +737 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/model.py +361 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/paths.py +82 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/reader.py +104 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/snapshot.py +70 -0
- one_setup_all_agents-0.1.0/src/one_setup_all_agents/ui.py +61 -0
- one_setup_all_agents-0.1.0/tests/_bootstrap.py +18 -0
- one_setup_all_agents-0.1.0/tests/adapter_contract.py +664 -0
- one_setup_all_agents-0.1.0/tests/antigravity_support.py +46 -0
- one_setup_all_agents-0.1.0/tests/claude_support.py +123 -0
- one_setup_all_agents-0.1.0/tests/codex_support.py +26 -0
- one_setup_all_agents-0.1.0/tests/contract_applier.py +84 -0
- one_setup_all_agents-0.1.0/tests/demo_tool_adapter.py +202 -0
- one_setup_all_agents-0.1.0/tests/engine_support.py +113 -0
- one_setup_all_agents-0.1.0/tests/example_adapter.py +360 -0
- one_setup_all_agents-0.1.0/tests/fixtures/antigravity/mcp_config.json +17 -0
- one_setup_all_agents-0.1.0/tests/fixtures/claude/claude.json +39 -0
- one_setup_all_agents-0.1.0/tests/fixtures/codex/config.toml +29 -0
- one_setup_all_agents-0.1.0/tests/fixtures/home/.claude.json +79 -0
- one_setup_all_agents-0.1.0/tests/fixtures/home/.codex/config.toml +58 -0
- one_setup_all_agents-0.1.0/tests/fixtures/home/.config/opencode/opencode.jsonc +42 -0
- one_setup_all_agents-0.1.0/tests/fixtures/home/.gemini/config/mcp_config.json +61 -0
- one_setup_all_agents-0.1.0/tests/fixtures/opencode/opencode.jsonc +23 -0
- one_setup_all_agents-0.1.0/tests/fixtures/source/config.toml +6 -0
- one_setup_all_agents-0.1.0/tests/fixtures/source/instructions.md +2 -0
- one_setup_all_agents-0.1.0/tests/fixtures/source/mcp.jsonc +11 -0
- one_setup_all_agents-0.1.0/tests/fixtures/source/skills/demo-skill/SKILL.md +5 -0
- one_setup_all_agents-0.1.0/tests/opencode_support.py +26 -0
- one_setup_all_agents-0.1.0/tests/support.py +68 -0
- one_setup_all_agents-0.1.0/tests/test_adapter_antigravity.py +868 -0
- one_setup_all_agents-0.1.0/tests/test_adapter_claude_code.py +1026 -0
- one_setup_all_agents-0.1.0/tests/test_adapter_codex.py +874 -0
- one_setup_all_agents-0.1.0/tests/test_adapter_contract.py +526 -0
- one_setup_all_agents-0.1.0/tests/test_adapter_opencode.py +836 -0
- one_setup_all_agents-0.1.0/tests/test_adapters.py +203 -0
- one_setup_all_agents-0.1.0/tests/test_atomic.py +169 -0
- one_setup_all_agents-0.1.0/tests/test_check_dist.py +96 -0
- one_setup_all_agents-0.1.0/tests/test_cli.py +137 -0
- one_setup_all_agents-0.1.0/tests/test_cmd_init.py +971 -0
- one_setup_all_agents-0.1.0/tests/test_cmd_status.py +429 -0
- one_setup_all_agents-0.1.0/tests/test_cmd_sync.py +368 -0
- one_setup_all_agents-0.1.0/tests/test_cmd_undo.py +694 -0
- one_setup_all_agents-0.1.0/tests/test_config_source.py +776 -0
- one_setup_all_agents-0.1.0/tests/test_context.py +180 -0
- one_setup_all_agents-0.1.0/tests/test_detect.py +778 -0
- one_setup_all_agents-0.1.0/tests/test_docs_adding_a_tool.py +123 -0
- one_setup_all_agents-0.1.0/tests/test_docs_github_metadata.py +83 -0
- one_setup_all_agents-0.1.0/tests/test_docs_readme.py +102 -0
- one_setup_all_agents-0.1.0/tests/test_docs_security.py +53 -0
- one_setup_all_agents-0.1.0/tests/test_docs_support_table.py +121 -0
- one_setup_all_agents-0.1.0/tests/test_drop_in_tool.py +297 -0
- one_setup_all_agents-0.1.0/tests/test_engine_apply.py +849 -0
- one_setup_all_agents-0.1.0/tests/test_engine_backup.py +205 -0
- one_setup_all_agents-0.1.0/tests/test_engine_journal.py +251 -0
- one_setup_all_agents-0.1.0/tests/test_engine_links.py +263 -0
- one_setup_all_agents-0.1.0/tests/test_engine_lock.py +99 -0
- one_setup_all_agents-0.1.0/tests/test_engine_plan.py +572 -0
- one_setup_all_agents-0.1.0/tests/test_engine_stubs.py +37 -0
- one_setup_all_agents-0.1.0/tests/test_fix_t3.py +311 -0
- one_setup_all_agents-0.1.0/tests/test_fix_t6.py +394 -0
- one_setup_all_agents-0.1.0/tests/test_fsutil.py +39 -0
- one_setup_all_agents-0.1.0/tests/test_init_clean.py +231 -0
- one_setup_all_agents-0.1.0/tests/test_init_instructions.py +408 -0
- one_setup_all_agents-0.1.0/tests/test_init_mcp.py +411 -0
- one_setup_all_agents-0.1.0/tests/test_init_skills.py +455 -0
- one_setup_all_agents-0.1.0/tests/test_jsonc.py +40 -0
- one_setup_all_agents-0.1.0/tests/test_jsonc_edit.py +102 -0
- one_setup_all_agents-0.1.0/tests/test_mask.py +71 -0
- one_setup_all_agents-0.1.0/tests/test_packaging.py +98 -0
- one_setup_all_agents-0.1.0/tests/test_paths.py +87 -0
- one_setup_all_agents-0.1.0/tests/test_personal_data_guard.py +119 -0
- one_setup_all_agents-0.1.0/tests/test_release_workflow.py +59 -0
- one_setup_all_agents-0.1.0/tests/test_runner.py +100 -0
- one_setup_all_agents-0.1.0/tests/test_snapshot.py +273 -0
- one_setup_all_agents-0.1.0/tests/test_toml_edit.py +65 -0
- one_setup_all_agents-0.1.0/tests/test_tool_boundary.py +180 -0
- one_setup_all_agents-0.1.0/tests/test_undo_matrix.py +549 -0
- one_setup_all_agents-0.1.0/tests/test_unknown_formats.py +173 -0
- one_setup_all_agents-0.1.0/uv.lock +7 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
test:
|
|
13
|
+
name: test (${{ matrix.os }}, python ${{ matrix.python }})
|
|
14
|
+
runs-on: ${{ matrix.os }}
|
|
15
|
+
strategy:
|
|
16
|
+
fail-fast: false
|
|
17
|
+
matrix:
|
|
18
|
+
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
19
|
+
python: ["3.11", "3.13"]
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v4
|
|
22
|
+
- uses: actions/setup-python@v5
|
|
23
|
+
with:
|
|
24
|
+
python-version: ${{ matrix.python }}
|
|
25
|
+
- name: Install
|
|
26
|
+
run: python -m pip install -e .
|
|
27
|
+
- name: Test
|
|
28
|
+
run: python -m unittest discover -s tests -v
|
|
29
|
+
|
|
30
|
+
lint:
|
|
31
|
+
name: lint
|
|
32
|
+
runs-on: ubuntu-latest
|
|
33
|
+
steps:
|
|
34
|
+
- uses: actions/checkout@v4
|
|
35
|
+
- uses: actions/setup-python@v5
|
|
36
|
+
with:
|
|
37
|
+
python-version: "3.13"
|
|
38
|
+
- name: Install ruff
|
|
39
|
+
run: python -m pip install ruff
|
|
40
|
+
- name: Lint
|
|
41
|
+
run: ruff check .
|
|
42
|
+
|
|
43
|
+
personal-data:
|
|
44
|
+
name: personal-data guard
|
|
45
|
+
runs-on: ubuntu-latest
|
|
46
|
+
env:
|
|
47
|
+
# The forbidden patterns are kept out of the repository. The step runs only when the secret exists.
|
|
48
|
+
PERSONAL_PATTERNS: ${{ secrets.PERSONAL_PATTERNS }}
|
|
49
|
+
steps:
|
|
50
|
+
- uses: actions/checkout@v4
|
|
51
|
+
- uses: actions/setup-python@v5
|
|
52
|
+
with:
|
|
53
|
+
python-version: "3.13"
|
|
54
|
+
- name: Check for personal data
|
|
55
|
+
if: env.PERSONAL_PATTERNS != ''
|
|
56
|
+
run: python scripts/check_personal_data.py
|
|
57
|
+
|
|
58
|
+
smoke:
|
|
59
|
+
name: smoke (${{ matrix.os }})
|
|
60
|
+
runs-on: ${{ matrix.os }}
|
|
61
|
+
strategy:
|
|
62
|
+
fail-fast: false
|
|
63
|
+
matrix:
|
|
64
|
+
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
65
|
+
steps:
|
|
66
|
+
- uses: actions/checkout@v4
|
|
67
|
+
- uses: actions/setup-python@v5
|
|
68
|
+
with:
|
|
69
|
+
python-version: "3.13"
|
|
70
|
+
- name: Install
|
|
71
|
+
run: python -m pip install .
|
|
72
|
+
- name: Smoke
|
|
73
|
+
env:
|
|
74
|
+
HOME: ${{ runner.temp }}/fake-home
|
|
75
|
+
USERPROFILE: ${{ runner.temp }}/fake-home
|
|
76
|
+
APPDATA: ${{ runner.temp }}/fake-appdata
|
|
77
|
+
LOCALAPPDATA: ${{ runner.temp }}/fake-localappdata
|
|
78
|
+
XDG_CONFIG_HOME: ${{ runner.temp }}/fake-xdg-config
|
|
79
|
+
XDG_STATE_HOME: ${{ runner.temp }}/fake-xdg-state
|
|
80
|
+
ALL_AGENTS_CONFIG_DIR: ${{ runner.temp }}/all-agents-config
|
|
81
|
+
ALL_AGENTS_STATE_DIR: ${{ runner.temp }}/all-agents-state
|
|
82
|
+
shell: bash
|
|
83
|
+
run: |
|
|
84
|
+
mkdir -p "$HOME"
|
|
85
|
+
all-agents --version
|
|
86
|
+
one-setup-all-agents --help
|
|
87
|
+
|
|
88
|
+
set +e
|
|
89
|
+
out_init=$(all-agents init --dry-run 2>&1)
|
|
90
|
+
rc_init=$?
|
|
91
|
+
set -e
|
|
92
|
+
echo "$out_init"
|
|
93
|
+
test $rc_init -eq 0
|
|
94
|
+
echo "$out_init" | grep -F "No supported tool was found. Nothing to import."
|
|
95
|
+
|
|
96
|
+
set +e
|
|
97
|
+
out_status=$(python -m one_setup_all_agents status 2>&1)
|
|
98
|
+
rc_status=$?
|
|
99
|
+
set -e
|
|
100
|
+
echo "$out_status"
|
|
101
|
+
test $rc_status -eq 1
|
|
102
|
+
echo "$out_status" | grep -F 'not initialised: run `all-agents init`'
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- "v*"
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
build:
|
|
14
|
+
name: Build distribution packages
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
permissions:
|
|
17
|
+
contents: read
|
|
18
|
+
steps:
|
|
19
|
+
- name: Checkout repository
|
|
20
|
+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
21
|
+
|
|
22
|
+
- name: Set up Python
|
|
23
|
+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
|
|
24
|
+
with:
|
|
25
|
+
python-version: "3.13"
|
|
26
|
+
|
|
27
|
+
- name: Install build frontend
|
|
28
|
+
run: python -m pip install --upgrade pip build
|
|
29
|
+
|
|
30
|
+
- name: Build sdist and wheel
|
|
31
|
+
run: python -m build --outdir dist
|
|
32
|
+
|
|
33
|
+
- name: Verify tag matches __version__
|
|
34
|
+
if: startsWith(github.ref, 'refs/tags/v')
|
|
35
|
+
run: |
|
|
36
|
+
VERSION=$(python -c "import src.one_setup_all_agents as m; print(m.__version__)")
|
|
37
|
+
TAG="${GITHUB_REF#refs/tags/v}"
|
|
38
|
+
if [ "$TAG" != "$VERSION" ]; then
|
|
39
|
+
echo "ERROR: Git tag v$TAG does not match package __version__ $VERSION"
|
|
40
|
+
exit 1
|
|
41
|
+
fi
|
|
42
|
+
|
|
43
|
+
- name: Check distribution artifacts
|
|
44
|
+
run: python scripts/check_dist.py dist
|
|
45
|
+
|
|
46
|
+
- name: Upload build artifacts
|
|
47
|
+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
|
|
48
|
+
with:
|
|
49
|
+
name: dist
|
|
50
|
+
path: dist/
|
|
51
|
+
if-no-files-found: error
|
|
52
|
+
|
|
53
|
+
publish:
|
|
54
|
+
name: Publish package to PyPI
|
|
55
|
+
needs: build
|
|
56
|
+
if: startsWith(github.ref, 'refs/tags/v')
|
|
57
|
+
runs-on: ubuntu-latest
|
|
58
|
+
environment: pypi
|
|
59
|
+
permissions:
|
|
60
|
+
id-token: write
|
|
61
|
+
steps:
|
|
62
|
+
- name: Download distribution artifacts
|
|
63
|
+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
|
|
64
|
+
with:
|
|
65
|
+
name: dist
|
|
66
|
+
path: dist/
|
|
67
|
+
|
|
68
|
+
- name: Publish to PyPI via Trusted Publishing
|
|
69
|
+
uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
|
|
70
|
+
with:
|
|
71
|
+
packages-dir: dist/
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*.egg-info/
|
|
5
|
+
.eggs/
|
|
6
|
+
build/
|
|
7
|
+
dist/
|
|
8
|
+
.venv/
|
|
9
|
+
venv/
|
|
10
|
+
|
|
11
|
+
# Test and lint caches
|
|
12
|
+
.pytest_cache/
|
|
13
|
+
.ruff_cache/
|
|
14
|
+
.coverage
|
|
15
|
+
htmlcov/
|
|
16
|
+
|
|
17
|
+
# Editors and OS
|
|
18
|
+
.idea/
|
|
19
|
+
.vscode/
|
|
20
|
+
.DS_Store
|
|
21
|
+
Thumbs.db
|
|
22
|
+
|
|
23
|
+
# Local scratch
|
|
24
|
+
.env
|
|
25
|
+
*.log
|
|
26
|
+
_work/
|
|
27
|
+
|
|
28
|
+
# Local personal-data patterns (the guard reads them; they must never be committed)
|
|
29
|
+
.personal-patterns
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# one-setup-all-agents
|
|
2
|
+
|
|
3
|
+
One setup for all your AI coding agents: a shared agent config for Claude Code, Codex, OpenCode and Antigravity. The command is `all-agents` (`init`, `sync`, `status`, `undo`). Status: the public commands exist now (pre-alpha, not released).
|
|
4
|
+
|
|
5
|
+
## Rules for AI tools working in this repo
|
|
6
|
+
|
|
7
|
+
- Language: everything is English (code, comments, docs, messages, commit messages).
|
|
8
|
+
- Stdlib only: the core has no runtime dependencies. Do not add one. Dev-only tools (lint) are allowed in CI, never in `[project].dependencies`.
|
|
9
|
+
- Python: minimum 3.11. Do not use syntax or stdlib APIs newer than 3.11 without a version guard.
|
|
10
|
+
- Adapters never write: `adapters/<tool>.py` only detects, reads and plans (returns `Op` objects). Only `engine/` writes files, takes backups, keeps the journal and undoes. See `docs/decisions/0008-adapter-engine-boundary.md`.
|
|
11
|
+
- Every write goes through the engine's atomic write and is recorded in the journal, so `undo` can reverse it. Never write a tool's config file directly.
|
|
12
|
+
- Tests are required: every behavior change ships with a test. Run `python -m unittest discover -s tests` before finishing (it works from a clean checkout with no install; the tests add `src/` to the path). Tests must work on Windows, Linux and macOS and must never touch the real home directory (use a temporary home).
|
|
13
|
+
- No personal data: the only allowed personal items are the maintainer's name (in `LICENSE` and the `pyproject.toml` author field) and the public repository URL. Everywhere else: no real usernames, home paths, client or company names, emails, tokens or machine-specific paths. Fixtures use neutral names (`example`, `demo-server`). `scripts/check_personal_data.py` enforces this: the forbidden patterns live in the git-ignored `.personal-patterns` file (or the `PERSONAL_PATTERNS` variable), never in the repository. Enable the pre-commit hook with `git config core.hooksPath scripts/hooks`.
|
|
14
|
+
- Secrets are referenced by environment-variable name only. Never print or store a secret value.
|
|
15
|
+
- Decisions live in `docs/decisions/` as short ADRs. Change a decision by adding a new ADR, not by silently editing code.
|
|
16
|
+
- Do not commit, push or publish unless the maintainer asks.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [0.1.0] - 2026-11-10
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- Core CLI commands: `init`, `sync`, `status`, and `undo`.
|
|
14
|
+
- Tool adapters for Claude Code, Codex, OpenCode, and Antigravity.
|
|
15
|
+
- Unified reversible engine with atomic writes, pre-write backups, and unified journal.
|
|
16
|
+
- Real tool verification reports in `docs/verification/` for Windows, Linux (WSL), and macOS CI.
|
|
17
|
+
- Automated documentation integrity tests (`test_docs_readme.py`, `test_docs_support_table.py`, `test_docs_security.py`, `test_docs_github_metadata.py`).
|
|
18
|
+
- Security policy and vulnerability disclosure process in `SECURITY.md`.
|
|
19
|
+
- Automated GitHub Actions release workflow with PyPI Trusted Publishing (OIDC).
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@AGENTS.md
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
The project is pre-alpha; the interface in `src/one_setup_all_agents/adapters/base.py` may still change. Open an issue before starting a large change.
|
|
4
|
+
|
|
5
|
+
## Setup
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
pip install -e .
|
|
9
|
+
python -m unittest discover -s tests
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Python 3.11 or newer. The core has no runtime dependencies, and this will not change. Tests must run on Windows, Linux and macOS and must never touch your real home directory.
|
|
13
|
+
|
|
14
|
+
## Adding a tool adapter
|
|
15
|
+
|
|
16
|
+
The architecture has one rule: **adapters detect, read and plan; they never write.** Only `engine/` writes files, backs them up, journals them and undoes them. That is what makes `undo` work the same for every tool. Read `docs/decisions/0008-adapter-engine-boundary.md` first. For a complete step-by-step walkthrough, see `docs/adding-a-tool.md`.
|
|
17
|
+
|
|
18
|
+
A new tool is:
|
|
19
|
+
|
|
20
|
+
1. **`src/one_setup_all_agents/adapters/<tool>.py`**: a subclass of `ToolAdapter` with a unique `id`, a `label` and the `capabilities` it supports. Implement:
|
|
21
|
+
- `detect(env)`: is the tool installed, where is its binary and config, which version.
|
|
22
|
+
- `paths(env, scope)`: where it keeps instructions, MCP servers and skills, per OS. Honor the tool's own override variables.
|
|
23
|
+
- `read_instructions`, `read_mcp`, `read_skills`: what is configured now.
|
|
24
|
+
- `plan_instructions`, `plan_mcp`, `plan_skills`: pure functions that return `Op` objects (`EditFile`, `RunCli`, `Link`). Touch only entries the tool owns (the `owned` argument, a `frozenset` of item keys: server names, skill names, or `instructions`). List the items an op creates in `claims` and the ones it removes in `releases`. Report an existing, unowned entry that is in the way as a `Conflict` instead of writing. Every `RunCli` needs an inverse command.
|
|
25
|
+
- Kinds the tool cannot express need no code: the base class reports them as `Unsupported` so the plan shows the gap.
|
|
26
|
+
- If the tool cannot store a field of the neutral model, override `normalize_mcp` (or `normalize_instructions`) to say exactly which.
|
|
27
|
+
- `notes()`: known limits worth showing to the user.
|
|
28
|
+
- `import_notes(env, scope)`: optional notes on unimported secrets or settings during initialisation.
|
|
29
|
+
- `snapshot_files(env, scope)`: existing files of this tool to preserve in the safety snapshot before writes.
|
|
30
|
+
2. **A registry entry** in `adapters/__init__.py`: one import line and one entry in the `ADAPTERS` tuple. Nothing else in that file changes.
|
|
31
|
+
3. **A fixture**: a fake home directory with the tool's config files, under `tests/fixtures/`. Use neutral names (`example`, `demo-server`); no real paths, users or secrets.
|
|
32
|
+
4. **The contract test** must pass for the adapter (`docs/decisions/0008` and `0009`). It is `tests/adapter_contract.py`, a reusable mixin, and `tests/test_adapter_contract.py` already creates a test class that runs the full suite for every adapter in `ADAPTERS`. Add a seed function for your fixture home to `REGISTERED_SEEDS` in that file only if the home should start with the user's own config (and a `REGISTERED_EXTRAS` entry only if your adapter plans `RunCli` ops or needs a different `make_env`, `unwritten_mcp` or `removable_mcp`). The suite checks, in a temporary home: reading what a plan produces returns the desired state (after the adapter's `normalize_*`), a second plan is empty, `plan_*` and `read_*` write nothing, entries that are not owned are left alone (a clash is a `Conflict`), owned entries that leave the source are removed, `paths()` stays under the given `Env`, every kind outside `capabilities` plans as `Unsupported`, every `RunCli` has an inverse, and undo restores the original bytes. Run it with `python -m unittest discover -s tests` (or `python -m unittest test_adapter_contract` from `tests/`). The suite applies and undoes your ops with the real engine (`tests/contract_applier.py`, one seam: `make_applier`, which calls `engine/`): journal, backups, atomic writes, drift check and ledger. A pass shows that, in a temporary home on the OS the tests run on, your ops are undone to the exact bytes, permission bits, links and ownership. **Caveat:** it does not prove anything about the real tool (where it keeps files, whether it follows links, what a real CLI does) or the `undo` command itself (which is tested separately in `tests/test_cmd_undo.py` and `tests/test_undo_matrix.py`); `docs/decisions/0010-engine-v1.md` lists what is and is not proven.
|
|
33
|
+
5. **Nothing else changes.** You do not edit `engine/`, `model.py`, `cli.py`, `adapters/base.py`, `adapters/_common.py` or another adapter. Two tests hold you to it:
|
|
34
|
+
- `tests/test_tool_boundary.py` scans every source file outside the adapter modules (and `_core/`, which holds internal shared utilities: formatting, masking, runner) and fails if one names a tool, its id or label, or a tool's config file name. If you need something the engine or base class does not offer, add a generic hook with a default to `adapters/base.py` instead of a special case, and keep the other adapters' behavior unchanged.
|
|
35
|
+
- `tests/test_drop_in_tool.py` adds a made-up tool (`tests/demo_tool_adapter.py`, one module) with a patched registry and shows that it is found, planned, applied and undone next to the four real tools without touching their files, that every op it plans lies under its own config folder, and that the contract suite runs for it. Use that module as a template.
|
|
36
|
+
6. **Unverified behavior is labeled.** If you could not check a file location or a behavior on one OS, say so in the adapter docstring and in the ADR, rather than guessing.
|
|
37
|
+
|
|
38
|
+
## Pull requests
|
|
39
|
+
|
|
40
|
+
- English only: code, comments, docs and commit messages.
|
|
41
|
+
- Every behavior change comes with a test.
|
|
42
|
+
- No personal data in code, fixtures or docs. `python scripts/check_personal_data.py` checks it against a pattern list you keep in the git-ignored file `.personal-patterns` (one regular expression per line); `git config core.hooksPath scripts/hooks` runs the same check on every commit.
|
|
43
|
+
- A change to a recorded decision needs a new ADR in `docs/decisions/` (a short file: decision, reason, open points).
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Abdelmomen Elshatory
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: one-setup-all-agents
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: One setup for all your AI coding agents: a shared agent config for Claude Code, Codex, OpenCode and Antigravity, with one-command undo.
|
|
5
|
+
Project-URL: Homepage, https://github.com/beingmomen/one-setup-all-agents
|
|
6
|
+
Project-URL: Repository, https://github.com/beingmomen/one-setup-all-agents
|
|
7
|
+
Project-URL: Issues, https://github.com/beingmomen/one-setup-all-agents/issues
|
|
8
|
+
Author: Abdelmomen Elshatory
|
|
9
|
+
License-Expression: MIT
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Keywords: agent-skills,ai-agents,antigravity,claude-code,codex,mcp,opencode,shared agent config
|
|
12
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
13
|
+
Classifier: Environment :: Console
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Operating System :: MacOS
|
|
16
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
17
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
+
Classifier: Topic :: Software Development
|
|
24
|
+
Classifier: Topic :: Utilities
|
|
25
|
+
Requires-Python: >=3.11
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
|
|
28
|
+
# one-setup-all-agents
|
|
29
|
+
|
|
30
|
+
**One setup for all your AI coding agents.** A shared agent config for Claude Code, Codex, OpenCode and Antigravity: write your config once, every agent gets the same setup, and any change can be undone with one command.
|
|
31
|
+
|
|
32
|
+
> **Status: pre-alpha.** The four public commands (`init`, `sync`, `status`, `undo`) are implemented with full engine safety guarantees (atomic writes, journaled operations, backups, and undo). Real-world verification against live tool environments is in progress. Do not install it expecting a finished production release.
|
|
33
|
+
|
|
34
|
+
## Why
|
|
35
|
+
|
|
36
|
+
If you use more than one AI coding agent, you keep the same things in several places: your global instructions, your MCP servers, your skills. Each tool stores them in a different file with a different format, and they drift apart. Syncing them by hand is tedious, and a sync tool that rewrites your real config files is scary.
|
|
37
|
+
|
|
38
|
+
`one-setup-all-agents` is built around the second problem. It does not try to support the most tools. It tries to be the one you trust with your real config:
|
|
39
|
+
|
|
40
|
+
- **Write once.** One source config; every detected tool gets the same instructions, MCP servers and skills.
|
|
41
|
+
- **Safe by default.** `sync` shows a dry run first. Every write is atomic, backed up and recorded.
|
|
42
|
+
- **Undo with one command.** `all-agents undo` reverses the last change, from one journal that covers every kind of change.
|
|
43
|
+
- **Nothing to trust blindly.** Zero runtime dependencies (Python standard library only). Secrets are referenced by environment-variable name; their values are never read, printed or stored.
|
|
44
|
+
|
|
45
|
+
## Quick Start (5 minutes)
|
|
46
|
+
|
|
47
|
+
Try it in dry-run mode without installing:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
uvx one-setup-all-agents init --dry-run
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Or install with `pipx`:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
pipx install one-setup-all-agents
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### 1. Import your existing setup
|
|
60
|
+
|
|
61
|
+
Detect your installed tools and import existing instructions, MCP servers, and skills into the shared config:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
all-agents init
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Expected output:
|
|
68
|
+
```text
|
|
69
|
+
Detected tools:
|
|
70
|
+
Claude Code (claude): installed (~/.claude)
|
|
71
|
+
Codex (codex): installed (~/.codex)
|
|
72
|
+
Import proposal:
|
|
73
|
+
- Instructions: imported
|
|
74
|
+
- MCP servers (2): imported
|
|
75
|
+
- Skills (1): imported
|
|
76
|
+
initialised operation 20261110T024601Z-71bf
|
|
77
|
+
the safety snapshot is kept permanently
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### 2. Review and apply changes to all agents
|
|
81
|
+
|
|
82
|
+
Preview the planned changes across all tools, then confirm to apply:
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
all-agents sync
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Expected output:
|
|
89
|
+
```text
|
|
90
|
+
Plan: 2 change(s), 0 conflict(s)
|
|
91
|
+
To run:
|
|
92
|
+
1. edit file ~/.claude/CLAUDE.md: write the shared instructions
|
|
93
|
+
2. edit file ~/.codex/AGENTS.md: write the shared instructions
|
|
94
|
+
Apply these changes? [y/N]: y
|
|
95
|
+
applied operation 20261110T024601Z-3b2f
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### 3. Verify that all agents match
|
|
99
|
+
|
|
100
|
+
Check the status of every tool and kind of configuration:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
all-agents status
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Expected output:
|
|
107
|
+
```text
|
|
108
|
+
Claude Code (claude): in sync
|
|
109
|
+
instructions: in sync
|
|
110
|
+
mcp: in sync
|
|
111
|
+
skills: in sync
|
|
112
|
+
Codex (codex): in sync
|
|
113
|
+
instructions: in sync
|
|
114
|
+
mcp: in sync
|
|
115
|
+
skills: in sync
|
|
116
|
+
Undoable operations: 2
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### 4. Reverse any change if needed
|
|
120
|
+
|
|
121
|
+
Undo the last operation with exact byte or CLI inversion from the journal:
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
all-agents undo
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Expected output:
|
|
128
|
+
```text
|
|
129
|
+
undone operation 20261110T024601Z-3b2f (sync)
|
|
130
|
+
1 more can be undone
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## Config Locations
|
|
134
|
+
|
|
135
|
+
Source configuration and engine state locations follow standard platform conventions (see [ADR 0002](docs/decisions/0002-config-and-state-locations.md)):
|
|
136
|
+
|
|
137
|
+
| OS | Shared Config (`config_dir`) | Engine State (`state_dir`) |
|
|
138
|
+
|---|---|---|
|
|
139
|
+
| Windows | `%APPDATA%/one-setup-all-agents` | `%LOCALAPPDATA%/one-setup-all-agents` |
|
|
140
|
+
| Linux | `$XDG_CONFIG_HOME/one-setup-all-agents` (or `~/.config/...`) | `$XDG_STATE_HOME/one-setup-all-agents` (or `~/.local/state/...`) |
|
|
141
|
+
| macOS | `~/.config/one-setup-all-agents` | `~/.local/state/one-setup-all-agents` |
|
|
142
|
+
|
|
143
|
+
Overrides: Setting `ALL_AGENTS_CONFIG_DIR` or `ALL_AGENTS_STATE_DIR` overrides the default paths on all operating systems.
|
|
144
|
+
|
|
145
|
+
## How Secrets Work
|
|
146
|
+
|
|
147
|
+
`one-setup-all-agents` operates under a zero-secret-exposure principle:
|
|
148
|
+
|
|
149
|
+
- **Variable References Only:** Secrets (API keys, tokens, auth headers) are referenced strictly by environment-variable name (e.g. `${GITHUB_TOKEN}` or `Authorization: Bearer <NAME>`).
|
|
150
|
+
- **No Secret Values:** Cleartext secret values are never requested, read from your environment, printed to stdout/stderr, written to disk, or stored in journals or backups.
|
|
151
|
+
- **CLI Guard:** If an adapter must run an external CLI (such as `claude mcp add-json`), arguments are scanned to ensure no secret values are passed on the process command line.
|
|
152
|
+
|
|
153
|
+
## Supported tools
|
|
154
|
+
|
|
155
|
+
| Tool | Adapter id | v0.1 (global scope) | Windows | Linux | macOS | Notes |
|
|
156
|
+
|---|---|---|---|---|---|---|
|
|
157
|
+
| Claude Code | `claude` | partial | [verified (2.1.319, 2026-11-10)](docs/verification/windows.md) | [fixtures only (CI)](docs/verification/linux.md) | [fixtures only (CI)](docs/verification/macos.md) | MCP is written through the tool's own CLI, because running sessions also write its config file. |
|
|
158
|
+
| Codex | `codex` | partial | [verified (0.167.0, 2026-11-10)](docs/verification/windows.md) | [fixtures only (CI)](docs/verification/linux.md) | [fixtures only (CI)](docs/verification/macos.md) | Only a managed region of its TOML config is edited. |
|
|
159
|
+
| OpenCode | `opencode` | partial | [verified (2.2.6, 2026-11-10)](docs/verification/windows.md) | [fixtures only (CI)](docs/verification/linux.md) | [fixtures only (CI)](docs/verification/macos.md) | First adapter to be ported (simplest). |
|
|
160
|
+
| Antigravity (`agy`) | `agy` | partial | [verified (1.5.1, 2026-11-10)](docs/verification/windows.md) | [fixtures only (CI)](docs/verification/linux.md) | [fixtures only (CI)](docs/verification/macos.md) | Does not follow Windows junctions, so each skill is listed in its `skills.json` manifest by the path of the source folder. Has no variable reference for secrets, so an http server with headers is not written. |
|
|
161
|
+
|
|
162
|
+
Windows verification was conducted live against the installed CLI binaries for each supported tool. Linux verification executed the full test suite in Ubuntu (WSL2), with tool binaries marked fixtures only as they were not installed in the WSL environment per the maintainer gate decision. macOS verification is performed on GitHub Actions hosted runners (`macos-latest`) against test fixtures without tool logins. See individual verification reports in [`docs/verification/`](docs/verification/) for details.
|
|
163
|
+
|
|
164
|
+
CI runs the tests on Windows, Linux and macOS.
|
|
165
|
+
|
|
166
|
+
## Safety Model
|
|
167
|
+
|
|
168
|
+
`one-setup-all-agents` is designed to be the tool you trust with your real developer environment:
|
|
169
|
+
|
|
170
|
+
- **Dry-run by default:** `sync` shows a detailed change plan before asking for confirmation.
|
|
171
|
+
- **Atomic file writes:** Config files are written using temporary siblings and atomic replacements; incomplete writes never corrupt your setup.
|
|
172
|
+
- **Private permissions:** State directories are created with `0700` and journal files with `0600` on POSIX systems.
|
|
173
|
+
- **Automatic backups:** Every modified file is backed up before any write occurs.
|
|
174
|
+
- **Unified journal:** All operations (file edits, links, CLI calls) are recorded with exact inverse actions in an append-only journal.
|
|
175
|
+
- **Drift detection:** `undo` checks that file contents match what was written. If you edited a file manually after running `sync`, `undo` refuses to overwrite your manual changes unless `--force` is specified.
|
|
176
|
+
- **What undo does not promise:** External edits made outside `all-agents` cannot be anticipated, and processes terminated abruptly during external CLI invocations must be inspected manually.
|
|
177
|
+
|
|
178
|
+
## Known Boundaries & Limits
|
|
179
|
+
|
|
180
|
+
- **Antigravity HTTP headers:** Antigravity does not support environment-variable expansion in HTTP headers; remote MCP servers requiring authorization headers are flagged as unsupported and skipped.
|
|
181
|
+
- **Windows Junctions:** Antigravity does not follow directory junctions; skills are referenced by direct directory paths in `skills.json`.
|
|
182
|
+
- **Codex Overrides:** If a non-empty `AGENTS.override.md` is present in Codex config, `all-agents` flags a conflict rather than silently writing inactive instructions.
|
|
183
|
+
- **Claude Code CLI:** Claude Code configuration is maintained through `claude mcp` CLI calls to avoid race conditions with running Claude sessions. Parameters not supported by the CLI (like `cwd`) are flagged as unsupported.
|
|
184
|
+
|
|
185
|
+
## Roadmap
|
|
186
|
+
|
|
187
|
+
- **v0.1**: The four public commands (`init`, `sync`, `status`, `undo`), global scope, for instructions, MCP servers, and skills.
|
|
188
|
+
- **v0.2**: Project scope, including safety and permissions for shared repositories you do not own.
|
|
189
|
+
- **Later**: Hooks, granular tool permissions, memory, and accounts.
|
|
190
|
+
|
|
191
|
+
## Development
|
|
192
|
+
|
|
193
|
+
```bash
|
|
194
|
+
pip install -e .
|
|
195
|
+
python -m unittest discover -s tests
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
Do not install it expecting stability while in pre-alpha.
|
|
199
|
+
|
|
200
|
+
Decisions are recorded in [docs/decisions](docs/decisions/). To add a tool, see [docs/adding-a-tool.md](docs/adding-a-tool.md) and [CONTRIBUTING.md](CONTRIBUTING.md). Security policy and vulnerability disclosure are in [SECURITY.md](SECURITY.md). Rules for AI tools working in this repository are in [AGENTS.md](AGENTS.md).
|
|
201
|
+
|
|
202
|
+
## License
|
|
203
|
+
|
|
204
|
+
MIT. See [LICENSE](LICENSE).
|