Merge remote-tracking branch 'origin/main' into brennanb2025/agent-status-c7-host-replicas

# Conflicts:
#	src/relay/agent-hook-server.ts
This commit is contained in:
Brennan Benson
2026-09-15 16:24:16 -07:00
1585 changed files with 400444 additions and 22522 deletions
+44 -19
View File
@@ -133,6 +133,9 @@ jobs:
- name: Lint
run: pnpm exec oxlint --format github
- name: Reject low-evidence patterns
run: pnpm run audit:anti-slop
- name: Enforce focused code-quality plugins
run: pnpm run audit:code-quality:native
@@ -170,6 +173,9 @@ jobs:
- name: Check reliability gate manifest
run: pnpm run check:reliability-gates
- name: Enforce dead design-system classes
run: pnpm run check:dead-classes
- name: Check VM runtime rollback compatibility
env:
BASE_SHA: ${{ github.event.pull_request.base.sha }}
@@ -326,40 +332,59 @@ jobs:
# Why: the 2.25.5 lane is a source build of a pinned tarball, so it produced the
# same binary on every PR for minutes of runner time. The key carries the version
# because that is the only input; the sha256 assertion below still guards the
# tarball on the miss path that actually builds.
# tarball on the miss path that actually builds. Only this PR's own later pushes
# can restore it — GitHub scopes a cache written from a pull_request run to that
# ref — so a first push always takes the build path below.
- name: Cache baseline Git build
uses: actions/cache@v5
with:
path: ~/.cache/orca-git-compat/git-2.25.5
key: git-compat-baseline-${{ runner.os }}-${{ runner.arch }}-2.25.5
# Why its own step: this is `make -j$(nproc)` on every core, and the lanes below
# spend their wall clock waiting on container starts, not on Git. Sharing a runner
# with the build stretched one ~1.5s boundary case past Vitest's 30s timeout, so
# the build has to finish before anything timed starts.
- name: Build the baseline Git binary
run: |
archive="$RUNNER_TEMP/git-2.25.5.tar.gz"
source="$HOME/.cache/orca-git-compat/git-2.25.5"
if [ -x "$source/git" ]; then
exit 0
fi
curl -fsSL https://www.kernel.org/pub/software/scm/git/git-2.25.5.tar.gz -o "$archive"
echo "41662c52fc16fec4963bfc41075e71f8ead6b5e386797eb6f9a1111ff95a8ddf $archive" \
| sha256sum --check
mkdir -p "$source"
tar -xzf "$archive" -C "$source" --strip-components=1
make -C "$source" -j"$(nproc)" \
NO_GETTEXT=YesPlease NO_TCLTK=YesPlease NO_PYTHON=YesPlease git
# Why: the linked binaries are what the next run needs; the objects that
# produced them are most of the tree and would bloat the cache entry.
find "$source" -name '*.o' -delete
- name: Verify Git binary compatibility matrix
run: |
specs=(
"alpine/git:edge-2.38.1|2.38.1"
"alpine/git:v2.49.1|2.49.1"
)
# Why pull up front: a lane's first `docker run` otherwise pulls its image
# while the sibling lane is mid-test, and that stall is charged to the test.
for spec in "${specs[@]}"; do
docker pull --quiet "${spec%%|*}"
done
pids=()
(
archive="$RUNNER_TEMP/git-2.25.5.tar.gz"
source="$HOME/.cache/orca-git-compat/git-2.25.5"
if [ ! -x "$source/git" ]; then
curl -fsSL https://www.kernel.org/pub/software/scm/git/git-2.25.5.tar.gz -o "$archive"
echo "41662c52fc16fec4963bfc41075e71f8ead6b5e386797eb6f9a1111ff95a8ddf $archive" \
| sha256sum --check
mkdir -p "$source"
tar -xzf "$archive" -C "$source" --strip-components=1
make -C "$source" -j"$(nproc)" \
NO_GETTEXT=YesPlease NO_TCLTK=YesPlease NO_PYTHON=YesPlease git
# Why: the linked binaries are what the next run needs; the objects that
# produced them are most of the tree and would bloat the cache entry.
find "$source" -name '*.o' -delete
fi
ORCA_GIT_COMPAT_BINARY="$source/git" ORCA_GIT_COMPAT_VERSION="2.25.5" \
ORCA_GIT_COMPAT_BINARY="$HOME/.cache/orca-git-compat/git-2.25.5/git" \
ORCA_GIT_COMPAT_VERSION="2.25.5" \
pnpm exec vitest run --config config/vitest.config.ts \
src/shared/git-binary-compatibility.test.ts
) &
pids+=("$!")
for spec in \
"alpine/git:edge-2.38.1|2.38.1" \
"alpine/git:v2.49.1|2.49.1"; do
for spec in "${specs[@]}"; do
(
image="${spec%%|*}"
version="${spec#*|}"
+17
View File
@@ -1311,6 +1311,20 @@ jobs:
echo "identity=$identity" >>"$GITHUB_OUTPUT"
echo "Classified $TAG as $identity"
# Why here and not in build:relay: only a Windows runner can compile it, and
# arm64 cross-compiles from this same x64 agent. Mirrors dev-channel-win-build.yml,
# which had it while release-cut did not — so every stable installer through
# v1.4.203 shipped Windows relays with no windows-process-tree.node, silently
# falling back to the PowerShell scan on every Windows SSH host.
# Why no run_attempt guard, unlike the artifact steps below: Build app is ungated,
# so a rerun would reach the required-addon check with nothing staged and fail.
- name: Build Windows process-table addon for the relay
if: matrix.platform == 'win'
shell: bash
run: |
node config/scripts/build-windows-process-tree-relay-addon.mjs --arch=x64
node config/scripts/build-windows-process-tree-relay-addon.mjs --arch=arm64
# Why ORCA_POSTHOG_WRITE_KEY here: this is the only build that
# produces a published binary, so this is the only place the secret
# needs to be in scope. The key is a PostHog *project* API key, not
@@ -1333,6 +1347,9 @@ jobs:
ORCA_BUILD_IDENTITY: ${{ steps.tag-classify.outputs.identity }}
ORCA_DIAGNOSTICS_TOKEN_URL: https://www.onorca.dev/diagnostics/token
ORCA_POSTHOG_WRITE_KEY: ${{ secrets.ORCA_POSTHOG_WRITE_KEY }}
# Fail the release rather than ship a relay that silently falls back to
# the PowerShell scan on every Windows SSH host.
ORCA_REQUIRE_RELAY_NATIVE_ADDONS: ${{ matrix.platform == 'win' && 'x64,arm64' || '' }}
- name: Gate runtime file-watcher process isolation
if: runner.os == 'Linux'
+3
View File
@@ -181,3 +181,6 @@ tests/e2e/.cross-version-checkouts/
# IS committed). Also keeps oxfmt/oxlint, which honor this file, from walking
# vendored gems.
/mobile/vendor/
# Generated by config/scripts/sync-anti-slop-plugin.mjs from the pinned oxlint-plugin-anti-slop
.anti-slop-plugin/
+5 -1
View File
@@ -4,5 +4,9 @@
"semi": false,
"printWidth": 100,
"trailingComma": "none",
"ignorePatterns": ["cloud/**", ".github/actions/cloud-sql-rollout-lease/**"]
"ignorePatterns": [
"cloud/**",
".github/actions/cloud-sql-rollout-lease/**",
".anti-slop-plugin/**"
]
}
+2 -1
View File
@@ -1,6 +1,6 @@
# Design System
All UI work — layout, color, typography, spacing, component selection, UX behavior — must follow [`docs/STYLEGUIDE.md`](./docs/STYLEGUIDE.md). Use the tokens defined in `src/renderer/src/assets/main.css` (the canonical source) and the shadcn primitives in `src/renderer/src/components/ui/`. Don't invent new color values, font sizes, or shadow tiers when a documented one already covers the role. When STYLEGUIDE.md is silent, follow the resolution order in its final section.
All UI work — layout, color, typography, spacing, component selection, UX behavior — must follow [`docs/STYLEGUIDE.md`](./docs/STYLEGUIDE.md). Most of it is linted: `pnpm run check:code-quality:changed` fails on new restyles of a `components/ui/` primitive, raw palette colors, and computed `className` strings; `pnpm lint` fails on any class Tailwind cannot generate. See the Enforcement section of the style guide before suppressing either. Use the tokens defined in `src/renderer/src/assets/main.css` (the canonical source) and the shadcn primitives in `src/renderer/src/components/ui/`. Don't invent new color values, font sizes, or shadow tiers when a documented one already covers the role. When STYLEGUIDE.md is silent, follow the resolution order in its final section.
## Electron UI Validation
@@ -46,6 +46,7 @@ Avoid type assertions except `as const`. Unavoidable casts need a line-specific
- **Typecheck**: `pnpm tc` (or `tc:node` / `tc:cli` / `tc:web`)
- **Test**: `pnpm test [path/to/file.test.ts]`
- **Lint**: `oxlint`, or `pnpm run check:code-quality:changed` for changed files (full `pnpm lint` is slow); format with `pnpm format`
- **Design system**: `pnpm run lint:design-system` for the full renderer report (not a gate); the changed-lines gate above is what CI enforces
# Considerations
+110
View File
@@ -0,0 +1,110 @@
{
"$schema": "../node_modules/oxlint/configuration_schema.json",
"plugins": [],
"jsPlugins": [
{
"name": "anti-slop",
"specifier": "../.anti-slop-plugin/index.ts"
}
],
"categories": {
"correctness": "off",
"suspicious": "off",
"pedantic": "off",
"perf": "off",
"style": "off",
"restriction": "off",
"nursery": "off"
},
"ignorePatterns": [
"**/node_modules",
"**/dist",
"**/out",
"cloud/**",
"src/shared/rpc-contract/rpc-params-catalog.generated.ts",
"tests/e2e/.cross-version-checkouts"
],
"rules": {
"anti-slop/no-array-filter-map": "off",
"anti-slop/no-chained-type-assertions": "off",
"anti-slop/no-conditional-empty-object-spread": "off",
"anti-slop/no-known-value-widening": "off",
"anti-slop/no-module-mocking": "error",
"anti-slop/no-object-parameters": "error",
"anti-slop/no-reduce-accumulator-copy": "error",
"anti-slop/no-reflect-apply": "error",
"anti-slop/no-reflect-get": "error",
"anti-slop/no-runtime-typeof": "off",
"anti-slop/no-shape-in-symbol-names": "error",
"anti-slop/no-unknown-parameters": "off",
"anti-slop/no-unknown-returns": "off",
"anti-slop/no-unknown-type-aliases": "error",
"anti-slop/no-unsafe-dictionary-type": "off",
"anti-slop/no-widen-then-assert": "error",
"anti-slop/require-readable-spacing": "off",
"anti-slop/require-safety-comment-for-type-assertion": "off"
},
"overrides": [
{
"files": [
"**/*.test.{ts,tsx}",
"**/*.spec.{ts,tsx}",
"tests/**/*.{ts,tsx}",
"**/__mocks__/**"
],
"rules": {
"anti-slop/no-module-mocking": "off"
}
},
// The exemptions below are file-scoped rather than inline `oxlint-disable` comments
// because the root lint scan does not load this plugin, so an inline directive naming
// an anti-slop rule always reads back as an unused directive there.
//
// In the screenshot annotator a "shape" is the drawn geometry -- pen, arrow, rect,
// ellipse, highlight. A domain noun, and it pervades every symbol in the module.
// mobile/src/test-support/rpc-recording is the golden recorder engine. recorder-digest.ts
// hashes these files' RAW BYTES into every golden's `recorderSha256` header, so any edit
// here -- a rename or even an added comment -- invalidates all 208 recordings. The exemption
// is config-scoped for that reason: an inline directive would change the bytes it protects.
{
"files": ["**/test-support/rpc-recording/**"],
"rules": {
"anti-slop/no-shape-in-symbol-names": "off"
}
},
{
"files": ["**/browser-pane/annotate/**"],
"rules": {
"anti-slop/no-shape-in-symbol-names": "off"
}
},
// lucide exports the icon component as `Shapes`, and the matching REPO_LUCIDE_ICONS key
// is the persisted icon name shared by the desktop picker and mobile.
{
"files": [
"**/components/repo/repo-icon.tsx",
"**/worktree-list/rows/repo-header-project-actions.tsx",
"**/components/MobileRepoIcon.tsx"
],
"rules": {
"anti-slop/no-shape-in-symbol-names": "off"
}
},
// `shapedSidebar` is a persisted onboarding-checklist field and a telemetry enum member;
// renaming it would orphan saved state.
{
"files": ["**/src/shared/constants.ts", "**/src/shared/onboarding-state-types.ts"],
"rules": {
"anti-slop/no-shape-in-symbol-names": "off"
}
},
// Matching zod's own literal `shape` property is what selects the ZodObject branch of
// RpcSendInput's conditional type.
{
"files": ["**/rpc-contract/rpc-send-params.ts"],
"rules": {
"anti-slop/no-shape-in-symbol-names": "off"
}
}
]
}
+77
View File
@@ -0,0 +1,77 @@
{
"$schema": "../node_modules/oxlint/configuration_schema.json",
"plugins": [],
"categories": {
"correctness": "off",
"suspicious": "off",
"pedantic": "off",
"perf": "off",
"style": "off",
"restriction": "off",
"nursery": "off"
},
"jsPlugins": [
{
"name": "shadcn",
"specifier": "@shadcn/lint"
}
],
"settings": {
"shadcn": {
"note": "See docs/STYLEGUIDE.md for the role each token and primitive plays."
}
},
"rules": {},
"overrides": [
{
"files": ["**/src/renderer/**/*.tsx"],
"rules": {
"shadcn/no-unknown-classes": [
"error",
{
"allow": [
"agent-map-*",
"comment-md-*",
"compact-agent-*",
"feature-wall-*",
"is-*",
"markdown-annotation-*",
"markdown-body",
"markdown-dark",
"markdown-doc-link*",
"markdown-light",
"markdown-preview",
"markdown-preview-search*",
"markdown-preview-shell",
"markdown-review-*",
"markdown-toc-*",
"mobile-browser-driver-banner",
"mobile-driver-banner",
"native-chat-*",
"orca-*",
"pdfViewer",
"popover-scroll-content",
"popover-wheel-scroll",
"ravpr-*",
"ravs-*",
"scrollbar-editor",
"scrollbar-sleek",
"scrollbar-sleek-lg",
"scrollbar-sleek-parent",
"toaster",
"worktree-sidebar-scrollbar",
"xterm-*"
]
}
]
}
},
{
"files": ["**/*.test.tsx"],
"rules": {
"shadcn/no-unknown-classes": "off"
}
}
],
"ignorePatterns": ["**/node_modules", "**/dist", "**/out", "cloud/**", "mobile/**"]
}
+54
View File
@@ -0,0 +1,54 @@
{
"$schema": "../node_modules/oxlint/configuration_schema.json",
"plugins": [],
"categories": {
"correctness": "off",
"suspicious": "off",
"pedantic": "off",
"perf": "off",
"style": "off",
"restriction": "off",
"nursery": "off"
},
"jsPlugins": [
{
"name": "shadcn",
"specifier": "@shadcn/lint"
}
],
"settings": {
"shadcn": {
"note": "See docs/STYLEGUIDE.md for the role each token and primitive plays."
}
},
"rules": {},
"overrides": [
{
"files": ["**/src/renderer/**/*.tsx"],
"rules": {
"shadcn/no-restyle": [
"error",
{
"allow": ["layout"]
}
],
"shadcn/no-raw-colors": [
"error",
{
"allow": ["shadow-floating"]
}
],
"shadcn/require-static-classes": "error"
}
},
{
"files": ["**/*.test.tsx"],
"rules": {
"shadcn/no-restyle": "off",
"shadcn/no-raw-colors": "off",
"shadcn/require-static-classes": "off"
}
}
],
"ignorePatterns": ["**/node_modules", "**/dist", "**/out", "cloud/**", "mobile/**"]
}
@@ -50,7 +50,7 @@ for (let sample = 0; sample < 500; sample++) {
}
const results = []
for (const [shape, count] of [
for (const [topology, count] of [
['flat', 1000],
['all-cycles', 1000],
['mixed-cycles', 100],
@@ -58,9 +58,9 @@ for (const [shape, count] of [
['mixed-cycles', 1000]
]) {
const rows = Array.from({ length: count }, (_, index) =>
row(index, shape === 'flat' ? undefined : index ^ 1)
row(index, topology === 'flat' ? undefined : index ^ 1)
)
if (shape === 'mixed-cycles') {
if (topology === 'mixed-cycles') {
rows.unshift(row('root', undefined))
}
assert.deepEqual(after(rows), before(rows))
@@ -83,7 +83,7 @@ for (const [shape, count] of [
samples[arm].push({ wallMs, cpuMs: (used.user + used.system) / 30_000 })
}
}
results.push({ shape, count, samples })
results.push({ topology, count, samples })
}
console.log(
JSON.stringify({ baseline, node: process.version, parityGraphs: 500, results }, null, 2)
@@ -58,15 +58,19 @@ for (let trial = 0; trial < 5000; trial += 1) {
const results = []
for (const count of [8, 32, 128, 512, 1024]) {
for (const shape of ['flat', 'fanout', 'balanced', 'chain']) {
for (const topology of ['flat', 'fanout', 'balanced', 'chain']) {
const rows = Array.from({ length: count }, (_, index) => {
const parent =
shape === 'fanout' ? 0 : shape === 'balanced' ? Math.floor((index - 1) / 4) : index - 1
topology === 'fanout'
? 0
: topology === 'balanced'
? Math.floor((index - 1) / 4)
: index - 1
return {
paneKey: `pane-${index}`,
entry: {
orchestration:
index > 0 && shape !== 'flat' ? { parentPaneKey: `pane-${parent}` } : undefined
index > 0 && topology !== 'flat' ? { parentPaneKey: `pane-${parent}` } : undefined
}
}
})
@@ -92,7 +96,7 @@ for (const count of [8, 32, 128, 512, 1024]) {
}
results.push({
count,
shape,
topology,
iterations,
meanMicrosecondsPerTree: Object.fromEntries(
Object.entries(samples).map(([arm, values]) => [
@@ -244,7 +244,11 @@ describe('agent-status hot path benchmark', () => {
let objectAssignCalls = 0
let objectAssignPropertyCopies = 0
let freshnessEntryVisits = 0
Object.assign = ((target: object, ...sources: object[]) => {
// oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: `Object.assign` is an overload set no single arrow can satisfy; this wrapper only counts calls and forwards every argument to the captured native implementation.
Object.assign = ((
target: Record<string, unknown>,
...sources: readonly Record<string, unknown>[]
) => {
objectAssignCalls += 1
for (const source of sources) {
if (source && typeof source === 'object') {
@@ -253,7 +257,8 @@ describe('agent-status hot path benchmark', () => {
}
return nativeObjectAssign(target, ...sources)
}) as typeof Object.assign
Object.values = ((value: object) => {
// oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: same overload-set limit as the `Object.assign` wrapper above; this one counts visited entries and returns the native result unchanged.
Object.values = ((value: Record<string, unknown>) => {
const result = nativeObjectValues(value)
freshnessEntryVisits += result.length
return result
@@ -0,0 +1,526 @@
/**
* Real-repo verification for #19334 — run with:
* node config/scripts/archive-hook-removal-repro.mjs
*
* Requires a prior `build:cli` and `build:electron-vite`; it drives the BUILT CLI against the
* BUILT headless runtime, so it proves the shipped artifacts rather than the test harness.
*: a failed archive hook must BLOCK a destructive
* worktree removal, and the checkout, its git registration and its files must all survive.
*
* Boots the BUILT headless runtime (`out/main/index.js --serve`), pairs the BUILT CLI to it,
* and drives `orca worktree rm` end to end against real git worktrees on disk.
*/
import { spawn, spawnSync } from 'node:child_process'
import { mkdtempSync, writeFileSync, readFileSync, existsSync, rmSync, mkdirSync } from 'node:fs'
import { tmpdir } from 'node:os'
import { join, dirname, resolve } from 'node:path'
import { randomBytes } from 'node:crypto'
const projectDir = resolve(import.meta.dirname, '../..')
const serveEntry = join(projectDir, 'out', 'main', 'index.js')
const cliEntry = join(projectDir, 'out', 'cli', 'index.js')
const PORT = 6900 + Math.floor(Math.random() * 400)
const READY_TIMEOUT_MS = 180_000
const control = mkdtempSync(join(tmpdir(), 'agh-control-'))
const modeFile = join(control, 'mode')
const ranFile = join(control, 'ran')
const setMode = (m) => writeFileSync(modeFile, m)
const hookRuns = () => (existsSync(ranFile) ? readFileSync(ranFile, 'utf8').trim().split('\n') : [])
let failures = 0
const out = (s) => process.stdout.write(`${s}\n`)
const banner = (s) => out(`\n${'='.repeat(78)}\n${s}\n${'='.repeat(78)}`)
function check(label, ok, detail = '') {
out(` ${ok ? 'PASS' : 'FAIL'} ${label}${detail ? ` -- ${detail}` : ''}`)
if (!ok) {
failures++
}
}
let pairingCode = null
/** Run the real CLI against the booted server. Returns the raw process result. */
function cli(args, { json = true } = {}) {
return spawnSync(
process.execPath,
[cliEntry, ...args, '--pairing-code', pairingCode, ...(json ? ['--json'] : [])],
{ encoding: 'utf8', shell: false }
)
}
/** Run the CLI and require success, returning result payload. */
function ok(args) {
const r = cli(args)
const parsed = parseJsonLine(r)
if (!parsed) {
throw new Error(`orca ${args.join(' ')} produced no JSON:\n${r.stdout}\n${r.stderr}`)
}
if (parsed.ok === false) {
throw new Error(`orca ${args.join(' ')} failed: ${parsed.error?.code} ${parsed.error?.message}`)
}
return parsed.result
}
/** The CLI pretty-prints one JSON document to stdout. */
function parseJsonLine(r) {
const text = (r.stdout ?? '').trim()
const start = text.indexOf('{')
if (start === -1) {
return null
}
try {
return JSON.parse(text.slice(start))
} catch {
return null
}
}
function git(cwd, ...args) {
const r = spawnSync('git', args, { cwd, encoding: 'utf8' })
if (r.status !== 0) {
throw new Error(`git ${args.join(' ')}: ${r.stderr || r.stdout}`)
}
return r.stdout
}
const ARCHIVE_HOOK = `echo "[archive-hook] running in $PWD"
echo "$PWD" >> ${JSON.stringify(ranFile).slice(1, -1)}
mode=$(cat ${JSON.stringify(modeFile).slice(1, -1)})
case "$mode" in
ok) echo "[archive-hook] archived OK"; exit 0 ;;
fail) echo "[archive-hook] backup target unreachable" >&2; exit 23 ;;
signal) echo "[archive-hook] losing the execution host now"; kill -KILL $$ ;;
esac
echo "unknown mode $mode" >&2; exit 99
`
/** A throwaway git repo with one commit; optionally an orca.yaml archive hook. */
function seedGitRepo(label, withHook, githubSlug) {
const dir = mkdtempSync(join(tmpdir(), `agh-repo-${label}-`))
writeFileSync(join(dir, 'README.md'), `# ${label}\n`)
if (withHook) {
writeFileSync(
join(dir, 'orca.yaml'),
`scripts:\n archive: |\n${ARCHIVE_HOOK.split('\n')
.map((l) => ` ${l}`)
.join('\n')}\n`
)
}
git(dir, 'init', '-b', 'main')
git(dir, 'config', 'user.email', 'verify@orca.test')
git(dir, 'config', 'user.name', 'Archive Gate Verify')
if (githubSlug) {
git(dir, 'remote', 'add', 'origin', `https://github.com/agh-owner/${githubSlug}.git`)
}
git(dir, 'add', '-A')
git(dir, 'commit', '-m', 'seed')
return dir
}
function waitForReady(child) {
return new Promise((res, rej) => {
let buffered = ''
let serverErr = ''
const timer = setTimeout(
() => rej(new Error(`no ready payload in ${READY_TIMEOUT_MS}ms\n${serverErr}`)),
READY_TIMEOUT_MS
)
child.stderr.setEncoding('utf8')
child.stderr.on('data', (c) => {
serverErr += c
})
child.stdout.setEncoding('utf8')
child.stdout.on('data', (chunk) => {
buffered += chunk
for (const line of buffered.split('\n')) {
if (!line.startsWith('{')) {
continue
}
try {
const p = JSON.parse(line)
if (p.type === 'orca_server_ready') {
clearTimeout(timer)
res(p)
return
}
} catch {
/* partial */
}
}
})
child.on('exit', (code) => {
clearTimeout(timer)
rej(new Error(`server exited ${code} before ready:\n${serverErr}`))
})
})
}
/** Filesystem + git truth about a worktree, read directly rather than through Orca. */
function evidence(repoPath, wtPath) {
const ls = spawnSync('ls', ['-la', wtPath], { encoding: 'utf8' })
const list = spawnSync('git', ['worktree', 'list'], { cwd: repoPath, encoding: 'utf8' })
return {
dirExists: existsSync(wtPath),
fileExists: existsSync(join(wtPath, 'PRECIOUS.txt')),
fileBody: existsSync(join(wtPath, 'PRECIOUS.txt'))
? readFileSync(join(wtPath, 'PRECIOUS.txt'), 'utf8').trim()
: null,
registered: (list.stdout ?? '').includes(wtPath),
ls: (ls.stdout ?? '').trim(),
worktreeList: (list.stdout ?? '').trim()
}
}
function showEvidence(e) {
out(' --- ls -la <worktree> ---')
out(
e.ls
.split('\n')
.map((l) => ` ${l}`)
.join('\n')
)
out(' --- git worktree list (in the repo) ---')
out(
e.worktreeList
.split('\n')
.map((l) => ` ${l}`)
.join('\n')
)
}
async function main() {
const userDataDir = mkdtempSync(join(tmpdir(), 'agh-userdata-'))
out(`booting headless runtime on port ${PORT}, userData ${userDataDir}`)
const child = spawn(
'npx',
[
'electron',
serveEntry,
'--serve',
'--serve-port',
String(PORT),
'--serve-json',
`--user-data-dir=${userDataDir}`
],
{
cwd: projectDir,
stdio: ['ignore', 'pipe', 'pipe'],
env: { ...process.env, ORCA_BACKGROUND_LAUNCH: '1' }
}
)
const created = []
try {
const ready = await waitForReady(child)
pairingCode = new URL(ready.pairing.url).searchParams.get('code')
out(`ready: ${ready.advertisedEndpoint}`)
// ---------------------------------------------------------------- setup
const hookRepoPath = seedGitRepo('hooked', true)
const folderProjectSlug = `agh-folder-proof-${randomBytes(3).toString('hex')}`
const bareRepoPath = seedGitRepo('nohook', false, folderProjectSlug)
const hookRepo = ok(['repo', 'add', '--path', hookRepoPath]).repo
const bareRepo = ok(['repo', 'add', '--path', bareRepoPath]).repo
out(`repo with archive hook: ${hookRepoPath} (${hookRepo.id})`)
out(`repo without archive hook: ${bareRepoPath} (${bareRepo.id})`)
const makeWorktree = (repo, repoPath, name) => {
const wt = ok([
'worktree',
'create',
'--repo',
`id:${repo.id}`,
'--name',
name,
'--setup',
'skip'
]).worktree
created.push(wt)
const unarchivedBody = `unarchived work for ${name}`
writeFileSync(join(wt.path, 'PRECIOUS.txt'), `${unarchivedBody}\n`)
return { ...wt, repoPath, unarchivedBody }
}
// ============================================================ SCENARIO 1
banner('SCENARIO 1 — archive hook exits 23: removal MUST be refused, nothing deleted')
setMode('fail')
const wt1 = makeWorktree(hookRepo, hookRepoPath, `gate-fail-${randomBytes(3).toString('hex')}`)
out(`worktree: ${wt1.path}`)
const before = evidence(wt1.repoPath, wt1.path)
out('\n$ orca worktree rm --worktree <id> --run-hooks (human output)')
const human = cli(['worktree', 'rm', '--worktree', wt1.id, '--run-hooks'], { json: false })
out(` exit code: ${human.status}`)
out(' --- stdout ---')
out(
(human.stdout ?? '')
.trimEnd()
.split('\n')
.map((l) => ` ${l}`)
.join('\n')
)
out(' --- stderr ---')
out(
(human.stderr ?? '')
.trimEnd()
.split('\n')
.map((l) => ` ${l}`)
.join('\n')
)
out(
'\n$ orca worktree rm --worktree <id> --force --run-hooks --json (--force must NOT waive)'
)
const forced = cli(['worktree', 'rm', '--worktree', wt1.id, '--force', '--run-hooks'])
const forcedJson = parseJsonLine(forced)
out(` exit code: ${forced.status}`)
out(` ${JSON.stringify(forcedJson)}`)
const after1 = evidence(wt1.repoPath, wt1.path)
showEvidence(after1)
check('CLI exits non-zero', human.status !== 0, `got ${human.status}`)
check(
'human stderr names the archive hook',
/Archive hook failed for worktree/.test(human.stderr ?? '')
)
check('--force also refused (non-zero)', forced.status !== 0, `got ${forced.status}`)
check(
'typed error code',
forcedJson?.error?.code === 'worktree_archive_hook_failed',
JSON.stringify(forcedJson?.error?.code)
)
check(
"error data outcome is 'exited'",
forcedJson?.error?.data?.outcome === 'exited',
JSON.stringify(forcedJson?.error?.data)
)
check('error data carries exitCode 23', forcedJson?.error?.data?.exitCode === 23)
check('checkout directory still exists', after1.dirExists)
// Assert the CONTENTS, not just the path: a file that survived as an empty stub would prove
// nothing about the work the archive hook was supposed to rescue.
check(
'unarchived file PRECIOUS.txt survives with its contents',
after1.fileExists && after1.fileBody === wt1.unarchivedBody,
`exists=${after1.fileExists} body=${JSON.stringify(after1.fileBody)}`
)
check('git worktree registration survives', after1.registered)
check(
'nothing changed vs. before the attempt',
before.dirExists === after1.dirExists && before.registered === after1.registered
)
const shown = ok(['worktree', 'show', '--worktree', wt1.id]).worktree
check('Orca still resolves the worktree', shown?.id === wt1.id)
check(
'the hook really ran (twice: plain + --force)',
hookRuns().length >= 2,
`runs=${hookRuns().length}`
)
// The checkout is dirty (untracked PRECIOUS.txt). The plain run reported the ARCHIVE failure,
// not the dirty-preflight failure, so the gate is evaluated before that preflight.
check(
'archive gate precedes the dirty preflight (dirty checkout, archive error reported)',
/Archive hook failed/.test(human.stderr ?? '') &&
!/\?\? PRECIOUS\.txt/.test(human.stderr ?? '')
)
// ============================================================ SCENARIO 2
banner('SCENARIO 2 — --allow-failed-archive-hook: removal proceeds, waiver recorded')
// --force here waives only the DIRTY preflight (PRECIOUS.txt is untracked on purpose);
// scenario 1 already proved it does not waive the archive gate.
const waived = cli([
'worktree',
'rm',
'--worktree',
wt1.id,
'--force',
'--run-hooks',
'--allow-failed-archive-hook'
])
const waivedJson = parseJsonLine(waived)
out(` exit code: ${waived.status}`)
out(` ${JSON.stringify(waivedJson)}`)
const after2 = evidence(wt1.repoPath, wt1.path)
out(` checkout still on disk: ${after2.dirExists}`)
out(
` --- git worktree list ---\n${after2.worktreeList
.split('\n')
.map((l) => ` ${l}`)
.join('\n')}`
)
check('override exits zero', waived.status === 0, `got ${waived.status}`)
check('removal reported', waivedJson?.result?.removed === true)
check('checkout is GONE', !after2.dirExists)
check('git registration is gone', !after2.registered)
check(
'archiveHookOverride recorded',
waivedJson?.result?.archiveHookOverride?.overridden === true,
JSON.stringify(waivedJson?.result?.archiveHookOverride)
)
check(
'override records exit 23 / exited',
waivedJson?.result?.archiveHookOverride?.exitCode === 23 &&
waivedJson?.result?.archiveHookOverride?.outcome === 'exited'
)
// ============================================================ SCENARIO 3
banner('SCENARIO 3 — archive hook exits 0: removal proceeds')
setMode('ok')
const wt3 = makeWorktree(hookRepo, hookRepoPath, `gate-ok-${randomBytes(3).toString('hex')}`)
out(`worktree: ${wt3.path}`)
const okRm = cli(['worktree', 'rm', '--worktree', wt3.id, '--force', '--run-hooks'])
const okJson = parseJsonLine(okRm)
out(` exit code: ${okRm.status}`)
out(` ${JSON.stringify(okJson)}`)
const after3 = evidence(wt3.repoPath, wt3.path)
check('exits zero', okRm.status === 0)
check('checkout deleted', !after3.dirExists)
check('git registration gone', !after3.registered)
check(
'no archiveHookOverride on a clean run',
okJson?.result?.archiveHookOverride === undefined
)
// ============================================================ SCENARIO 4
banner('SCENARIO 4 — no archive hook configured: removal proceeds unchanged')
const wt4 = makeWorktree(
bareRepo,
bareRepoPath,
`gate-nohook-${randomBytes(3).toString('hex')}`
)
out(`worktree: ${wt4.path}`)
const runsBefore = hookRuns().length
const noHook = cli(['worktree', 'rm', '--worktree', wt4.id, '--force', '--run-hooks'])
const noHookJson = parseJsonLine(noHook)
out(` exit code: ${noHook.status}`)
out(` ${JSON.stringify(noHookJson)}`)
const after4 = evidence(wt4.repoPath, wt4.path)
check('exits zero', noHook.status === 0)
check('checkout deleted', !after4.dirExists)
check('no hook was run', hookRuns().length === runsBefore)
// ============================================================ SCENARIO 5
banner('SCENARIO 5 — hook never reports an exit (killed): must BLOCK as `unverifiable`')
setMode('signal')
const wt5 = makeWorktree(hookRepo, hookRepoPath, `gate-unver-${randomBytes(3).toString('hex')}`)
out(`worktree: ${wt5.path}`)
const unver = cli(['worktree', 'rm', '--worktree', wt5.id, '--run-hooks'])
const unverJson = parseJsonLine(unver)
out(` exit code: ${unver.status}`)
out(` ${JSON.stringify(unverJson)}`)
const after5 = evidence(wt5.repoPath, wt5.path)
showEvidence(after5)
check('blocked (non-zero)', unver.status !== 0, `got ${unver.status}`)
check('typed error code', unverJson?.error?.code === 'worktree_archive_hook_failed')
check(
"outcome is 'unverifiable', NOT 'exited'",
unverJson?.error?.data?.outcome === 'unverifiable',
JSON.stringify(unverJson?.error?.data)
)
check(
'exit code is WITHHELD (never read as a pass)',
unverJson?.error?.data?.exitCode === undefined
)
check('checkout survives', after5.dirExists && after5.fileExists)
check('git registration survives', after5.registered)
// clean up scenario 5 with the waiver so the temp dirs go away
setMode('ok')
cli(['worktree', 'rm', '--worktree', wt5.id, '--force'])
// ============================================================ SCENARIO 6
banner('SCENARIO 6 — folder workspace removal (the boundary that runs no hook) is unchanged')
const folderDir = mkdtempSync(join(tmpdir(), 'agh-folder-'))
mkdirSync(join(folderDir, 'src'))
writeFileSync(join(folderDir, 'src', 'app.txt'), 'folder workspace content\n')
// A folder workspace is imported against an existing project identity, so anchor it on the
// hookless repo's GitHub-derived project.
const folderProjectId = `github:agh-owner/${folderProjectSlug}`
ok([
'project',
'setup-existing-folder',
'--project',
folderProjectId,
'--host',
'local',
'--path',
folderDir,
'--kind',
'folder'
])
const folderRepo = (ok(['repo', 'list']).repos ?? []).find((r) => r.path === folderDir) ?? null
out(`folder repo: ${folderDir} (${folderRepo?.id}) kind=${folderRepo?.kind}`)
check('registered repo kind is folder', folderRepo?.kind === 'folder', String(folderRepo?.kind))
// The project ROOT of a folder project is not deletable (pre-existing rule, unrelated to the
// gate); the deletable folder workspace is a child created under it.
const folderRoot = ok(['worktree', 'show', '--worktree', `path:${folderDir}`]).worktree
const rootRm = cli(['worktree', 'rm', '--worktree', folderRoot.id, '--force', '--run-hooks'])
out(
` root refusal (unchanged): exit ${rootRm.status} ${parseJsonLine(rootRm)?.error?.code} -- ${parseJsonLine(rootRm)?.error?.message}`
)
check(
'folder project root still refuses for its own reason, not the archive gate',
rootRm.status !== 0 && parseJsonLine(rootRm)?.error?.code !== 'worktree_archive_hook_failed'
)
const folderChild = ok([
'worktree',
'create',
'--repo',
`id:${folderRepo.id}`,
'--name',
'agh-folder-child',
'--setup',
'skip'
]).worktree
out(`folder workspace: ${folderChild.id}`)
const runsBeforeFolder = hookRuns().length
out(`\n$ orca worktree rm --worktree <folder workspace> --force --run-hooks`)
const folderRm = cli(['worktree', 'rm', '--worktree', folderChild.id, '--force', '--run-hooks'])
const folderJson = parseJsonLine(folderRm)
out(` exit code: ${folderRm.status}`)
out(` ${JSON.stringify(folderJson)}`)
const stillThere = cli(['worktree', 'show', '--worktree', folderChild.id])
check(
'folder workspace removal exits zero',
folderRm.status === 0,
`${folderRm.status} ${folderRm.stderr}`
)
check('folder removal ran no archive hook', hookRuns().length === runsBeforeFolder)
check(
'folder contents left on disk (forget, not delete)',
existsSync(join(folderDir, 'src', 'app.txt'))
)
check(
'folder workspace is deregistered',
stillThere.status !== 0 && parseJsonLine(stillThere)?.error?.code === 'selector_not_found'
)
rmSync(folderDir, { recursive: true, force: true })
banner(failures === 0 ? 'ALL CHECKS PASSED' : `${failures} CHECK(S) FAILED`)
} catch (error) {
out(`\nHARNESS ERROR: ${error instanceof Error ? error.stack : String(error)}`)
failures++
} finally {
for (const wt of created) {
if (existsSync(wt.path)) {
cli(['worktree', 'rm', '--worktree', wt.id, '--force'])
rmSync(dirname(wt.path), { recursive: true, force: true })
}
}
if (child.exitCode === null && child.signalCode === null) {
child.kill('SIGTERM')
await Promise.race([
new Promise((r) => child.on('exit', r)),
new Promise((r) => setTimeout(r, 15_000))
])
child.kill('SIGKILL')
}
rmSync(userDataDir, { recursive: true, force: true })
}
process.exitCode = failures === 0 ? 0 : 1
}
setMode('ok')
main()
@@ -11,6 +11,8 @@ const ROOT_CODE_QUALITY_IGNORED_PREFIXES = ['cloud/']
const CASTING_RULE = 'typescript/consistent-type-assertions'
const CASTING_DISABLE_PATTERN =
/\/[/*]\s*(?:oxlint|eslint)-disable(?:-next-line|-line)?\s[^\n]*typescript\/consistent-type-assertions/
const ANTI_SLOP_DISABLE_PATTERN =
/\/[/*]\s*(?:oxlint|eslint)-disable(?:-next-line|-line)?\s[^\n]*\banti-slop\//
export const OXLINT_SCANS = [
{
// Why: no --config, so Oxlint keeps discovering nested configs. Pinning the root
@@ -29,6 +31,12 @@ export const OXLINT_SCANS = [
{
label: 'React Doctor',
args: ['--config', 'config/oxlint-react-doctor.json']
},
{
// Why changed-lines only: the renderer carries ~4.7k pre-existing restyle/raw-color
// findings. Gating added lines holds the line without a repo-wide migration.
label: 'design system',
args: ['--config', 'config/oxlint-design-system.json']
}
]
@@ -324,6 +332,20 @@ export function isCastingDirectiveUnusedWarning(diagnostic, root) {
)
}
// Why: the anti-slop rules live in a JS plugin that only config/oxlint-anti-slop.json loads, so
// the root scan never sees those rule names and reports every anti-slop suppression as unused.
// `audit:anti-slop` is the scan that enforces them.
export function isAntiSlopDirectiveUnusedWarning(diagnostic, root) {
if (!/^Unused (?:oxlint|eslint)-disable/.test(diagnostic.message ?? '')) {
return false
}
return (diagnostic.labels ?? []).some((label) =>
diagnosticHighlightedLines(root, diagnostic.filename, label.span).some((line) =>
ANTI_SLOP_DISABLE_PATTERN.test(line)
)
)
}
// Why: oxlint cannot see the AGENTS.md requirement that every casting suppression carry a
// line-specific SAFETY: rationale, so the directive text itself is checked over added lines.
export function findCastingDirectivesMissingSafety(root, rangesByFile) {
@@ -396,6 +418,7 @@ export function main(
(diagnostic) =>
!isSuppressedDiagnostic(diagnostic, root) &&
!isCastingDirectiveUnusedWarning(diagnostic, root) &&
!isAntiSlopDirectiveUnusedWarning(diagnostic, root) &&
diagnosticTouchesAddedLines(diagnostic, rangesByFile, root, baseBlocks)
)
for (const diagnostic of diagnostics) {
@@ -1,7 +1,10 @@
import { mkdtempSync, rmSync, writeFileSync } from 'node:fs'
import path from 'node:path'
import { describe, expect, it } from 'vitest'
import {
OXLINT_SCANS,
diagnosticTouchesAddedLines,
isAntiSlopDirectiveUnusedWarning,
isMovedCode,
isRootCodeQualityPath,
overlapsAddedLines,
@@ -110,3 +113,44 @@ describe('moved-code exemption', () => {
expect(isMovedCode(['', ' '], [['a()']])).toBe(false)
})
})
describe('anti-slop directive unused warning', () => {
const root = path.resolve(import.meta.dirname, '..', '..')
// Assembled so no line here is itself a directive the gate would scan.
const directive = (rule) => `/* oxlint-disable ${rule} -- reason */`
const withFixture = (firstLine, assert) => {
const directory = mkdtempSync(path.join(root, 'config', 'anti-slop-directive-test-'))
try {
const file = path.join(directory, 'fixture.ts')
writeFileSync(file, [firstLine, 'export const value = 1', ''].join('\n'))
assert({
message: 'Unused oxlint-disable directive (no problems were reported).',
filename: file,
labels: [{ span: { line: 1 } }]
})
} finally {
rmSync(directory, { recursive: true, force: true })
}
}
it('exempts a suppression the root scan cannot resolve', () => {
withFixture(directive('anti-slop/no-module-mocking'), (diagnostic) => {
expect(isAntiSlopDirectiveUnusedWarning(diagnostic, root)).toBe(true)
})
})
it('still reports an unused directive for a rule the root scan does load', () => {
withFixture(directive('unicorn/no-array-reduce'), (diagnostic) => {
expect(isAntiSlopDirectiveUnusedWarning(diagnostic, root)).toBe(false)
})
})
it('ignores diagnostics that are not unused-directive warnings', () => {
withFixture(directive('anti-slop/no-module-mocking'), (diagnostic) => {
expect(
isAntiSlopDirectiveUnusedWarning({ ...diagnostic, message: 'Unexpected any.' }, root)
).toBe(false)
})
})
})
@@ -2,42 +2,63 @@ import { readFileSync } from 'node:fs'
import { parse } from 'yaml'
import { describe, expect, it } from 'vitest'
const BASELINE_DIR = '~/.cache/orca-git-compat/git-2.25.5'
const gateSteps = () =>
parse(readFileSync('.github/workflows/pr.yml', 'utf8')).jobs.git_compatibility.steps
const stepNamed = (name) => gateSteps().find((step) => step.name === name)
describe('Git binary compatibility PR gate', () => {
it('runs the real-binary contract at each compatibility boundary', () => {
const workflow = parse(readFileSync('.github/workflows/pr.yml', 'utf8'))
const step = workflow.jobs.git_compatibility.steps.find(
(candidate) => candidate.name === 'Verify Git binary compatibility matrix'
)
const run = stepNamed('Verify Git binary compatibility matrix')?.run
expect(step?.run).toContain('git-2.25.5.tar.gz')
expect(run).toContain('ORCA_GIT_COMPAT_BINARY="$HOME/.cache/orca-git-compat/git-2.25.5/git"')
expect(run).toContain('alpine/git:edge-2.38.1|2.38.1')
expect(run).toContain('alpine/git:v2.49.1|2.49.1')
expect(run).toContain('ORCA_GIT_COMPAT_IMAGE="$image"')
expect(run).toContain('src/shared/git-binary-compatibility.test.ts')
expect(run).toContain('pids+=("$!")')
expect(run).toContain('wait "$pid" || status=1')
})
it('builds the pinned baseline tarball into the cached directory', () => {
const run = stepNamed('Build the baseline Git binary')?.run
expect(run).toContain('git-2.25.5.tar.gz')
// Why asserted: the sha256 check only runs on the build path, so a cached binary
// must come from a key that pins the same version the tarball line declares.
expect(step?.run).toContain('if [ ! -x "$source/git" ]; then')
expect(step?.run).toContain('41662c52fc16fec4963bfc41075e71f8ead6b5e386797eb6f9a1111ff95a8ddf')
expect(step?.run).toContain('ORCA_GIT_COMPAT_BINARY="$source/git"')
expect(step?.run).toContain('alpine/git:edge-2.38.1|2.38.1')
expect(step?.run).toContain('alpine/git:v2.49.1|2.49.1')
expect(step?.run).toContain('ORCA_GIT_COMPAT_IMAGE="$image"')
expect(step?.run).toContain('src/shared/git-binary-compatibility.test.ts')
expect(step?.run).toContain('-j"$(nproc)"')
expect(step?.run).toContain('pids+=("$!")')
expect(step?.run).toContain('wait "$pid" || status=1')
})
it('restores the baseline Git build before the matrix runs', () => {
const workflow = parse(readFileSync('.github/workflows/pr.yml', 'utf8'))
const steps = workflow.jobs.git_compatibility.steps
const cacheIndex = steps.findIndex((step) => step.name === 'Cache baseline Git build')
const matrixIndex = steps.findIndex(
(step) => step.name === 'Verify Git binary compatibility matrix'
)
expect(cacheIndex).toBeGreaterThanOrEqual(0)
expect(cacheIndex).toBeLessThan(matrixIndex)
expect(run).toContain('if [ -x "$source/git" ]; then')
expect(run).toContain('41662c52fc16fec4963bfc41075e71f8ead6b5e386797eb6f9a1111ff95a8ddf')
expect(run).toContain('-j"$(nproc)"')
// The cached path and the build path must be the same directory or the guard
// above would rebuild on every run while still reporting a cache hit.
expect(steps[cacheIndex].with.path).toBe('~/.cache/orca-git-compat/git-2.25.5')
expect(steps[matrixIndex].run).toContain('source="$HOME/.cache/orca-git-compat/git-2.25.5"')
expect(run).toContain('source="$HOME/.cache/orca-git-compat/git-2.25.5"')
})
it('finishes the baseline build before the timed lanes start', () => {
const steps = gateSteps()
const names = steps.map((step) => step.name)
const cacheIndex = names.indexOf('Cache baseline Git build')
const buildIndex = names.indexOf('Build the baseline Git binary')
const matrixIndex = names.indexOf('Verify Git binary compatibility matrix')
expect(cacheIndex).toBeGreaterThanOrEqual(0)
expect(cacheIndex).toBeLessThan(buildIndex)
expect(buildIndex).toBeLessThan(matrixIndex)
// Why asserted: each lane is bounded by Vitest's per-test timeout while it waits on
// container starts, so a `make -j$(nproc)` sharing the runner shows up as a timeout
// in whichever boundary case is running rather than as a slow build.
expect(steps[matrixIndex].run).not.toContain('make -C')
expect(steps[cacheIndex].with.path).toBe(BASELINE_DIR)
expect(steps[cacheIndex].with.key).toContain('2.25.5')
})
it('pulls every matrix image before any lane runs', () => {
const run = stepNamed('Verify Git binary compatibility matrix')?.run
// A lazy pull inside one lane stalls whatever test the sibling lane is timing.
const [beforeLanes] = run.split('pids=()')
expect(beforeLanes).toContain('docker pull --quiet "${spec%%|*}"')
})
})
@@ -48,12 +48,12 @@ export function installHappyDomMutationObserverRetention(): boolean {
const disconnect = prototype.disconnect
prototype.observe = function patchedObserve(
this: object,
this: PatchableMutationObserver,
target: Node,
options?: MutationObserverInit
): void {
const existing = new Set(readMutationListeners(target))
observe.call(this as unknown as PatchableMutationObserver, target, options)
observe.call(this, target, options)
const pinned = retainedCallbacks.get(this) ?? new Set<unknown>()
for (const listener of readMutationListeners(target)) {
if (existing.has(listener)) {
@@ -69,8 +69,8 @@ export function installHappyDomMutationObserverRetention(): boolean {
}
}
prototype.disconnect = function patchedDisconnect(this: object): void {
disconnect.call(this as unknown as PatchableMutationObserver)
prototype.disconnect = function patchedDisconnect(this: PatchableMutationObserver): void {
disconnect.call(this)
retainedCallbacks.delete(this)
}
@@ -1,3 +1,7 @@
/* oxlint-disable anti-slop/no-module-mocking -- This IS the Vitest spec for run-headless-serve-shutdown-docker.mjs, but the rule's test-file
override globs only .ts/.tsx, so a .test.mjs spec slips through. The script under test is a
top-level CLI module driven via vi.resetModules() + await import(); the only other way to observe
its docker argv is to spawn real docker. */
import { createHash } from 'node:crypto'
import { mkdtempSync, rmSync, writeFileSync } from 'node:fs'
import { tmpdir } from 'node:os'
+1 -1
View File
@@ -12,7 +12,7 @@ export function installMainBlockingProbe() {
const epoch = Date.now()
let result
try {
result = Reflect.apply(original, this, args)
result = original.call(this, ...args)
return result
} finally {
const durationMs = performance.now() - start
@@ -40,7 +40,7 @@ function measure(fn, input, repeats) {
return samples.sort((a, b) => a - b)[Math.floor(samples.length / 2)]
}
const results = []
for (const [shape, input] of [
for (const [inputCase, input] of [
['ordinary Markdown', '# Hello\n\n<p>Use `Array<string>` and <b>bold</b>.</p>'],
...[2048, 8192, 16384].map((length) => [
`${length} underscore collision`,
@@ -49,7 +49,7 @@ for (const [shape, input] of [
]) {
assert.equal(after(input), before(input))
results.push({
shape,
inputCase,
bytes: Buffer.byteLength(input),
beforeMs: measure(before, input, 5),
afterMs: measure(after, input, 15)
@@ -0,0 +1,60 @@
import { readFileSync } from 'node:fs'
import { join, resolve } from 'node:path'
import { describe, expect, it } from 'vitest'
import { parse } from 'yaml'
const projectDir = resolve(import.meta.dirname, '../..')
const readProject = (file) => readFileSync(join(projectDir, file), 'utf8')
const packageJson = JSON.parse(readProject('package.json'))
const pnpmWorkspace = parse(readProject('pnpm-workspace.yaml'))
const OWNED_ELECTRON_REBUILD = 'node config/scripts/rebuild-native-deps.mjs'
// Why exact tokens and not /electron/i or a substring: the owner's own path has no "electron"
// in it, so a keyword check waves a duplicated rebuild through -- the case this contract is
// named for (#20787). Substring matching has the opposite fault: `install-app-deps` would also
// reject a `check-install-app-deps-version.mjs` that installs nothing. `rebuild:electron` is
// package.json's alias for the owned script, so running it is the same takeover.
const ELECTRON_INSTALL_COMMANDS = [
OWNED_ELECTRON_REBUILD,
'config/scripts/rebuild-native-deps.mjs',
'rebuild:electron',
'electron-rebuild',
'electron-builder',
'install-app-deps'
]
const tokenize = (step) => step.split(/[\s]+/).flatMap((word) => [word, ...word.split(/[@]/)])
const takesOverElectronInstall = (step) => {
if (step.includes(OWNED_ELECTRON_REBUILD)) {
return true
}
const tokens = new Set(tokenize(step))
return ELECTRON_INSTALL_COMMANDS.some((command) => tokens.has(command))
}
describe('Electron binary install ownership', () => {
it('keeps root postinstall as the single Electron binary install owner', () => {
// The invariant is that the root postinstall owns the Electron binary install, not that
// nothing may run after it -- pinning the whole string broke every open PR (#20726).
const steps = packageJson.scripts.postinstall.split('&&').map((step) => step.trim())
expect(steps[0]).toBe(OWNED_ELECTRON_REBUILD)
for (const step of steps.slice(1)) {
expect(takesOverElectronInstall(step)).toBe(false)
}
expect(pnpmWorkspace.allowBuilds).not.toHaveProperty('electron')
})
// Why a separate case: the assertion above only reads the real postinstall, so it cannot show
// a bad chain would be caught. #20787 shipped a keyword check that missed a duplicated
// rebuild; these fixtures pin the rejections themselves.
it('rejects a chained step that would take over the Electron install', () => {
expect(takesOverElectronInstall(OWNED_ELECTRON_REBUILD)).toBe(true)
expect(takesOverElectronInstall('npx electron-rebuild')).toBe(true)
expect(takesOverElectronInstall('npx electron-builder install-app-deps')).toBe(true)
expect(takesOverElectronInstall('node config/scripts/sync-anti-slop-plugin.mjs')).toBe(false)
expect(takesOverElectronInstall('node config/scripts/check-electron-version.mjs')).toBe(false)
expect(takesOverElectronInstall('pnpm run rebuild:electron')).toBe(true)
expect(takesOverElectronInstall('node config/scripts/check-install-app-deps-version.mjs')).toBe(
false
)
})
})
@@ -24,11 +24,6 @@ describe('Electron runtime package contract', () => {
linux: createPackagedRuntimeNodeModuleResources('linux')
}
it('keeps root postinstall as the single Electron binary install owner', () => {
expect(packageJson.scripts.postinstall).toBe('node config/scripts/rebuild-native-deps.mjs')
expect(pnpmWorkspace.allowBuilds).not.toHaveProperty('electron')
})
it('keeps the native Windows registry addon optional and platform-gated', () => {
const rebuildScript = readProject('config/scripts/rebuild-native-deps.mjs')
const ensureScript = readProject('config/scripts/ensure-native-runtime.mjs')
+1 -1
View File
@@ -21,7 +21,7 @@ export function installPersistenceCallProbe() {
const epoch = Date.now()
let result
try {
result = Reflect.apply(original, this, args)
result = original.call(this, ...args)
return result
} finally {
const durationMs = performance.now() - start
@@ -25,7 +25,7 @@ function median(fn, input, repeats) {
return samples.sort((a, b) => a - b)[Math.floor(samples.length / 2)]
}
const rows = []
for (const [shape, input] of [
for (const [label, input] of [
['8KiB blank lines', '\n'.repeat(8192)],
['16KiB blank lines', '\n'.repeat(16384)],
['32KiB blank lines', '\n'.repeat(32768)],
@@ -37,7 +37,7 @@ for (const [shape, input] of [
const beforeMs = median(before, input, 3)
const afterMs = median(redactString, input, 15)
rows.push({
shape,
label,
bytes: Buffer.byteLength(input),
beforeMs,
afterMs,
@@ -36,15 +36,15 @@ function measurePair(source) {
const results = []
for (const size of [8192, 16384, 32768]) {
for (const shape of ['no icon', 'rel without href', 'unterminated link starts']) {
for (const variant of ['no icon', 'rel without href', 'unterminated link starts']) {
const source =
shape === 'unterminated link starts'
variant === 'unterminated link starts'
? '<link '.repeat(Math.floor(size / 6))
: 'a'.repeat(size) + (shape === 'rel without href' ? ' rel:"icon"' : '')
: 'a'.repeat(size) + (variant === 'rel without href' ? ' rel:"icon"' : '')
assert.equal(extractIconHref(source), original(source))
const { beforeMs, afterMs } = measurePair(source)
results.push({
shape,
variant,
bytes: Buffer.byteLength(source),
beforeMs,
afterMs,
@@ -45,9 +45,9 @@ const arms = {
}
const results = []
for (const size of [20_000, 200_000, 600_000]) {
for (const shape of ['lines', 'long-line']) {
for (const lineLayout of ['lines', 'long-line']) {
const phrase =
shape === 'lines'
lineLayout === 'lines'
? 'Ordinary prose with a little `code`.\n'
: 'Ordinary prose with a little `code`. '
const content = phrase.repeat(Math.ceil(size / phrase.length)).slice(0, size)
@@ -73,7 +73,7 @@ for (const size of [20_000, 200_000, 600_000]) {
samples[arm].push({ ms, cpuMs: (cpu.user + cpu.system) / 20_000 })
}
}
results.push({ size, shape, samples })
results.push({ size, lineLayout, samples })
}
}
console.log(
+20
View File
@@ -0,0 +1,20 @@
// anti-slop ships raw .ts with no build step, and Node refuses to type-strip anything
// under node_modules (ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING), so oxlint cannot load
// it from there. Copy the pinned package's source out to a gitignored dir it can load.
import { cpSync, mkdirSync, rmSync, writeFileSync } from 'node:fs'
import { resolve } from 'node:path'
const repoRoot = resolve(import.meta.dirname, '../..')
const source = resolve(repoRoot, 'node_modules/oxlint-plugin-anti-slop/src')
const target = resolve(repoRoot, '.anti-slop-plugin')
rmSync(target, { recursive: true, force: true })
mkdirSync(target, { recursive: true })
cpSync(source, target, { recursive: true })
// Effect rules are opt-in upstream and this repo does not use Effect; tests would be linted.
rmSync(resolve(target, 'effect'), { recursive: true, force: true })
cpSync(
resolve(repoRoot, 'node_modules/oxlint-plugin-anti-slop/LICENSE'),
resolve(target, 'LICENSE')
)
writeFileSync(resolve(target, 'package.json'), '{ "type": "module" }\n')
@@ -213,13 +213,13 @@ function drain(iterate, data, meta) {
}
function describeFrames(iterate, data, meta) {
const shapes = []
const descriptions = []
for (const frame of iterate(data, meta)) {
shapes.push(
descriptions.push(
`${Buffer.from(frame.bytes).toString('base64')}|${frame.seq ?? 'u'}|${frame.opcode ?? 'u'}`
)
}
return shapes.join('\n')
return descriptions.join('\n')
}
const SURROGATE_PAIR = '\u{1f600}'
@@ -88,7 +88,7 @@ function runWithNativeCallCount(fn) {
let calls = 0
Buffer.byteLength = (...args) => {
calls += 1
return Reflect.apply(nativeByteLength, Buffer, args)
return nativeByteLength.call(Buffer, ...args)
}
try {
return { output: fn(), calls }
@@ -77,7 +77,7 @@ for (const input of [
]) {
assert.deepEqual(display(after, input), display(before, input))
}
for (const [shape, input] of [
for (const [caseName, input] of [
['tiny', 'ls -la'],
['100KB', 'a b\n\t'.repeat(15000)],
['1MB', 'a b\n\t'.repeat(150000)],
@@ -110,5 +110,5 @@ for (const [shape, input] of [
samples[label].push((cpu.user + cpu.system) / 20000)
}
}
console.log(JSON.stringify({ shape, samples }))
console.log(JSON.stringify({ caseName, samples }))
}
@@ -22,7 +22,7 @@ function option(name) {
const cliVersion = option('cli')
const autocrlf = option('autocrlf')
const shape = option('shape')
const placement = option('shape')
// Why: PR branch names are untrusted workflow input. Keep them out of the
// generated shell command and pass them to Node through the environment.
const source = option('source') ?? process.env.SKILL_UPDATE_SOURCE
@@ -30,7 +30,7 @@ const ref = option('ref') ?? process.env.SKILL_UPDATE_REF
if (
!cliVersion ||
(autocrlf !== 'true' && autocrlf !== 'false') ||
(shape !== 'symlink' && shape !== 'copy') ||
(placement !== 'symlink' && placement !== 'copy') ||
!source ||
!ref ||
!/^[^/\s]+\/[^/\s]+$/.test(source)
@@ -103,7 +103,7 @@ async function seedPlacement(name, tag) {
const providerRoot = path.join(home, '.claude', 'skills')
const provider = path.join(providerRoot, name)
await mkdir(providerRoot, { recursive: true })
await (shape === 'copy'
await (placement === 'copy'
? cp(canonical, provider, { recursive: true })
: symlink(canonical, provider, process.platform === 'win32' ? 'junction' : 'dir'))
}
@@ -211,20 +211,20 @@ try {
await assertCurrentCanonical(targetName)
const targetProviderAfter = await packageDigestAt(await realpath(targetProvider))
const targetProviderStat = await lstat(targetProvider)
if (shape === 'symlink' && !targetProviderStat.isSymbolicLink()) {
if (placement === 'symlink' && !targetProviderStat.isSymbolicLink()) {
throw new Error(`${targetName} provider alias was replaced with an independent copy`)
}
if (shape === 'symlink' && targetProviderAfter !== currentSkill(targetName).packageDigest) {
if (placement === 'symlink' && targetProviderAfter !== currentSkill(targetName).packageDigest) {
throw new Error(`${targetName} provider alias did not converge with the canonical update`)
}
if (
shape === 'copy' &&
placement === 'copy' &&
targetProviderAfter !== targetProviderBefore &&
targetProviderAfter !== currentSkill(targetName).packageDigest
) {
throw new Error('Independent provider copy changed to an unexpected package identity')
}
if (shape === 'copy') {
if (placement === 'copy') {
// Why: hosted 1.5.17 replaces copies with aliases while equivalent local runs
// retain the copy. Both prove this input topology must remain ineligible.
const outcome = targetProviderStat.isSymbolicLink()
@@ -241,7 +241,7 @@ try {
throw new Error('Targeted update changed the non-targeted control provider placement')
}
const controlProviderStat = await lstat(controlProvider)
if (shape === 'symlink' && !controlProviderStat.isSymbolicLink()) {
if (placement === 'symlink' && !controlProviderStat.isSymbolicLink()) {
throw new Error('Targeted update changed the non-targeted control topology')
}
} finally {
+1 -1
View File
@@ -358,7 +358,7 @@ async function main() {
sampleAggregation: BENCHMARK_SAMPLE_AGGREGATION,
injectedLoginDelayMs: options.loginDelayMs,
loginProbePreambleBytes: Buffer.byteLength(probeText.split('__ORCA_PATH__', 1)[0]),
guestProcessShape: {
guestProcessChain: {
login: 'sh -> interactive login shell -> git',
fast: 'env -> git'
},
+4 -4
View File
@@ -1,5 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="106" height="20" role="img" aria-label="downloads: 54m">
<title>downloads: 54m</title>
<svg xmlns="http://www.w3.org/2000/svg" width="106" height="20" role="img" aria-label="downloads: 59m">
<title>downloads: 59m</title>
<linearGradient id="s" x2="0" y2="100%">
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
<stop offset="1" stop-opacity=".1"/>
@@ -15,7 +15,7 @@
<g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="11">
<text x="37" y="15" fill="#010101" fill-opacity=".3">downloads</text>
<text x="37" y="14">downloads</text>
<text x="90" y="15" fill="#010101" fill-opacity=".3">54m</text>
<text x="90" y="14">54m</text>
<text x="90" y="15" fill="#010101" fill-opacity=".3">59m</text>
<text x="90" y="14">59m</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 935 B

After

Width:  |  Height:  |  Size: 935 B

+6
View File
@@ -69,6 +69,12 @@ PR checks run the capability contract against real Git 2.25.5, 2.38.1, and
2.49.1 binaries. This spans the pre-2.29 serialized `FETCH_HEAD` fallback, the transitional
`merge-tree --write-tree` behavior before `--merge-base`, and current Git.
The three lanes run in parallel and each Git call in the container lanes costs a
container start, so their wall clock is runner contention, not Git. Build the
2.25.5 binary and pull the images before the lanes start: anything heavy left
running alongside them is charged to whichever boundary case is in flight and
surfaces as a Vitest timeout rather than as a slow setup step.
Keep the unit tests alongside that matrix. They cover concurrent probes,
native/WSL/SSH/relay isolation, and error-stream shapes that a single real
binary invocation cannot exercise deterministically.
@@ -0,0 +1,144 @@
{
"operation": "aiVault.history-scan",
"family": "aiVault.history",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "7add46922ba5486e56c8acd99a53d083b605f5d98f3cc44ee3cb350ec0406080",
"scenarioSha256": "0431ac82cbb8c60b16f4432fd0da7cff665485d668e512b20fc1168ec63db3fe",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"1e5b32902af7": {
"name": "status.get#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}"
},
"681cb0d74271": {
"name": "aiVault.listSessions#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[\"/repo/feature\"]}}"
},
"6e50957443ea": {
"name": "status.get#1",
"args": [
{
"name": "method",
"value": "status.get"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"capabilities": ["aiVault.v1"]
}
}
}
},
"b567072e5440": {
"name": "aiVault.listSessions#1",
"args": [
{
"name": "method",
"value": "aiVault.listSessions"
},
{
"name": "params",
"value": {
"force": false,
"limit": 500,
"scopePaths": ["/repo/feature"]
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"issues": [],
"sessions": [
{
"agent": "claude",
"cwd": "/repo/feature",
"id": "s1"
}
]
}
}
}
},
"cd739a80b7a8": {
"activeWorktreePath": "/repo/feature",
"hostStatusResult": {
"capabilities": ["aiVault.v1"]
},
"refreshing": false,
"scope": "workspace",
"screenState": {
"issues": [],
"kind": "ready",
"sessions": [
{
"agent": "claude",
"cwd": "/repo/feature",
"id": "s1"
}
]
}
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
}
},
"recording": {
"scenario": "aivault-history-scan-fulfilled",
"checkpoints": [
{
"id": "ready",
"observation": {
"sender": ["6e50957443ea", "b567072e5440"],
"payloads": ["1e5b32902af7", "681cb0d74271"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "cd739a80b7a8",
"effects": []
}
}
]
}
}
@@ -0,0 +1,90 @@
{
"operation": "aiVault.history-scan",
"family": "aiVault.history",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "7add46922ba5486e56c8acd99a53d083b605f5d98f3cc44ee3cb350ec0406080",
"scenarioSha256": "e97c6db772a70ee1912419ac67835b6074aaf9a341d4360389a11465f08092c5",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"053ddb72973f": {
"activeWorktreePath": "/repo/feature",
"hostStatusResult": {
"capabilities": ["mobile.tasks.v1"]
},
"refreshing": false,
"scope": "workspace",
"screenState": {
"kind": "unsupported"
}
},
"1e5b32902af7": {
"name": "status.get#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}"
},
"6f30f8b6f3d7": {
"name": "status.get#1",
"args": [
{
"name": "method",
"value": "status.get"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"capabilities": ["mobile.tasks.v1"]
}
}
}
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
}
},
"recording": {
"scenario": "aivault-history-scan-unsupported",
"checkpoints": [
{
"id": "unsupported",
"observation": {
"sender": ["6f30f8b6f3d7"],
"payloads": ["1e5b32902af7"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "053ddb72973f",
"effects": []
}
}
]
}
}
@@ -0,0 +1,207 @@
{
"operation": "aiVault.history-scan",
"family": "aiVault.history",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "7add46922ba5486e56c8acd99a53d083b605f5d98f3cc44ee3cb350ec0406080",
"scenarioSha256": "10011c7c75e74d9c2e880c5458c9156264ae07e91956a80946ede1d4e684952a",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"1e5b32902af7": {
"name": "status.get#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}"
},
"33d053404f10": {
"activeWorktreePath": {
"$rpc": "null"
},
"hostStatusResult": {
"capabilities": ["aiVault.v1"]
},
"refreshing": false,
"scope": "workspace",
"screenState": {
"kind": "loading"
}
},
"38364726a135": {
"name": "aiVault.listSessions#1",
"args": [
{
"name": "method",
"value": "aiVault.listSessions"
},
{
"name": "params",
"value": {
"force": false,
"limit": 500,
"scopePaths": ["/repo/feature"]
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-3",
"ok": true,
"result": {
"issues": [],
"sessions": [
{
"agent": "claude",
"cwd": "/repo/feature",
"id": "s1"
}
]
}
}
}
},
"6e50957443ea": {
"name": "status.get#1",
"args": [
{
"name": "method",
"value": "status.get"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"capabilities": ["aiVault.v1"]
}
}
}
},
"9cac597c56da": {
"name": "status.get#2",
"args": [
{
"name": "method",
"value": "status.get"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"capabilities": ["aiVault.v1"]
}
}
}
},
"c0c86e67c300": {
"name": "status.get#2",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}"
},
"cd739a80b7a8": {
"activeWorktreePath": "/repo/feature",
"hostStatusResult": {
"capabilities": ["aiVault.v1"]
},
"refreshing": false,
"scope": "workspace",
"screenState": {
"issues": [],
"kind": "ready",
"sessions": [
{
"agent": "claude",
"cwd": "/repo/feature",
"id": "s1"
}
]
}
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
},
"f191cc9d24e3": {
"name": "aiVault.listSessions#1",
"json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[\"/repo/feature\"]}}"
}
},
"recording": {
"scenario": "aivault-history-scan-worktrees-late",
"checkpoints": [
{
"id": "held",
"observation": {
"sender": ["6e50957443ea"],
"payloads": ["1e5b32902af7"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "33d053404f10",
"effects": []
}
},
{
"id": "ready",
"observation": {
"sender": ["6e50957443ea", "9cac597c56da", "38364726a135"],
"payloads": ["1e5b32902af7", "c0c86e67c300", "f191cc9d24e3"],
"settlements": {
"mount": "eb79a9b3682a",
"worktrees-loaded": "eb79a9b3682a"
},
"state": "cd739a80b7a8",
"effects": []
}
}
]
}
}
@@ -0,0 +1,89 @@
{
"operation": "aiVault.resume-launch",
"family": "aiVault.resume-launch",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "2f43211e4084c0493bd02ec98868acf53a4c748f89a70cd9657c9c3ee87b12fb",
"scenarioSha256": "ebf1bbc01ad7704fe79eff0969fcc2d4af8ebfa7c2410d2ed9d3ae8c6976b434",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"58d16e8809a2": {
"name": "session.tabs.createTerminal#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.createTerminal\",\"params\":{\"worktree\":\"id:workspace-1\",\"activate\":false,\"select\":true,\"navigation\":\"caller\"}}"
},
"62643ed38326": {
"failure": "Workspace is busy",
"launched": "unlaunched"
},
"6e913cd7b306": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "Workspace is busy",
"isRpcDeliveryUnknown": false
}
},
"a7dec90e01a8": {
"name": "session.tabs.createTerminal#1",
"args": [
{
"name": "method",
"value": "session.tabs.createTerminal"
},
{
"name": "params",
"value": {
"activate": false,
"navigation": "caller",
"select": true,
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 30000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "worktree_busy",
"message": "Workspace is busy"
},
"id": "frame-1",
"ok": false
}
}
}
},
"recording": {
"scenario": "aivault-resume-launch-create-refused",
"checkpoints": [
{
"id": "create-refused",
"observation": {
"sender": ["a7dec90e01a8"],
"payloads": ["58d16e8809a2"],
"settlements": {
"bare": "6e913cd7b306"
},
"state": "62643ed38326",
"effects": []
}
}
]
}
}
@@ -0,0 +1,96 @@
{
"operation": "aiVault.resume-launch",
"family": "aiVault.resume-launch",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "2f43211e4084c0493bd02ec98868acf53a4c748f89a70cd9657c9c3ee87b12fb",
"scenarioSha256": "281ccf5a082f3788ae8bf19f742ea4baf35c20c78bc91d7d91873845583e1a91",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"432332c9740e": {
"failure": "Created terminal response was invalid",
"launched": "unlaunched"
},
"681fc4d59b92": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "Created terminal response was invalid",
"isRpcDeliveryUnknown": false
}
},
"af9961132c24": {
"name": "session.tabs.createTerminal#1",
"args": [
{
"name": "method",
"value": "session.tabs.createTerminal"
},
{
"name": "params",
"value": {
"activate": false,
"clientMutationId": "resume-mutation-1",
"env": {
"ORCA_RESUME": "1"
},
"envToDelete": ["CODEX_HOME"],
"launchAgent": "codex",
"navigation": "caller",
"select": true,
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 30000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"tab": {
"id": "tab-9"
}
}
}
}
},
"eb30e498d168": {
"name": "session.tabs.createTerminal#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.createTerminal\",\"params\":{\"worktree\":\"id:workspace-1\",\"env\":{\"ORCA_RESUME\":\"1\"},\"envToDelete\":[\"CODEX_HOME\"],\"launchAgent\":\"codex\",\"clientMutationId\":\"resume-mutation-1\",\"activate\":false,\"select\":true,\"navigation\":\"caller\"}}"
}
},
"recording": {
"scenario": "aivault-resume-launch-invalid-tab",
"checkpoints": [
{
"id": "invalid-tab",
"observation": {
"sender": ["af9961132c24"],
"payloads": ["eb30e498d168"],
"settlements": {
"full": "681fc4d59b92"
},
"state": "432332c9740e",
"effects": []
}
}
]
}
}
@@ -0,0 +1,140 @@
{
"operation": "aiVault.resume-launch",
"family": "aiVault.resume-launch",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "2f43211e4084c0493bd02ec98868acf53a4c748f89a70cd9657c9c3ee87b12fb",
"scenarioSha256": "941fcf202417c94ef546f5ee331983689d8b72397dac6f61dda944ca24abed9e",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"0f026fafa7e1": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "Terminal input is locked",
"isRpcDeliveryUnknown": false
}
},
"5f84c02b1f7b": {
"name": "terminal.send#1",
"args": [
{
"name": "method",
"value": "terminal.send"
},
{
"name": "params",
"value": {
"enter": true,
"terminal": "terminal-9",
"text": "codex resume rollout"
}
},
{
"name": "options",
"value": {
"timeoutMs": 30000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"send": {
"accepted": false
}
}
}
}
},
"6b1e36abce6b": {
"name": "session.tabs.createTerminal#1",
"args": [
{
"name": "method",
"value": "session.tabs.createTerminal"
},
{
"name": "params",
"value": {
"activate": false,
"clientMutationId": "resume-mutation-1",
"env": {
"ORCA_RESUME": "1"
},
"envToDelete": ["CODEX_HOME"],
"launchAgent": "codex",
"navigation": "caller",
"select": true,
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 30000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"tab": {
"id": "tab-9",
"terminal": "terminal-9",
"title": "codex",
"type": "terminal"
}
}
}
}
},
"a9a45875782f": {
"name": "terminal.send#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-9\",\"text\":\"codex resume rollout\",\"enter\":true}}"
},
"da57c90b80d6": {
"failure": "Terminal input is locked",
"launched": "unlaunched"
},
"eb30e498d168": {
"name": "session.tabs.createTerminal#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.createTerminal\",\"params\":{\"worktree\":\"id:workspace-1\",\"env\":{\"ORCA_RESUME\":\"1\"},\"envToDelete\":[\"CODEX_HOME\"],\"launchAgent\":\"codex\",\"clientMutationId\":\"resume-mutation-1\",\"activate\":false,\"select\":true,\"navigation\":\"caller\"}}"
}
},
"recording": {
"scenario": "aivault-resume-launch-locked",
"checkpoints": [
{
"id": "input-locked",
"observation": {
"sender": ["6b1e36abce6b", "5f84c02b1f7b"],
"payloads": ["eb30e498d168", "a9a45875782f"],
"settlements": {
"full": "0f026fafa7e1"
},
"state": "da57c90b80d6",
"effects": []
}
}
]
}
}
@@ -0,0 +1,146 @@
{
"operation": "aiVault.resume-launch",
"family": "aiVault.resume-launch",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "2f43211e4084c0493bd02ec98868acf53a4c748f89a70cd9657c9c3ee87b12fb",
"scenarioSha256": "f0ac1c996e5b1b4043e0a081978476c6c2dd8a5d517d5752857721205a588fb0",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"400d946a183d": {
"failure": {
"$rpc": "null"
},
"launched": {
"id": "tab-9",
"terminal": "terminal-9",
"title": "codex"
}
},
"6b1e36abce6b": {
"name": "session.tabs.createTerminal#1",
"args": [
{
"name": "method",
"value": "session.tabs.createTerminal"
},
{
"name": "params",
"value": {
"activate": false,
"clientMutationId": "resume-mutation-1",
"env": {
"ORCA_RESUME": "1"
},
"envToDelete": ["CODEX_HOME"],
"launchAgent": "codex",
"navigation": "caller",
"select": true,
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 30000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"tab": {
"id": "tab-9",
"terminal": "terminal-9",
"title": "codex",
"type": "terminal"
}
}
}
}
},
"6e79da536ca9": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "tab-9",
"terminal": "terminal-9",
"title": "codex"
}
},
"a84f5d45a48b": {
"name": "terminal.send#1",
"args": [
{
"name": "method",
"value": "terminal.send"
},
{
"name": "params",
"value": {
"enter": true,
"terminal": "terminal-9",
"text": "codex resume rollout"
}
},
{
"name": "options",
"value": {
"timeoutMs": 30000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
}
},
"a9a45875782f": {
"name": "terminal.send#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-9\",\"text\":\"codex resume rollout\",\"enter\":true}}"
},
"eb30e498d168": {
"name": "session.tabs.createTerminal#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.createTerminal\",\"params\":{\"worktree\":\"id:workspace-1\",\"env\":{\"ORCA_RESUME\":\"1\"},\"envToDelete\":[\"CODEX_HOME\"],\"launchAgent\":\"codex\",\"clientMutationId\":\"resume-mutation-1\",\"activate\":false,\"select\":true,\"navigation\":\"caller\"}}"
}
},
"recording": {
"scenario": "aivault-resume-launch-sent",
"checkpoints": [
{
"id": "resumed",
"observation": {
"sender": ["6b1e36abce6b", "a84f5d45a48b"],
"payloads": ["eb30e498d168", "a9a45875782f"],
"settlements": {
"full": "6e79da536ca9"
},
"state": "400d946a183d",
"effects": []
}
}
]
}
}
@@ -0,0 +1,89 @@
{
"operation": "aiVault.resume-preparation",
"family": "aiVault.resume-preparation",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "2f43211e4084c0493bd02ec98868acf53a4c748f89a70cd9657c9c3ee87b12fb",
"scenarioSha256": "dc9926f95475413627315e1f1c96740ececa697c6a0a5e3c42e18cfd4d58448a",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"1c21b98bedb1": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "codex home is locked",
"isRpcDeliveryUnknown": false
}
},
"3a299ed75c3d": {
"name": "aiVault.prepareSessionResume#1",
"args": [
{
"name": "method",
"value": "aiVault.prepareSessionResume"
},
{
"name": "params",
"value": {
"agent": "codex",
"codexHome": "/hosts/codex-runtime-home/home",
"executionHostId": "local",
"filePath": "/sessions/rollout.jsonl"
}
},
{
"name": "options",
"value": {
"timeoutMs": 30000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "internal",
"message": "codex home is locked"
},
"id": "frame-1",
"ok": false
}
}
},
"7e4864f4412b": {
"failure": "codex home is locked",
"prepared": "unprepared"
},
"9a6c365d544f": {
"name": "aiVault.prepareSessionResume#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.prepareSessionResume\",\"params\":{\"agent\":\"codex\",\"filePath\":\"/sessions/rollout.jsonl\",\"codexHome\":\"/hosts/codex-runtime-home/home\",\"executionHostId\":\"local\"}}"
}
},
"recording": {
"scenario": "aivault-resume-prepare-refused",
"checkpoints": [
{
"id": "refused",
"observation": {
"sender": ["3a299ed75c3d"],
"payloads": ["9a6c365d544f"],
"settlements": {
"prepare": "1c21b98bedb1"
},
"state": "7e4864f4412b",
"effects": []
}
}
]
}
}
@@ -0,0 +1,97 @@
{
"operation": "aiVault.resume-preparation",
"family": "aiVault.resume-preparation",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "2f43211e4084c0493bd02ec98868acf53a4c748f89a70cd9657c9c3ee87b12fb",
"scenarioSha256": "6719aea706086a68709894546f9595264407db2df94fa56180cb3c68b08aaa69",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"02733b10ba3d": {
"failure": {
"$rpc": "null"
},
"prepared": {
"agent": "codex",
"codexHome": "/hosts/codex-accounts/acct-1/home",
"executionHostId": "local",
"filePath": "/sessions/rollout.jsonl"
}
},
"15e10cea84b9": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"agent": "codex",
"codexHome": "/hosts/codex-accounts/acct-1/home",
"executionHostId": "local",
"filePath": "/sessions/rollout.jsonl"
}
},
"9a6c365d544f": {
"name": "aiVault.prepareSessionResume#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.prepareSessionResume\",\"params\":{\"agent\":\"codex\",\"filePath\":\"/sessions/rollout.jsonl\",\"codexHome\":\"/hosts/codex-runtime-home/home\",\"executionHostId\":\"local\"}}"
},
"d8803e70463f": {
"name": "aiVault.prepareSessionResume#1",
"args": [
{
"name": "method",
"value": "aiVault.prepareSessionResume"
},
{
"name": "params",
"value": {
"agent": "codex",
"codexHome": "/hosts/codex-runtime-home/home",
"executionHostId": "local",
"filePath": "/sessions/rollout.jsonl"
}
},
{
"name": "options",
"value": {
"timeoutMs": 30000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"substituteCodexHome": "/hosts/codex-accounts/acct-1/home",
"useRealCodexHome": false
}
}
}
}
},
"recording": {
"scenario": "aivault-resume-prepare-repin",
"checkpoints": [
{
"id": "repinned",
"observation": {
"sender": ["d8803e70463f"],
"payloads": ["9a6c365d544f"],
"settlements": {
"prepare": "15e10cea84b9"
},
"state": "02733b10ba3d",
"effects": []
}
}
]
}
}
@@ -0,0 +1,56 @@
{
"operation": "aiVault.resume-preparation",
"family": "aiVault.resume-preparation",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "2f43211e4084c0493bd02ec98868acf53a4c748f89a70cd9657c9c3ee87b12fb",
"scenarioSha256": "3afaf2807506f5bde2159b367f34c6b777739d6aad564796d54ac0da05b5bd02",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"5d9b438a0a47": {
"failure": {
"$rpc": "null"
},
"prepared": {
"agent": "claude",
"codexHome": "/hosts/codex-runtime-home/home",
"executionHostId": "local",
"filePath": "/sessions/rollout.jsonl"
}
},
"fd5226716450": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"agent": "claude",
"codexHome": "/hosts/codex-runtime-home/home",
"executionHostId": "local",
"filePath": "/sessions/rollout.jsonl"
}
}
},
"recording": {
"scenario": "aivault-resume-prepare-skipped",
"checkpoints": [
{
"id": "no-wire",
"observation": {
"sender": [],
"payloads": [],
"settlements": {
"claude": "fd5226716450"
},
"state": "5d9b438a0a47",
"effects": []
}
}
]
}
}
@@ -0,0 +1,97 @@
{
"operation": "aiVault.resume-preparation",
"family": "aiVault.resume-preparation",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "2f43211e4084c0493bd02ec98868acf53a4c748f89a70cd9657c9c3ee87b12fb",
"scenarioSha256": "a5eedea5f551e0ca0e143292f1d9aa8920dd7af62a02d8e8777666ab3779c019",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"9a6c365d544f": {
"name": "aiVault.prepareSessionResume#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.prepareSessionResume\",\"params\":{\"agent\":\"codex\",\"filePath\":\"/sessions/rollout.jsonl\",\"codexHome\":\"/hosts/codex-runtime-home/home\",\"executionHostId\":\"local\"}}"
},
"a25c46d6c1db": {
"name": "aiVault.prepareSessionResume#1",
"args": [
{
"name": "method",
"value": "aiVault.prepareSessionResume"
},
{
"name": "params",
"value": {
"agent": "codex",
"codexHome": "/hosts/codex-runtime-home/home",
"executionHostId": "local",
"filePath": "/sessions/rollout.jsonl"
}
},
{
"name": "options",
"value": {
"timeoutMs": 30000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "forbidden",
"message": "Method 'aiVault.prepareSessionResume' is not available to mobile clients"
},
"id": "frame-1",
"ok": false
}
}
},
"e839ea279e77": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"agent": "codex",
"codexHome": "/hosts/codex-runtime-home/home",
"executionHostId": "local",
"filePath": "/sessions/rollout.jsonl"
}
},
"f9dc8bff0bbd": {
"failure": {
"$rpc": "null"
},
"prepared": {
"agent": "codex",
"codexHome": "/hosts/codex-runtime-home/home",
"executionHostId": "local",
"filePath": "/sessions/rollout.jsonl"
}
}
},
"recording": {
"scenario": "aivault-resume-prepare-unavailable",
"checkpoints": [
{
"id": "degraded-to-legacy",
"observation": {
"sender": ["a25c46d6c1db"],
"payloads": ["9a6c365d544f"],
"settlements": {
"prepare": "e839ea279e77"
},
"state": "f9dc8bff0bbd",
"effects": []
}
}
]
}
}
+2 -2
View File
@@ -3,9 +3,9 @@
"family": "legacy-inventory",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "262eaad263a45aa13ec5b27c12b59946b12c202474229fff7a5727dba6d702ca",
"scenarioSha256": "23ffc912a432dcd3ff70be1903a8d518cf85634f27a2be6d21585963e338e7e3",
"platform": "darwin",
+17 -14
View File
@@ -3,9 +3,9 @@
"family": "project-explicit-false",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "d3b7f33d810e1fa420ac41a628cde9fe4a9e65fd57f89fbca0a40fc7d74951ab",
"scenarioSha256": "b31992be2f91bd61fbe1b8a5400da3b7a56753564b0b0b2b38bc5d549812d693",
"platform": "darwin",
@@ -13,6 +13,11 @@
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"02839f22d2db": {
"name": "projectMutating",
"value": false,
"sent": 1
},
"0c4dced3e005": {
"error": "",
"mutating": true,
@@ -41,10 +46,6 @@
"itemType": "ISSUE"
}
},
"2cd14f7121a5": {
"name": "projectMutating",
"value": false
},
"52a7a7239fbb": {
"name": "github.project.updateIssueBySlug#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"number\":1,\"updates\":{\"addLabels\":[\"recorded\"]}}}"
@@ -88,17 +89,19 @@
}
}
},
"7b2465eedefe": {
"name": "projectMutating",
"value": true,
"sent": 0
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"c2a271fc5d97": {
"name": "projectMutating",
"value": true
},
"d330309fabb3": {
"a7b76954b136": {
"name": "projectRowDetailError",
"value": "Cannot read properties of null (reading 'ok')"
"value": "Cannot read properties of null (reading 'ok')",
"sent": 1
},
"e5673036d45e": {
"name": "github.project.updateIssueBySlug#1",
@@ -153,7 +156,7 @@
"submit": "9270aeb7d9c6"
},
"state": "0c4dced3e005",
"effects": ["c2a271fc5d97"]
"effects": ["7b2465eedefe"]
}
},
{
@@ -166,7 +169,7 @@
"submit": "eb79a9b3682a"
},
"state": "204a5c5728c2",
"effects": ["c2a271fc5d97", "d330309fabb3", "2cd14f7121a5"]
"effects": ["7b2465eedefe", "a7b76954b136", "02839f22d2db"]
}
}
]
+29 -24
View File
@@ -3,9 +3,9 @@
"family": "linear-detail-barrier",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "d3b7f33d810e1fa420ac41a628cde9fe4a9e65fd57f89fbca0a40fc7d74951ab",
"scenarioSha256": "130e493fcd7765e037405f59e6cc78a0cc1793b1ae092cad933ff9d5a9df8b7a",
"platform": "darwin",
@@ -48,13 +48,10 @@
}
}
},
"1696f2f90218": {
"0e0abca05602": {
"name": "detailError",
"value": "comments transport error"
},
"3b01c25bcd45": {
"name": "detailError",
"value": ""
"value": "comments transport error",
"sent": 2
},
"3cb9a384ce0e": {
"name": "linear.issueComments#1",
@@ -121,6 +118,11 @@
}
}
},
"56d172ecd2fe": {
"name": "detailLoading",
"value": true,
"sent": 0
},
"780aaf1d97be": {
"error": "",
"loading": true,
@@ -128,19 +130,17 @@
"$rpc": "null"
}
},
"7d21147e56c1": {
"name": "detailLoading",
"value": true
},
"7d341b2cb946": {
"9bd1de5d9753": {
"name": "detailPayload",
"value": {
"$rpc": "null"
}
},
"sent": 0
},
"91a1c8142e23": {
"name": "detailLoading",
"value": false
"9d6ce9f28401": {
"name": "detailError",
"value": "",
"sent": 0
},
"bb215a1eb59b": {
"name": "linear.getIssue#1",
@@ -158,6 +158,11 @@
"$rpc": "undefined"
}
},
"ee0c4638d266": {
"name": "detailLoading",
"value": false,
"sent": 2
},
"fc4ce176400a": {
"name": "linear.getIssue#1",
"args": [
@@ -197,7 +202,7 @@
"mount": "eb79a9b3682a"
},
"state": "780aaf1d97be",
"effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"]
"effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"]
}
},
{
@@ -209,7 +214,7 @@
"mount": "eb79a9b3682a"
},
"state": "780aaf1d97be",
"effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"]
"effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"]
}
},
{
@@ -222,11 +227,11 @@
},
"state": "42903545f0f8",
"effects": [
"7d341b2cb946",
"3b01c25bcd45",
"7d21147e56c1",
"1696f2f90218",
"91a1c8142e23"
"9bd1de5d9753",
"9d6ce9f28401",
"56d172ecd2fe",
"0e0abca05602",
"ee0c4638d266"
]
}
}
@@ -0,0 +1,92 @@
{
"operation": "browser.page-commands",
"family": "browser.dialog",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "55971752f963202d30160851197a301089b0f3ebd0c46725af1a461d8310d658",
"scenarioSha256": "95f377bc4d8bf1248cafed26b2e9f425ad37e8d3c99e354bd6a8c67eb9bd9b1b",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"2a884fbac9d5": {
"name": "browser.dialogAccept#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.dialogAccept\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\"}}"
},
"9855d4ec3415": {
"busy": false,
"dialog": {
"$rpc": "null"
},
"error": {
"$rpc": "null"
},
"keyboardValue": "hello",
"pointerModifiers": []
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
},
"f23289a40300": {
"name": "browser.dialogAccept#1",
"args": [
{
"name": "method",
"value": "browser.dialogAccept"
},
{
"name": "params",
"value": {
"page": "page-1",
"worktree": "id:worktree-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 5000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"accepted": true
}
}
}
}
},
"recording": {
"scenario": "browser-dialog-accepted",
"checkpoints": [
{
"id": "dismissed",
"observation": {
"sender": ["f23289a40300"],
"payloads": ["2a884fbac9d5"],
"settlements": {
"mount": "eb79a9b3682a",
"dialog": "eb79a9b3682a"
},
"state": "9855d4ec3415",
"effects": []
}
}
]
}
}
@@ -0,0 +1,92 @@
{
"operation": "browser.page-commands",
"family": "browser.dialog",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "55971752f963202d30160851197a301089b0f3ebd0c46725af1a461d8310d658",
"scenarioSha256": "5071188ee492a4ced5be793b2dab32baa9750ee6535128635f274fd79198e2f1",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"9855d4ec3415": {
"busy": false,
"dialog": {
"$rpc": "null"
},
"error": {
"$rpc": "null"
},
"keyboardValue": "hello",
"pointerModifiers": []
},
"be3e7ad116a5": {
"name": "browser.dialogDismiss#1",
"args": [
{
"name": "method",
"value": "browser.dialogDismiss"
},
{
"name": "params",
"value": {
"page": "page-1",
"worktree": "id:worktree-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 5000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"dismissed": true
}
}
}
},
"e14582853169": {
"name": "browser.dialogDismiss#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.dialogDismiss\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\"}}"
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
}
},
"recording": {
"scenario": "browser-dialog-dismissed",
"checkpoints": [
{
"id": "dismissed",
"observation": {
"sender": ["be3e7ad116a5"],
"payloads": ["e14582853169"],
"settlements": {
"mount": "eb79a9b3682a",
"dialog": "eb79a9b3682a"
},
"state": "9855d4ec3415",
"effects": []
}
}
]
}
}
@@ -0,0 +1,140 @@
{
"operation": "browser.page-commands",
"family": "browser.keyboard",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "55971752f963202d30160851197a301089b0f3ebd0c46725af1a461d8310d658",
"scenarioSha256": "eb2294c30af70ebc2bac092dc5105249ae8cf1941f750406622f7ff6dd70cc1b",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"04ae34c3208f": {
"name": "browser.keypress#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.keypress\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"key\":\"Enter\"}}"
},
"37ef5fe93769": {
"name": "browser.keyboardInsertText#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.keyboardInsertText\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"text\":\"hello\"}}"
},
"5fe64ef6c1f3": {
"name": "toast",
"value": {
"message": "Sent"
},
"sent": 1
},
"770254847b6a": {
"name": "browser.keyboardInsertText#1",
"args": [
{
"name": "method",
"value": "browser.keyboardInsertText"
},
{
"name": "params",
"value": {
"page": "page-1",
"text": "hello",
"worktree": "id:worktree-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 15000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"inserted": true
}
}
}
},
"8160e8872519": {
"busy": false,
"dialog": {
"$rpc": "null"
},
"error": {
"$rpc": "null"
},
"keyboardValue": "",
"pointerModifiers": []
},
"c532c7fdcc69": {
"name": "browser.keypress#1",
"args": [
{
"name": "method",
"value": "browser.keypress"
},
{
"name": "params",
"value": {
"key": "Enter",
"page": "page-1",
"worktree": "id:worktree-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 15000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"pressed": true
}
}
}
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
}
},
"recording": {
"scenario": "browser-keyboard-input",
"checkpoints": [
{
"id": "typed",
"observation": {
"sender": ["770254847b6a", "c532c7fdcc69"],
"payloads": ["37ef5fe93769", "04ae34c3208f"],
"settlements": {
"mount": "eb79a9b3682a",
"text": "eb79a9b3682a",
"keypress": "eb79a9b3682a"
},
"state": "8160e8872519",
"effects": ["5fe64ef6c1f3"]
}
}
]
}
}
@@ -0,0 +1,97 @@
{
"operation": "browser.page-commands",
"family": "browser.pointer-click",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "55971752f963202d30160851197a301089b0f3ebd0c46725af1a461d8310d658",
"scenarioSha256": "73faa87b359a11959543542016295bb6b36a10934dd99ad5c1a77a4290a608cd",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"1e463da3d358": {
"name": "browser.mouseClick#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseClick\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80,\"button\":\"left\",\"modifiers\":[],\"radius\":14}}"
},
"5b621e308200": {
"name": "browser.mouseClick#1",
"args": [
{
"name": "method",
"value": "browser.mouseClick"
},
{
"name": "params",
"value": {
"button": "left",
"modifiers": [],
"page": "page-1",
"radius": 14,
"worktree": "id:worktree-1",
"x": 40,
"y": 80
}
},
{
"name": "options",
"value": {
"timeoutMs": 5000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"clicked": true
}
}
}
},
"9855d4ec3415": {
"busy": false,
"dialog": {
"$rpc": "null"
},
"error": {
"$rpc": "null"
},
"keyboardValue": "hello",
"pointerModifiers": []
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
}
},
"recording": {
"scenario": "browser-pointer-click-accepted",
"checkpoints": [
{
"id": "clicked",
"observation": {
"sender": ["5b621e308200"],
"payloads": ["1e463da3d358"],
"settlements": {
"mount": "eb79a9b3682a",
"click": "eb79a9b3682a"
},
"state": "9855d4ec3415",
"effects": []
}
}
]
}
}
@@ -0,0 +1,216 @@
{
"operation": "browser.page-commands",
"family": "browser.pointer-click",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "55971752f963202d30160851197a301089b0f3ebd0c46725af1a461d8310d658",
"scenarioSha256": "20779e28880cf62340bc34cef8f40a49311e11262ac069df909743da9b5500ff",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"1961908d1da1": {
"name": "browser.mouseDown#1",
"args": [
{
"name": "method",
"value": "browser.mouseDown"
},
{
"name": "params",
"value": {
"button": "left",
"page": "page-1",
"worktree": "id:worktree-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-3",
"ok": true,
"result": {
"down": true
}
}
}
},
"1e463da3d358": {
"name": "browser.mouseClick#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseClick\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80,\"button\":\"left\",\"modifiers\":[],\"radius\":14}}"
},
"278a20085af8": {
"name": "browser.mouseMove#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseMove\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80}}"
},
"41b41cc39e88": {
"name": "browser.mouseUp#1",
"args": [
{
"name": "method",
"value": "browser.mouseUp"
},
{
"name": "params",
"value": {
"button": "left",
"page": "page-1",
"worktree": "id:worktree-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-4",
"ok": true,
"result": {
"up": true
}
}
}
},
"9855d4ec3415": {
"busy": false,
"dialog": {
"$rpc": "null"
},
"error": {
"$rpc": "null"
},
"keyboardValue": "hello",
"pointerModifiers": []
},
"ad7da1632835": {
"name": "browser.mouseDown#1",
"json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseDown\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"button\":\"left\"}}"
},
"b3273afd3ec2": {
"name": "browser.mouseMove#1",
"args": [
{
"name": "method",
"value": "browser.mouseMove"
},
{
"name": "params",
"value": {
"page": "page-1",
"worktree": "id:worktree-1",
"x": 40,
"y": 80
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"moved": true
}
}
}
},
"cf9ea7b52a57": {
"name": "browser.mouseClick#1",
"args": [
{
"name": "method",
"value": "browser.mouseClick"
},
{
"name": "params",
"value": {
"button": "left",
"modifiers": [],
"page": "page-1",
"radius": 14,
"worktree": "id:worktree-1",
"x": 40,
"y": 80
}
},
{
"name": "options",
"value": {
"timeoutMs": 5000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "refused",
"message": "selector_not_found"
},
"id": "frame-1",
"ok": false
}
}
},
"eaa436587fe0": {
"name": "browser.mouseUp#1",
"json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseUp\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"button\":\"left\"}}"
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
}
},
"recording": {
"scenario": "browser-pointer-click-fallback",
"checkpoints": [
{
"id": "clicked-by-fallback",
"observation": {
"sender": ["cf9ea7b52a57", "b3273afd3ec2", "1961908d1da1", "41b41cc39e88"],
"payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"],
"settlements": {
"mount": "eb79a9b3682a",
"click": "eb79a9b3682a"
},
"state": "9855d4ec3415",
"effects": []
}
}
]
}
}
@@ -0,0 +1,134 @@
{
"operation": "browser.page-commands",
"family": "browser.wheel",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "55971752f963202d30160851197a301089b0f3ebd0c46725af1a461d8310d658",
"scenarioSha256": "e1bc21248ccff45ff217e385a51618b6f5724c037bfbefa03bb76a48dd4d793b",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"3ae1d19b9c51": {
"name": "browser.mouseMove#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseMove\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80}}"
},
"56a99047a121": {
"name": "browser.mouseMove#1",
"args": [
{
"name": "method",
"value": "browser.mouseMove"
},
{
"name": "params",
"value": {
"page": "page-1",
"worktree": "id:worktree-1",
"x": 40,
"y": 80
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"moved": true
}
}
}
},
"71b1fb55eafa": {
"name": "browser.mouseWheel#1",
"args": [
{
"name": "method",
"value": "browser.mouseWheel"
},
{
"name": "params",
"value": {
"dx": 0,
"dy": -120,
"page": "page-1",
"worktree": "id:worktree-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"scrolled": true
}
}
}
},
"8bf9a97ea141": {
"name": "browser.mouseWheel#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseWheel\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"dx\":0,\"dy\":-120}}"
},
"9855d4ec3415": {
"busy": false,
"dialog": {
"$rpc": "null"
},
"error": {
"$rpc": "null"
},
"keyboardValue": "hello",
"pointerModifiers": []
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
}
},
"recording": {
"scenario": "browser-wheel-scrolled",
"checkpoints": [
{
"id": "scrolled",
"observation": {
"sender": ["56a99047a121", "71b1fb55eafa"],
"payloads": ["3ae1d19b9c51", "8bf9a97ea141"],
"settlements": {
"mount": "eb79a9b3682a",
"wheel": "eb79a9b3682a"
},
"state": "9855d4ec3415",
"effects": []
}
}
]
}
}
@@ -0,0 +1,211 @@
{
"operation": "clipboard.image-terminal-attachment",
"family": "clipboard.image-attachment",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c",
"scenarioSha256": "d4031721b16d7c281c544e7b2eef774fd20dda1890d7ebaadcbbb1eda4d276fd",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"1062fb0e8dcf": {
"name": "terminal.send#1",
"json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b[200~/tmp/img.png\\u001b[201~ \",\"enter\":false}}"
},
"1c2f6fe81321": {
"name": "before-terminal-send",
"value": {
"terminal": "terminal-1"
},
"sent": 3
},
"308e09c6a619": {
"name": "terminal.send#1",
"args": [
{
"name": "method",
"value": "terminal.send"
},
{
"name": "params",
"value": {
"enter": false,
"terminal": "terminal-1",
"text": "\u001b[200~/tmp/img.png\u001b[201~ "
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-4",
"ok": true,
"result": {
"send": {
"accepted": false
}
}
}
}
},
"520b3fe0fb07": {
"name": "clipboard.startImageUpload#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}"
},
"5f71b4d3d25c": {
"name": "upload-start",
"value": {},
"sent": 0
},
"7e48c58139e5": {
"name": "clipboard.startImageUpload#1",
"args": [
{
"name": "method",
"value": "clipboard.startImageUpload"
},
{
"name": "params",
"value": {
"connectionId": "connection-1",
"expectedBase64Length": 32
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"uploadId": "upload-1"
}
}
}
},
"7ed3d39f0607": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": false
},
"8aa742456efd": {
"attached": false,
"failure": {
"$rpc": "null"
}
},
"972fbf8b960e": {
"name": "clipboard.commitImageUpload#1",
"json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.commitImageUpload\",\"params\":{\"uploadId\":\"upload-1\"}}"
},
"b69a955ea891": {
"name": "clipboard.appendImageUploadChunk#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"uploadId\":\"upload-1\",\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}"
},
"e93276a9971b": {
"name": "clipboard.commitImageUpload#1",
"args": [
{
"name": "method",
"value": "clipboard.commitImageUpload"
},
{
"name": "params",
"value": {
"uploadId": "upload-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-3",
"ok": true,
"result": "/tmp/img.png"
}
}
},
"f1a3d38271bc": {
"name": "clipboard.appendImageUploadChunk#1",
"args": [
{
"name": "method",
"value": "clipboard.appendImageUploadChunk"
},
{
"name": "params",
"value": {
"contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"offset": 0,
"uploadId": "upload-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"received": 32
}
}
}
}
},
"recording": {
"scenario": "clipboard-image-attachment-anonymous",
"checkpoints": [
{
"id": "rejected",
"observation": {
"sender": ["7e48c58139e5", "f1a3d38271bc", "e93276a9971b", "308e09c6a619"],
"payloads": ["520b3fe0fb07", "b69a955ea891", "972fbf8b960e", "1062fb0e8dcf"],
"settlements": {
"anonymous": "7ed3d39f0607"
},
"state": "8aa742456efd",
"effects": ["5f71b4d3d25c", "1c2f6fe81321"]
}
}
]
}
}
@@ -0,0 +1,170 @@
{
"operation": "clipboard.image-terminal-attachment",
"family": "clipboard.image-attachment",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c",
"scenarioSha256": "ea04d03c15d3cb94be7fe111a8a6219c4e0304095679bbae62af623f5b36c9f4",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"1c2f6fe81321": {
"name": "before-terminal-send",
"value": {
"terminal": "terminal-1"
},
"sent": 3
},
"520b3fe0fb07": {
"name": "clipboard.startImageUpload#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}"
},
"5f71b4d3d25c": {
"name": "upload-start",
"value": {},
"sent": 0
},
"7e48c58139e5": {
"name": "clipboard.startImageUpload#1",
"args": [
{
"name": "method",
"value": "clipboard.startImageUpload"
},
{
"name": "params",
"value": {
"connectionId": "connection-1",
"expectedBase64Length": 32
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"uploadId": "upload-1"
}
}
}
},
"7ed3d39f0607": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": false
},
"8aa742456efd": {
"attached": false,
"failure": {
"$rpc": "null"
}
},
"972fbf8b960e": {
"name": "clipboard.commitImageUpload#1",
"json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.commitImageUpload\",\"params\":{\"uploadId\":\"upload-1\"}}"
},
"b69a955ea891": {
"name": "clipboard.appendImageUploadChunk#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"uploadId\":\"upload-1\",\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}"
},
"e93276a9971b": {
"name": "clipboard.commitImageUpload#1",
"args": [
{
"name": "method",
"value": "clipboard.commitImageUpload"
},
{
"name": "params",
"value": {
"uploadId": "upload-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-3",
"ok": true,
"result": "/tmp/img.png"
}
}
},
"f1a3d38271bc": {
"name": "clipboard.appendImageUploadChunk#1",
"args": [
{
"name": "method",
"value": "clipboard.appendImageUploadChunk"
},
{
"name": "params",
"value": {
"contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"offset": 0,
"uploadId": "upload-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"received": 32
}
}
}
}
},
"recording": {
"scenario": "clipboard-image-attachment-blocked-before-send",
"checkpoints": [
{
"id": "blocked",
"observation": {
"sender": ["7e48c58139e5", "f1a3d38271bc", "e93276a9971b"],
"payloads": ["520b3fe0fb07", "b69a955ea891", "972fbf8b960e"],
"settlements": {
"blocked": "7ed3d39f0607"
},
"state": "8aa742456efd",
"effects": ["5f71b4d3d25c", "1c2f6fe81321"]
}
}
]
}
}
@@ -0,0 +1,46 @@
{
"operation": "clipboard.image-terminal-attachment",
"family": "clipboard.image-attachment",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c",
"scenarioSha256": "e6be7d5dd6b4f5083627a3ba864b1b040d71bf72b60ad940b7d0d575964a7b80",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"7ed3d39f0607": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": false
},
"8aa742456efd": {
"attached": false,
"failure": {
"$rpc": "null"
}
}
},
"recording": {
"scenario": "clipboard-image-attachment-cancelled",
"checkpoints": [
{
"id": "no-wire",
"observation": {
"sender": [],
"payloads": [],
"settlements": {
"cancelled": "7ed3d39f0607"
},
"state": "8aa742456efd",
"effects": []
}
}
]
}
}
@@ -0,0 +1,215 @@
{
"operation": "clipboard.image-terminal-attachment",
"family": "clipboard.image-attachment",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c",
"scenarioSha256": "60273f74d8fe869723cbbd1a459d7d789a92e07a0f1e9444b42e2d7767e5bec1",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"1c2f6fe81321": {
"name": "before-terminal-send",
"value": {
"terminal": "terminal-1"
},
"sent": 3
},
"520b3fe0fb07": {
"name": "clipboard.startImageUpload#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}"
},
"5f71b4d3d25c": {
"name": "upload-start",
"value": {},
"sent": 0
},
"7e48c58139e5": {
"name": "clipboard.startImageUpload#1",
"args": [
{
"name": "method",
"value": "clipboard.startImageUpload"
},
{
"name": "params",
"value": {
"connectionId": "connection-1",
"expectedBase64Length": 32
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"uploadId": "upload-1"
}
}
}
},
"84e5ca07cb7a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": true
},
"972fbf8b960e": {
"name": "clipboard.commitImageUpload#1",
"json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.commitImageUpload\",\"params\":{\"uploadId\":\"upload-1\"}}"
},
"b69a955ea891": {
"name": "clipboard.appendImageUploadChunk#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"uploadId\":\"upload-1\",\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}"
},
"b7a44aafa946": {
"attached": true,
"failure": {
"$rpc": "null"
}
},
"bc40e57896c9": {
"name": "terminal.send#1",
"args": [
{
"name": "method",
"value": "terminal.send"
},
{
"name": "params",
"value": {
"client": {
"id": "device-token-1",
"type": "mobile"
},
"enter": false,
"terminal": "terminal-1",
"text": "\u001b[200~/tmp/img.png\u001b[201~ "
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-4",
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
}
},
"d202dd09e1ff": {
"name": "terminal.send#1",
"json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b[200~/tmp/img.png\\u001b[201~ \",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}"
},
"e93276a9971b": {
"name": "clipboard.commitImageUpload#1",
"args": [
{
"name": "method",
"value": "clipboard.commitImageUpload"
},
{
"name": "params",
"value": {
"uploadId": "upload-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-3",
"ok": true,
"result": "/tmp/img.png"
}
}
},
"f1a3d38271bc": {
"name": "clipboard.appendImageUploadChunk#1",
"args": [
{
"name": "method",
"value": "clipboard.appendImageUploadChunk"
},
{
"name": "params",
"value": {
"contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"offset": 0,
"uploadId": "upload-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"received": 32
}
}
}
}
},
"recording": {
"scenario": "clipboard-image-attachment-pasted",
"checkpoints": [
{
"id": "attached",
"observation": {
"sender": ["7e48c58139e5", "f1a3d38271bc", "e93276a9971b", "bc40e57896c9"],
"payloads": ["520b3fe0fb07", "b69a955ea891", "972fbf8b960e", "d202dd09e1ff"],
"settlements": {
"normal": "84e5ca07cb7a"
},
"state": "b7a44aafa946",
"effects": ["5f71b4d3d25c", "1c2f6fe81321"]
}
}
]
}
}
@@ -0,0 +1,92 @@
{
"operation": "clipboard.image-terminal-attachment",
"family": "clipboard.image-attachment",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c",
"scenarioSha256": "e7f492523421873f045726e15ec95eac26d43f7e971a33fd89ec1a9749492987",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"520b3fe0fb07": {
"name": "clipboard.startImageUpload#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}"
},
"5f71b4d3d25c": {
"name": "upload-start",
"value": {},
"sent": 0
},
"765ab192e1a5": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "Image is too large",
"isRpcDeliveryUnknown": false
}
},
"cc325ad637ea": {
"attached": "unattached",
"failure": "Image is too large"
},
"ec6fd7f06461": {
"name": "clipboard.startImageUpload#1",
"args": [
{
"name": "method",
"value": "clipboard.startImageUpload"
},
{
"name": "params",
"value": {
"connectionId": "connection-1",
"expectedBase64Length": 32
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "too_large",
"message": "Image is too large"
},
"id": "frame-1",
"ok": false
}
}
}
},
"recording": {
"scenario": "clipboard-image-attachment-upload-refused",
"checkpoints": [
{
"id": "upload-refused",
"observation": {
"sender": ["ec6fd7f06461"],
"payloads": ["520b3fe0fb07"],
"settlements": {
"normal": "765ab192e1a5"
},
"state": "cc325ad637ea",
"effects": ["5f71b4d3d25c"]
}
}
]
}
}
@@ -0,0 +1,165 @@
{
"operation": "clipboard.image-upload",
"family": "clipboard.image-upload",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c",
"scenarioSha256": "195c2f15d81c70012ea88750ab3f84bfe512f7e422f7d2d09fb7919bd9cfd85a",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"3de611958398": {
"name": "clipboard.appendImageUploadChunk#1",
"args": [
{
"name": "method",
"value": "clipboard.appendImageUploadChunk"
},
{
"name": "params",
"value": {
"contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"offset": 0,
"uploadId": "upload-2"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "upload_expired",
"message": "Upload slot expired"
},
"id": "frame-2",
"ok": false
}
}
},
"75e35171f9cf": {
"name": "clipboard.abortImageUpload#1",
"json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.abortImageUpload\",\"params\":{\"uploadId\":\"upload-2\"}}"
},
"930e54058461": {
"name": "clipboard.appendImageUploadChunk#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"uploadId\":\"upload-2\",\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}"
},
"9cfc668f592b": {
"name": "clipboard.abortImageUpload#1",
"args": [
{
"name": "method",
"value": "clipboard.abortImageUpload"
},
{
"name": "params",
"value": {
"uploadId": "upload-2"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-3",
"ok": true,
"result": {
"aborted": true
}
}
}
},
"a517d3be2ecf": {
"name": "clipboard.startImageUpload#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":null}}"
},
"b49be31d506e": {
"failure": "Upload slot expired",
"path": "unsaved"
},
"ead0111942f4": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "Upload slot expired",
"isRpcDeliveryUnknown": false
}
},
"eddc5bc46b9b": {
"name": "clipboard.startImageUpload#1",
"args": [
{
"name": "method",
"value": "clipboard.startImageUpload"
},
{
"name": "params",
"value": {
"connectionId": {
"$rpc": "null"
},
"expectedBase64Length": 32
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"uploadId": "upload-2"
}
}
}
}
},
"recording": {
"scenario": "clipboard-image-upload-aborts-on-chunk-failure",
"checkpoints": [
{
"id": "aborted",
"observation": {
"sender": ["eddc5bc46b9b", "3de611958398", "9cfc668f592b"],
"payloads": ["a517d3be2ecf", "930e54058461", "75e35171f9cf"],
"settlements": {
"local": "ead0111942f4"
},
"state": "b49be31d506e",
"effects": []
}
}
]
}
}
@@ -0,0 +1,158 @@
{
"operation": "clipboard.image-upload",
"family": "clipboard.image-upload",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c",
"scenarioSha256": "160101326d39705c2036c12646ff6b13d997a1cf91bdc86e5e29279ba31867e4",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"520b3fe0fb07": {
"name": "clipboard.startImageUpload#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}"
},
"7ab518750e0f": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": "/tmp/img.png"
},
"7e48c58139e5": {
"name": "clipboard.startImageUpload#1",
"args": [
{
"name": "method",
"value": "clipboard.startImageUpload"
},
{
"name": "params",
"value": {
"connectionId": "connection-1",
"expectedBase64Length": 32
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"uploadId": "upload-1"
}
}
}
},
"972fbf8b960e": {
"name": "clipboard.commitImageUpload#1",
"json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.commitImageUpload\",\"params\":{\"uploadId\":\"upload-1\"}}"
},
"a77b999a5f7c": {
"failure": {
"$rpc": "null"
},
"path": "/tmp/img.png"
},
"b69a955ea891": {
"name": "clipboard.appendImageUploadChunk#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"uploadId\":\"upload-1\",\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}"
},
"e93276a9971b": {
"name": "clipboard.commitImageUpload#1",
"args": [
{
"name": "method",
"value": "clipboard.commitImageUpload"
},
{
"name": "params",
"value": {
"uploadId": "upload-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-3",
"ok": true,
"result": "/tmp/img.png"
}
}
},
"f1a3d38271bc": {
"name": "clipboard.appendImageUploadChunk#1",
"args": [
{
"name": "method",
"value": "clipboard.appendImageUploadChunk"
},
{
"name": "params",
"value": {
"contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"offset": 0,
"uploadId": "upload-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"received": 32
}
}
}
}
},
"recording": {
"scenario": "clipboard-image-upload-chunked",
"checkpoints": [
{
"id": "uploaded",
"observation": {
"sender": ["7e48c58139e5", "f1a3d38271bc", "e93276a9971b"],
"payloads": ["520b3fe0fb07", "b69a955ea891", "972fbf8b960e"],
"settlements": {
"remote": "7ab518750e0f"
},
"state": "a77b999a5f7c",
"effects": []
}
}
]
}
}
@@ -0,0 +1,121 @@
{
"operation": "clipboard.image-upload",
"family": "clipboard.image-upload",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c",
"scenarioSha256": "89ffa843d08ee27dd44b7bba507ce84661b0df73c35f7a8c273e004604710dc9",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"12f2bb1c7b16": {
"name": "clipboard.startImageUpload#1",
"args": [
{
"name": "method",
"value": "clipboard.startImageUpload"
},
{
"name": "params",
"value": {
"connectionId": "connection-1",
"expectedBase64Length": 32
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "method_not_found",
"message": "Unknown method"
},
"id": "frame-1",
"ok": false
}
}
},
"520b3fe0fb07": {
"name": "clipboard.startImageUpload#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}"
},
"61599dd8e71a": {
"name": "clipboard.saveImageAsTempFile#1",
"args": [
{
"name": "method",
"value": "clipboard.saveImageAsTempFile"
},
{
"name": "params",
"value": {
"connectionId": "connection-1",
"contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": "/tmp/legacy.png"
}
}
},
"7a67576b4db6": {
"name": "clipboard.saveImageAsTempFile#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.saveImageAsTempFile\",\"params\":{\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\",\"connectionId\":\"connection-1\"}}"
},
"7f1260e77032": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": "/tmp/legacy.png"
},
"923de2c0221d": {
"failure": {
"$rpc": "null"
},
"path": "/tmp/legacy.png"
}
},
"recording": {
"scenario": "clipboard-image-upload-single-frame-fallback",
"checkpoints": [
{
"id": "fell-back",
"observation": {
"sender": ["12f2bb1c7b16", "61599dd8e71a"],
"payloads": ["520b3fe0fb07", "7a67576b4db6"],
"settlements": {
"remote": "7f1260e77032"
},
"state": "923de2c0221d",
"effects": []
}
}
]
}
}
@@ -0,0 +1,87 @@
{
"operation": "clipboard.image-upload",
"family": "clipboard.image-upload",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c",
"scenarioSha256": "bf0227939c2d41d6a1ebc5b07a31196043e78f1580811bd32ec6fc5f447f5934",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"520b3fe0fb07": {
"name": "clipboard.startImageUpload#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}"
},
"765ab192e1a5": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "Image is too large",
"isRpcDeliveryUnknown": false
}
},
"a69f0ea71c3c": {
"failure": "Image is too large",
"path": "unsaved"
},
"ec6fd7f06461": {
"name": "clipboard.startImageUpload#1",
"args": [
{
"name": "method",
"value": "clipboard.startImageUpload"
},
{
"name": "params",
"value": {
"connectionId": "connection-1",
"expectedBase64Length": 32
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "too_large",
"message": "Image is too large"
},
"id": "frame-1",
"ok": false
}
}
}
},
"recording": {
"scenario": "clipboard-image-upload-start-refused",
"checkpoints": [
{
"id": "start-refused",
"observation": {
"sender": ["ec6fd7f06461"],
"payloads": ["520b3fe0fb07"],
"settlements": {
"remote": "765ab192e1a5"
},
"state": "a69f0ea71c3c",
"effects": []
}
}
]
}
}
@@ -0,0 +1,288 @@
{
"operation": "accounts.codex-reset-credit",
"family": "components.codex-reset-credit",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "76b53dea504a688493843e23e8e7d052fc196f559bb1e2579d0fd38bf3156d0e",
"scenarioSha256": "00260be9809576607ac91bfacd9fa6cc4f8a190c6b88804c977ea07d36d7162e",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"0a07efb53f1e": {
"settled": {
"$rpc": "null"
}
},
"60304d1e19bb": {
"settled": {
"attemptJournalRetained": false,
"outcome": "reset"
}
},
"90f55bfe00c2": {
"name": "accounts.consumeCodexResetCredit#1",
"args": [
{
"name": "method",
"value": "accounts.consumeCodexResetCredit"
},
{
"name": "params",
"value": {
"expectedScope": {
"accountId": "codex-1",
"accountRevision": 1700000000000,
"offerRevision": "v1:[1,null,null,[],null,null,1700000000000]",
"target": {
"runtime": "host",
"wslDistro": {
"$rpc": "null"
}
}
},
"idempotencyKey": "00000000-0000-4000-8000-000000000001"
}
},
{
"name": "options",
"value": {
"timeoutMs": 90000
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"95625d997965": {
"name": "accounts.consumeCodexResetCredit#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"accounts.consumeCodexResetCredit\",\"params\":{\"idempotencyKey\":\"00000000-0000-4000-8000-000000000001\",\"expectedScope\":{\"target\":{\"runtime\":\"host\",\"wslDistro\":null},\"accountId\":\"codex-1\",\"accountRevision\":1700000000000,\"offerRevision\":\"v1:[1,null,null,[],null,null,1700000000000]\"}}}"
},
"ab755576c214": {
"name": "device-store.setItem",
"value": {
"key": "orca:codex-reset-credit-attempt:v1:0832055c2fa90e8e145c588ad4db656a2fc2840ed2e851a28494eae769db9b3e",
"value": "{\"v\":1,\"hostId\":\"host-1\",\"expectedScope\":{\"target\":{\"runtime\":\"host\",\"wslDistro\":null},\"accountId\":\"codex-1\",\"accountRevision\":1700000000000,\"offerRevision\":\"v1:[1,null,null,[],null,null,1700000000000]\"},\"idempotencyKey\":\"00000000-0000-4000-8000-000000000001\"}"
},
"sent": 0
},
"c4a98628ea44": {
"name": "accounts.consumeCodexResetCredit#1",
"args": [
{
"name": "method",
"value": "accounts.consumeCodexResetCredit"
},
{
"name": "params",
"value": {
"expectedScope": {
"accountId": "codex-1",
"accountRevision": 1700000000000,
"offerRevision": "v1:[1,null,null,[],null,null,1700000000000]",
"target": {
"runtime": "host",
"wslDistro": {
"$rpc": "null"
}
}
},
"idempotencyKey": "00000000-0000-4000-8000-000000000001"
}
},
{
"name": "options",
"value": {
"timeoutMs": 90000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"outcome": "reset",
"scope": {
"accountId": "codex-1",
"accountRevision": 1700000000000,
"offerRevision": "v1:[1,null,null,[],null,null,1700000000000]",
"target": {
"runtime": "host",
"wslDistro": {
"$rpc": "null"
}
}
},
"snapshot": {
"claude": {
"accounts": [],
"activeAccountId": {
"$rpc": "null"
}
},
"codex": {
"accounts": [
{
"email": "codex@example.test",
"id": "codex-1",
"updatedAt": 1700000000000
}
],
"activeAccountId": "codex-1",
"activeAccountIdsByRuntime": {
"host": "codex-1",
"wsl": {}
}
},
"rateLimits": {
"claude": {
"$rpc": "null"
},
"codex": {
"error": {
"$rpc": "null"
},
"provider": "codex",
"rateLimitResetCredits": {
"availableCount": 1
},
"session": {
"$rpc": "null"
},
"status": "ok",
"updatedAt": 1700000000000,
"weekly": {
"$rpc": "null"
}
},
"inactiveClaudeAccounts": [],
"inactiveCodexAccounts": []
}
}
}
}
}
},
"fed9e1669a83": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"attemptJournalRetained": false,
"outcome": "reset",
"scope": {
"accountId": "codex-1",
"accountRevision": 1700000000000,
"offerRevision": "v1:[1,null,null,[],null,null,1700000000000]",
"target": {
"runtime": "host",
"wslDistro": {
"$rpc": "null"
}
}
},
"snapshot": {
"claude": {
"accounts": [],
"activeAccountId": {
"$rpc": "null"
}
},
"codex": {
"accounts": [
{
"email": "codex@example.test",
"id": "codex-1",
"updatedAt": 1700000000000
}
],
"activeAccountId": "codex-1",
"activeAccountIdsByRuntime": {
"host": "codex-1",
"wsl": {}
}
},
"rateLimits": {
"claude": {
"$rpc": "null"
},
"claudeTarget": {
"runtime": "host",
"wslDistro": {
"$rpc": "null"
}
},
"codex": {
"error": {
"$rpc": "null"
},
"provider": "codex",
"rateLimitResetCredits": {
"availableCount": 1
},
"session": {
"$rpc": "null"
},
"status": "ok",
"updatedAt": 1700000000000,
"weekly": {
"$rpc": "null"
}
},
"codexTarget": {
"runtime": "host",
"wslDistro": {
"$rpc": "null"
}
},
"inactiveClaudeAccounts": [],
"inactiveCodexAccounts": []
}
}
}
}
},
"recording": {
"scenario": "codex-reset-credit-consumed",
"checkpoints": [
{
"id": "requested",
"observation": {
"sender": ["90f55bfe00c2"],
"payloads": ["95625d997965"],
"settlements": {
"confirm": "9270aeb7d9c6"
},
"state": "0a07efb53f1e",
"effects": ["ab755576c214"]
}
},
{
"id": "consumed",
"observation": {
"sender": ["c4a98628ea44"],
"payloads": ["95625d997965"],
"settlements": {
"confirm": "fed9e1669a83"
},
"state": "60304d1e19bb",
"effects": ["ab755576c214"]
}
}
]
}
}
@@ -0,0 +1,287 @@
{
"operation": "accounts.codex-reset-credit",
"family": "components.codex-reset-credit",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "76b53dea504a688493843e23e8e7d052fc196f559bb1e2579d0fd38bf3156d0e",
"scenarioSha256": "d85a4031b701e563941afcdd7375cf78a1ee1487a0dab722f8516c2bc8d3dcee",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"074c5080c062": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"attemptJournalRetained": false,
"outcome": "alreadyRedeemed",
"scope": {
"accountId": "codex-1",
"accountRevision": 1700000000000,
"offerRevision": "v1:[1,null,null,[],null,null,1700000000000]",
"target": {
"runtime": "host",
"wslDistro": {
"$rpc": "null"
}
}
},
"snapshot": {
"claude": {
"accounts": [],
"activeAccountId": {
"$rpc": "null"
}
},
"codex": {
"accounts": [
{
"email": "codex@example.test",
"id": "codex-1",
"updatedAt": 1700000000000
}
],
"activeAccountId": "codex-1",
"activeAccountIdsByRuntime": {
"host": "codex-1",
"wsl": {}
}
},
"rateLimits": {
"claude": {
"$rpc": "null"
},
"claudeTarget": {
"runtime": "host",
"wslDistro": {
"$rpc": "null"
}
},
"codex": {
"error": {
"$rpc": "null"
},
"provider": "codex",
"rateLimitResetCredits": {
"availableCount": 1
},
"session": {
"$rpc": "null"
},
"status": "ok",
"updatedAt": 1700000000000,
"weekly": {
"$rpc": "null"
}
},
"codexTarget": {
"runtime": "host",
"wslDistro": {
"$rpc": "null"
}
},
"inactiveClaudeAccounts": [],
"inactiveCodexAccounts": []
}
}
}
},
"0a07efb53f1e": {
"settled": {
"$rpc": "null"
}
},
"0e5764df4bfd": {
"settled": {
"attemptJournalRetained": false,
"outcome": "alreadyRedeemed"
}
},
"1c9f0c57c36d": {
"name": "accounts.consumeCodexResetCredit#1",
"args": [
{
"name": "method",
"value": "accounts.consumeCodexResetCredit"
},
{
"name": "params",
"value": {
"expectedScope": {
"accountId": "codex-1",
"accountRevision": 1700000000000,
"offerRevision": "v1:[1,null,null,[],null,null,1700000000000]",
"target": {
"runtime": "host",
"wslDistro": {
"$rpc": "null"
}
}
},
"idempotencyKey": "11111111-1111-4111-8111-111111111111"
}
},
{
"name": "options",
"value": {
"timeoutMs": 90000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"outcome": "alreadyRedeemed",
"scope": {
"accountId": "codex-1",
"accountRevision": 1700000000000,
"offerRevision": "v1:[1,null,null,[],null,null,1700000000000]",
"target": {
"runtime": "host",
"wslDistro": {
"$rpc": "null"
}
}
},
"snapshot": {
"claude": {
"accounts": [],
"activeAccountId": {
"$rpc": "null"
}
},
"codex": {
"accounts": [
{
"email": "codex@example.test",
"id": "codex-1",
"updatedAt": 1700000000000
}
],
"activeAccountId": "codex-1",
"activeAccountIdsByRuntime": {
"host": "codex-1",
"wsl": {}
}
},
"rateLimits": {
"claude": {
"$rpc": "null"
},
"codex": {
"error": {
"$rpc": "null"
},
"provider": "codex",
"rateLimitResetCredits": {
"availableCount": 1
},
"session": {
"$rpc": "null"
},
"status": "ok",
"updatedAt": 1700000000000,
"weekly": {
"$rpc": "null"
}
},
"inactiveClaudeAccounts": [],
"inactiveCodexAccounts": []
}
}
}
}
}
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"b9cf7ce248dc": {
"name": "accounts.consumeCodexResetCredit#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"accounts.consumeCodexResetCredit\",\"params\":{\"idempotencyKey\":\"11111111-1111-4111-8111-111111111111\",\"expectedScope\":{\"target\":{\"runtime\":\"host\",\"wslDistro\":null},\"accountId\":\"codex-1\",\"accountRevision\":1700000000000,\"offerRevision\":\"v1:[1,null,null,[],null,null,1700000000000]\"}}}"
},
"c19953b572ef": {
"name": "accounts.consumeCodexResetCredit#1",
"args": [
{
"name": "method",
"value": "accounts.consumeCodexResetCredit"
},
{
"name": "params",
"value": {
"expectedScope": {
"accountId": "codex-1",
"accountRevision": 1700000000000,
"offerRevision": "v1:[1,null,null,[],null,null,1700000000000]",
"target": {
"runtime": "host",
"wslDistro": {
"$rpc": "null"
}
}
},
"idempotencyKey": "11111111-1111-4111-8111-111111111111"
}
},
{
"name": "options",
"value": {
"timeoutMs": 90000
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"c55ed0a410f8": {
"name": "device-store.removeItem",
"value": {
"key": "orca:codex-reset-credit-attempt:v1:0832055c2fa90e8e145c588ad4db656a2fc2840ed2e851a28494eae769db9b3e"
},
"sent": 1
}
},
"recording": {
"scenario": "codex-reset-credit-resumed",
"checkpoints": [
{
"id": "requested",
"observation": {
"sender": ["c19953b572ef"],
"payloads": ["b9cf7ce248dc"],
"settlements": {
"confirm": "9270aeb7d9c6"
},
"state": "0a07efb53f1e",
"effects": []
}
},
{
"id": "consumed",
"observation": {
"sender": ["1c9f0c57c36d"],
"payloads": ["b9cf7ce248dc"],
"settlements": {
"confirm": "074c5080c062"
},
"state": "0e5764df4bfd",
"effects": ["c55ed0a410f8"]
}
}
]
}
}
@@ -0,0 +1,80 @@
{
"operation": "components.codex-reset-capability",
"family": "components.codex-reset-capability",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "5cfbce3c7d97d908fbd447646d611e41a8aa1f61f684b9b710c4b67d6ff023a7",
"scenarioSha256": "88570b9d2376863c7f88d7ed8c745a5fb771deddbc7409f8944fa861dd4bdce9",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"1e5b32902af7": {
"name": "status.get#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}"
},
"578b9d38ecc7": {
"supported": true
},
"6a0093a8288b": {
"name": "status.get#1",
"args": [
{
"name": "method",
"value": "status.get"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"capabilities": ["accounts.codex-reset-credit.v1"]
}
}
}
},
"84e5ca07cb7a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": true
}
},
"recording": {
"scenario": "components-codex-capability",
"checkpoints": [
{
"id": "settled",
"observation": {
"sender": ["6a0093a8288b"],
"payloads": ["1e5b32902af7"],
"settlements": {
"probe": "84e5ca07cb7a"
},
"state": "578b9d38ecc7",
"effects": []
}
}
]
}
}
@@ -0,0 +1,149 @@
{
"operation": "components.setup-script",
"family": "components.setup-script",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "5cfbce3c7d97d908fbd447646d611e41a8aa1f61f684b9b710c4b67d6ff023a7",
"scenarioSha256": "d4052f119c7ed68dc922c8beeb0074701f1532b10e48e284fb71aa165a17e437",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"28e75475e9e0": {
"name": "repo.hooks#1",
"args": [
{
"name": "method",
"value": "repo.hooks"
},
{
"name": "params",
"value": {
"repo": "id:repo-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"3515a8adcd6d": {
"name": "repo.hooks#1",
"args": [
{
"name": "method",
"value": "repo.hooks"
},
{
"name": "params",
"value": {
"repo": "id:repo-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"hooks": {
"scripts": {
"setup": "pnpm install"
}
},
"setupRunPolicy": "ask",
"setupTrust": {
"$rpc": "null"
},
"source": "repo"
}
}
}
},
"5d1cf72f4e12": {
"advanced": true,
"command": "pnpm install",
"run": true,
"runPolicy": "ask",
"source": "repo",
"trust": {
"$rpc": "null"
}
},
"80cf8444e458": {
"advanced": false,
"command": {
"$rpc": "null"
},
"run": true,
"runPolicy": "run-by-default",
"source": {
"$rpc": "null"
},
"trust": {
"$rpc": "null"
}
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
},
"f5dc0ce1e7b8": {
"name": "repo.hooks#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.hooks\",\"params\":{\"repo\":\"id:repo-1\"}}"
}
},
"recording": {
"scenario": "components-setup-ask",
"checkpoints": [
{
"id": "hooks-pending",
"observation": {
"sender": ["28e75475e9e0"],
"payloads": ["f5dc0ce1e7b8"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "80cf8444e458",
"effects": []
}
},
{
"id": "settled",
"observation": {
"sender": ["3515a8adcd6d"],
"payloads": ["f5dc0ce1e7b8"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "5d1cf72f4e12",
"effects": []
}
}
]
}
}
@@ -0,0 +1,142 @@
{
"operation": "components.execution-target-local",
"family": "components.execution-target-local",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "5cfbce3c7d97d908fbd447646d611e41a8aa1f61f684b9b710c4b67d6ff023a7",
"scenarioSha256": "2e0d3021621698b63117e250dd5e9762b5bfb3dc1911e27c510e9539bd2ee6c9",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"1e4520fe6576": {
"detected": {
"$rpc": "null"
},
"gate": {
"connectInProgress": true,
"error": {
"$rpc": "null"
},
"requiresConnection": false,
"status": {
"$rpc": "null"
}
}
},
"3579737ce1a6": {
"name": "preflight.detectAgents#1",
"args": [
{
"name": "method",
"value": "preflight.detectAgents"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"6806cee7c59f": {
"name": "preflight.detectAgents#1",
"args": [
{
"name": "method",
"value": "preflight.detectAgents"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": ["claude"]
}
}
},
"986a776213e8": {
"detected": ["claude"],
"gate": {
"connectInProgress": true,
"error": {
"$rpc": "null"
},
"requiresConnection": false,
"status": {
"$rpc": "null"
}
}
},
"cf32edc950ac": {
"name": "preflight.detectAgents#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectAgents\"}"
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
}
},
"recording": {
"scenario": "components-target-local",
"checkpoints": [
{
"id": "detect-pending",
"observation": {
"sender": ["3579737ce1a6"],
"payloads": ["cf32edc950ac"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "1e4520fe6576",
"effects": []
}
},
{
"id": "settled",
"observation": {
"sender": ["6806cee7c59f"],
"payloads": ["cf32edc950ac"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "986a776213e8",
"effects": []
}
}
]
}
}
@@ -0,0 +1,258 @@
{
"operation": "components.execution-target",
"family": "components.execution-target",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "5cfbce3c7d97d908fbd447646d611e41a8aa1f61f684b9b710c4b67d6ff023a7",
"scenarioSha256": "82b891c7a7a2f255e2d22a372ee6112c9cc1f650259244e87f2e8c1356e97e5f",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"0a7094a9a9ac": {
"name": "preflight.detectRemoteAgents#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}"
},
"4e2e9a890ced": {
"detected": ["codex"],
"gate": {
"connectInProgress": false,
"error": {
"$rpc": "null"
},
"requiresConnection": false,
"status": "connected"
}
},
"57095302d8c1": {
"name": "ssh.connect#1",
"json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.connect\",\"params\":{\"targetId\":\"ssh-1\"}}"
},
"6004e75ef39e": {
"name": "preflight.detectRemoteAgents#2",
"args": [
{
"name": "method",
"value": "preflight.detectRemoteAgents"
},
{
"name": "params",
"value": {
"connectionId": "ssh-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"66a99391260b": {
"name": "preflight.detectRemoteAgents#2",
"json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}"
},
"81c9c204b647": {
"name": "ssh.connect#1",
"args": [
{
"name": "method",
"value": "ssh.connect"
},
{
"name": "params",
"value": {
"targetId": "ssh-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 120000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-3",
"ok": true,
"result": {
"state": {
"error": {
"$rpc": "null"
},
"reconnectAttempt": 0,
"status": "connected",
"targetId": "ssh-1"
}
}
}
}
},
"89aa7a3bd619": {
"name": "ssh.getState#1",
"args": [
{
"name": "method",
"value": "ssh.getState"
},
{
"name": "params",
"value": {
"targetId": "ssh-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"state": {
"error": {
"$rpc": "null"
},
"reconnectAttempt": 0,
"status": "connected",
"targetId": "ssh-1"
}
}
}
}
},
"9a892112da5b": {
"name": "preflight.detectRemoteAgents#1",
"args": [
{
"name": "method",
"value": "preflight.detectRemoteAgents"
},
{
"name": "params",
"value": {
"connectionId": "ssh-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": ["codex"]
}
}
},
"ca123825be51": {
"name": "ssh.getState#1",
"args": [
{
"name": "method",
"value": "ssh.getState"
},
{
"name": "params",
"value": {
"targetId": "ssh-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"d23b91bd7660": {
"detected": {
"$rpc": "null"
},
"gate": {
"connectInProgress": false,
"error": {
"$rpc": "null"
},
"requiresConnection": true,
"status": {
"$rpc": "null"
}
}
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
},
"f9dfbe0c0ea7": {
"name": "ssh.getState#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.getState\",\"params\":{\"targetId\":\"ssh-1\"}}"
}
},
"recording": {
"scenario": "components-target-ssh",
"checkpoints": [
{
"id": "state-pending",
"observation": {
"sender": ["ca123825be51"],
"payloads": ["f9dfbe0c0ea7"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "d23b91bd7660",
"effects": []
}
},
{
"id": "settled",
"observation": {
"sender": ["89aa7a3bd619", "9a892112da5b", "81c9c204b647", "6004e75ef39e"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "4e2e9a890ced",
"effects": []
}
}
]
}
}
@@ -0,0 +1,343 @@
{
"operation": "session.diff-review-load",
"family": "session.diff-review",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "a8016eb61915cf80a3bdeb622ee67d35be8b4b9862a75e4ef2e8f4ff8e93e7f2",
"scenarioSha256": "b7579013e65f0f5fe503c10cf2294cb9d4ac1938108275de001db6e02cf2cc21",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"1bf084a7263a": {
"name": "worktree.show#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}"
},
"229fc359ecb7": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": "Committed changes response was invalid",
"result": {
"$rpc": "null"
}
}
},
"25793d7c00a5": {
"name": "repo.list#2",
"json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}"
},
"31bd76fdf517": {
"name": "worktree.show#2",
"json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}"
},
"4337656f224b": {
"name": "git.branchCompare#2",
"json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}"
},
"54ee9546dc6f": {
"name": "git.branchCompare#1",
"json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}"
},
"594101d24d72": {
"name": "repo.list#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}"
},
"632a4405f3fe": {
"name": "repo.list#2",
"args": [
{
"name": "method",
"value": "repo.list"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-5",
"ok": true,
"result": {
"repos": [
{
"id": "repo-9",
"worktreeBaseRef": "origin/main"
}
]
}
}
}
},
"67a8e862c3ba": {
"name": "worktree.show#1",
"args": [
{
"name": "method",
"value": "worktree.show"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"worktree": {
"baseRef": "origin/main",
"linkedPR": 12
}
}
}
}
},
"6e017fb85c11": {
"name": "git.branchCompare#2",
"args": [
{
"name": "method",
"value": "git.branchCompare"
},
{
"name": "params",
"value": {
"baseRef": "origin/main",
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-6",
"ok": true,
"result": {
"entries": [],
"summary": {}
}
}
}
},
"78b49c8df1cc": {
"name": "git.branchCompare#1",
"args": [
{
"name": "method",
"value": "git.branchCompare"
},
{
"name": "params",
"value": {
"baseRef": "origin/main",
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "forbidden",
"message": "git is not available"
},
"id": "frame-3",
"ok": false
}
}
},
"8631a8317157": {
"name": "worktree.show#2",
"args": [
{
"name": "method",
"value": "worktree.show"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-4",
"ok": true,
"result": {
"worktree": {
"baseRef": "origin/main",
"linkedPR": 12
}
}
}
}
},
"9f5d0ac26269": {
"branchCompare": {
"result": {
"$rpc": "null"
}
},
"diff": "unloaded",
"snapshot": "unloaded"
},
"a3e1aa9bf7e3": {
"branchCompare": {
"error": "Committed changes response was invalid",
"result": {
"$rpc": "null"
}
},
"diff": "unloaded",
"snapshot": "unloaded"
},
"eb882796a820": {
"name": "repo.list#1",
"args": [
{
"name": "method",
"value": "repo.list"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"repos": [
{
"id": "repo-9",
"worktreeBaseRef": "origin/main"
}
]
}
}
}
},
"ef9013648cfb": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"result": {
"$rpc": "null"
}
}
}
},
"recording": {
"scenario": "diff-review-branch-compare",
"checkpoints": [
{
"id": "unavailable",
"observation": {
"sender": ["67a8e862c3ba", "eb882796a820", "78b49c8df1cc"],
"payloads": ["1bf084a7263a", "594101d24d72", "54ee9546dc6f"],
"settlements": {
"unavailable": "ef9013648cfb"
},
"state": "9f5d0ac26269",
"effects": []
}
},
{
"id": "invalid",
"observation": {
"sender": [
"67a8e862c3ba",
"eb882796a820",
"78b49c8df1cc",
"8631a8317157",
"632a4405f3fe",
"6e017fb85c11"
],
"payloads": [
"1bf084a7263a",
"594101d24d72",
"54ee9546dc6f",
"31bd76fdf517",
"25793d7c00a5",
"4337656f224b"
],
"settlements": {
"unavailable": "ef9013648cfb",
"invalid": "229fc359ecb7"
},
"state": "a3e1aa9bf7e3",
"effects": []
}
}
]
}
}
@@ -0,0 +1,118 @@
{
"operation": "session.diff-review-load",
"family": "session.diff-review",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "a8016eb61915cf80a3bdeb622ee67d35be8b4b9862a75e4ef2e8f4ff8e93e7f2",
"scenarioSha256": "6c71b0f217a464dffbc6f5736605b840edac74ebaf0664edc0ab85984bb64328",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"365c17523d76": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"itemKey": "branch:src/app.ts",
"kind": "binary"
}
},
"37ae1f091153": {
"name": "git.branchDiff#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchDiff\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"filePath\":\"src/app.ts\",\"compare\":{\"baseRef\":\"origin/main\",\"baseOid\":\"base-oid\",\"headOid\":\"head-oid\",\"mergeBase\":\"merge-base\"}}}"
},
"38fb361f406c": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "Committed diff is unavailable",
"isRpcDeliveryUnknown": false
}
},
"534cf7badcbc": {
"branchCompare": "unloaded",
"diff": {
"itemKey": "branch:src/app.ts",
"kind": "binary"
},
"snapshot": "unloaded"
},
"ce89618d90b4": {
"name": "git.branchDiff#1",
"args": [
{
"name": "method",
"value": "git.branchDiff"
},
{
"name": "params",
"value": {
"compare": {
"baseOid": "base-oid",
"baseRef": "origin/main",
"headOid": "head-oid",
"mergeBase": "merge-base"
},
"filePath": "src/app.ts",
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"kind": "binary"
}
}
}
}
},
"recording": {
"scenario": "diff-review-branch-file-diff",
"checkpoints": [
{
"id": "branch",
"observation": {
"sender": ["ce89618d90b4"],
"payloads": ["37ae1f091153"],
"settlements": {
"branch": "365c17523d76"
},
"state": "534cf7badcbc",
"effects": []
}
},
{
"id": "no-compare",
"observation": {
"sender": ["ce89618d90b4"],
"payloads": ["37ae1f091153"],
"settlements": {
"branch": "365c17523d76",
"no-compare": "38fb361f406c"
},
"state": "534cf7badcbc",
"effects": []
}
}
]
}
}
@@ -0,0 +1,353 @@
{
"operation": "session.diff-review-load",
"family": "session.diff-review",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "a8016eb61915cf80a3bdeb622ee67d35be8b4b9862a75e4ef2e8f4ff8e93e7f2",
"scenarioSha256": "3e7fa054f77587b9ac24b6732a9926273b0f2ff35a266e633d0ccd1dada932cc",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"2432ad799433": {
"name": "repo.list#1",
"args": [
{
"name": "method",
"value": "repo.list"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-3",
"ok": true,
"result": {
"repos": [
{
"id": "repo-9",
"worktreeBaseRef": "origin/main"
}
]
}
}
}
},
"26accd69bc48": {
"name": "repo.list#1",
"args": [
{
"name": "method",
"value": "repo.list"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"3179b4e89c80": {
"name": "repo.list#1",
"json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}"
},
"317a243394fa": {
"name": "git.status#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}"
},
"31bd76fdf517": {
"name": "worktree.show#2",
"json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}"
},
"3ec8052ccdb3": {
"name": "worktree.show#1",
"args": [
{
"name": "method",
"value": "worktree.show"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"worktree": {
"baseRef": "origin/main",
"linkedPR": 12
}
}
}
}
},
"3fa5df34c660": {
"name": "worktree.show#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}"
},
"3feccf790548": {
"name": "git.status#1",
"args": [
{
"name": "method",
"value": "git.status"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"branch": "feature",
"entries": [
{
"added": 3,
"area": "unstaged",
"path": "src/app.ts",
"removed": 1,
"status": "modified"
}
],
"head": "head-sha-1",
"upstreamStatus": {
"ahead": 1,
"behind": 0,
"hasUpstream": true
}
}
}
}
},
"75ceb6a12cfd": {
"name": "git.branchCompare#1",
"json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}"
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"c70359272e10": {
"name": "worktree.show#1",
"args": [
{
"name": "method",
"value": "worktree.show"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"da3aebbee6f2": {
"name": "git.branchCompare#1",
"args": [
{
"name": "method",
"value": "git.branchCompare"
},
{
"name": "params",
"value": {
"baseRef": "origin/main",
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-5",
"ok": true,
"result": {
"entries": [
{
"added": 1,
"path": "src/old.ts",
"removed": 0,
"status": "modified"
}
],
"summary": {
"baseOid": "base-oid",
"baseRef": "origin/main",
"changedFiles": 1,
"compareRef": "feature",
"headOid": "head-oid",
"mergeBase": "merge-base",
"status": "ready"
}
}
}
}
},
"e39817462870": {
"branchCompare": "unloaded",
"diff": "unloaded",
"snapshot": "unloaded"
},
"eae2ae6e9c42": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "notes unavailable",
"isRpcDeliveryUnknown": false
}
},
"ed34044b22f4": {
"name": "worktree.show#2",
"args": [
{
"name": "method",
"value": "worktree.show"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "internal",
"message": "notes unavailable"
},
"id": "frame-4",
"ok": false
}
}
}
},
"recording": {
"scenario": "diff-review-notes-refused-before-compare",
"checkpoints": [
{
"id": "notes-refused",
"observation": {
"sender": ["3feccf790548", "c70359272e10", "26accd69bc48", "ed34044b22f4"],
"payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "31bd76fdf517"],
"settlements": {
"snapshot": "9270aeb7d9c6"
},
"state": "e39817462870",
"effects": []
}
},
{
"id": "settled",
"observation": {
"sender": [
"3feccf790548",
"3ec8052ccdb3",
"2432ad799433",
"ed34044b22f4",
"da3aebbee6f2"
],
"payloads": [
"317a243394fa",
"3fa5df34c660",
"3179b4e89c80",
"31bd76fdf517",
"75ceb6a12cfd"
],
"settlements": {
"snapshot": "eae2ae6e9c42"
},
"state": "e39817462870",
"effects": []
}
}
]
}
}
@@ -0,0 +1,225 @@
{
"operation": "session.diff-review-load",
"family": "session.diff-review",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "a8016eb61915cf80a3bdeb622ee67d35be8b4b9862a75e4ef2e8f4ff8e93e7f2",
"scenarioSha256": "d1b04fe2945a2799ac8465d8fd9e45ab790ae29b401a0cf4fef68ebc5fa3cc76",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"0698901154de": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"itemKey": "unstaged:src/app.ts",
"kind": "too-large"
}
},
"2ecd0366533c": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"itemKey": "unstaged:src/app.ts",
"kind": "deleted"
}
},
"505493c5c2e4": {
"name": "git.diff#3",
"json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"filePath\":\"src/app.ts\",\"staged\":false}}"
},
"5768cc374e1d": {
"branchCompare": "unloaded",
"diff": {
"itemKey": "unstaged:src/app.ts",
"kind": "too-large"
},
"snapshot": "unloaded"
},
"5d5bb4ccf70d": {
"name": "git.diff#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"filePath\":\"src/app.ts\",\"staged\":false}}"
},
"67daf7391fee": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "Unable to load diff",
"isRpcDeliveryUnknown": false
}
},
"7994a1073c64": {
"name": "git.diff#2",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"filePath\":\"src/app.ts\",\"staged\":false}}"
},
"a58da3417608": {
"name": "git.diff#3",
"args": [
{
"name": "method",
"value": "git.diff"
},
{
"name": "params",
"value": {
"filePath": "src/app.ts",
"staged": false,
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "internal",
"message": ""
},
"id": "frame-3",
"ok": false
}
}
},
"c40409188ab0": {
"name": "git.diff#2",
"args": [
{
"name": "method",
"value": "git.diff"
},
{
"name": "params",
"value": {
"filePath": "src/app.ts",
"staged": false,
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "internal",
"message": "boom"
},
"id": "frame-2",
"ok": false
}
}
},
"dde75a860803": {
"name": "git.diff#1",
"args": [
{
"name": "method",
"value": "git.diff"
},
{
"name": "params",
"value": {
"filePath": "src/app.ts",
"staged": false,
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "diff_too_large",
"message": "Diff exceeds the limit"
},
"id": "frame-1",
"ok": false
}
}
},
"f10ae0495f82": {
"branchCompare": "unloaded",
"diff": {
"itemKey": "unstaged:src/app.ts",
"kind": "deleted"
},
"snapshot": "unloaded"
}
},
"recording": {
"scenario": "diff-review-refused-file-diff",
"checkpoints": [
{
"id": "diff-too-large",
"observation": {
"sender": ["dde75a860803"],
"payloads": ["5d5bb4ccf70d"],
"settlements": {
"diff-too-large": "0698901154de"
},
"state": "5768cc374e1d",
"effects": []
}
},
{
"id": "deleted",
"observation": {
"sender": ["dde75a860803", "c40409188ab0"],
"payloads": ["5d5bb4ccf70d", "7994a1073c64"],
"settlements": {
"diff-too-large": "0698901154de",
"deleted": "2ecd0366533c"
},
"state": "f10ae0495f82",
"effects": []
}
},
{
"id": "refused",
"observation": {
"sender": ["dde75a860803", "c40409188ab0", "a58da3417608"],
"payloads": ["5d5bb4ccf70d", "7994a1073c64", "505493c5c2e4"],
"settlements": {
"diff-too-large": "0698901154de",
"deleted": "2ecd0366533c",
"refused": "67daf7391fee"
},
"state": "f10ae0495f82",
"effects": []
}
}
]
}
}
@@ -0,0 +1,579 @@
{
"operation": "session.diff-review-load",
"family": "session.diff-review",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "a8016eb61915cf80a3bdeb622ee67d35be8b4b9862a75e4ef2e8f4ff8e93e7f2",
"scenarioSha256": "fa0a81462196458fdded5b7c00aa4e73975c2111afdd8dac115871490a481da2",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"2432ad799433": {
"name": "repo.list#1",
"args": [
{
"name": "method",
"value": "repo.list"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-3",
"ok": true,
"result": {
"repos": [
{
"id": "repo-9",
"worktreeBaseRef": "origin/main"
}
]
}
}
}
},
"3179b4e89c80": {
"name": "repo.list#1",
"json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}"
},
"317a243394fa": {
"name": "git.status#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}"
},
"31bd76fdf517": {
"name": "worktree.show#2",
"json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}"
},
"3ec8052ccdb3": {
"name": "worktree.show#1",
"args": [
{
"name": "method",
"value": "worktree.show"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"worktree": {
"baseRef": "origin/main",
"linkedPR": 12
}
}
}
}
},
"3fa5df34c660": {
"name": "worktree.show#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}"
},
"3feccf790548": {
"name": "git.status#1",
"args": [
{
"name": "method",
"value": "git.status"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"branch": "feature",
"entries": [
{
"added": 3,
"area": "unstaged",
"path": "src/app.ts",
"removed": 1,
"status": "modified"
}
],
"head": "head-sha-1",
"upstreamStatus": {
"ahead": 1,
"behind": 0,
"hasUpstream": true
}
}
}
}
},
"4cb3f61eba79": {
"name": "worktree.show#2",
"args": [
{
"name": "method",
"value": "worktree.show"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-4",
"ok": true,
"result": {
"worktree": {
"diffComments": [],
"mobileDiffReview": {
"files": []
}
}
}
}
}
},
"75ceb6a12cfd": {
"name": "git.branchCompare#1",
"json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}"
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"b8b93d3f8005": {
"name": "git.status#1",
"args": [
{
"name": "method",
"value": "git.status"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"da3aebbee6f2": {
"name": "git.branchCompare#1",
"args": [
{
"name": "method",
"value": "git.branchCompare"
},
{
"name": "params",
"value": {
"baseRef": "origin/main",
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-5",
"ok": true,
"result": {
"entries": [
{
"added": 1,
"path": "src/old.ts",
"removed": 0,
"status": "modified"
}
],
"summary": {
"baseOid": "base-oid",
"baseRef": "origin/main",
"changedFiles": 1,
"compareRef": "feature",
"headOid": "head-oid",
"mergeBase": "merge-base",
"status": "ready"
}
}
}
}
},
"e13943e37fc3": {
"branchCompare": "unloaded",
"diff": "unloaded",
"snapshot": {
"branchCompare": {
"entries": [
{
"added": 1,
"oldPath": {
"$rpc": "undefined"
},
"path": "src/old.ts",
"removed": 0,
"status": "modified"
}
],
"summary": {
"baseOid": "base-oid",
"baseRef": "origin/main",
"changedFiles": 1,
"commitsAhead": {
"$rpc": "undefined"
},
"compareRef": "feature",
"errorMessage": {
"$rpc": "undefined"
},
"headOid": "head-oid",
"mergeBase": "merge-base",
"status": "ready"
}
},
"branchError": {
"$rpc": "undefined"
},
"comments": [],
"kind": "ready",
"reviewState": {
"completedAt": {
"$rpc": "undefined"
},
"files": {
"branch\u0000branch\u0000\u0000src/old.ts": {
"filePath": "src/old.ts",
"key": "branch\u0000branch\u0000\u0000src/old.ts",
"lastOpenedAt": {
"$rpc": "undefined"
},
"lastSeenDiffIdentity": {
"$rpc": "undefined"
},
"oldPath": {
"$rpc": "undefined"
},
"reviewDiffIdentity": {
"$rpc": "undefined"
},
"reviewedAt": {
"$rpc": "undefined"
},
"scope": "branch"
},
"unstaged\u0000unstaged\u0000\u0000src/app.ts": {
"filePath": "src/app.ts",
"key": "unstaged\u0000unstaged\u0000\u0000src/app.ts",
"lastOpenedAt": {
"$rpc": "undefined"
},
"lastSeenDiffIdentity": {
"$rpc": "undefined"
},
"oldPath": {
"$rpc": "undefined"
},
"reviewDiffIdentity": {
"$rpc": "undefined"
},
"reviewedAt": {
"$rpc": "undefined"
},
"scope": "unstaged"
}
},
"updatedAt": 1767225600000,
"version": 1
},
"status": {
"branch": "feature",
"conflictOperation": "unknown",
"entries": [
{
"added": 3,
"area": "unstaged",
"conflictKind": {
"$rpc": "undefined"
},
"conflictStatus": {
"$rpc": "undefined"
},
"conflictStatusSource": {
"$rpc": "undefined"
},
"oldPath": {
"$rpc": "undefined"
},
"path": "src/app.ts",
"removed": 1,
"status": "modified"
}
],
"head": "head-sha-1",
"upstreamStatus": {
"ahead": 1,
"behind": 0,
"behindCommitsArePatchEquivalent": {
"$rpc": "undefined"
},
"hasConfiguredPushTarget": {
"$rpc": "undefined"
},
"hasUpstream": true,
"upstreamName": {
"$rpc": "undefined"
}
}
}
}
},
"e39817462870": {
"branchCompare": "unloaded",
"diff": "unloaded",
"snapshot": "unloaded"
},
"f880a1519497": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"branchCompare": {
"entries": [
{
"added": 1,
"oldPath": {
"$rpc": "undefined"
},
"path": "src/old.ts",
"removed": 0,
"status": "modified"
}
],
"summary": {
"baseOid": "base-oid",
"baseRef": "origin/main",
"changedFiles": 1,
"commitsAhead": {
"$rpc": "undefined"
},
"compareRef": "feature",
"errorMessage": {
"$rpc": "undefined"
},
"headOid": "head-oid",
"mergeBase": "merge-base",
"status": "ready"
}
},
"branchError": {
"$rpc": "undefined"
},
"comments": [],
"kind": "ready",
"reviewState": {
"completedAt": {
"$rpc": "undefined"
},
"files": {
"branch\u0000branch\u0000\u0000src/old.ts": {
"filePath": "src/old.ts",
"key": "branch\u0000branch\u0000\u0000src/old.ts",
"lastOpenedAt": {
"$rpc": "undefined"
},
"lastSeenDiffIdentity": {
"$rpc": "undefined"
},
"oldPath": {
"$rpc": "undefined"
},
"reviewDiffIdentity": {
"$rpc": "undefined"
},
"reviewedAt": {
"$rpc": "undefined"
},
"scope": "branch"
},
"unstaged\u0000unstaged\u0000\u0000src/app.ts": {
"filePath": "src/app.ts",
"key": "unstaged\u0000unstaged\u0000\u0000src/app.ts",
"lastOpenedAt": {
"$rpc": "undefined"
},
"lastSeenDiffIdentity": {
"$rpc": "undefined"
},
"oldPath": {
"$rpc": "undefined"
},
"reviewDiffIdentity": {
"$rpc": "undefined"
},
"reviewedAt": {
"$rpc": "undefined"
},
"scope": "unstaged"
}
},
"updatedAt": 1767225600000,
"version": 1
},
"status": {
"branch": "feature",
"conflictOperation": "unknown",
"entries": [
{
"added": 3,
"area": "unstaged",
"conflictKind": {
"$rpc": "undefined"
},
"conflictStatus": {
"$rpc": "undefined"
},
"conflictStatusSource": {
"$rpc": "undefined"
},
"oldPath": {
"$rpc": "undefined"
},
"path": "src/app.ts",
"removed": 1,
"status": "modified"
}
],
"head": "head-sha-1",
"upstreamStatus": {
"ahead": 1,
"behind": 0,
"behindCommitsArePatchEquivalent": {
"$rpc": "undefined"
},
"hasConfiguredPushTarget": {
"$rpc": "undefined"
},
"hasUpstream": true,
"upstreamName": {
"$rpc": "undefined"
}
}
}
}
}
},
"recording": {
"scenario": "diff-review-snapshot",
"checkpoints": [
{
"id": "pending",
"observation": {
"sender": ["b8b93d3f8005"],
"payloads": ["317a243394fa"],
"settlements": {
"snapshot": "9270aeb7d9c6"
},
"state": "e39817462870",
"effects": []
}
},
{
"id": "snapshot",
"observation": {
"sender": [
"3feccf790548",
"3ec8052ccdb3",
"2432ad799433",
"4cb3f61eba79",
"da3aebbee6f2"
],
"payloads": [
"317a243394fa",
"3fa5df34c660",
"3179b4e89c80",
"31bd76fdf517",
"75ceb6a12cfd"
],
"settlements": {
"snapshot": "f880a1519497"
},
"state": "e13943e37fc3",
"effects": []
}
}
]
}
}
@@ -0,0 +1,89 @@
{
"operation": "session.diff-review-load",
"family": "session.diff-review",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "a8016eb61915cf80a3bdeb622ee67d35be8b4b9862a75e4ef2e8f4ff8e93e7f2",
"scenarioSha256": "182f37fbe6ae7c0694b50d603ecd4a03bc9a8c7c9738ebb775b47eb5f3b9660f",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"14804a5e414f": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"kind": "unavailable",
"message": "Update Orca desktop to review changes on mobile."
}
},
"317a243394fa": {
"name": "git.status#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}"
},
"55c07df45014": {
"branchCompare": "unloaded",
"diff": "unloaded",
"snapshot": {
"kind": "unavailable",
"message": "Update Orca desktop to review changes on mobile."
}
},
"93b9682c496c": {
"name": "git.status#1",
"args": [
{
"name": "method",
"value": "git.status"
},
{
"name": "params",
"value": {
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "method_not_found",
"message": "Unknown method"
},
"id": "frame-1",
"ok": false
}
}
}
},
"recording": {
"scenario": "diff-review-status-unavailable",
"checkpoints": [
{
"id": "unavailable",
"observation": {
"sender": ["93b9682c496c"],
"payloads": ["317a243394fa"],
"settlements": {
"unavailable": "14804a5e414f"
},
"state": "55c07df45014",
"effects": []
}
}
]
}
}
@@ -0,0 +1,225 @@
{
"operation": "session.diff-review-load",
"family": "session.diff-review",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "a8016eb61915cf80a3bdeb622ee67d35be8b4b9862a75e4ef2e8f4ff8e93e7f2",
"scenarioSha256": "538b68485a2268d311fcc7e13ff1a3e446ba4aa010bc18633af8e938a6688257",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"411c5ed8537e": {
"name": "git.diff#2",
"args": [
{
"name": "method",
"value": "git.diff"
},
{
"name": "params",
"value": {
"filePath": "src/app.ts",
"staged": true,
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"byteLength": 2048,
"kind": "too-large"
}
}
}
},
"505493c5c2e4": {
"name": "git.diff#3",
"json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"filePath\":\"src/app.ts\",\"staged\":false}}"
},
"55227363ca22": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "Diff response was invalid",
"isRpcDeliveryUnknown": false
}
},
"5d5bb4ccf70d": {
"name": "git.diff#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"filePath\":\"src/app.ts\",\"staged\":false}}"
},
"66c8c0206a53": {
"name": "git.diff#3",
"args": [
{
"name": "method",
"value": "git.diff"
},
{
"name": "params",
"value": {
"filePath": "src/app.ts",
"staged": false,
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-3",
"ok": true,
"result": {
"kind": "unknown"
}
}
}
},
"717bd1fbc163": {
"branchCompare": "unloaded",
"diff": {
"byteLength": 2048,
"itemKey": "staged:src/app.ts",
"kind": "too-large"
},
"snapshot": "unloaded"
},
"84090dfad90d": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"itemKey": "unstaged:src/app.ts",
"kind": "binary"
}
},
"8675e0f40158": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"byteLength": 2048,
"itemKey": "staged:src/app.ts",
"kind": "too-large"
}
},
"9d975272847c": {
"name": "git.diff#1",
"args": [
{
"name": "method",
"value": "git.diff"
},
{
"name": "params",
"value": {
"filePath": "src/app.ts",
"staged": false,
"worktree": "id:repo-9::/w"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"kind": "binary"
}
}
}
},
"f5b40bc1bb4b": {
"name": "git.diff#2",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"filePath\":\"src/app.ts\",\"staged\":true}}"
},
"f68945ffc2ea": {
"branchCompare": "unloaded",
"diff": {
"itemKey": "unstaged:src/app.ts",
"kind": "binary"
},
"snapshot": "unloaded"
}
},
"recording": {
"scenario": "diff-review-worktree-file-diff",
"checkpoints": [
{
"id": "binary",
"observation": {
"sender": ["9d975272847c"],
"payloads": ["5d5bb4ccf70d"],
"settlements": {
"binary": "84090dfad90d"
},
"state": "f68945ffc2ea",
"effects": []
}
},
{
"id": "too-large",
"observation": {
"sender": ["9d975272847c", "411c5ed8537e"],
"payloads": ["5d5bb4ccf70d", "f5b40bc1bb4b"],
"settlements": {
"binary": "84090dfad90d",
"too-large": "8675e0f40158"
},
"state": "717bd1fbc163",
"effects": []
}
},
{
"id": "invalid",
"observation": {
"sender": ["9d975272847c", "411c5ed8537e", "66c8c0206a53"],
"payloads": ["5d5bb4ccf70d", "f5b40bc1bb4b", "505493c5c2e4"],
"settlements": {
"binary": "84090dfad90d",
"too-large": "8675e0f40158",
"invalid": "55227363ca22"
},
"state": "717bd1fbc163",
"effects": []
}
}
]
}
}
@@ -0,0 +1,142 @@
{
"operation": "files.terminal-path-tap",
"family": "files.terminal-path-tap",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "e20a76ecd5e820dc4797fb25307810af68b5ced996dba2b9599464a21b5cbe1b",
"scenarioSha256": "a927e85c3ae58cd3b017955fe28aeffec6a5471b51d782f116639a3aaf4af77d",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"18cda90904c3": {
"name": "files.resolveTerminalPath#1",
"args": [
{
"name": "method",
"value": "files.resolveTerminalPath"
},
{
"name": "params",
"value": {
"crossWorkspace": true,
"cwd": "/repo",
"pathText": "src/app.ts",
"terminal": "terminal-1",
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 10000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"exists": true,
"isDirectory": false,
"openTarget": {
"absolutePath": "/repo/src/app.ts",
"kind": "worktree-file",
"provider": "ssh",
"relativePath": "src/app.ts"
},
"relativePath": "src/app.ts"
}
}
}
},
"1d18c66a85d5": {
"name": "open-feedback",
"value": {},
"sent": 1
},
"9a73d7a9fdc6": {
"name": "files.open#1",
"args": [
{
"name": "method",
"value": "files.open"
},
{
"name": "params",
"value": {
"relativePath": "src/app.ts",
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 15000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "file_locked",
"message": "File is locked"
},
"id": "frame-2",
"ok": false
}
}
},
"c7ce9c8dc60e": {
"activeSessionTabId": "tab-source",
"failed": 1,
"switched": {
"$rpc": "null"
}
},
"d88940bfb593": {
"name": "files.resolveTerminalPath#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.resolveTerminalPath\",\"params\":{\"worktree\":\"id:workspace-1\",\"pathText\":\"src/app.ts\",\"crossWorkspace\":true,\"terminal\":\"terminal-1\",\"cwd\":\"/repo\"}}"
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
},
"f334b291fecc": {
"name": "files.open#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.open\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"src/app.ts\"}}"
}
},
"recording": {
"scenario": "file-tap-open-refused",
"checkpoints": [
{
"id": "open-refused",
"observation": {
"sender": ["18cda90904c3", "9a73d7a9fdc6"],
"payloads": ["d88940bfb593", "f334b291fecc"],
"settlements": {
"tap": "eb79a9b3682a"
},
"state": "c7ce9c8dc60e",
"effects": ["1d18c66a85d5"]
}
}
]
}
}
@@ -0,0 +1,172 @@
{
"operation": "files.terminal-path-tap",
"family": "files.terminal-path-tap",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "e20a76ecd5e820dc4797fb25307810af68b5ced996dba2b9599464a21b5cbe1b",
"scenarioSha256": "297ea4075333e178ca20247eb0abf6600efb44fe2b33f5142d1c1cabffb5a2d3",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"18cda90904c3": {
"name": "files.resolveTerminalPath#1",
"args": [
{
"name": "method",
"value": "files.resolveTerminalPath"
},
{
"name": "params",
"value": {
"crossWorkspace": true,
"cwd": "/repo",
"pathText": "src/app.ts",
"terminal": "terminal-1",
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 10000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"exists": true,
"isDirectory": false,
"openTarget": {
"absolutePath": "/repo/src/app.ts",
"kind": "worktree-file",
"provider": "ssh",
"relativePath": "src/app.ts"
},
"relativePath": "src/app.ts"
}
}
}
},
"1d18c66a85d5": {
"name": "open-feedback",
"value": {},
"sent": 1
},
"4301fd620304": {
"name": "fetch-session-tabs",
"value": {},
"sent": 2
},
"b765beef262e": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": [
{
"id": "tab-opened",
"relativePath": "src/app.ts"
}
]
},
"d88940bfb593": {
"name": "files.resolveTerminalPath#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.resolveTerminalPath\",\"params\":{\"worktree\":\"id:workspace-1\",\"pathText\":\"src/app.ts\",\"crossWorkspace\":true,\"terminal\":\"terminal-1\",\"cwd\":\"/repo\"}}"
},
"d9a357a79330": {
"name": "files.open#1",
"args": [
{
"name": "method",
"value": "files.open"
},
{
"name": "params",
"value": {
"relativePath": "src/app.ts",
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 15000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"opened": true
}
}
}
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
},
"f334b291fecc": {
"name": "files.open#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.open\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"src/app.ts\"}}"
},
"f8a009b4a36e": {
"activeSessionTabId": "tab-opened",
"failed": 0,
"switched": {
"id": "tab-opened",
"relativePath": "src/app.ts"
}
}
},
"recording": {
"scenario": "file-tap-opens-worktree-file",
"checkpoints": [
{
"id": "switched",
"observation": {
"sender": ["18cda90904c3", "d9a357a79330"],
"payloads": ["d88940bfb593", "f334b291fecc"],
"settlements": {
"tap": "eb79a9b3682a",
"list": "b765beef262e"
},
"state": "f8a009b4a36e",
"effects": ["1d18c66a85d5", "4301fd620304"]
}
},
{
"id": "settled",
"observation": {
"sender": ["18cda90904c3", "d9a357a79330"],
"payloads": ["d88940bfb593", "f334b291fecc"],
"settlements": {
"tap": "eb79a9b3682a",
"list": "b765beef262e"
},
"state": "f8a009b4a36e",
"effects": ["1d18c66a85d5", "4301fd620304"]
}
}
]
}
}
@@ -0,0 +1,120 @@
{
"operation": "files.terminal-path-tap",
"family": "files.terminal-path-tap",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "e20a76ecd5e820dc4797fb25307810af68b5ced996dba2b9599464a21b5cbe1b",
"scenarioSha256": "f1844c2608ce90250fddfc78c0b35bb1bf3647598a5ab2914eca0d8cb4403a38",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"1d18c66a85d5": {
"name": "open-feedback",
"value": {},
"sent": 1
},
"403de322e21f": {
"name": "files.resolveTerminalPath#1",
"args": [
{
"name": "method",
"value": "files.resolveTerminalPath"
},
{
"name": "params",
"value": {
"crossWorkspace": true,
"cwd": "/repo",
"pathText": "src/app.ts",
"terminal": "terminal-1",
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 10000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"exists": true,
"isDirectory": false,
"openTarget": {
"absolutePath": "/logs/run.txt",
"grantId": "grant-1",
"kind": "absolute-file"
}
}
}
}
},
"53fb9b1f36f9": {
"activeSessionTabId": "tab-source",
"failed": 0,
"switched": {
"$rpc": "null"
}
},
"d88940bfb593": {
"name": "files.resolveTerminalPath#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.resolveTerminalPath\",\"params\":{\"worktree\":\"id:workspace-1\",\"pathText\":\"src/app.ts\",\"crossWorkspace\":true,\"terminal\":\"terminal-1\",\"cwd\":\"/repo\"}}"
},
"e8e7c23384dc": {
"name": "push-preview-route",
"value": {
"params": {
"absolutePath": "/logs/run.txt",
"cwd": "/repo",
"grantId": "grant-1",
"hostId": "host-1",
"name": "run.txt",
"pathText": "src/app.ts",
"source": "terminalArtifact",
"terminal": "terminal-1",
"worktreeId": "workspace-1",
"worktreeName": "workspace"
},
"pathname": "/h/[hostId]/files/preview/[worktreeId]"
},
"sent": 1
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
}
},
"recording": {
"scenario": "file-tap-previews-absolute-artifact",
"checkpoints": [
{
"id": "previewed",
"observation": {
"sender": ["403de322e21f"],
"payloads": ["d88940bfb593"],
"settlements": {
"tap": "eb79a9b3682a"
},
"state": "53fb9b1f36f9",
"effects": ["1d18c66a85d5", "e8e7c23384dc"]
}
}
]
}
}
@@ -0,0 +1,91 @@
{
"operation": "files.terminal-path-tap",
"family": "files.terminal-path-tap",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "e20a76ecd5e820dc4797fb25307810af68b5ced996dba2b9599464a21b5cbe1b",
"scenarioSha256": "0f76b96408081737b3d630ee837dbb80bcce6670b6acc4f1f7c033a69bd40533",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"b03e10f6707b": {
"name": "files.resolveTerminalPath#1",
"args": [
{
"name": "method",
"value": "files.resolveTerminalPath"
},
{
"name": "params",
"value": {
"crossWorkspace": true,
"cwd": "/repo",
"pathText": "src/app.ts",
"terminal": "terminal-1",
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 10000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"exists": false,
"isDirectory": false
}
}
}
},
"c7ce9c8dc60e": {
"activeSessionTabId": "tab-source",
"failed": 1,
"switched": {
"$rpc": "null"
}
},
"d88940bfb593": {
"name": "files.resolveTerminalPath#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.resolveTerminalPath\",\"params\":{\"worktree\":\"id:workspace-1\",\"pathText\":\"src/app.ts\",\"crossWorkspace\":true,\"terminal\":\"terminal-1\",\"cwd\":\"/repo\"}}"
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
}
},
"recording": {
"scenario": "file-tap-resolve-miss",
"checkpoints": [
{
"id": "missed",
"observation": {
"sender": ["b03e10f6707b"],
"payloads": ["d88940bfb593"],
"settlements": {
"tap": "eb79a9b3682a"
},
"state": "c7ce9c8dc60e",
"effects": []
}
}
]
}
}
@@ -0,0 +1,91 @@
{
"operation": "files.terminal-path-tap",
"family": "files.terminal-path-tap",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "e20a76ecd5e820dc4797fb25307810af68b5ced996dba2b9599464a21b5cbe1b",
"scenarioSha256": "1ada35966dfb65afbb9b3dc8139961b8f042e2d53241b9608a080d0e655a5987",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"8a3fab4d308f": {
"name": "files.resolveTerminalPath#1",
"args": [
{
"name": "method",
"value": "files.resolveTerminalPath"
},
{
"name": "params",
"value": {
"crossWorkspace": true,
"cwd": "/repo",
"pathText": "src/app.ts",
"terminal": "terminal-1",
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 10000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "worktree_not_found",
"message": "No such workspace"
},
"id": "frame-1",
"ok": false
}
}
},
"c7ce9c8dc60e": {
"activeSessionTabId": "tab-source",
"failed": 1,
"switched": {
"$rpc": "null"
}
},
"d88940bfb593": {
"name": "files.resolveTerminalPath#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.resolveTerminalPath\",\"params\":{\"worktree\":\"id:workspace-1\",\"pathText\":\"src/app.ts\",\"crossWorkspace\":true,\"terminal\":\"terminal-1\",\"cwd\":\"/repo\"}}"
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
}
},
"recording": {
"scenario": "file-tap-resolve-refused",
"checkpoints": [
{
"id": "refused",
"observation": {
"sender": ["8a3fab4d308f"],
"payloads": ["d88940bfb593"],
"settlements": {
"tap": "eb79a9b3682a"
},
"state": "c7ce9c8dc60e",
"effects": []
}
}
]
}
}
@@ -0,0 +1,201 @@
{
"operation": "files.explorer-screen",
"family": "files.explorer-screen",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "160421b989563424531fc893a115b95b399d1524ebaf1c91caa8b2862b52eb07",
"scenarioSha256": "ec02d3f76085619fad35231e12654ec6e926e423c6799fd0df53708743000612",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"195987bc4ef2": {
"name": "files.readDir#1",
"args": [
{
"name": "method",
"value": "files.readDir"
},
{
"name": "params",
"value": {
"relativePath": "",
"worktree": "id:wt-files"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"1a3946e517d4": {
"name": "files.list#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.list\",\"params\":{\"worktree\":\"id:wt-files\"}}"
},
"30859af566b0": {
"name": "files.readDir#1",
"args": [
{
"name": "method",
"value": "files.readDir"
},
{
"name": "params",
"value": {
"relativePath": "",
"worktree": "id:wt-files"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "method_not_found",
"message": "Unknown method"
},
"id": "frame-1",
"ok": false
}
}
},
"80bd28a48dda": {
"name": "files.list#1",
"args": [
{
"name": "method",
"value": "files.list"
},
{
"name": "params",
"value": {
"worktree": "id:wt-files"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"files": [
{
"basename": "README.md",
"kind": "text",
"relativePath": "README.md"
},
{
"basename": "app.ts",
"kind": "text",
"relativePath": "src/app.ts"
}
],
"totalCount": 2,
"truncated": true
}
}
}
},
"b5b1bc83b44d": {
"name": "files.readDir#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readDir\",\"params\":{\"worktree\":\"id:wt-files\",\"relativePath\":\"\"}}"
},
"b85511fb8929": {
"crash": {
"$rpc": "null"
},
"elements": {
"ChevronLeft": 1,
"FlatList": 1,
"Pressable": 1,
"SafeAreaView": 1,
"Text": 2,
"View": 3
},
"labels": ["Back to session"],
"rows": ["dir:src", "file:README.md"],
"text": ["Files", "orca-files", " - Showing first 5000"]
},
"e91880eefe86": {
"crash": {
"$rpc": "null"
},
"elements": {
"ActivityIndicator": 1,
"ChevronLeft": 1,
"Pressable": 1,
"SafeAreaView": 1,
"Text": 2,
"View": 4
},
"labels": ["Back to session"],
"rows": [],
"text": ["Files", "orca-files"]
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
}
},
"recording": {
"scenario": "files-explorer-legacy-fallback",
"checkpoints": [
{
"id": "loading",
"observation": {
"sender": ["195987bc4ef2"],
"payloads": ["b5b1bc83b44d"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "e91880eefe86",
"effects": []
}
},
{
"id": "legacy-listed",
"observation": {
"sender": ["30859af566b0", "80bd28a48dda"],
"payloads": ["b5b1bc83b44d", "1a3946e517d4"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "b85511fb8929",
"effects": []
}
}
]
}
}
@@ -0,0 +1,157 @@
{
"operation": "files.explorer-screen",
"family": "files.explorer-screen",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "160421b989563424531fc893a115b95b399d1524ebaf1c91caa8b2862b52eb07",
"scenarioSha256": "0b87a230cf1c4219e415c840a088502c8bda7cd2fb525bde1a83a5903d6fd96b",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"195987bc4ef2": {
"name": "files.readDir#1",
"args": [
{
"name": "method",
"value": "files.readDir"
},
{
"name": "params",
"value": {
"relativePath": "",
"worktree": "id:wt-files"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"1fac8f3b8f44": {
"crash": {
"$rpc": "null"
},
"elements": {
"ChevronLeft": 1,
"FlatList": 1,
"Pressable": 1,
"SafeAreaView": 1,
"Text": 2,
"View": 3
},
"labels": ["Back to session"],
"rows": ["dir:src", "file:README.md"],
"text": ["Files", "orca-files"]
},
"23a7ef6123a7": {
"name": "files.readDir#1",
"args": [
{
"name": "method",
"value": "files.readDir"
},
{
"name": "params",
"value": {
"relativePath": "",
"worktree": "id:wt-files"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": [
{
"isDirectory": true,
"name": "src"
},
{
"isDirectory": false,
"name": "README.md"
}
]
}
}
},
"b5b1bc83b44d": {
"name": "files.readDir#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readDir\",\"params\":{\"worktree\":\"id:wt-files\",\"relativePath\":\"\"}}"
},
"e91880eefe86": {
"crash": {
"$rpc": "null"
},
"elements": {
"ActivityIndicator": 1,
"ChevronLeft": 1,
"Pressable": 1,
"SafeAreaView": 1,
"Text": 2,
"View": 4
},
"labels": ["Back to session"],
"rows": [],
"text": ["Files", "orca-files"]
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
}
},
"recording": {
"scenario": "files-explorer-readdir",
"checkpoints": [
{
"id": "loading",
"observation": {
"sender": ["195987bc4ef2"],
"payloads": ["b5b1bc83b44d"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "e91880eefe86",
"effects": []
}
},
{
"id": "listed",
"observation": {
"sender": ["23a7ef6123a7"],
"payloads": ["b5b1bc83b44d"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "1fac8f3b8f44",
"effects": []
}
}
]
}
}
@@ -0,0 +1,123 @@
{
"operation": "files.mutation-ownership",
"family": "files.mutation-ownership",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309",
"scenarioSha256": "8d24f52eb4194c3bc5d9f0dcabade6d7a09c066f79f911657647ed21dbecb3b1",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"1e5b32902af7": {
"name": "status.get#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}"
},
"548f05412e41": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"expectedExecutionHostId": "local"
}
},
"8bdc2aec524d": {
"name": "worktree.show#1",
"args": [
{
"name": "method",
"value": "worktree.show"
},
{
"name": "params",
"value": {
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 15000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"worktree": {
"hostId": "local"
}
}
}
}
},
"9199aee60486": {
"name": "worktree.show#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}"
},
"a56852d6836b": {
"name": "status.get#1",
"args": [
{
"name": "method",
"value": "status.get"
},
{
"name": "params",
"value": {
"$rpc": "undefined"
}
},
{
"name": "options",
"value": {
"timeoutMs": 15000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"capabilities": ["files.mutation-ownership.v1"]
}
}
}
},
"bab8756fa040": {
"ownership": {
"expectedExecutionHostId": "local"
}
}
},
"recording": {
"scenario": "files-ownership-local",
"checkpoints": [
{
"id": "settled",
"observation": {
"sender": ["a56852d6836b", "8bdc2aec524d"],
"payloads": ["1e5b32902af7", "9199aee60486"],
"settlements": {
"capture": "548f05412e41"
},
"state": "bab8756fa040",
"effects": []
}
}
]
}
}
@@ -0,0 +1,216 @@
{
"operation": "files.mutation-ownership",
"family": "files.mutation-ownership",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309",
"scenarioSha256": "4cd0be3a1c338b4b68211c717fd10738653c553fdb3b072db6706ff8175a8bd1",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"1e5b32902af7": {
"name": "status.get#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}"
},
"29bfbe94cca9": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"expectedExecutionHostId": "ssh:target-1",
"expectedSshConnectionGeneration": 3,
"expectedSshTargetId": "target-1"
}
},
"518ec57c381a": {
"ownership": "uncaptured"
},
"6116946241ca": {
"name": "ssh.getState#1",
"args": [
{
"name": "method",
"value": "ssh.getState"
},
{
"name": "params",
"value": {
"targetId": "target-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 15000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-3",
"ok": true,
"result": {
"state": {
"connectionGeneration": 3,
"error": {
"$rpc": "null"
},
"reconnectAttempt": 0,
"status": "connected",
"targetId": "target-1"
}
}
}
}
},
"6ef43f81f7e3": {
"name": "worktree.show#1",
"args": [
{
"name": "method",
"value": "worktree.show"
},
{
"name": "params",
"value": {
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 15000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"worktree": {
"hostId": "ssh:target-1"
}
}
}
}
},
"9199aee60486": {
"name": "worktree.show#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}"
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"a0341e6a5d84": {
"name": "ssh.getState#1",
"json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.getState\",\"params\":{\"targetId\":\"target-1\"}}"
},
"a56852d6836b": {
"name": "status.get#1",
"args": [
{
"name": "method",
"value": "status.get"
},
{
"name": "params",
"value": {
"$rpc": "undefined"
}
},
{
"name": "options",
"value": {
"timeoutMs": 15000
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"capabilities": ["files.mutation-ownership.v1"]
}
}
}
},
"bc119660f0c1": {
"name": "status.get#1",
"args": [
{
"name": "method",
"value": "status.get"
},
{
"name": "params",
"value": {
"$rpc": "undefined"
}
},
{
"name": "options",
"value": {
"timeoutMs": 15000
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"bd84dadd27c7": {
"ownership": {
"expectedExecutionHostId": "ssh:target-1",
"expectedSshConnectionGeneration": 3,
"expectedSshTargetId": "target-1"
}
}
},
"recording": {
"scenario": "files-ownership-ssh",
"checkpoints": [
{
"id": "status-pending",
"observation": {
"sender": ["bc119660f0c1"],
"payloads": ["1e5b32902af7"],
"settlements": {
"capture": "9270aeb7d9c6"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "settled",
"observation": {
"sender": ["a56852d6836b", "6ef43f81f7e3", "6116946241ca"],
"payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"],
"settlements": {
"capture": "29bfbe94cca9"
},
"state": "bd84dadd27c7",
"effects": []
}
}
]
}
}
@@ -0,0 +1,96 @@
{
"operation": "files.preview-load",
"family": "files.preview-load",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309",
"scenarioSha256": "dd8b7a0916a84c7d763a163759c02210ae99f8fbccfccaa98796b8610c5da97c",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"194fabd9b9d8": {
"name": "files.readTerminalArtifact#1",
"args": [
{
"name": "method",
"value": "files.readTerminalArtifact"
},
{
"name": "params",
"value": {
"absolutePath": "/logs/run.txt",
"grantId": "grant-1",
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"byteLength": 5,
"content": "hello",
"truncated": false
}
}
}
},
"500d95d47092": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"byteLength": 5,
"content": "hello",
"kind": "text",
"status": "ready",
"truncated": false
}
},
"784ea351e5b2": {
"preview": {
"byteLength": 5,
"content": "hello",
"kind": "text",
"status": "ready",
"truncated": false
}
},
"e0401d205ea2": {
"name": "files.readTerminalArtifact#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\"}}"
}
},
"recording": {
"scenario": "files-preview-artifact-direct",
"checkpoints": [
{
"id": "settled",
"observation": {
"sender": ["194fabd9b9d8"],
"payloads": ["e0401d205ea2"],
"settlements": {
"load": "500d95d47092"
},
"state": "784ea351e5b2",
"effects": []
}
}
]
}
}
@@ -0,0 +1,93 @@
{
"operation": "files.preview-load",
"family": "files.preview-load",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309",
"scenarioSha256": "d15c1f4e0f95b5c49a8f889d2d37458225293d7306c8439690d972d2df4c29c0",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"25b0318e985e": {
"name": "files.readTerminalArtifactPreview#1",
"args": [
{
"name": "method",
"value": "files.readTerminalArtifactPreview"
},
{
"name": "params",
"value": {
"absolutePath": "/logs/shot.png",
"grantId": "grant-1",
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"content": "aGk=",
"isBinary": true,
"isImage": true,
"mimeType": "image/png"
}
}
}
},
"4a07826edb3b": {
"name": "files.readTerminalArtifactPreview#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifactPreview\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/shot.png\",\"grantId\":\"grant-1\"}}"
},
"7659b8b575da": {
"preview": {
"dataUri": "data:image/png;base64,aGk=",
"kind": "image",
"status": "ready"
}
},
"eee847a9d90d": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"dataUri": "data:image/png;base64,aGk=",
"kind": "image",
"status": "ready"
}
}
},
"recording": {
"scenario": "files-preview-artifact-image",
"checkpoints": [
{
"id": "settled",
"observation": {
"sender": ["25b0318e985e"],
"payloads": ["4a07826edb3b"],
"settlements": {
"load": "eee847a9d90d"
},
"state": "7659b8b575da",
"effects": []
}
}
]
}
}
@@ -0,0 +1,241 @@
{
"operation": "files.preview-load",
"family": "files.preview-load",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309",
"scenarioSha256": "055f3b45442c1736f10ee98c493e2ece1885fdb68d925ee627e2ba20853537e0",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"25b0d1737c71": {
"name": "files.readTerminalArtifact#1",
"args": [
{
"name": "method",
"value": "files.readTerminalArtifact"
},
{
"name": "params",
"value": {
"absolutePath": "/logs/run.txt",
"grantId": "grant-1",
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "terminal_file_grant_expired",
"message": "Grant expired"
},
"id": "frame-1",
"ok": false
}
}
},
"3c5492779d85": {
"name": "files.resolveTerminalPath#1",
"args": [
{
"name": "method",
"value": "files.resolveTerminalPath"
},
{
"name": "params",
"value": {
"cwd": "/logs",
"pathText": "run.txt",
"terminal": "terminal-1",
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"exists": true,
"isDirectory": false,
"openTarget": {
"absolutePath": "/logs/run.txt",
"grantId": "grant-2",
"kind": "absolute-file"
}
}
}
}
},
"500d95d47092": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"byteLength": 5,
"content": "hello",
"kind": "text",
"status": "ready",
"truncated": false
}
},
"5f446c109a9a": {
"name": "files.readTerminalArtifact#2",
"args": [
{
"name": "method",
"value": "files.readTerminalArtifact"
},
{
"name": "params",
"value": {
"absolutePath": "/logs/run.txt",
"grantId": "grant-2",
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-3",
"ok": true,
"result": {
"byteLength": 5,
"content": "hello",
"truncated": false
}
}
}
},
"63abc54b3e87": {
"name": "artifact-source-refreshed",
"value": {
"absolutePath": "/logs/run.txt",
"cwd": "/logs",
"grantId": "grant-2",
"pathText": "run.txt",
"source": "terminalArtifact",
"terminalHandle": "terminal-1",
"worktreeId": "workspace-1"
},
"sent": 2
},
"645c5754be42": {
"preview": "unloaded"
},
"784ea351e5b2": {
"preview": {
"byteLength": 5,
"content": "hello",
"kind": "text",
"status": "ready",
"truncated": false
}
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"9a56ffbdd5bf": {
"name": "files.resolveTerminalPath#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.resolveTerminalPath\",\"params\":{\"worktree\":\"id:workspace-1\",\"pathText\":\"run.txt\",\"cwd\":\"/logs\",\"terminal\":\"terminal-1\"}}"
},
"c283e01480f7": {
"name": "files.readTerminalArtifact#2",
"json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-2\"}}"
},
"e0401d205ea2": {
"name": "files.readTerminalArtifact#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\"}}"
},
"e81d5596c201": {
"name": "files.readTerminalArtifact#1",
"args": [
{
"name": "method",
"value": "files.readTerminalArtifact"
},
{
"name": "params",
"value": {
"absolutePath": "/logs/run.txt",
"grantId": "grant-1",
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
}
},
"recording": {
"scenario": "files-preview-grant-refresh",
"checkpoints": [
{
"id": "read-pending",
"observation": {
"sender": ["e81d5596c201"],
"payloads": ["e0401d205ea2"],
"settlements": {
"load": "9270aeb7d9c6"
},
"state": "645c5754be42",
"effects": []
}
},
{
"id": "settled",
"observation": {
"sender": ["25b0d1737c71", "3c5492779d85", "5f446c109a9a"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"],
"settlements": {
"load": "500d95d47092"
},
"state": "784ea351e5b2",
"effects": ["63abc54b3e87"]
}
}
]
}
}
@@ -0,0 +1,92 @@
{
"operation": "files.preview-load",
"family": "files.preview-load",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309",
"scenarioSha256": "0ffaffb472b663e08a42317d799a2a000211dda5b127fb21cc64f04f73800130",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"3acec737cb08": {
"name": "files.readPreview#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readPreview\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/logo.png\"}}"
},
"7659b8b575da": {
"preview": {
"dataUri": "data:image/png;base64,aGk=",
"kind": "image",
"status": "ready"
}
},
"eee847a9d90d": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"dataUri": "data:image/png;base64,aGk=",
"kind": "image",
"status": "ready"
}
},
"f6564bdb4e19": {
"name": "files.readPreview#1",
"args": [
{
"name": "method",
"value": "files.readPreview"
},
{
"name": "params",
"value": {
"relativePath": "docs/logo.png",
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"content": "aGk=",
"isBinary": true,
"isImage": true,
"mimeType": "image/png"
}
}
}
}
},
"recording": {
"scenario": "files-preview-worktree-image",
"checkpoints": [
{
"id": "settled",
"observation": {
"sender": ["f6564bdb4e19"],
"payloads": ["3acec737cb08"],
"settlements": {
"load": "eee847a9d90d"
},
"state": "7659b8b575da",
"effects": []
}
}
]
}
}
@@ -0,0 +1,95 @@
{
"operation": "files.preview-load",
"family": "files.preview-load",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309",
"scenarioSha256": "bcba4a7d9d929078c5ed80fc7e1acd45859d0b4c559767a919b0396dc6a70a3e",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"02ea3f503180": {
"name": "files.read#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.read\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/readme.md\"}}"
},
"3f8bf3069e3d": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"byteLength": 8,
"content": "# readme",
"kind": "markdown",
"status": "ready",
"truncated": false
}
},
"47ef2e397e18": {
"preview": {
"byteLength": 8,
"content": "# readme",
"kind": "markdown",
"status": "ready",
"truncated": false
}
},
"9babe9503a83": {
"name": "files.read#1",
"args": [
{
"name": "method",
"value": "files.read"
},
{
"name": "params",
"value": {
"relativePath": "docs/readme.md",
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"byteLength": 8,
"content": "# readme",
"truncated": false
}
}
}
}
},
"recording": {
"scenario": "files-preview-worktree",
"checkpoints": [
{
"id": "settled",
"observation": {
"sender": ["9babe9503a83"],
"payloads": ["02ea3f503180"],
"settlements": {
"load": "3f8bf3069e3d"
},
"state": "47ef2e397e18",
"effects": []
}
}
]
}
}
@@ -0,0 +1,87 @@
{
"operation": "files.preview-save",
"family": "files.preview-save",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309",
"scenarioSha256": "8b5c3e87d989966d7b252f19a537040cd5078ba9355a824e7e49af3424390a3e",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"39c6d10eb5a5": {
"name": "files.writeTerminalArtifact#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.writeTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\",\"content\":\"next\"}}"
},
"54a6055a16b5": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"status": "saved"
}
},
"936b6553a1e7": {
"name": "files.writeTerminalArtifact#1",
"args": [
{
"name": "method",
"value": "files.writeTerminalArtifact"
},
{
"name": "params",
"value": {
"absolutePath": "/logs/run.txt",
"content": "next",
"grantId": "grant-1",
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"ok": true
}
}
}
},
"b3f873eb7d0c": {
"saved": {
"status": "saved"
}
}
},
"recording": {
"scenario": "files-save-blind",
"checkpoints": [
{
"id": "settled",
"observation": {
"sender": ["936b6553a1e7"],
"payloads": ["39c6d10eb5a5"],
"settlements": {
"save": "54a6055a16b5"
},
"state": "b3f873eb7d0c",
"effects": []
}
}
]
}
}
@@ -0,0 +1,174 @@
{
"operation": "files.preview-save",
"family": "files.preview-save",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309",
"scenarioSha256": "6e124d16173074d851d58593b20b25889ed13a3d8021c08fbed53b85a7d3196e",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"54a6055a16b5": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"status": "saved"
}
},
"7875007ef392": {
"name": "files.writeTerminalArtifact#1",
"args": [
{
"name": "method",
"value": "files.writeTerminalArtifact"
},
{
"name": "params",
"value": {
"absolutePath": "/logs/run.txt",
"content": "next",
"grantId": "grant-1",
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"ok": true
}
}
}
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"935100df69e4": {
"saved": "unsaved"
},
"a3886e3a9791": {
"name": "files.writeTerminalArtifact#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.writeTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\",\"content\":\"next\"}}"
},
"b3f873eb7d0c": {
"saved": {
"status": "saved"
}
},
"e0401d205ea2": {
"name": "files.readTerminalArtifact#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\"}}"
},
"e391aec81b96": {
"name": "files.readTerminalArtifact#1",
"args": [
{
"name": "method",
"value": "files.readTerminalArtifact"
},
{
"name": "params",
"value": {
"absolutePath": "/logs/run.txt",
"grantId": "grant-1",
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"byteLength": 4,
"content": "base",
"truncated": false
}
}
}
},
"e81d5596c201": {
"name": "files.readTerminalArtifact#1",
"args": [
{
"name": "method",
"value": "files.readTerminalArtifact"
},
{
"name": "params",
"value": {
"absolutePath": "/logs/run.txt",
"grantId": "grant-1",
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
}
},
"recording": {
"scenario": "files-save-verified",
"checkpoints": [
{
"id": "verify-pending",
"observation": {
"sender": ["e81d5596c201"],
"payloads": ["e0401d205ea2"],
"settlements": {
"save": "9270aeb7d9c6"
},
"state": "935100df69e4",
"effects": []
}
},
{
"id": "settled",
"observation": {
"sender": ["e391aec81b96", "7875007ef392"],
"payloads": ["e0401d205ea2", "a3886e3a9791"],
"settlements": {
"save": "54a6055a16b5"
},
"state": "b3f873eb7d0c",
"effects": []
}
}
]
}
}
@@ -0,0 +1,232 @@
{
"operation": "files.tab-doc",
"family": "files.tab-doc",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309",
"scenarioSha256": "b636221f719dae19a3af6772b687b0bcb300c9910645d23e98c309578ec1c5c5",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"02ea3f503180": {
"name": "files.read#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.read\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/readme.md\"}}"
},
"323bf6059754": {
"name": "files.readPreview#1",
"args": [
{
"name": "method",
"value": "files.readPreview"
},
{
"name": "params",
"value": {
"relativePath": "docs/logo.png",
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"content": "aGk=",
"isImage": true,
"mimeType": "image/png"
}
}
}
},
"5c610ebe58ed": {
"name": "files.readPreview#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.readPreview\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/logo.png\"}}"
},
"9babe9503a83": {
"name": "files.read#1",
"args": [
{
"name": "method",
"value": "files.read"
},
{
"name": "params",
"value": {
"relativePath": "docs/readme.md",
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"byteLength": 8,
"content": "# readme",
"truncated": false
}
}
}
},
"b5c68b76c498": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"byteLength": 8,
"content": "# readme",
"kind": "file",
"status": "ready",
"truncated": false
}
},
"c8fbe8972330": {
"name": "git.diff#1",
"args": [
{
"name": "method",
"value": "git.diff"
},
{
"name": "params",
"value": {
"filePath": "docs/readme.md",
"staged": true,
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-3",
"ok": true,
"result": {
"kind": "text",
"modifiedContent": "b\n",
"originalContent": "a\n"
}
}
}
},
"ed33ecdb4e8e": {
"diff": {
"kind": "diff",
"lines": [
{
"kind": "delete",
"oldLineNumber": 1,
"text": "a"
},
{
"kind": "add",
"newLineNumber": 1,
"text": "b"
}
],
"status": "ready",
"truncated": false
},
"image": {
"dataUri": "data:image/png;base64,aGk=",
"kind": "image",
"status": "ready"
},
"text": {
"byteLength": 8,
"content": "# readme",
"kind": "file",
"status": "ready",
"truncated": false
}
},
"eee847a9d90d": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"dataUri": "data:image/png;base64,aGk=",
"kind": "image",
"status": "ready"
}
},
"fad4ca11a316": {
"name": "git.diff#1",
"json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:workspace-1\",\"filePath\":\"docs/readme.md\",\"staged\":true}}"
},
"ffe1c534d459": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"kind": "diff",
"lines": [
{
"kind": "delete",
"oldLineNumber": 1,
"text": "a"
},
{
"kind": "add",
"newLineNumber": 1,
"text": "b"
}
],
"status": "ready",
"truncated": false
}
}
},
"recording": {
"scenario": "files-tab-doc-shapes",
"checkpoints": [
{
"id": "settled",
"observation": {
"sender": ["9babe9503a83", "323bf6059754", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "eee847a9d90d",
"diff": "ffe1c534d459"
},
"state": "ed33ecdb4e8e",
"effects": []
}
}
]
}
}
@@ -0,0 +1,134 @@
{
"operation": "home.host-stats",
"family": "home.host-stats",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "a9e0780298a1443664e7ae02056168aa34d67556c9c056d51a82c7b4a73ad35b",
"scenarioSha256": "bd5f4e5f24a29d96c4c98950691c6571918332f71ebb1f29ee97a9abc857ac29",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"0ebcc6f6a4cb": {
"name": "stats.summary#1",
"args": [
{
"name": "method",
"value": "stats.summary"
},
{
"name": "params",
"value": {
"$rpc": "undefined"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"activeWorktrees": 1,
"totalWorktrees": 3
}
}
}
},
"44136fa355b3": {},
"7836888bb6c0": {
"name": "stats",
"value": {
"host-1": {
"activeWorktrees": 1,
"totalWorktrees": 3
}
},
"sent": 1
},
"7bf81b1e94c5": {
"name": "stats.summary#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"stats.summary\"}"
},
"9a84a7559023": {
"host-1": {
"activeWorktrees": 1,
"totalWorktrees": 3
}
},
"a392ac528c2b": {
"name": "stats.summary#1",
"args": [
{
"name": "method",
"value": "stats.summary"
},
{
"name": "params",
"value": {
"$rpc": "undefined"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
}
},
"recording": {
"scenario": "home-host-stats",
"checkpoints": [
{
"id": "stats-pending",
"observation": {
"sender": ["a392ac528c2b"],
"payloads": ["7bf81b1e94c5"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "44136fa355b3",
"effects": []
}
},
{
"id": "settled",
"observation": {
"sender": ["0ebcc6f6a4cb"],
"payloads": ["7bf81b1e94c5"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "9a84a7559023",
"effects": ["7836888bb6c0"]
}
}
]
}
}
@@ -0,0 +1,229 @@
{
"operation": "host.view-settings",
"family": "host.view-settings",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "a9e0780298a1443664e7ae02056168aa34d67556c9c056d51a82c7b4a73ad35b",
"scenarioSha256": "1ee6031227fa3efd5b36841afa60f7b2264eacdd9c6126e5851d5acb39ffaadd",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"1207e1b06040": {
"name": "workspaceStatuses",
"value": [],
"sent": 1
},
"292b632037a0": {
"name": "ui.set#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ui.set\",\"params\":{\"sortBy\":\"name\"}}"
},
"5907841fc56d": {
"name": "ui.get#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}"
},
"5fbdd64c75bc": {
"name": "ui.get#1",
"args": [
{
"name": "method",
"value": "ui.get"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"6816213c2ede": {
"name": "collapsedGroups",
"value": [],
"sent": 1
},
"78f2fbcd0185": {
"name": "ui.set#1",
"args": [
{
"name": "method",
"value": "ui.set"
},
{
"name": "params",
"value": {
"sortBy": "name"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"ok": true
}
}
}
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"a424515cabc9": {
"name": "ui.get#1",
"args": [
{
"name": "method",
"value": "ui.get"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"ui": {
"groupBy": "repo",
"hideSleepingWorkspaces": true,
"sortBy": "name"
}
}
}
}
},
"a8115697f295": {
"name": "sortMode",
"value": "name",
"sent": 1
},
"ba2035345a68": {
"collapsed": [],
"filters": {
"alwaysShowDefaultBranch": true,
"filterRepoIds": [],
"hideDefaultBranch": false,
"hideSleeping": true
},
"groupMode": "repo",
"sortMode": "name",
"statuses": []
},
"bbdab1a7d122": {
"collapsed": [],
"filters": {
"alwaysShowDefaultBranch": true,
"filterRepoIds": [],
"hideDefaultBranch": false,
"hideSleeping": false
},
"groupMode": "none",
"sortMode": "recent",
"statuses": []
},
"d88f3b1774b1": {
"name": "filters",
"value": {
"alwaysShowDefaultBranch": true,
"filterRepoIds": [],
"hideDefaultBranch": false,
"hideSleeping": true
},
"sent": 1
},
"e0a092c9ae88": {
"name": "groupMode",
"value": "repo",
"sent": 1
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
}
},
"recording": {
"scenario": "host-view-settings-sync",
"checkpoints": [
{
"id": "ui-pending",
"observation": {
"sender": ["5fbdd64c75bc"],
"payloads": ["5907841fc56d"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "9270aeb7d9c6"
},
"state": "bbdab1a7d122",
"effects": []
}
},
{
"id": "settled",
"observation": {
"sender": ["a424515cabc9", "78f2fbcd0185"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "ba2035345a68",
"effects": [
"e0a092c9ae88",
"a8115697f295",
"1207e1b06040",
"6816213c2ede",
"d88f3b1774b1",
"e0a092c9ae88",
"a8115697f295",
"1207e1b06040",
"6816213c2ede",
"d88f3b1774b1"
]
}
}
]
}
}
@@ -0,0 +1,374 @@
{
"operation": "host.worktree-actions",
"family": "host.worktree-actions",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "92c29bd78ca0c0d5917e9386fc447bb9a1698b1d1ffaba0db7546eaac60da639",
"scenarioSha256": "720add498c79425ca8efc9764fd5d8307fe33bc891842604cfc899f770b79811",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"04938673cbf5": {
"name": "worktree.activate#1",
"args": [
{
"name": "method",
"value": "worktree.activate"
},
{
"name": "params",
"value": {
"navigation": "caller",
"notifyClients": false,
"worktree": "id:wt-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": {
"ok": true
}
}
}
},
"088a989c038b": {
"name": "worktrees",
"value": [
{
"branch": "feature/pin",
"displayName": "marlin",
"hasAttachedPty": false,
"isPinned": true,
"linkedPR": {
"$rpc": "null"
},
"liveTerminalCount": 0,
"path": "/repos/marlin/wt-1",
"preview": "",
"repo": "marlin",
"repoId": "repo-1",
"unread": false,
"worktreeId": "wt-1"
}
],
"sent": 0
},
"2b635c2a4fbb": {
"name": "worktree.rm#1",
"args": [
{
"name": "method",
"value": "worktree.rm"
},
{
"name": "params",
"value": {
"force": true,
"worktree": "id:wt-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-3",
"ok": true,
"result": {
"ok": true
}
}
}
},
"3e27f9568029": {
"name": "lastKnownWorktrees",
"value": [
{
"branch": "feature/pin",
"displayName": "marlin",
"hasAttachedPty": false,
"isPinned": true,
"linkedPR": {
"$rpc": "null"
},
"liveTerminalCount": 0,
"path": "/repos/marlin/wt-1",
"preview": "",
"repo": "marlin",
"repoId": "repo-1",
"unread": false,
"worktreeId": "wt-1"
}
],
"sent": 0
},
"4caf7515e224": {
"name": "worktree.set#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:wt-1\",\"isPinned\":true}}"
},
"56b6d4fb8c56": {
"name": "worktree.set#1",
"args": [
{
"name": "method",
"value": "worktree.set"
},
{
"name": "params",
"value": {
"isPinned": true,
"worktree": "id:wt-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"ok": true
}
}
}
},
"69d698d4f352": {
"name": "worktree.rm#1",
"json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.rm\",\"params\":{\"worktree\":\"id:wt-1\",\"force\":true}}"
},
"6e959a9dd70e": {
"confirmRemoveHost": false,
"lastKnownWorktrees": [],
"optimisticActiveWorktreeIdentity": "|wt-1",
"pinnedIds": ["wt-1"],
"routeActionState": {},
"worktrees": []
},
"71246d169f18": {
"name": "worktrees",
"value": [],
"sent": 2
},
"8839215bd1a5": {
"name": "lastKnownWorktrees",
"value": [],
"sent": 2
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"9a9b0d6699b2": {
"confirmRemoveHost": false,
"lastKnownWorktrees": [
{
"branch": "feature/pin",
"displayName": "marlin",
"hasAttachedPty": false,
"isPinned": true,
"linkedPR": {
"$rpc": "null"
},
"liveTerminalCount": 0,
"path": "/repos/marlin/wt-1",
"preview": "",
"repo": "marlin",
"repoId": "repo-1",
"unread": false,
"worktreeId": "wt-1"
}
],
"optimisticActiveWorktreeIdentity": {
"$rpc": "null"
},
"pinnedIds": ["wt-1"],
"routeActionState": {},
"worktrees": [
{
"branch": "feature/pin",
"displayName": "marlin",
"hasAttachedPty": false,
"isPinned": true,
"linkedPR": {
"$rpc": "null"
},
"liveTerminalCount": 0,
"path": "/repos/marlin/wt-1",
"preview": "",
"repo": "marlin",
"repoId": "repo-1",
"unread": false,
"worktreeId": "wt-1"
}
]
},
"a970c9a870bb": {
"name": "pinnedIds",
"value": ["wt-1"],
"sent": 0
},
"bb44ad78848e": {
"name": "optimisticActiveWorktreeIdentity",
"value": "|wt-1",
"sent": 1
},
"bf2b36bda2d2": {
"name": "worktree.set#1",
"args": [
{
"name": "method",
"value": "worktree.set"
},
{
"name": "params",
"value": {
"isPinned": true,
"worktree": "id:wt-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"c3eecb0c6e96": {
"name": "worktree.activate#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.activate\",\"params\":{\"worktree\":\"id:wt-1\",\"notifyClients\":false,\"navigation\":\"caller\"}}"
},
"e3e3c397a66a": {
"name": "worktree.rm#1",
"args": [
{
"name": "method",
"value": "worktree.rm"
},
{
"name": "params",
"value": {
"force": true,
"worktree": "id:wt-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
}
},
"recording": {
"scenario": "host-worktree-actions-pin-open-delete",
"checkpoints": [
{
"id": "pin-optimistic",
"observation": {
"sender": ["bf2b36bda2d2"],
"payloads": ["4caf7515e224"],
"settlements": {
"mount": "eb79a9b3682a",
"toggle-pin": "eb79a9b3682a"
},
"state": "9a9b0d6699b2",
"effects": ["088a989c038b", "3e27f9568029", "a970c9a870bb"]
}
},
{
"id": "delete-optimistic",
"observation": {
"sender": ["56b6d4fb8c56", "04938673cbf5", "e3e3c397a66a"],
"payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"],
"settlements": {
"mount": "eb79a9b3682a",
"toggle-pin": "eb79a9b3682a",
"open-session": "eb79a9b3682a",
"delete": "9270aeb7d9c6"
},
"state": "6e959a9dd70e",
"effects": [
"088a989c038b",
"3e27f9568029",
"a970c9a870bb",
"bb44ad78848e",
"71246d169f18",
"8839215bd1a5"
]
}
},
{
"id": "settled",
"observation": {
"sender": ["56b6d4fb8c56", "04938673cbf5", "2b635c2a4fbb"],
"payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"],
"settlements": {
"mount": "eb79a9b3682a",
"toggle-pin": "eb79a9b3682a",
"open-session": "eb79a9b3682a",
"delete": "eb79a9b3682a"
},
"state": "6e959a9dd70e",
"effects": [
"088a989c038b",
"3e27f9568029",
"a970c9a870bb",
"bb44ad78848e",
"71246d169f18",
"8839215bd1a5"
]
}
}
]
}
}
@@ -0,0 +1,233 @@
{
"operation": "host.worktree-actions",
"family": "host.worktree-actions",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "92c29bd78ca0c0d5917e9386fc447bb9a1698b1d1ffaba0db7546eaac60da639",
"scenarioSha256": "5dd5e7eabaabba1e471b13958f59891c3b28f553087c96315598c83a14ded7e7",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"3eaa2fc6fe33": {
"name": "worktrees",
"value": [
{
"branch": "feature/pin",
"displayName": "marlin",
"hasAttachedPty": false,
"isPinned": false,
"linkedPR": {
"$rpc": "null"
},
"liveTerminalCount": 0,
"path": "/repos/marlin/wt-1",
"preview": "",
"repo": "marlin",
"repoId": "repo-1",
"unread": false,
"worktreeId": "wt-1"
}
],
"sent": 1
},
"3fd02e693647": {
"name": "worktree.rm#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.rm\",\"params\":{\"worktree\":\"id:wt-1\",\"force\":true}}"
},
"4390dbd60885": {
"name": "lastKnownWorktrees",
"value": [],
"sent": 0
},
"77c8169fffce": {
"name": "worktrees",
"value": [],
"sent": 0
},
"8056533b940f": {
"confirmRemoveHost": false,
"lastKnownWorktrees": [],
"optimisticActiveWorktreeIdentity": {
"$rpc": "null"
},
"pinnedIds": [],
"routeActionState": {},
"worktrees": []
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"ad493faf0d61": {
"name": "lastKnownWorktrees",
"value": [
{
"branch": "feature/pin",
"displayName": "marlin",
"hasAttachedPty": false,
"isPinned": false,
"linkedPR": {
"$rpc": "null"
},
"liveTerminalCount": 0,
"path": "/repos/marlin/wt-1",
"preview": "",
"repo": "marlin",
"repoId": "repo-1",
"unread": false,
"worktreeId": "wt-1"
}
],
"sent": 1
},
"bcb66b345fcd": {
"confirmRemoveHost": false,
"lastKnownWorktrees": [
{
"branch": "feature/pin",
"displayName": "marlin",
"hasAttachedPty": false,
"isPinned": false,
"linkedPR": {
"$rpc": "null"
},
"liveTerminalCount": 0,
"path": "/repos/marlin/wt-1",
"preview": "",
"repo": "marlin",
"repoId": "repo-1",
"unread": false,
"worktreeId": "wt-1"
}
],
"optimisticActiveWorktreeIdentity": {
"$rpc": "null"
},
"pinnedIds": [],
"routeActionState": {},
"worktrees": [
{
"branch": "feature/pin",
"displayName": "marlin",
"hasAttachedPty": false,
"isPinned": false,
"linkedPR": {
"$rpc": "null"
},
"liveTerminalCount": 0,
"path": "/repos/marlin/wt-1",
"preview": "",
"repo": "marlin",
"repoId": "repo-1",
"unread": false,
"worktreeId": "wt-1"
}
]
},
"e3e3c397a66a": {
"name": "worktree.rm#1",
"args": [
{
"name": "method",
"value": "worktree.rm"
},
{
"name": "params",
"value": {
"force": true,
"worktree": "id:wt-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"e97d1f006b72": {
"name": "worktree.rm#1",
"args": [
{
"name": "method",
"value": "worktree.rm"
},
{
"name": "params",
"value": {
"force": true,
"worktree": "id:wt-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "worktree_busy",
"message": "Worktree is busy"
},
"id": "frame-1",
"ok": false
}
}
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
}
},
"recording": {
"scenario": "host-worktree-delete-refused",
"checkpoints": [
{
"id": "delete-optimistic",
"observation": {
"sender": ["e3e3c397a66a"],
"payloads": ["3fd02e693647"],
"settlements": {
"mount": "eb79a9b3682a",
"delete": "9270aeb7d9c6"
},
"state": "8056533b940f",
"effects": ["77c8169fffce", "4390dbd60885"]
}
},
{
"id": "restored",
"observation": {
"sender": ["e97d1f006b72"],
"payloads": ["3fd02e693647"],
"settlements": {
"mount": "eb79a9b3682a",
"delete": "eb79a9b3682a"
},
"state": "bcb66b345fcd",
"effects": ["77c8169fffce", "4390dbd60885", "3eaa2fc6fe33", "ad493faf0d61"]
}
}
]
}
}
@@ -3,9 +3,9 @@
"family": "legacy-inventory",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "262eaad263a45aa13ec5b27c12b59946b12c202474229fff7a5727dba6d702ca",
"scenarioSha256": "d6c57a5153d915f0a0c0fd9e305cac70b41b7eb8be226fc865227ebf1821e5d1",
"platform": "darwin",
@@ -3,9 +3,9 @@
"family": "settings.bot-overrides",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0",
"scenarioSha256": "2d5c6dea28aa1a7bb9e4aa14a4c8441527d9ad401ad30161f05ea1f8da836bb2",
"platform": "darwin",
@@ -3,9 +3,9 @@
"family": "legacy-inventory",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "262eaad263a45aa13ec5b27c12b59946b12c202474229fff7a5727dba6d702ca",
"scenarioSha256": "3471f5bcd6923c7b8ba3a737bb45b5239689deb78c00e85a828f38a6d6d68a05",
"platform": "darwin",
@@ -3,9 +3,9 @@
"family": "legacy-inventory",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353",
"adapterSha256": "262eaad263a45aa13ec5b27c12b59946b12c202474229fff7a5727dba6d702ca",
"scenarioSha256": "73a468d5c7a51c2dbb7af2642f0050d05d861fce29295460c48d7c51f86bf57f",
"platform": "darwin",

Some files were not shown because too many files have changed in this diff Show More