@rbbtsn0w/adg 0.11.0 → 0.11.1-dev.pr200.c6ce45e
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.
- package/README.md +131 -73
- package/dist/src/agents/antigravity.js +218 -45
- package/dist/src/agents/base.js +1 -1
- package/dist/src/agents/claude.js +98 -38
- package/dist/src/agents/codex.js +32 -42
- package/dist/src/cli/core-plugin-handlers.js +3 -3
- package/dist/src/cli/handlers.js +171 -39
- package/dist/src/cli/index.js +23 -14
- package/dist/src/cli/review-update.js +80 -0
- package/dist/src/commands/install/default-dsl.js +1 -1
- package/dist/src/commands/install/discovery.js +3 -1
- package/dist/src/commands/install/install-one.js +41 -31
- package/dist/src/commands/install.js +59 -24
- package/dist/src/commands/marketplace.js +171 -115
- package/dist/src/commands/migrate.js +2 -2
- package/dist/src/commands/projection.js +3 -1
- package/dist/src/commands/remove.js +10 -0
- package/dist/src/commands/review-executables.js +106 -0
- package/dist/src/commands/select-agents.js +2 -2
- package/dist/src/commands/select-components.js +2 -2
- package/dist/src/commands/select-plugins.js +15 -2
- package/dist/src/commands/select-scope.js +3 -4
- package/dist/src/commands/source-upgrade.js +552 -0
- package/dist/src/commands/state.js +3 -1
- package/dist/src/commands/status.js +1 -0
- package/dist/src/commands/update.js +3 -1
- package/dist/src/lock.js +13 -5
- package/dist/src/migration-transaction.js +1011 -0
- package/dist/src/native-retry.js +329 -0
- package/dist/src/process-identity.js +88 -0
- package/dist/src/render/plugins.js +149 -27
- package/dist/src/render/ui.js +4 -4
- package/dist/src/source-history.js +194 -0
- package/dist/src/source-intent.js +7 -0
- package/dist/src/store-mutex.js +179 -0
- package/dist/src/types.js +1 -1
- package/dist/src/update-executables.js +193 -0
- package/dist/src/upgrade-plan.js +378 -0
- package/docs/agents/antigravity.md +5 -0
- package/docs/agents-spec.md +10 -0
- package/docs/branching-and-release.md +369 -55
- package/docs/cli-json.md +9 -0
- package/docs/marketing/README.md +211 -0
- package/docs/marketing/assets.json +228 -0
- package/docs/marketing/capture.json +130 -0
- package/docs/marketing/live-readiness.json +353 -0
- package/docs/marketing/posts.en.md +94 -0
- package/docs/marketing/posts.zh-CN.md +67 -0
- package/docs/marketing/production.md +210 -0
- package/docs/marketing/source/timeline.json +29 -0
- package/docs/marketing/source/workflow-01.svg +16 -0
- package/docs/marketing/source/workflow-02.svg +14 -0
- package/docs/marketing/source/workflow-03.svg +19 -0
- package/docs/marketing/source/workflow-poster.svg +32 -0
- package/docs/marketing/transcript.md +48 -0
- package/docs/plugin-update-semantics.md +53 -10
- package/docs/plugin-upgrade-migrations.md +349 -0
- package/package.json +14 -10
- package/schemas/plugin-lock.schema.json +78 -1
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
# Media production and verification
|
|
2
|
+
|
|
3
|
+
Prepared on 2026-11-21. The [campaign brief](README.md) owns publication status;
|
|
4
|
+
this file describes how the assets were made and what their evidence proves.
|
|
5
|
+
|
|
6
|
+
## Capture inputs
|
|
7
|
+
|
|
8
|
+
| Input | Verified value |
|
|
9
|
+
|---|---|
|
|
10
|
+
| ADG | npm stable `@rbbtsn0w/adg@1.0.2`, installed only in a temporary prefix |
|
|
11
|
+
| npm package integrity | `sha512-5iWqjWPt9aA555bBGH5/c5lrO+B6EKGzQ+E2gIUzW8NMyXh5IiKn6AVf5Xxx7Qvk7+mCzzTCZWm16S94j7KQFw==` |
|
|
12
|
+
| Node.js | 24.22.2 |
|
|
13
|
+
| Codex | `codex-cli 0.167.2` |
|
|
14
|
+
| Claude Code | `2.1.312` |
|
|
15
|
+
| Public source | [obra/superpowers](https://github.com/obra/superpowers), MIT, visibility verified through GitHub API |
|
|
16
|
+
| Source revision | `22f0b463e7a5e579904dd6211a520321035526f7` |
|
|
17
|
+
| Plugin version | 7.0.2 |
|
|
18
|
+
| Selection | `--only skills --skill brainstorming` |
|
|
19
|
+
| Scope | `--project` throughout |
|
|
20
|
+
|
|
21
|
+
No upstream skill source, archive, or font binary was copied into this repository.
|
|
22
|
+
The public assets contain product names, CLI output, and original typography.
|
|
23
|
+
The source license is recorded to establish provenance, not imply endorsement.
|
|
24
|
+
|
|
25
|
+
The demo was executed with real agent CLIs in temporary configuration homes.
|
|
26
|
+
The capture process supplied child-process environment overrides for
|
|
27
|
+
`CODEX_HOME`, `CLAUDE_CONFIG_DIR`, and `GEMINI_HOME`; each pointed to its own
|
|
28
|
+
throwaway directory. It also isolated `ADG_PLUGINS_HOME`, `ADG_CACHE_HOME`, and
|
|
29
|
+
`ADG_MUTEX_HOME`. The mutation mutex directory was explicitly mode `0700`.
|
|
30
|
+
No shell profile, real agent config, credential, or global installation was used
|
|
31
|
+
or edited to prepare this environment. This isolation is a capture precaution,
|
|
32
|
+
not a claim that ordinary project-scoped installation is a security sandbox.
|
|
33
|
+
|
|
34
|
+
`DO_NOT_TRACK=1`, `DISABLE_TELEMETRY=1`, and `OTEL_SDK_DISABLED=true` disabled
|
|
35
|
+
capture traffic. No new CLI API, subprocess wrapper, collection field, visitor
|
|
36
|
+
identifier, or website analytics SDK was added for this campaign. Existing
|
|
37
|
+
product OTel behavior is unchanged.
|
|
38
|
+
|
|
39
|
+
## Actual commands and evidence
|
|
40
|
+
|
|
41
|
+
The exact commands, durations, exit codes, stdout, and stderr are preserved in
|
|
42
|
+
[capture.json](capture.json). All nine recorded commands exited zero. In order:
|
|
43
|
+
|
|
44
|
+
1. Read ADG, Codex and Claude Code versions.
|
|
45
|
+
2. Add superpowers at the fixed revision, selecting only the brainstorming skill
|
|
46
|
+
and activating Codex in project scope.
|
|
47
|
+
3. Link that project store to Claude Code.
|
|
48
|
+
4. Read ADG status separately for Codex and Claude Code.
|
|
49
|
+
5. Read both native CLIs' JSON plugin lists.
|
|
50
|
+
|
|
51
|
+
Both native lists identified `superpowers@adg-94d92dcc` version 7.0.2 as enabled;
|
|
52
|
+
Codex also reported `installed: true`, and Claude reported `scope: project`.
|
|
53
|
+
The name suffix is derived from the temporary store and will vary in another
|
|
54
|
+
capture. Both ADG checks returned `in sync (1): superpowers` and explicitly
|
|
55
|
+
warned that content drift was not inspected.
|
|
56
|
+
|
|
57
|
+
The managed payload and both native cache trees were independently inspected:
|
|
58
|
+
each contained exactly one `SKILL.md`, under `brainstorming`. SHA-256 comparisons
|
|
59
|
+
of the real Codex config and Claude settings/plugin registry files before and
|
|
60
|
+
after the run were equal. This was a scoped config check, not a complete
|
|
61
|
+
snapshot of unrelated user data or concurrently running applications.
|
|
62
|
+
|
|
63
|
+
Model execution, interactive picker appearance, and skill discovery inside a
|
|
64
|
+
new session were **not** tested. Antigravity was not included in the capture.
|
|
65
|
+
These limits appear in the public walkthrough as well.
|
|
66
|
+
|
|
67
|
+
## Editing and source files
|
|
68
|
+
|
|
69
|
+
The media are **typeset replays of real stdout, not terminal screen recordings**.
|
|
70
|
+
Temporary root paths were replaced with `<DEMO>`. Commands were wrapped for
|
|
71
|
+
readability; stdout wording, including status limitations, was preserved. The
|
|
72
|
+
poster explicitly presents selected output, and does not represent a full log.
|
|
73
|
+
Raw machine paths, usernames, private repository names and tokens are absent.
|
|
74
|
+
|
|
75
|
+
| Source | Hold time | Material |
|
|
76
|
+
|---|---:|---|
|
|
77
|
+
| [workflow-01.svg](source/workflow-01.svg) | 3.5 s | Actual add command and stdout |
|
|
78
|
+
| [workflow-02.svg](source/workflow-02.svg) | 2.5 s | Actual Claude link command and stdout |
|
|
79
|
+
| [workflow-03.svg](source/workflow-03.svg) | 4.0 s | Both actual status commands and complete stdout |
|
|
80
|
+
| [workflow-poster.svg](source/workflow-poster.svg) | Static | Overview with selected real output |
|
|
81
|
+
| [social-preview.svg](../../website/assets/social-preview.svg) | Static | Original share illustration; product support, not a recording result |
|
|
82
|
+
|
|
83
|
+
[The timeline](source/timeline.json) is the editing source of truth. The GIF
|
|
84
|
+
loops across three held frames; the silent MP4 uses the same cuts at 24 fps.
|
|
85
|
+
There is no synthesized typing or invented native app UI. The website uses
|
|
86
|
+
native controls and a static poster without autoplay, with the commands and
|
|
87
|
+
stdout in a native transcript disclosure beside the figure. The README links
|
|
88
|
+
the poster, MP4 and [text transcript](transcript.md) beside its GIF.
|
|
89
|
+
|
|
90
|
+
The sources use Arial and Menlo with generic fallbacks; fonts are not bundled.
|
|
91
|
+
Native fonts and renderer versions can change antialiasing, so regenerated
|
|
92
|
+
assets should be inspected rather than expected to have identical hashes.
|
|
93
|
+
|
|
94
|
+
## Reproduce the exports
|
|
95
|
+
|
|
96
|
+
The exports were rendered with Python 3.13.12, Pillow 13.0.0, CairoSVG 2.9.1,
|
|
97
|
+
Homebrew Cairo 1.18.6, and FFmpeg 9.0.2. These are local production tools, not ADG runtime
|
|
98
|
+
dependencies. Do not change package manifests or lockfiles to install them.
|
|
99
|
+
Quick Look thumbnails are unsuitable: its tested SVG export clipped the source
|
|
100
|
+
into a square, so it was not used for the delivered assets.
|
|
101
|
+
|
|
102
|
+
From the repository root, create a temporary tools environment if needed:
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
render_root=$(mktemp -d)
|
|
106
|
+
python3 -m venv "$render_root/venv"
|
|
107
|
+
"$render_root/venv/bin/pip" install 'CairoSVG==2.9.1' 'Pillow==13.0.0'
|
|
108
|
+
# CairoSVG also needs the system Cairo library; Homebrew Cairo was used here.
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
Rasterize the editable sources and recreate the GIF. Set `ADG_RENDER_DIR` only
|
|
112
|
+
for this rendering process:
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
ADG_RENDER_DIR="$render_root" "$render_root/venv/bin/python" - <<'PY'
|
|
116
|
+
from pathlib import Path
|
|
117
|
+
import json
|
|
118
|
+
import os
|
|
119
|
+
import cairosvg
|
|
120
|
+
from PIL import Image
|
|
121
|
+
|
|
122
|
+
out = Path(os.environ['ADG_RENDER_DIR'])
|
|
123
|
+
timeline = json.loads(Path('docs/marketing/source/timeline.json').read_text())
|
|
124
|
+
frames = []
|
|
125
|
+
durations = []
|
|
126
|
+
for index, entry in enumerate(timeline['frames'], 1):
|
|
127
|
+
png = out / f'workflow-{index:02}.png'
|
|
128
|
+
cairosvg.svg2png(url=f"docs/marketing/source/{entry['source']}",
|
|
129
|
+
write_to=str(png), output_width=1280, output_height=720)
|
|
130
|
+
frames.append(Image.open(png).convert('RGB'))
|
|
131
|
+
durations.append(round(entry['durationSeconds'] * 1000))
|
|
132
|
+
frames[0].save('website/assets/workflow.gif', save_all=True,
|
|
133
|
+
append_images=frames[1:], duration=durations, loop=0, optimize=True)
|
|
134
|
+
for source, target, height in [
|
|
135
|
+
('docs/marketing/source/workflow-poster.svg', 'workflow-poster.png', 720),
|
|
136
|
+
('website/assets/social-preview.svg', 'social-preview.png', 640),
|
|
137
|
+
]:
|
|
138
|
+
cairosvg.svg2png(url=source, write_to=f'website/assets/{target}',
|
|
139
|
+
output_width=1280, output_height=height)
|
|
140
|
+
lines = ['ffconcat version 1.0']
|
|
141
|
+
for index, entry in enumerate(timeline['frames'], 1):
|
|
142
|
+
lines += [f"file 'workflow-{index:02}.png'", f"duration {entry['durationSeconds']}"]
|
|
143
|
+
lines.append(f"file 'workflow-{len(frames):02}.png'")
|
|
144
|
+
(out / 'timeline.ffconcat').write_text('\n'.join(lines) + '\n')
|
|
145
|
+
PY
|
|
146
|
+
ffmpeg -hide_banner -loglevel error -y -f concat -safe 0 \
|
|
147
|
+
-i "$render_root/timeline.ffconcat" -t 10 -vf fps=24 \
|
|
148
|
+
-c:v libx264 -crf 18 -pix_fmt yuv420p -movflags +faststart -an \
|
|
149
|
+
website/assets/workflow.mp4
|
|
150
|
+
ffprobe -v error -show_entries format=duration,size \
|
|
151
|
+
-show_entries stream=codec_name,width,height -of json website/assets/workflow.mp4
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
To redo the capture, first verify the stable npm dist-tag and source visibility
|
|
155
|
+
and license. Use the exact pinned revision and command list from the JSON, and
|
|
156
|
+
pass the isolated configuration/cache/mutex overrides described above to every
|
|
157
|
+
ADG **and native agent** subprocess. Inspect both native lists and the actual
|
|
158
|
+
selected payload before regenerating the sources. Never point the capture at a
|
|
159
|
+
real profile to work around an isolation failure.
|
|
160
|
+
|
|
161
|
+
## Local verification
|
|
162
|
+
|
|
163
|
+
Final measurements, artifact SHA-256 hashes and validation outcomes are recorded
|
|
164
|
+
in [assets.json](assets.json).
|
|
165
|
+
|
|
166
|
+
| Check | Result |
|
|
167
|
+
|---|---|
|
|
168
|
+
| Real stable CLI capture | All 9 commands exited zero; native registration enabled in both runtimes. |
|
|
169
|
+
| Selected payload | Exactly one brainstorming skill in the store and both native caches. |
|
|
170
|
+
| Media | GIF 1280×720 / 10 s / 111,247 bytes; H.264 MP4 1280×720 / 24 fps / 10 s / 119,761 bytes, no audio. |
|
|
171
|
+
| Social image | PNG 1280×640 / 62,392 bytes, opaque background; editable SVG retained. |
|
|
172
|
+
| Documented export procedure | Executed as written with the installed temporary tools; identical hashes for every exported asset. |
|
|
173
|
+
| Browser | Isolated headless Chromium 157.0.8103.51 via Playwright 1.65.1, authorized after CUA browser connections were unavailable. |
|
|
174
|
+
| Responsive behavior | 320, 390, 768 and 1440 px: no horizontal overflow; skip link, CTA anchor and native FAQ toggle checked. |
|
|
175
|
+
| CSP and video | Production CSP applied in the local preview; complete playback to the 10-second `ended` state, no HTTP or decoder errors. |
|
|
176
|
+
| Copy | Four posts per language; each has estimated X weighted length under 280. |
|
|
177
|
+
| Documentation | `npm run check:docs`: 20 Markdown files; separate check resolved 71 local targets across all 7 changed Markdown files. |
|
|
178
|
+
| Initial PR preflight | `npm ci --no-audit --no-fund`, `npm run typecheck`, `npm run build`, and `npm test` passed on Node 24.22.2 / npm 12.2.2; all 948 tests passed, none skipped. |
|
|
179
|
+
| Independent review | No actionable correctness, safety, or regression findings. |
|
|
180
|
+
|
|
181
|
+
Chromium intentionally cancelled its initial `preload="metadata"` request after
|
|
182
|
+
reading metadata (`readyState: 4`, duration 10, no media error), then resumed a
|
|
183
|
+
206 byte range on playback. The initial harness's zero-cancellations assertion
|
|
184
|
+
therefore failed despite successful layout and playback checks. A targeted
|
|
185
|
+
network-event diagnostic and complete playback check established the cause;
|
|
186
|
+
cancellation was not silently discarded as a successful HTTP response. The
|
|
187
|
+
favicon's initial missing-resource response was fixed with an original local
|
|
188
|
+
SVG; the final playback check reported no console or HTTP errors.
|
|
189
|
+
|
|
190
|
+
The initial PR preflight at `bbca63d` completed on 2026-11-21 with a clean dependency
|
|
191
|
+
installation and the full CLI suite: 948 passed, 0 failed, and 0 skipped. Test
|
|
192
|
+
telemetry was disabled. CLI source, dependency manifests and lockfiles are
|
|
193
|
+
unchanged. The campaign's external publication checklist remains separate:
|
|
194
|
+
valid source files and a reviewable PR do not prove the website is deployed or
|
|
195
|
+
a repository setting has changed.
|
|
196
|
+
|
|
197
|
+
### Review follow-up validation
|
|
198
|
+
|
|
199
|
+
The replay's full commands and stdout now appear in a Markdown transcript and
|
|
200
|
+
in a native HTML disclosure beside the figure. Both representations were
|
|
201
|
+
compared exactly with `capture.json`. At 320, 390, 768 and 1440 px, the disclosure
|
|
202
|
+
expanded, its output appeared in the accessibility tree, and the code blocks
|
|
203
|
+
accepted keyboard focus without causing horizontal page overflow. No HTTP or
|
|
204
|
+
console errors were observed. The static images and video were not changed.
|
|
205
|
+
|
|
206
|
+
The monorepo guidance was checked against native-manifest scanning and source
|
|
207
|
+
normalization. `node scripts/run-tests.mjs test/sources.test.ts
|
|
208
|
+
test/normalizer.test.ts` passed all 37 tests. `npm run check:docs` passed for 20
|
|
209
|
+
Markdown files. The full-suite result above belongs to the initial PR preflight;
|
|
210
|
+
this documentation-only follow-up uses focused checks and the updated PR's CI.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"durationSeconds": 10,
|
|
3
|
+
"width": 1280,
|
|
4
|
+
"height": 720,
|
|
5
|
+
"frames": [
|
|
6
|
+
{
|
|
7
|
+
"source": "workflow-01.svg",
|
|
8
|
+
"durationSeconds": 3.5,
|
|
9
|
+
"captureLabels": [
|
|
10
|
+
"add"
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"source": "workflow-02.svg",
|
|
15
|
+
"durationSeconds": 2.5,
|
|
16
|
+
"captureLabels": [
|
|
17
|
+
"link-claude"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"source": "workflow-03.svg",
|
|
22
|
+
"durationSeconds": 4.0,
|
|
23
|
+
"captureLabels": [
|
|
24
|
+
"status-codex",
|
|
25
|
+
"status-claude"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="720" viewBox="0 0 1280 720" role="img"><title>ADG workflow 01: Add one skill</title>
|
|
2
|
+
<rect width="1280" height="720" fill="#0b0f14"/>
|
|
3
|
+
<text x="48" y="42" font-family="Menlo, monospace" font-size="14" font-weight="400" fill="#d8ff63" xml:space="preserve">ADG / REAL CLI OUTPUT</text>
|
|
4
|
+
<text x="1045" y="42" font-family="Menlo, monospace" font-size="14" font-weight="400" fill="#a9b3b1" xml:space="preserve">STEP 01 / 03</text>
|
|
5
|
+
<text x="48" y="105" font-family="Arial, sans-serif" font-size="44" font-weight="700" fill="#f0f2ed" xml:space="preserve">Add one skill</text>
|
|
6
|
+
<text x="49" y="143" font-family="Arial, sans-serif" font-size="21" font-weight="400" fill="#a9b3b1" xml:space="preserve">Select a skill from an existing plugin repository.</text>
|
|
7
|
+
<rect x="48" y="181" width="1184" height="455" fill="#11171f" stroke="#303b46"/>
|
|
8
|
+
<line x1="48" y1="224" x2="1232" y2="224" stroke="#303b46" stroke-width="1"/>
|
|
9
|
+
<text x="76" y="209" font-family="Menlo, monospace" font-size="14" font-weight="400" fill="#a9b3b1" xml:space="preserve">adg 1.0.2 / project scope / obra/superpowers</text>
|
|
10
|
+
<text x="76" y="262" font-family="Menlo, monospace" font-size="18" font-weight="400" fill="#d8ff63" xml:space="preserve">$ adg plugins add obra/superpowers --ref 22f0b463e7a5e579904dd6211a520321035526f7 --only skills</text>
|
|
11
|
+
<text x="76" y="290" font-family="Menlo, monospace" font-size="18" font-weight="400" fill="#d8ff63" xml:space="preserve"> --skill brainstorming --target codex --project</text>
|
|
12
|
+
<text x="76" y="318" font-family="Menlo, monospace" font-size="18" font-weight="400" fill="#f0f2ed" xml:space="preserve">converted native manifest -> .agents/.plugin.json: superpowers</text>
|
|
13
|
+
<text x="76" y="346" font-family="Menlo, monospace" font-size="18" font-weight="400" fill="#f0f2ed" xml:space="preserve">added superpowers -> <DEMO>/project/.agents/plugins/obra__superpowers/superpowers</text>
|
|
14
|
+
<text x="76" y="374" font-family="Menlo, monospace" font-size="18" font-weight="400" fill="#f0f2ed" xml:space="preserve">enabled in Codex: superpowers</text>
|
|
15
|
+
<text x="48" y="681" font-family="Arial, sans-serif" font-size="15" font-weight="400" fill="#a9b3b1" xml:space="preserve">Real output replay. Waits condensed. Paths redacted. No skill execution shown.</text>
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="720" viewBox="0 0 1280 720" role="img"><title>ADG workflow 02: Connect another agent</title>
|
|
2
|
+
<rect width="1280" height="720" fill="#0b0f14"/>
|
|
3
|
+
<text x="48" y="42" font-family="Menlo, monospace" font-size="14" font-weight="400" fill="#d8ff63" xml:space="preserve">ADG / REAL CLI OUTPUT</text>
|
|
4
|
+
<text x="1045" y="42" font-family="Menlo, monospace" font-size="14" font-weight="400" fill="#a9b3b1" xml:space="preserve">STEP 02 / 03</text>
|
|
5
|
+
<text x="48" y="105" font-family="Arial, sans-serif" font-size="44" font-weight="700" fill="#f0f2ed" xml:space="preserve">Connect another agent</text>
|
|
6
|
+
<text x="49" y="143" font-family="Arial, sans-serif" font-size="21" font-weight="400" fill="#a9b3b1" xml:space="preserve">Use the same managed plugin in Claude Code.</text>
|
|
7
|
+
<rect x="48" y="181" width="1184" height="455" fill="#11171f" stroke="#303b46"/>
|
|
8
|
+
<line x1="48" y1="224" x2="1232" y2="224" stroke="#303b46" stroke-width="1"/>
|
|
9
|
+
<text x="76" y="209" font-family="Menlo, monospace" font-size="14" font-weight="400" fill="#a9b3b1" xml:space="preserve">adg 1.0.2 / project scope / obra/superpowers</text>
|
|
10
|
+
<text x="76" y="262" font-family="Menlo, monospace" font-size="18" font-weight="400" fill="#d8ff63" xml:space="preserve">$ adg plugins link --target claude --project</text>
|
|
11
|
+
<text x="76" y="290" font-family="Menlo, monospace" font-size="18" font-weight="400" fill="#f0f2ed" xml:space="preserve">linked superpowers [claude] -> Claude Code</text>
|
|
12
|
+
<text x="76" y="318" font-family="Menlo, monospace" font-size="18" font-weight="400" fill="#f0f2ed" xml:space="preserve"> adapted: <DEMO>/project/.agents/plugins/obra__superpowers/superpowers/.claude-plugin/plugin.json</text>
|
|
13
|
+
<text x="48" y="681" font-family="Arial, sans-serif" font-size="15" font-weight="400" fill="#a9b3b1" xml:space="preserve">Real output replay. Waits condensed. Paths redacted. No skill execution shown.</text>
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="720" viewBox="0 0 1280 720" role="img"><title>ADG workflow 03: Check both runtimes</title>
|
|
2
|
+
<rect width="1280" height="720" fill="#0b0f14"/>
|
|
3
|
+
<text x="48" y="42" font-family="Menlo, monospace" font-size="14" font-weight="400" fill="#d8ff63" xml:space="preserve">ADG / REAL CLI OUTPUT</text>
|
|
4
|
+
<text x="1045" y="42" font-family="Menlo, monospace" font-size="14" font-weight="400" fill="#a9b3b1" xml:space="preserve">STEP 03 / 03</text>
|
|
5
|
+
<text x="48" y="105" font-family="Arial, sans-serif" font-size="44" font-weight="700" fill="#f0f2ed" xml:space="preserve">Check both runtimes</text>
|
|
6
|
+
<text x="49" y="143" font-family="Arial, sans-serif" font-size="21" font-weight="400" fill="#a9b3b1" xml:space="preserve">Compare the store with each native plugin registry.</text>
|
|
7
|
+
<rect x="48" y="181" width="1184" height="455" fill="#11171f" stroke="#303b46"/>
|
|
8
|
+
<line x1="48" y1="224" x2="1232" y2="224" stroke="#303b46" stroke-width="1"/>
|
|
9
|
+
<text x="76" y="209" font-family="Menlo, monospace" font-size="14" font-weight="400" fill="#a9b3b1" xml:space="preserve">adg 1.0.2 / project scope / obra/superpowers</text>
|
|
10
|
+
<text x="76" y="262" font-family="Menlo, monospace" font-size="18" font-weight="400" fill="#d8ff63" xml:space="preserve">$ adg plugins status --target codex --project</text>
|
|
11
|
+
<text x="76" y="290" font-family="Menlo, monospace" font-size="18" font-weight="400" fill="#f0f2ed" xml:space="preserve">Codex</text>
|
|
12
|
+
<text x="76" y="318" font-family="Menlo, monospace" font-size="18" font-weight="400" fill="#f0f2ed" xml:space="preserve"> in sync (1): superpowers</text>
|
|
13
|
+
<text x="76" y="346" font-family="Menlo, monospace" font-size="18" font-weight="400" fill="#a9b3b1" xml:space="preserve">note: name-level only; content drift isn't shown — run `adg plugins sync` if unsure.</text>
|
|
14
|
+
<text x="76" y="392" font-family="Menlo, monospace" font-size="18" font-weight="400" fill="#d8ff63" xml:space="preserve">$ adg plugins status --target claude --project</text>
|
|
15
|
+
<text x="76" y="420" font-family="Menlo, monospace" font-size="18" font-weight="400" fill="#f0f2ed" xml:space="preserve">Claude Code</text>
|
|
16
|
+
<text x="76" y="448" font-family="Menlo, monospace" font-size="18" font-weight="400" fill="#f0f2ed" xml:space="preserve"> in sync (1): superpowers</text>
|
|
17
|
+
<text x="76" y="476" font-family="Menlo, monospace" font-size="18" font-weight="400" fill="#a9b3b1" xml:space="preserve">note: name-level only; content drift isn't shown — run `adg plugins sync` if unsure.</text>
|
|
18
|
+
<text x="48" y="681" font-family="Arial, sans-serif" font-size="15" font-weight="400" fill="#a9b3b1" xml:space="preserve">Real output replay. Waits condensed. Paths redacted. No skill execution shown.</text>
|
|
19
|
+
</svg>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="720" viewBox="0 0 1280 720" role="img"><title>ADG workflow: add a skill, connect another agent, check registration</title>
|
|
2
|
+
<rect width="1280" height="720" fill="#0b0f14"/>
|
|
3
|
+
<text x="48" y="45" font-family="Menlo, monospace" font-size="15" font-weight="400" fill="#d8ff63" xml:space="preserve">ADG / WORKFLOW</text>
|
|
4
|
+
<text x="48" y="130" font-family="Arial, sans-serif" font-size="57" font-weight="700" fill="#f0f2ed" xml:space="preserve">One source. Multiple agents.</text>
|
|
5
|
+
<text x="50" y="173" font-family="Arial, sans-serif" font-size="24" font-weight="400" fill="#a9b3b1" xml:space="preserve">Add one skill from superpowers. Register it with Codex and Claude Code.</text>
|
|
6
|
+
<rect x="48" y="233" width="384" height="345" fill="#11171f" stroke="#303b46"/>
|
|
7
|
+
<text x="72" y="270" font-family="Menlo, monospace" font-size="17" font-weight="400" fill="#9abaff" xml:space="preserve">01</text>
|
|
8
|
+
<text x="72" y="314" font-family="Arial, sans-serif" font-size="28" font-weight="700" fill="#f0f2ed" xml:space="preserve">Add one skill</text>
|
|
9
|
+
<rect x="448" y="233" width="384" height="345" fill="#11171f" stroke="#303b46"/>
|
|
10
|
+
<text x="472" y="270" font-family="Menlo, monospace" font-size="17" font-weight="400" fill="#9abaff" xml:space="preserve">02</text>
|
|
11
|
+
<text x="472" y="314" font-family="Arial, sans-serif" font-size="28" font-weight="700" fill="#f0f2ed" xml:space="preserve">Connect Claude</text>
|
|
12
|
+
<rect x="848" y="233" width="384" height="345" fill="#11171f" stroke="#303b46"/>
|
|
13
|
+
<text x="872" y="270" font-family="Menlo, monospace" font-size="17" font-weight="400" fill="#9abaff" xml:space="preserve">03</text>
|
|
14
|
+
<text x="872" y="314" font-family="Arial, sans-serif" font-size="28" font-weight="700" fill="#f0f2ed" xml:space="preserve">Check both</text>
|
|
15
|
+
<text x="72" y="369" font-family="Menlo, monospace" font-size="20" font-weight="400" fill="#f0f2ed" xml:space="preserve">obra/superpowers</text>
|
|
16
|
+
<text x="72" y="404" font-family="Arial, sans-serif" font-size="18" font-weight="400" fill="#a9b3b1" xml:space="preserve">Skill: brainstorming</text>
|
|
17
|
+
<text x="72" y="439" font-family="Menlo, monospace" font-size="16" font-weight="400" fill="#a9b3b1" xml:space="preserve">Revision: 22f0b463e7a5</text>
|
|
18
|
+
<text x="72" y="505" font-family="Menlo, monospace" font-size="17" font-weight="400" fill="#d8ff63" xml:space="preserve">enabled in Codex:</text>
|
|
19
|
+
<text x="72" y="534" font-family="Menlo, monospace" font-size="19" font-weight="400" fill="#f0f2ed" xml:space="preserve">superpowers</text>
|
|
20
|
+
<text x="472" y="369" font-family="Menlo, monospace" font-size="17" font-weight="400" fill="#d8ff63" xml:space="preserve">$ adg plugins link</text>
|
|
21
|
+
<text x="472" y="400" font-family="Menlo, monospace" font-size="17" font-weight="400" fill="#d8ff63" xml:space="preserve"> --target claude</text>
|
|
22
|
+
<text x="472" y="431" font-family="Menlo, monospace" font-size="17" font-weight="400" fill="#d8ff63" xml:space="preserve"> --project</text>
|
|
23
|
+
<text x="472" y="505" font-family="Menlo, monospace" font-size="17" font-weight="400" fill="#f0f2ed" xml:space="preserve">linked superpowers</text>
|
|
24
|
+
<text x="472" y="534" font-family="Menlo, monospace" font-size="16" font-weight="400" fill="#f0f2ed" xml:space="preserve">[claude] -> Claude Code</text>
|
|
25
|
+
<text x="872" y="369" font-family="Arial, sans-serif" font-size="20" font-weight="700" fill="#f0f2ed" xml:space="preserve">Codex</text>
|
|
26
|
+
<text x="872" y="403" font-family="Menlo, monospace" font-size="16" font-weight="400" fill="#d8ff63" xml:space="preserve">in sync (1): superpowers</text>
|
|
27
|
+
<text x="872" y="460" font-family="Arial, sans-serif" font-size="20" font-weight="700" fill="#f0f2ed" xml:space="preserve">Claude Code</text>
|
|
28
|
+
<text x="872" y="494" font-family="Menlo, monospace" font-size="16" font-weight="400" fill="#d8ff63" xml:space="preserve">in sync (1): superpowers</text>
|
|
29
|
+
<text x="872" y="549" font-family="Arial, sans-serif" font-size="16" font-weight="400" fill="#a9b3b1" xml:space="preserve">Name-level checks only.</text>
|
|
30
|
+
<text x="48" y="635" font-family="Menlo, monospace" font-size="16" font-weight="400" fill="#a9b3b1" xml:space="preserve">Selected real output / ADG 1.0.2 / full transcript in docs/marketing/capture.json</text>
|
|
31
|
+
<text x="48" y="677" font-family="Arial, sans-serif" font-size="17" font-weight="400" fill="#a9b3b1" xml:space="preserve">Registration verified. Model execution and interactive skill discovery were not tested.</text>
|
|
32
|
+
</svg>
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Workflow transcript
|
|
2
|
+
|
|
3
|
+
Text alternative to the [GIF](../../website/assets/workflow.gif) and
|
|
4
|
+
[video](../../website/assets/workflow.mp4). These commands and outputs come from
|
|
5
|
+
the [ADG 1.0.2 capture](capture.json), using superpowers 7.0.2 at the fixed
|
|
6
|
+
revision shown below. Temporary paths are replaced with `<DEMO>`.
|
|
7
|
+
The replay condenses waits; this transcript preserves its captured stdout.
|
|
8
|
+
|
|
9
|
+
## Add one skill
|
|
10
|
+
|
|
11
|
+
```text
|
|
12
|
+
$ adg plugins add obra/superpowers --ref 22f0b463e7a5e579904dd6211a520321035526f7 --only skills --skill brainstorming --target codex --project
|
|
13
|
+
converted native manifest -> .agents/.plugin.json: superpowers
|
|
14
|
+
added superpowers -> <DEMO>/project/.agents/plugins/obra__superpowers/superpowers
|
|
15
|
+
enabled in Codex: superpowers
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Connect Claude Code
|
|
19
|
+
|
|
20
|
+
```text
|
|
21
|
+
$ adg plugins link --target claude --project
|
|
22
|
+
linked superpowers [claude] -> Claude Code
|
|
23
|
+
adapted: <DEMO>/project/.agents/plugins/obra__superpowers/superpowers/.claude-plugin/plugin.json
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Check Codex registration
|
|
27
|
+
|
|
28
|
+
```text
|
|
29
|
+
$ adg plugins status --target codex --project
|
|
30
|
+
Codex
|
|
31
|
+
in sync (1): superpowers
|
|
32
|
+
note: name-level only; content drift isn't shown — run `adg plugins sync` if unsure.
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Check Claude Code registration
|
|
36
|
+
|
|
37
|
+
```text
|
|
38
|
+
$ adg plugins status --target claude --project
|
|
39
|
+
Claude Code
|
|
40
|
+
in sync (1): superpowers
|
|
41
|
+
note: name-level only; content drift isn't shown — run `adg plugins sync` if unsure.
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## What the output confirms
|
|
45
|
+
|
|
46
|
+
Both native plugin registrations were enabled. Status compares registered
|
|
47
|
+
plugin names, not content drift. This capture does not show model execution or
|
|
48
|
+
interactive skill discovery in a new session. Antigravity was not part of it.
|
|
@@ -102,8 +102,56 @@ refresh failures continue to follow the command's established exit-code contract
|
|
|
102
102
|
|
|
103
103
|
This work changes update decisions and provenance persistence. Before delivery,
|
|
104
104
|
review partial failure, explicit recovery, cache recovery, timestamps, and
|
|
105
|
-
disabled state together.
|
|
106
|
-
|
|
105
|
+
disabled state together. Source subscriptions, ownership migrations and retry behavior are specified in
|
|
106
|
+
[Plugin update and recovery](plugin-upgrade-migrations.md).
|
|
107
|
+
|
|
108
|
+
### Upstream removals and marketplace restructuring
|
|
109
|
+
|
|
110
|
+
ADG's verified installation history can transfer an installed capability to a
|
|
111
|
+
unique current owner at the same source and ref. Existing marketplace `renames`
|
|
112
|
+
metadata handles plugin identity changes. Legacy installations without a
|
|
113
|
+
trustworthy selection history get an in-command restoration choice. When no
|
|
114
|
+
replacement can be established, the user
|
|
115
|
+
can keep the old payload or explicitly retire it in the same update. Until that
|
|
116
|
+
decision, the old owner and cache stay available. The report distinguishes
|
|
117
|
+
`missingUpstream` from completed retirements in `deleted`. A one-time
|
|
118
|
+
`update --all` selection does not imply consent to remove old plugins or
|
|
119
|
+
subscribe to future additions. Each source ref is evaluated independently.
|
|
120
|
+
|
|
121
|
+
An explicit partial skill selection follows the same capabilities through a
|
|
122
|
+
split or merge. The effective mandatory dependencies are recalculated from the
|
|
123
|
+
current manifest; they do not become independently requested skills. Verified
|
|
124
|
+
source inventories establish availability, while independently verified
|
|
125
|
+
installed contents establish effective presence. An absent legacy selection
|
|
126
|
+
field alone cannot establish a full installation policy.
|
|
127
|
+
|
|
128
|
+
Unknown historical candidates default to keeping the current selection, with
|
|
129
|
+
no unproven candidates preselected. Deferral is stored locally, separately from
|
|
130
|
+
explicit exclusions. Unchanged cases do not prompt again; `update --repair`
|
|
131
|
+
reopens them, including after the original plugin retired. Non-interactive
|
|
132
|
+
updates preserve uncertain contents and report `deferredRecovery`, while
|
|
133
|
+
independently verifiable updates continue. An up-to-date installed selection
|
|
134
|
+
with deferred recovery is reported with both facts.
|
|
135
|
+
|
|
136
|
+
Regression coverage in `test/plugins-update.test.ts` checks full replacement,
|
|
137
|
+
partial disappearance, `--all`, runtime preservation, disabled/partial selections,
|
|
138
|
+
repeated checks, returning identities, replacement failure, explicit-to-DSL
|
|
139
|
+
changes, multiple DSL profiles, and explicit `add` reconciliation.
|
|
140
|
+
|
|
141
|
+
Public regression fixtures must use synthetic payloads. Private repository
|
|
142
|
+
content must stay outside the public repository and its Git history, including
|
|
143
|
+
compressed snapshots. Checks against private upstream releases belong in a
|
|
144
|
+
local or private test environment.
|
|
145
|
+
|
|
146
|
+
`test/plugins-update-e2e.test.ts` generates a synthetic four-to-seven-plugin
|
|
147
|
+
marketplace in a temporary directory and runs the real CLI against replayed
|
|
148
|
+
GitHub responses. It checks installation, disabled state, default/repeated
|
|
149
|
+
updates, additive `--all`, retained source/payload/cache state, and explicit
|
|
150
|
+
migration. Each synthetic plugin includes selected and unselected skills to
|
|
151
|
+
verify that component choices and full-source caches remain distinct. A failed
|
|
152
|
+
download also verifies that the previous installation and marketplace survive.
|
|
153
|
+
This regression uses generated data only and needs no private-repository
|
|
154
|
+
credentials. No upstream content or compressed source fixtures are committed.
|
|
107
155
|
|
|
108
156
|
### Explicit synchronization recovery
|
|
109
157
|
|
|
@@ -112,14 +160,9 @@ fails. Preserve that source outcome and report the native failure or unverified
|
|
|
112
160
|
result separately, using the established nonzero failure outcome where
|
|
113
161
|
applicable. The report must provide an actionable pending-sync message.
|
|
114
162
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
runtime target, for example
|
|
119
|
-
`adg plugins sync --global --target codex <plugin-name>` for one plugin in the
|
|
120
|
-
global Codex store. This is an explicit recovery contract, not a persistent work
|
|
121
|
-
queue. Neither a source checkpoint nor successful command dispatch proves that
|
|
122
|
-
an existing session has loaded the new plugin.
|
|
163
|
+
A pending migration replays its recorded operations locally before fetching
|
|
164
|
+
another source revision. Verified native registration is distinct from the
|
|
165
|
+
behavior of an already running agent session.
|
|
123
166
|
|
|
124
167
|
## Delivery record
|
|
125
168
|
|