Merge origin/main into the transport migration

Three conflicts, all structural:

- `adapters/mounted-operation-modules.ts`: union of both sides' entries. #20705
  added `new-workspace` and `worktree-catalog`; this branch adds
  `transport-status`, `relay-credential` and `pairing-journal`. The two relay
  entries move into alphabetical position so the register stays sorted.
- `pilot-scenarios.json`: union of both sides' scenarios, 109 shared + 21 from
  main + 19 from here = 149. Neither side edited or removed a scenario and no id
  collides, so the merge is additive. Both sides already pinned baseline
  c6a7216984.
- `unvalidated-rpc-request-port-inventory.ts`: this branch's `src/transport/`
  holdouts, which record migrations main has not seen, plus main's deletion of
  the `src/worktree/` section, whose three files #20705 migrated.

Main's 47 new goldens arrive unchanged and fail `recorderSha256` here, for the
reason already ruled structural for the other 208: this branch adds two files to
the recorder engine. The next commit re-records them.

Claude-Session: https://claude.ai/code/session_01JNnE9qzUZMMnqpZWCqM3nb
This commit is contained in:
Jinwoo-H
2026-09-15 13:15:53 -04:00
539 changed files with 35143 additions and 2195 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: 58m">
<title>downloads: 58m</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">58m</text>
<text x="90" y="14">58m</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,80 @@
{
"operation": "components.codex-reset-capability",
"family": "components.codex-reset-capability",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"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": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"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": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"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": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"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,123 @@
{
"operation": "files.mutation-ownership",
"family": "files.mutation-ownership",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"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": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"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": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"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": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"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,240 @@
{
"operation": "files.preview-load",
"family": "files.preview-load",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"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
}
}
}
},
"645c5754be42": {
"preview": "unloaded"
},
"784ea351e5b2": {
"preview": {
"byteLength": 5,
"content": "hello",
"kind": "text",
"status": "ready",
"truncated": false
}
},
"813fe48569a6": {
"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"
}
},
"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": ["813fe48569a6"]
}
}
]
}
}
@@ -0,0 +1,92 @@
{
"operation": "files.preview-load",
"family": "files.preview-load",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"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": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"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": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"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": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"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": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"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,133 @@
{
"operation": "home.host-stats",
"family": "home.host-stats",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "a9e0780298a1443664e7ae02056168aa34d67556c9c056d51a82c7b4a73ad35b",
"scenarioSha256": "bd5f4e5f24a29d96c4c98950691c6571918332f71ebb1f29ee97a9abc857ac29",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"0632d58191fb": {
"name": "stats",
"value": {
"host-1": {
"activeWorktrees": 1,
"totalWorktrees": 3
}
}
},
"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": {},
"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": ["0632d58191fb"]
}
}
]
}
}
@@ -0,0 +1,224 @@
{
"operation": "host.view-settings",
"family": "host.view-settings",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "a9e0780298a1443664e7ae02056168aa34d67556c9c056d51a82c7b4a73ad35b",
"scenarioSha256": "1ee6031227fa3efd5b36841afa60f7b2264eacdd9c6126e5851d5acb39ffaadd",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"292b632037a0": {
"name": "ui.set#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ui.set\",\"params\":{\"sortBy\":\"name\"}}"
},
"3059ce80d86a": {
"name": "collapsedGroups",
"value": []
},
"34925f64c9a6": {
"name": "sortMode",
"value": "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
}
},
"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
}
}
}
},
"7eaddd04bcdd": {
"name": "workspaceStatuses",
"value": []
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"9527461faeb1": {
"name": "filters",
"value": {
"alwaysShowDefaultBranch": true,
"filterRepoIds": [],
"hideDefaultBranch": false,
"hideSleeping": true
}
},
"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"
}
}
}
}
},
"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": []
},
"e9a3acf203c6": {
"name": "groupMode",
"value": "repo"
},
"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": [
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1",
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1"
]
}
}
]
}
}
@@ -0,0 +1,368 @@
{
"operation": "host.worktree-actions",
"family": "host.worktree-actions",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"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
}
}
}
},
"0ebfc1859f18": {
"name": "pinnedIds",
"value": ["wt-1"]
},
"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
}
}
}
},
"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
}
}
}
},
"5c186d67b84c": {
"name": "lastKnownWorktrees",
"value": []
},
"69d698d4f352": {
"name": "worktree.rm#1",
"json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.rm\",\"params\":{\"worktree\":\"id:wt-1\",\"force\":true}}"
},
"6cfdae6737f2": {
"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"
}
]
},
"6e959a9dd70e": {
"confirmRemoveHost": false,
"lastKnownWorktrees": [],
"optimisticActiveWorktreeIdentity": "|wt-1",
"pinnedIds": ["wt-1"],
"routeActionState": {},
"worktrees": []
},
"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"
}
]
},
"b1509905fc66": {
"name": "optimisticActiveWorktreeIdentity",
"value": "|wt-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\"}}"
},
"cbf8280fdbe7": {
"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"
}
]
},
"d440bd87d1ce": {
"name": "worktrees",
"value": []
},
"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": ["cbf8280fdbe7", "6cfdae6737f2", "0ebfc1859f18"]
}
},
{
"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": [
"cbf8280fdbe7",
"6cfdae6737f2",
"0ebfc1859f18",
"b1509905fc66",
"d440bd87d1ce",
"5c186d67b84c"
]
}
},
{
"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": [
"cbf8280fdbe7",
"6cfdae6737f2",
"0ebfc1859f18",
"b1509905fc66",
"d440bd87d1ce",
"5c186d67b84c"
]
}
}
]
}
}
@@ -0,0 +1,229 @@
{
"operation": "host.worktree-actions",
"family": "host.worktree-actions",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "92c29bd78ca0c0d5917e9386fc447bb9a1698b1d1ffaba0db7546eaac60da639",
"scenarioSha256": "5dd5e7eabaabba1e471b13958f59891c3b28f553087c96315598c83a14ded7e7",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"3fd02e693647": {
"name": "worktree.rm#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.rm\",\"params\":{\"worktree\":\"id:wt-1\",\"force\":true}}"
},
"5c186d67b84c": {
"name": "lastKnownWorktrees",
"value": []
},
"8056533b940f": {
"confirmRemoveHost": false,
"lastKnownWorktrees": [],
"optimisticActiveWorktreeIdentity": {
"$rpc": "null"
},
"pinnedIds": [],
"routeActionState": {},
"worktrees": []
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"a7c564546e94": {
"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"
}
]
},
"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"
}
]
},
"c777b17081dd": {
"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"
}
]
},
"d440bd87d1ce": {
"name": "worktrees",
"value": []
},
"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": ["d440bd87d1ce", "5c186d67b84c"]
}
},
{
"id": "restored",
"observation": {
"sender": ["e97d1f006b72"],
"payloads": ["3fd02e693647"],
"settlements": {
"mount": "eb79a9b3682a",
"delete": "eb79a9b3682a"
},
"state": "bcb66b345fcd",
"effects": ["d440bd87d1ce", "5c186d67b84c", "a7c564546e94", "c777b17081dd"]
}
}
]
}
}
@@ -0,0 +1,539 @@
{
"operation": "components.codex-reset-capability",
"family": "components.codex-reset-capability",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "5cfbce3c7d97d908fbd447646d611e41a8aa1f61f684b9b710c4b67d6ff023a7",
"scenarioSha256": "06c2ad6d4b464f889a640be7a238f6d0ff7c54b0e93fb5ea22aaa856dadb0336",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"16cd464bf664": {
"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": {
"error": {
"code": "refused",
"message": "outer refused"
},
"id": "frame-1",
"ok": false
}
}
},
"1e5b32902af7": {
"name": "status.get#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}"
},
"2698c9770ad3": {
"name": "status.get#1",
"args": [
{
"name": "method",
"value": "status.get"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"4451bb95a76e": {
"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": {
"error": "refused"
}
}
}
},
"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"]
}
}
}
},
"7d3dd7f9381b": {
"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
}
}
},
"7ed3d39f0607": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": false
},
"84e5ca07cb7a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": true
},
"88200d49083c": {
"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": {
"$rpc": "null"
}
}
}
},
"89236e432861": {
"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": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
},
"944bf432f199": {
"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": {
"error": "inner refused",
"ok": false
}
}
}
},
"9cdf3c107e7b": {
"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": {
"error": {
"code": "refused",
"message": ""
},
"id": "frame-1",
"ok": false
}
}
},
"c71b2f8a6993": {
"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": {
"error": {
"code": "method_not_found",
"message": "Unknown method"
},
"id": "frame-1",
"ok": false
}
}
},
"de87f6266897": {
"name": "status.get#1",
"args": [
{
"name": "method",
"value": "status.get"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
},
"ece4ea3ed179": {
"supported": false
}
},
"recording": {
"scenario": "matrix-components.codex-reset-capability-status.get-1",
"checkpoints": [
{
"id": "components-codex-capability.normal:settled",
"observation": {
"sender": ["6a0093a8288b"],
"payloads": ["1e5b32902af7"],
"settlements": {
"probe": "84e5ca07cb7a"
},
"state": "578b9d38ecc7",
"effects": []
}
},
{
"id": "components-codex-capability.result-absent:settled",
"observation": {
"sender": ["7d3dd7f9381b"],
"payloads": ["1e5b32902af7"],
"settlements": {
"probe": "7ed3d39f0607"
},
"state": "ece4ea3ed179",
"effects": []
}
},
{
"id": "components-codex-capability.result-null:settled",
"observation": {
"sender": ["88200d49083c"],
"payloads": ["1e5b32902af7"],
"settlements": {
"probe": "7ed3d39f0607"
},
"state": "ece4ea3ed179",
"effects": []
}
},
{
"id": "components-codex-capability.inner-ok-missing:settled",
"observation": {
"sender": ["4451bb95a76e"],
"payloads": ["1e5b32902af7"],
"settlements": {
"probe": "7ed3d39f0607"
},
"state": "ece4ea3ed179",
"effects": []
}
},
{
"id": "components-codex-capability.inner-false-string-error:settled",
"observation": {
"sender": ["944bf432f199"],
"payloads": ["1e5b32902af7"],
"settlements": {
"probe": "7ed3d39f0607"
},
"state": "ece4ea3ed179",
"effects": []
}
},
{
"id": "components-codex-capability.inner-false-object-error:settled",
"observation": {
"sender": ["89236e432861"],
"payloads": ["1e5b32902af7"],
"settlements": {
"probe": "7ed3d39f0607"
},
"state": "ece4ea3ed179",
"effects": []
}
},
{
"id": "components-codex-capability.outer-refused:settled",
"observation": {
"sender": ["16cd464bf664"],
"payloads": ["1e5b32902af7"],
"settlements": {
"probe": "7ed3d39f0607"
},
"state": "ece4ea3ed179",
"effects": []
}
},
{
"id": "components-codex-capability.outer-refused-no-message:settled",
"observation": {
"sender": ["9cdf3c107e7b"],
"payloads": ["1e5b32902af7"],
"settlements": {
"probe": "7ed3d39f0607"
},
"state": "ece4ea3ed179",
"effects": []
}
},
{
"id": "components-codex-capability.method-not-found:settled",
"observation": {
"sender": ["c71b2f8a6993"],
"payloads": ["1e5b32902af7"],
"settlements": {
"probe": "7ed3d39f0607"
},
"state": "ece4ea3ed179",
"effects": []
}
},
{
"id": "components-codex-capability.transport-rejection:settled",
"observation": {
"sender": ["de87f6266897"],
"payloads": ["1e5b32902af7"],
"settlements": {
"probe": "7ed3d39f0607"
},
"state": "ece4ea3ed179",
"effects": []
}
},
{
"id": "components-codex-capability.transport-rejection-no-message:settled",
"observation": {
"sender": ["2698c9770ad3"],
"payloads": ["1e5b32902af7"],
"settlements": {
"probe": "7ed3d39f0607"
},
"state": "ece4ea3ed179",
"effects": []
}
}
]
}
}
@@ -0,0 +1,605 @@
{
"operation": "components.execution-target-local",
"family": "components.execution-target-local",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "5cfbce3c7d97d908fbd447646d611e41a8aa1f61f684b9b710c4b67d6ff023a7",
"scenarioSha256": "f88ee2f5d19b19cc53dca5180a9b5936a13a00a82e8a4636a5e895262b669dec",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"00d70c40c34c": {
"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": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
},
"0846bea730cf": {
"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": {
"error": "inner refused",
"ok": false
}
}
}
},
"1317fc33bdbe": {
"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": {
"$rpc": "null"
}
}
}
},
"163b91b6fe9c": {
"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": {
"error": {
"code": "refused",
"message": ""
},
"id": "frame-1",
"ok": false
}
}
},
"1e4520fe6576": {
"detected": {
"$rpc": "null"
},
"gate": {
"connectInProgress": true,
"error": {
"$rpc": "null"
},
"requiresConnection": false,
"status": {
"$rpc": "null"
}
}
},
"327b46fb8bef": {
"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": {
"error": "refused"
}
}
}
},
"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
}
},
"365a6864b043": {
"detected": [],
"gate": {
"connectInProgress": true,
"error": {
"$rpc": "null"
},
"requiresConnection": false,
"status": {
"$rpc": "null"
}
}
},
"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"]
}
}
},
"6e5fcf24648d": {
"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
}
}
},
"70d128c20ae4": {
"name": "preflight.detectAgents#1",
"args": [
{
"name": "method",
"value": "preflight.detectAgents"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"87d7d24a30d2": {
"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": {
"error": {
"code": "method_not_found",
"message": "Unknown method"
},
"id": "frame-1",
"ok": false
}
}
},
"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"
}
},
"fb640b2bca4c": {
"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": {
"error": {
"code": "refused",
"message": "outer refused"
},
"id": "frame-1",
"ok": false
}
}
},
"fbb9eef78275": {
"name": "preflight.detectAgents#1",
"args": [
{
"name": "method",
"value": "preflight.detectAgents"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
}
},
"recording": {
"scenario": "matrix-components.execution-target-local-preflight.detectagents-1",
"checkpoints": [
{
"id": "components-target-local.prelude:detect-pending",
"observation": {
"sender": ["3579737ce1a6"],
"payloads": ["cf32edc950ac"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "1e4520fe6576",
"effects": []
}
},
{
"id": "components-target-local.normal:settled",
"observation": {
"sender": ["6806cee7c59f"],
"payloads": ["cf32edc950ac"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "986a776213e8",
"effects": []
}
},
{
"id": "components-target-local.result-absent:settled",
"observation": {
"sender": ["6e5fcf24648d"],
"payloads": ["cf32edc950ac"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "365a6864b043",
"effects": []
}
},
{
"id": "components-target-local.result-null:settled",
"observation": {
"sender": ["1317fc33bdbe"],
"payloads": ["cf32edc950ac"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "365a6864b043",
"effects": []
}
},
{
"id": "components-target-local.inner-ok-missing:settled",
"observation": {
"sender": ["327b46fb8bef"],
"payloads": ["cf32edc950ac"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "365a6864b043",
"effects": []
}
},
{
"id": "components-target-local.inner-false-string-error:settled",
"observation": {
"sender": ["0846bea730cf"],
"payloads": ["cf32edc950ac"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "365a6864b043",
"effects": []
}
},
{
"id": "components-target-local.inner-false-object-error:settled",
"observation": {
"sender": ["00d70c40c34c"],
"payloads": ["cf32edc950ac"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "365a6864b043",
"effects": []
}
},
{
"id": "components-target-local.outer-refused:settled",
"observation": {
"sender": ["fb640b2bca4c"],
"payloads": ["cf32edc950ac"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "365a6864b043",
"effects": []
}
},
{
"id": "components-target-local.outer-refused-no-message:settled",
"observation": {
"sender": ["163b91b6fe9c"],
"payloads": ["cf32edc950ac"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "365a6864b043",
"effects": []
}
},
{
"id": "components-target-local.method-not-found:settled",
"observation": {
"sender": ["87d7d24a30d2"],
"payloads": ["cf32edc950ac"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "365a6864b043",
"effects": []
}
},
{
"id": "components-target-local.transport-rejection:settled",
"observation": {
"sender": ["fbb9eef78275"],
"payloads": ["cf32edc950ac"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "365a6864b043",
"effects": []
}
},
{
"id": "components-target-local.transport-rejection-no-message:settled",
"observation": {
"sender": ["70d128c20ae4"],
"payloads": ["cf32edc950ac"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "365a6864b043",
"effects": []
}
}
]
}
}
@@ -0,0 +1,729 @@
{
"operation": "components.execution-target",
"family": "components.execution-target",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "5cfbce3c7d97d908fbd447646d611e41a8aa1f61f684b9b710c4b67d6ff023a7",
"scenarioSha256": "79a49cddf66935007afb9be8a30593b778f02237894e5fd4d2898b526fc125df",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"07d4c9b0eaf2": {
"name": "preflight.detectRemoteAgents#1",
"args": [
{
"name": "method",
"value": "preflight.detectRemoteAgents"
},
{
"name": "params",
"value": {
"connectionId": "ssh-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
},
"0a7094a9a9ac": {
"name": "preflight.detectRemoteAgents#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}"
},
"245e68137e04": {
"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": {
"error": "inner refused",
"ok": false
}
}
}
},
"4e2e9a890ced": {
"detected": ["codex"],
"gate": {
"connectInProgress": false,
"error": {
"$rpc": "null"
},
"requiresConnection": false,
"status": "connected"
}
},
"51d7ac902696": {
"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": {
"error": {
"code": "refused",
"message": ""
},
"id": "frame-2",
"ok": false
}
}
},
"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
}
},
"65a3db621845": {
"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": {
"error": {
"code": "refused",
"message": "outer refused"
},
"id": "frame-2",
"ok": false
}
}
},
"66a99391260b": {
"name": "preflight.detectRemoteAgents#2",
"json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}"
},
"737995ed36c3": {
"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": {
"error": {
"code": "method_not_found",
"message": "Unknown method"
},
"id": "frame-2",
"ok": false
}
}
},
"75cd96280963": {
"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": {
"$rpc": "null"
}
}
}
},
"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"
}
}
}
}
},
"88ecd0c754ca": {
"detected": [],
"gate": {
"connectInProgress": false,
"error": {
"$rpc": "null"
},
"requiresConnection": false,
"status": "connected"
}
},
"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"
}
}
}
}
},
"8ce8dae8c036": {
"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
}
}
},
"95dee1165f95": {
"name": "preflight.detectRemoteAgents#1",
"args": [
{
"name": "method",
"value": "preflight.detectRemoteAgents"
},
{
"name": "params",
"value": {
"connectionId": "ssh-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"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"]
}
}
},
"c0d4a122ea86": {
"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": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
},
"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
}
},
"ce1d236eece4": {
"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": {
"error": "refused"
}
}
}
},
"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": "matrix-components.execution-target-preflight.detectremoteagents-1",
"checkpoints": [
{
"id": "components-target-ssh.prelude:state-pending",
"observation": {
"sender": ["ca123825be51"],
"payloads": ["f9dfbe0c0ea7"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "d23b91bd7660",
"effects": []
}
},
{
"id": "components-target-ssh.normal:settled",
"observation": {
"sender": ["89aa7a3bd619", "9a892112da5b", "81c9c204b647", "6004e75ef39e"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "4e2e9a890ced",
"effects": []
}
},
{
"id": "components-target-ssh.result-absent:settled",
"observation": {
"sender": ["89aa7a3bd619", "8ce8dae8c036", "81c9c204b647", "6004e75ef39e"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "88ecd0c754ca",
"effects": []
}
},
{
"id": "components-target-ssh.result-null:settled",
"observation": {
"sender": ["89aa7a3bd619", "75cd96280963", "81c9c204b647", "6004e75ef39e"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "88ecd0c754ca",
"effects": []
}
},
{
"id": "components-target-ssh.inner-ok-missing:settled",
"observation": {
"sender": ["89aa7a3bd619", "ce1d236eece4", "81c9c204b647", "6004e75ef39e"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "88ecd0c754ca",
"effects": []
}
},
{
"id": "components-target-ssh.inner-false-string-error:settled",
"observation": {
"sender": ["89aa7a3bd619", "245e68137e04", "81c9c204b647", "6004e75ef39e"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "88ecd0c754ca",
"effects": []
}
},
{
"id": "components-target-ssh.inner-false-object-error:settled",
"observation": {
"sender": ["89aa7a3bd619", "c0d4a122ea86", "81c9c204b647", "6004e75ef39e"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "88ecd0c754ca",
"effects": []
}
},
{
"id": "components-target-ssh.outer-refused:settled",
"observation": {
"sender": ["89aa7a3bd619", "65a3db621845", "81c9c204b647", "6004e75ef39e"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "88ecd0c754ca",
"effects": []
}
},
{
"id": "components-target-ssh.outer-refused-no-message:settled",
"observation": {
"sender": ["89aa7a3bd619", "51d7ac902696", "81c9c204b647", "6004e75ef39e"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "88ecd0c754ca",
"effects": []
}
},
{
"id": "components-target-ssh.method-not-found:settled",
"observation": {
"sender": ["89aa7a3bd619", "737995ed36c3", "81c9c204b647", "6004e75ef39e"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "88ecd0c754ca",
"effects": []
}
},
{
"id": "components-target-ssh.transport-rejection:settled",
"observation": {
"sender": ["89aa7a3bd619", "07d4c9b0eaf2", "81c9c204b647", "6004e75ef39e"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "88ecd0c754ca",
"effects": []
}
},
{
"id": "components-target-ssh.transport-rejection-no-message:settled",
"observation": {
"sender": ["89aa7a3bd619", "95dee1165f95", "81c9c204b647", "6004e75ef39e"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "88ecd0c754ca",
"effects": []
}
}
]
}
}
@@ -0,0 +1,784 @@
{
"operation": "components.execution-target",
"family": "components.execution-target",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "5cfbce3c7d97d908fbd447646d611e41a8aa1f61f684b9b710c4b67d6ff023a7",
"scenarioSha256": "8b8f7fe7227d44330e216e0bf5d366c41b54d9bf76acfb24df2c1770984b9f27",
"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\"}}"
},
"1d5f374a6378": {
"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": {
"error": {
"code": "method_not_found",
"message": "Unknown method"
},
"id": "frame-3",
"ok": false
}
}
},
"2a9fa3de486c": {
"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": {
"error": "inner refused",
"ok": false
}
}
}
},
"2d47b46a5872": {
"detected": {
"$rpc": "null"
},
"gate": {
"connectInProgress": false,
"error": "Unknown method",
"requiresConnection": true,
"status": "error"
}
},
"2fd7109925e5": {
"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": {
"error": "refused"
}
}
}
},
"33a303634ab9": {
"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": {
"error": {
"code": "refused",
"message": ""
},
"id": "frame-3",
"ok": false
}
}
},
"3443aa3290c8": {
"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": {
"error": {
"code": "refused",
"message": "outer refused"
},
"id": "frame-3",
"ok": false
}
}
},
"3828494e64df": {
"detected": {
"$rpc": "null"
},
"gate": {
"connectInProgress": false,
"error": "",
"requiresConnection": true,
"status": "error"
}
},
"467f1a0954f0": {
"detected": {
"$rpc": "null"
},
"gate": {
"connectInProgress": false,
"error": "transport failure",
"requiresConnection": true,
"status": "error"
}
},
"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\"}}"
},
"5a241dd7bf9b": {
"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": {
"$rpc": "null"
}
}
}
},
"5a628e933aa0": {
"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": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
},
"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\"}}"
},
"671db70f932a": {
"name": "ssh.connect#1",
"args": [
{
"name": "method",
"value": "ssh.connect"
},
{
"name": "params",
"value": {
"targetId": "ssh-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 120000
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"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"
}
}
}
}
},
"990a404630b4": {
"detected": {
"$rpc": "null"
},
"gate": {
"connectInProgress": false,
"error": "outer refused",
"requiresConnection": true,
"status": "error"
}
},
"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"]
}
}
},
"c04e51232b36": {
"detected": {
"$rpc": "null"
},
"gate": {
"connectInProgress": false,
"error": "Cannot read properties of null (reading 'state')",
"requiresConnection": true,
"status": "error"
}
},
"c5608f9dd27c": {
"name": "ssh.connect#1",
"args": [
{
"name": "method",
"value": "ssh.connect"
},
{
"name": "params",
"value": {
"targetId": "ssh-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 120000
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
},
"c9821a8643be": {
"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
}
}
},
"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"
}
}
},
"d714ad0ce8fb": {
"detected": {
"$rpc": "null"
},
"gate": {
"connectInProgress": false,
"error": "Cannot read properties of undefined (reading 'state')",
"requiresConnection": true,
"status": "error"
}
},
"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": "matrix-components.execution-target-ssh.connect-1",
"checkpoints": [
{
"id": "components-target-ssh.prelude:state-pending",
"observation": {
"sender": ["ca123825be51"],
"payloads": ["f9dfbe0c0ea7"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "d23b91bd7660",
"effects": []
}
},
{
"id": "components-target-ssh.normal:settled",
"observation": {
"sender": ["89aa7a3bd619", "9a892112da5b", "81c9c204b647", "6004e75ef39e"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "4e2e9a890ced",
"effects": []
}
},
{
"id": "components-target-ssh.result-absent:settled",
"observation": {
"sender": ["89aa7a3bd619", "9a892112da5b", "c9821a8643be"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "d714ad0ce8fb",
"effects": []
}
},
{
"id": "components-target-ssh.result-null:settled",
"observation": {
"sender": ["89aa7a3bd619", "9a892112da5b", "5a241dd7bf9b"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "c04e51232b36",
"effects": []
}
},
{
"id": "components-target-ssh.inner-ok-missing:settled",
"observation": {
"sender": ["89aa7a3bd619", "9a892112da5b", "2fd7109925e5", "6004e75ef39e"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "4e2e9a890ced",
"effects": []
}
},
{
"id": "components-target-ssh.inner-false-string-error:settled",
"observation": {
"sender": ["89aa7a3bd619", "9a892112da5b", "2a9fa3de486c", "6004e75ef39e"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "4e2e9a890ced",
"effects": []
}
},
{
"id": "components-target-ssh.inner-false-object-error:settled",
"observation": {
"sender": ["89aa7a3bd619", "9a892112da5b", "5a628e933aa0", "6004e75ef39e"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "4e2e9a890ced",
"effects": []
}
},
{
"id": "components-target-ssh.outer-refused:settled",
"observation": {
"sender": ["89aa7a3bd619", "9a892112da5b", "3443aa3290c8"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "990a404630b4",
"effects": []
}
},
{
"id": "components-target-ssh.outer-refused-no-message:settled",
"observation": {
"sender": ["89aa7a3bd619", "9a892112da5b", "33a303634ab9"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "3828494e64df",
"effects": []
}
},
{
"id": "components-target-ssh.method-not-found:settled",
"observation": {
"sender": ["89aa7a3bd619", "9a892112da5b", "1d5f374a6378"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "2d47b46a5872",
"effects": []
}
},
{
"id": "components-target-ssh.transport-rejection:settled",
"observation": {
"sender": ["89aa7a3bd619", "9a892112da5b", "c5608f9dd27c"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "467f1a0954f0",
"effects": []
}
},
{
"id": "components-target-ssh.transport-rejection-no-message:settled",
"observation": {
"sender": ["89aa7a3bd619", "9a892112da5b", "671db70f932a"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "3828494e64df",
"effects": []
}
}
]
}
}
@@ -0,0 +1,804 @@
{
"operation": "components.execution-target",
"family": "components.execution-target",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "5cfbce3c7d97d908fbd447646d611e41a8aa1f61f684b9b710c4b67d6ff023a7",
"scenarioSha256": "6832d23c6500e4fcb20abe7c53bc4f5abe72180dc0ad747a4907b82d99bc75d0",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"0a16839c6f87": {
"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": {
"error": "refused"
}
}
}
},
"0a7094a9a9ac": {
"name": "preflight.detectRemoteAgents#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}"
},
"0eabd872f405": {
"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": {
"$rpc": "null"
}
}
}
},
"14db652edf02": {
"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
}
}
},
"2d910059043a": {
"name": "ssh.getState#1",
"args": [
{
"name": "method",
"value": "ssh.getState"
},
{
"name": "params",
"value": {
"targetId": "ssh-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
},
"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\"}}"
},
"71d817ffdd81": {
"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-2",
"ok": true,
"result": {
"state": {
"error": {
"$rpc": "null"
},
"reconnectAttempt": 0,
"status": "connected",
"targetId": "ssh-1"
}
}
}
}
},
"7c9498659f58": {
"name": "ssh.connect#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.connect\",\"params\":{\"targetId\":\"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"]
}
}
},
"b09dd4915f43": {
"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": {
"error": "inner refused",
"ok": false
}
}
}
},
"b69a18178af8": {
"name": "preflight.detectRemoteAgents#1",
"json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}"
},
"b705ba88a562": {
"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": {
"error": {
"code": "method_not_found",
"message": "Unknown method"
},
"id": "frame-1",
"ok": false
}
}
},
"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
}
},
"d0fad8f739ca": {
"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": {
"error": {
"code": "refused",
"message": "outer refused"
},
"id": "frame-1",
"ok": false
}
}
},
"d23b91bd7660": {
"detected": {
"$rpc": "null"
},
"gate": {
"connectInProgress": false,
"error": {
"$rpc": "null"
},
"requiresConnection": true,
"status": {
"$rpc": "null"
}
}
},
"e18278fce524": {
"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": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
},
"e314f3903bd3": {
"detected": {
"$rpc": "null"
},
"gate": {
"connectInProgress": false,
"error": {
"$rpc": "null"
},
"requiresConnection": false,
"status": "connected"
}
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
},
"f03117831a8e": {
"name": "preflight.detectRemoteAgents#1",
"args": [
{
"name": "method",
"value": "preflight.detectRemoteAgents"
},
{
"name": "params",
"value": {
"connectionId": "ssh-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"f36f17f8d448": {
"name": "ssh.getState#1",
"args": [
{
"name": "method",
"value": "ssh.getState"
},
{
"name": "params",
"value": {
"targetId": "ssh-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"f9dfbe0c0ea7": {
"name": "ssh.getState#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.getState\",\"params\":{\"targetId\":\"ssh-1\"}}"
},
"ff6c3161dcc7": {
"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": {
"error": {
"code": "refused",
"message": ""
},
"id": "frame-1",
"ok": false
}
}
}
},
"recording": {
"scenario": "matrix-components.execution-target-ssh.getstate-1",
"checkpoints": [
{
"id": "components-target-ssh.prelude:state-pending",
"observation": {
"sender": ["ca123825be51"],
"payloads": ["f9dfbe0c0ea7"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "d23b91bd7660",
"effects": []
}
},
{
"id": "components-target-ssh.normal:settled",
"observation": {
"sender": ["89aa7a3bd619", "9a892112da5b", "81c9c204b647", "6004e75ef39e"],
"payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "4e2e9a890ced",
"effects": []
}
},
{
"id": "components-target-ssh.result-absent:settled",
"observation": {
"sender": ["14db652edf02", "71d817ffdd81", "f03117831a8e"],
"payloads": ["f9dfbe0c0ea7", "7c9498659f58", "b69a18178af8"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "e314f3903bd3",
"effects": []
}
},
{
"id": "components-target-ssh.result-null:settled",
"observation": {
"sender": ["0eabd872f405", "71d817ffdd81", "f03117831a8e"],
"payloads": ["f9dfbe0c0ea7", "7c9498659f58", "b69a18178af8"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "e314f3903bd3",
"effects": []
}
},
{
"id": "components-target-ssh.inner-ok-missing:settled",
"observation": {
"sender": ["0a16839c6f87", "71d817ffdd81", "f03117831a8e"],
"payloads": ["f9dfbe0c0ea7", "7c9498659f58", "b69a18178af8"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "e314f3903bd3",
"effects": []
}
},
{
"id": "components-target-ssh.inner-false-string-error:settled",
"observation": {
"sender": ["b09dd4915f43", "71d817ffdd81", "f03117831a8e"],
"payloads": ["f9dfbe0c0ea7", "7c9498659f58", "b69a18178af8"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "e314f3903bd3",
"effects": []
}
},
{
"id": "components-target-ssh.inner-false-object-error:settled",
"observation": {
"sender": ["e18278fce524", "71d817ffdd81", "f03117831a8e"],
"payloads": ["f9dfbe0c0ea7", "7c9498659f58", "b69a18178af8"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "e314f3903bd3",
"effects": []
}
},
{
"id": "components-target-ssh.outer-refused:settled",
"observation": {
"sender": ["d0fad8f739ca", "71d817ffdd81", "f03117831a8e"],
"payloads": ["f9dfbe0c0ea7", "7c9498659f58", "b69a18178af8"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "e314f3903bd3",
"effects": []
}
},
{
"id": "components-target-ssh.outer-refused-no-message:settled",
"observation": {
"sender": ["ff6c3161dcc7", "71d817ffdd81", "f03117831a8e"],
"payloads": ["f9dfbe0c0ea7", "7c9498659f58", "b69a18178af8"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "e314f3903bd3",
"effects": []
}
},
{
"id": "components-target-ssh.method-not-found:settled",
"observation": {
"sender": ["b705ba88a562", "71d817ffdd81", "f03117831a8e"],
"payloads": ["f9dfbe0c0ea7", "7c9498659f58", "b69a18178af8"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "e314f3903bd3",
"effects": []
}
},
{
"id": "components-target-ssh.transport-rejection:settled",
"observation": {
"sender": ["2d910059043a", "71d817ffdd81", "f03117831a8e"],
"payloads": ["f9dfbe0c0ea7", "7c9498659f58", "b69a18178af8"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "e314f3903bd3",
"effects": []
}
},
{
"id": "components-target-ssh.transport-rejection-no-message:settled",
"observation": {
"sender": ["f36f17f8d448", "71d817ffdd81", "f03117831a8e"],
"payloads": ["f9dfbe0c0ea7", "7c9498659f58", "b69a18178af8"],
"settlements": {
"mount": "eb79a9b3682a",
"connect": "eb79a9b3682a"
},
"state": "e314f3903bd3",
"effects": []
}
}
]
}
}
@@ -0,0 +1,599 @@
{
"operation": "components.setup-script",
"family": "components.setup-script",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "5cfbce3c7d97d908fbd447646d611e41a8aa1f61f684b9b710c4b67d6ff023a7",
"scenarioSha256": "a844134d7bad3c7c12107d60dbd298f5cfba778703fb9dd0f7ad454615d26b07",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"0a180dd2149f": {
"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": {
"error": "inner refused",
"ok": false
}
}
}
},
"170986cae6b4": {
"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": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
},
"1e344a6b5da7": {
"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": {
"$rpc": "null"
}
}
}
},
"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
}
},
"33cfd55c1890": {
"name": "repo.hooks#1",
"args": [
{
"name": "method",
"value": "repo.hooks"
},
{
"name": "params",
"value": {
"repo": "id:repo-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"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"
}
}
}
},
"3c9287ca1560": {
"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": {
"error": {
"code": "refused",
"message": ""
},
"id": "frame-1",
"ok": false
}
}
},
"3cdc23cf6f4a": {
"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": {
"error": "refused"
}
}
}
},
"5d1cf72f4e12": {
"advanced": true,
"command": "pnpm install",
"run": true,
"runPolicy": "ask",
"source": "repo",
"trust": {
"$rpc": "null"
}
},
"64c03730d628": {
"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": {
"error": {
"code": "refused",
"message": "outer refused"
},
"id": "frame-1",
"ok": false
}
}
},
"80cf8444e458": {
"advanced": false,
"command": {
"$rpc": "null"
},
"run": true,
"runPolicy": "run-by-default",
"source": {
"$rpc": "null"
},
"trust": {
"$rpc": "null"
}
},
"941b6aeb0d6f": {
"name": "repo.hooks#1",
"args": [
{
"name": "method",
"value": "repo.hooks"
},
{
"name": "params",
"value": {
"repo": "id:repo-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
},
"daf213730e62": {
"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
}
}
},
"e6c72f695b50": {
"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": {
"error": {
"code": "method_not_found",
"message": "Unknown method"
},
"id": "frame-1",
"ok": false
}
}
},
"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": "matrix-components.setup-script-repo.hooks-1",
"checkpoints": [
{
"id": "components-setup-ask.prelude:hooks-pending",
"observation": {
"sender": ["28e75475e9e0"],
"payloads": ["f5dc0ce1e7b8"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "80cf8444e458",
"effects": []
}
},
{
"id": "components-setup-ask.normal:settled",
"observation": {
"sender": ["3515a8adcd6d"],
"payloads": ["f5dc0ce1e7b8"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "5d1cf72f4e12",
"effects": []
}
},
{
"id": "components-setup-ask.result-absent:settled",
"observation": {
"sender": ["daf213730e62"],
"payloads": ["f5dc0ce1e7b8"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "80cf8444e458",
"effects": []
}
},
{
"id": "components-setup-ask.result-null:settled",
"observation": {
"sender": ["1e344a6b5da7"],
"payloads": ["f5dc0ce1e7b8"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "80cf8444e458",
"effects": []
}
},
{
"id": "components-setup-ask.inner-ok-missing:settled",
"observation": {
"sender": ["3cdc23cf6f4a"],
"payloads": ["f5dc0ce1e7b8"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "80cf8444e458",
"effects": []
}
},
{
"id": "components-setup-ask.inner-false-string-error:settled",
"observation": {
"sender": ["0a180dd2149f"],
"payloads": ["f5dc0ce1e7b8"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "80cf8444e458",
"effects": []
}
},
{
"id": "components-setup-ask.inner-false-object-error:settled",
"observation": {
"sender": ["170986cae6b4"],
"payloads": ["f5dc0ce1e7b8"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "80cf8444e458",
"effects": []
}
},
{
"id": "components-setup-ask.outer-refused:settled",
"observation": {
"sender": ["64c03730d628"],
"payloads": ["f5dc0ce1e7b8"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "80cf8444e458",
"effects": []
}
},
{
"id": "components-setup-ask.outer-refused-no-message:settled",
"observation": {
"sender": ["3c9287ca1560"],
"payloads": ["f5dc0ce1e7b8"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "80cf8444e458",
"effects": []
}
},
{
"id": "components-setup-ask.method-not-found:settled",
"observation": {
"sender": ["e6c72f695b50"],
"payloads": ["f5dc0ce1e7b8"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "80cf8444e458",
"effects": []
}
},
{
"id": "components-setup-ask.transport-rejection:settled",
"observation": {
"sender": ["941b6aeb0d6f"],
"payloads": ["f5dc0ce1e7b8"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "80cf8444e458",
"effects": []
}
},
{
"id": "components-setup-ask.transport-rejection-no-message:settled",
"observation": {
"sender": ["33cfd55c1890"],
"payloads": ["f5dc0ce1e7b8"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "80cf8444e458",
"effects": []
}
}
]
}
}
@@ -0,0 +1,746 @@
{
"operation": "files.mutation-ownership",
"family": "files.mutation-ownership",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309",
"scenarioSha256": "5815450e8d07f463423ca0bd8237830791c220234201abffc6fa13e698913516",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"0cfc3aa2bfb0": {
"name": "ssh.getState#1",
"args": [
{
"name": "method",
"value": "ssh.getState"
},
{
"name": "params",
"value": {
"targetId": "target-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 15000
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
},
"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"
}
},
"32a7c0ae7918": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "outer refused",
"isRpcDeliveryUnknown": false
}
},
"3bff05e80a36": {
"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": {
"error": {
"code": "method_not_found",
"message": "Unknown method"
},
"id": "frame-3",
"ok": false
}
}
},
"504c0e27345c": {
"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": {
"$rpc": "null"
}
}
}
},
"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"
}
}
}
}
},
"6178f3695366": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "Couldn't verify the SSH connection. Reconnect the host and try again.",
"isRpcDeliveryUnknown": false
}
},
"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"
}
}
}
}
},
"7ae12fc753a2": {
"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": {
"error": {
"code": "refused",
"message": "outer refused"
},
"id": "frame-3",
"ok": false
}
}
},
"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
},
"98a7aa1d359d": {
"name": "ssh.getState#1",
"args": [
{
"name": "method",
"value": "ssh.getState"
},
{
"name": "params",
"value": {
"targetId": "target-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 15000
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"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"]
}
}
}
},
"a7e256068a4e": {
"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": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
},
"a947768bc0ed": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
},
"b8b7e759edc4": {
"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": {
"error": "inner refused",
"ok": false
}
}
}
},
"b948e8307e81": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "Unknown method",
"isRpcDeliveryUnknown": false
}
},
"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"
}
},
"c05abe5bc0bc": {
"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": {
"error": "refused"
}
}
}
},
"c7584e82c72f": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
},
"ce2b29907ae3": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "TypeError",
"message": "Cannot read properties of null (reading 'state')",
"isRpcDeliveryUnknown": false
}
},
"d954a0a142a5": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "TypeError",
"message": "Cannot read properties of undefined (reading 'state')",
"isRpcDeliveryUnknown": false
}
},
"dfc84caa8f54": {
"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
}
}
},
"e7fd41d8b9e6": {
"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": {
"error": {
"code": "refused",
"message": ""
},
"id": "frame-3",
"ok": false
}
}
},
"f3b516f62081": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": false
}
}
},
"recording": {
"scenario": "matrix-files.mutation-ownership-ssh.getstate-1",
"checkpoints": [
{
"id": "files-ownership-ssh.prelude:status-pending",
"observation": {
"sender": ["bc119660f0c1"],
"payloads": ["1e5b32902af7"],
"settlements": {
"capture": "9270aeb7d9c6"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.normal:settled",
"observation": {
"sender": ["a56852d6836b", "6ef43f81f7e3", "6116946241ca"],
"payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"],
"settlements": {
"capture": "29bfbe94cca9"
},
"state": "bd84dadd27c7",
"effects": []
}
},
{
"id": "files-ownership-ssh.result-absent:settled",
"observation": {
"sender": ["a56852d6836b", "6ef43f81f7e3", "dfc84caa8f54"],
"payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"],
"settlements": {
"capture": "d954a0a142a5"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.result-null:settled",
"observation": {
"sender": ["a56852d6836b", "6ef43f81f7e3", "504c0e27345c"],
"payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"],
"settlements": {
"capture": "ce2b29907ae3"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.inner-ok-missing:settled",
"observation": {
"sender": ["a56852d6836b", "6ef43f81f7e3", "c05abe5bc0bc"],
"payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"],
"settlements": {
"capture": "6178f3695366"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.inner-false-string-error:settled",
"observation": {
"sender": ["a56852d6836b", "6ef43f81f7e3", "b8b7e759edc4"],
"payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"],
"settlements": {
"capture": "6178f3695366"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.inner-false-object-error:settled",
"observation": {
"sender": ["a56852d6836b", "6ef43f81f7e3", "a7e256068a4e"],
"payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"],
"settlements": {
"capture": "6178f3695366"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.outer-refused:settled",
"observation": {
"sender": ["a56852d6836b", "6ef43f81f7e3", "7ae12fc753a2"],
"payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"],
"settlements": {
"capture": "32a7c0ae7918"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.outer-refused-no-message:settled",
"observation": {
"sender": ["a56852d6836b", "6ef43f81f7e3", "e7fd41d8b9e6"],
"payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"],
"settlements": {
"capture": "f3b516f62081"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.method-not-found:settled",
"observation": {
"sender": ["a56852d6836b", "6ef43f81f7e3", "3bff05e80a36"],
"payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"],
"settlements": {
"capture": "b948e8307e81"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.transport-rejection:settled",
"observation": {
"sender": ["a56852d6836b", "6ef43f81f7e3", "0cfc3aa2bfb0"],
"payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"],
"settlements": {
"capture": "a947768bc0ed"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.transport-rejection-no-message:settled",
"observation": {
"sender": ["a56852d6836b", "6ef43f81f7e3", "98a7aa1d359d"],
"payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"],
"settlements": {
"capture": "c7584e82c72f"
},
"state": "518ec57c381a",
"effects": []
}
}
]
}
}
@@ -0,0 +1,746 @@
{
"operation": "files.mutation-ownership",
"family": "files.mutation-ownership",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309",
"scenarioSha256": "b9cfb187224a4b42efe8ccfcd96145833730d135c4fffa345716f95991a4700f",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"0b7588536afb": {
"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": {
"error": {
"code": "refused",
"message": "outer refused"
},
"id": "frame-1",
"ok": false
}
}
},
"0d163aa89099": {
"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": {
"$rpc": "null"
}
}
}
},
"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"
}
},
"32a7c0ae7918": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "outer refused",
"isRpcDeliveryUnknown": false
}
},
"48e2bdc38094": {
"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": {
"error": "refused"
}
}
}
},
"4b0fb2833d76": {
"name": "status.get#1",
"args": [
{
"name": "method",
"value": "status.get"
},
{
"name": "params",
"value": {
"$rpc": "undefined"
}
},
{
"name": "options",
"value": {
"timeoutMs": 15000
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
},
"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"
}
}
}
}
},
"68ce4d376250": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "TypeError",
"message": "Cannot read properties of null (reading 'capabilities')",
"isRpcDeliveryUnknown": false
}
},
"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"
}
}
}
}
},
"74a9cdb3c227": {
"name": "status.get#1",
"args": [
{
"name": "method",
"value": "status.get"
},
{
"name": "params",
"value": {
"$rpc": "undefined"
}
},
{
"name": "options",
"value": {
"timeoutMs": 15000
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"753f8f2aac3b": {
"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": {
"error": {
"code": "method_not_found",
"message": "Unknown method"
},
"id": "frame-1",
"ok": false
}
}
},
"848eaee9cd6a": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "TypeError",
"message": "Cannot read properties of undefined (reading 'capabilities')",
"isRpcDeliveryUnknown": false
}
},
"90817e8c47cb": {
"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
}
}
},
"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
},
"9ce0c7923c41": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "Remote file changes require a newer Orca server. Update the HUB and try again.",
"isRpcDeliveryUnknown": false
}
},
"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"]
}
}
}
},
"a8d9f204690e": {
"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": {
"error": {
"code": "refused",
"message": ""
},
"id": "frame-1",
"ok": false
}
}
},
"a947768bc0ed": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
},
"b948e8307e81": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "Unknown method",
"isRpcDeliveryUnknown": false
}
},
"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"
}
},
"c7584e82c72f": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
},
"f2a2b92aa73c": {
"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": {
"error": "inner refused",
"ok": false
}
}
}
},
"f3b516f62081": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": false
}
},
"f68f9c806fb2": {
"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": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
}
},
"recording": {
"scenario": "matrix-files.mutation-ownership-status.get-1",
"checkpoints": [
{
"id": "files-ownership-ssh.prelude:status-pending",
"observation": {
"sender": ["bc119660f0c1"],
"payloads": ["1e5b32902af7"],
"settlements": {
"capture": "9270aeb7d9c6"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.normal:settled",
"observation": {
"sender": ["a56852d6836b", "6ef43f81f7e3", "6116946241ca"],
"payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"],
"settlements": {
"capture": "29bfbe94cca9"
},
"state": "bd84dadd27c7",
"effects": []
}
},
{
"id": "files-ownership-ssh.result-absent:settled",
"observation": {
"sender": ["90817e8c47cb"],
"payloads": ["1e5b32902af7"],
"settlements": {
"capture": "848eaee9cd6a"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.result-null:settled",
"observation": {
"sender": ["0d163aa89099"],
"payloads": ["1e5b32902af7"],
"settlements": {
"capture": "68ce4d376250"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.inner-ok-missing:settled",
"observation": {
"sender": ["48e2bdc38094"],
"payloads": ["1e5b32902af7"],
"settlements": {
"capture": "9ce0c7923c41"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.inner-false-string-error:settled",
"observation": {
"sender": ["f2a2b92aa73c"],
"payloads": ["1e5b32902af7"],
"settlements": {
"capture": "9ce0c7923c41"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.inner-false-object-error:settled",
"observation": {
"sender": ["f68f9c806fb2"],
"payloads": ["1e5b32902af7"],
"settlements": {
"capture": "9ce0c7923c41"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.outer-refused:settled",
"observation": {
"sender": ["0b7588536afb"],
"payloads": ["1e5b32902af7"],
"settlements": {
"capture": "32a7c0ae7918"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.outer-refused-no-message:settled",
"observation": {
"sender": ["a8d9f204690e"],
"payloads": ["1e5b32902af7"],
"settlements": {
"capture": "f3b516f62081"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.method-not-found:settled",
"observation": {
"sender": ["753f8f2aac3b"],
"payloads": ["1e5b32902af7"],
"settlements": {
"capture": "b948e8307e81"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.transport-rejection:settled",
"observation": {
"sender": ["4b0fb2833d76"],
"payloads": ["1e5b32902af7"],
"settlements": {
"capture": "a947768bc0ed"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.transport-rejection-no-message:settled",
"observation": {
"sender": ["74a9cdb3c227"],
"payloads": ["1e5b32902af7"],
"settlements": {
"capture": "c7584e82c72f"
},
"state": "518ec57c381a",
"effects": []
}
}
]
}
}
@@ -0,0 +1,746 @@
{
"operation": "files.mutation-ownership",
"family": "files.mutation-ownership",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309",
"scenarioSha256": "0bf3b17048bceb0bc8592405facd99cb8086274509206d9e55cd589a05d7415f",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"06cbb9a1b167": {
"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": {
"error": "refused"
}
}
}
},
"0b4d42954d52": {
"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": {
"error": {
"code": "refused",
"message": ""
},
"id": "frame-2",
"ok": false
}
}
},
"1e5b32902af7": {
"name": "status.get#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}"
},
"2588fd63a157": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "TypeError",
"message": "Cannot read properties of undefined (reading 'worktree')",
"isRpcDeliveryUnknown": false
}
},
"29bfbe94cca9": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"expectedExecutionHostId": "ssh:target-1",
"expectedSshConnectionGeneration": 3,
"expectedSshTargetId": "target-1"
}
},
"2fa02ab5402f": {
"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": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
},
"32a7c0ae7918": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "outer refused",
"isRpcDeliveryUnknown": false
}
},
"39a0b3c0e319": {
"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": {
"$rpc": "null"
}
}
}
},
"518ec57c381a": {
"ownership": "uncaptured"
},
"533d020d6123": {
"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
}
}
},
"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"
}
}
}
}
},
"6178f3695366": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "Couldn't verify the SSH connection. Reconnect the host and try again.",
"isRpcDeliveryUnknown": false
}
},
"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"
}
}
}
}
},
"8845bcbdc51b": {
"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": {
"error": "inner refused",
"ok": false
}
}
}
},
"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"]
}
}
}
},
"a947768bc0ed": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
},
"b5447f4dd931": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "TypeError",
"message": "Cannot read properties of null (reading 'worktree')",
"isRpcDeliveryUnknown": false
}
},
"b948e8307e81": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "Unknown method",
"isRpcDeliveryUnknown": false
}
},
"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"
}
},
"c6aa5c0a7bd1": {
"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": {
"error": {
"code": "method_not_found",
"message": "Unknown method"
},
"id": "frame-2",
"ok": false
}
}
},
"c7584e82c72f": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
},
"cff8b7a5e7ce": {
"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": {
"error": {
"code": "refused",
"message": "outer refused"
},
"id": "frame-2",
"ok": false
}
}
},
"f3b516f62081": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": false
}
},
"fc05e7103b6c": {
"name": "worktree.show#1",
"args": [
{
"name": "method",
"value": "worktree.show"
},
{
"name": "params",
"value": {
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 15000
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"fd50303f30ce": {
"name": "worktree.show#1",
"args": [
{
"name": "method",
"value": "worktree.show"
},
{
"name": "params",
"value": {
"worktree": "id:workspace-1"
}
},
{
"name": "options",
"value": {
"timeoutMs": 15000
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
}
},
"recording": {
"scenario": "matrix-files.mutation-ownership-worktree.show-1",
"checkpoints": [
{
"id": "files-ownership-ssh.prelude:status-pending",
"observation": {
"sender": ["bc119660f0c1"],
"payloads": ["1e5b32902af7"],
"settlements": {
"capture": "9270aeb7d9c6"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.normal:settled",
"observation": {
"sender": ["a56852d6836b", "6ef43f81f7e3", "6116946241ca"],
"payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"],
"settlements": {
"capture": "29bfbe94cca9"
},
"state": "bd84dadd27c7",
"effects": []
}
},
{
"id": "files-ownership-ssh.result-absent:settled",
"observation": {
"sender": ["a56852d6836b", "533d020d6123"],
"payloads": ["1e5b32902af7", "9199aee60486"],
"settlements": {
"capture": "2588fd63a157"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.result-null:settled",
"observation": {
"sender": ["a56852d6836b", "39a0b3c0e319"],
"payloads": ["1e5b32902af7", "9199aee60486"],
"settlements": {
"capture": "b5447f4dd931"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.inner-ok-missing:settled",
"observation": {
"sender": ["a56852d6836b", "06cbb9a1b167"],
"payloads": ["1e5b32902af7", "9199aee60486"],
"settlements": {
"capture": "6178f3695366"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.inner-false-string-error:settled",
"observation": {
"sender": ["a56852d6836b", "8845bcbdc51b"],
"payloads": ["1e5b32902af7", "9199aee60486"],
"settlements": {
"capture": "6178f3695366"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.inner-false-object-error:settled",
"observation": {
"sender": ["a56852d6836b", "2fa02ab5402f"],
"payloads": ["1e5b32902af7", "9199aee60486"],
"settlements": {
"capture": "6178f3695366"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.outer-refused:settled",
"observation": {
"sender": ["a56852d6836b", "cff8b7a5e7ce"],
"payloads": ["1e5b32902af7", "9199aee60486"],
"settlements": {
"capture": "32a7c0ae7918"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.outer-refused-no-message:settled",
"observation": {
"sender": ["a56852d6836b", "0b4d42954d52"],
"payloads": ["1e5b32902af7", "9199aee60486"],
"settlements": {
"capture": "f3b516f62081"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.method-not-found:settled",
"observation": {
"sender": ["a56852d6836b", "c6aa5c0a7bd1"],
"payloads": ["1e5b32902af7", "9199aee60486"],
"settlements": {
"capture": "b948e8307e81"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.transport-rejection:settled",
"observation": {
"sender": ["a56852d6836b", "fd50303f30ce"],
"payloads": ["1e5b32902af7", "9199aee60486"],
"settlements": {
"capture": "a947768bc0ed"
},
"state": "518ec57c381a",
"effects": []
}
},
{
"id": "files-ownership-ssh.transport-rejection-no-message:settled",
"observation": {
"sender": ["a56852d6836b", "fc05e7103b6c"],
"payloads": ["1e5b32902af7", "9199aee60486"],
"settlements": {
"capture": "c7584e82c72f"
},
"state": "518ec57c381a",
"effects": []
}
}
]
}
}
@@ -0,0 +1,649 @@
{
"operation": "files.preview-load",
"family": "files.preview-load",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309",
"scenarioSha256": "dbd20e271999641affbd4b52635c8864e25f08aa6db820a46d0773faa09770c6",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"139c55987ba6": {
"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
}
}
},
"15467bba2d60": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"message": "Unable to load preview",
"reconnect": false,
"status": "error"
}
},
"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
}
},
"645c5754be42": {
"preview": "unloaded"
},
"67427c41b324": {
"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": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
},
"68b5d189bcca": {
"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": "refused",
"message": "outer refused"
},
"id": "frame-1",
"ok": false
}
}
},
"7500d091ea19": {
"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": {
"$rpc": "null"
}
}
}
},
"784ea351e5b2": {
"preview": {
"byteLength": 5,
"content": "hello",
"kind": "text",
"status": "ready",
"truncated": false
}
},
"7886fcdc8065": {
"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": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"9d9aa1c01790": {
"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": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"a947768bc0ed": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
},
"ac130adfeffb": {
"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": "method_not_found",
"message": "Unknown method"
},
"id": "frame-1",
"ok": false
}
}
},
"c7584e82c72f": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
},
"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\"}}"
},
"e088aa7f81b8": {
"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": {
"error": "inner refused",
"ok": false
}
}
}
},
"e2791dca552b": {
"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": "refused",
"message": ""
},
"id": "frame-1",
"ok": 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
}
},
"f488aff81e98": {
"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": {
"error": "refused"
}
}
}
},
"fba5e3c89244": {
"preview": {
"message": "Unable to load preview",
"reconnect": false,
"status": "error"
}
}
},
"recording": {
"scenario": "matrix-files.preview-load-files.readterminalartifact-1",
"checkpoints": [
{
"id": "files-preview-grant-refresh.prelude:read-pending",
"observation": {
"sender": ["e81d5596c201"],
"payloads": ["e0401d205ea2"],
"settlements": {
"load": "9270aeb7d9c6"
},
"state": "645c5754be42",
"effects": []
}
},
{
"id": "files-preview-grant-refresh.normal:settled",
"observation": {
"sender": ["194fabd9b9d8"],
"payloads": ["e0401d205ea2"],
"settlements": {
"load": "500d95d47092"
},
"state": "784ea351e5b2",
"effects": []
}
},
{
"id": "files-preview-grant-refresh.result-absent:settled",
"observation": {
"sender": ["139c55987ba6"],
"payloads": ["e0401d205ea2"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": []
}
},
{
"id": "files-preview-grant-refresh.result-null:settled",
"observation": {
"sender": ["7500d091ea19"],
"payloads": ["e0401d205ea2"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": []
}
},
{
"id": "files-preview-grant-refresh.inner-ok-missing:settled",
"observation": {
"sender": ["f488aff81e98"],
"payloads": ["e0401d205ea2"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": []
}
},
{
"id": "files-preview-grant-refresh.inner-false-string-error:settled",
"observation": {
"sender": ["e088aa7f81b8"],
"payloads": ["e0401d205ea2"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": []
}
},
{
"id": "files-preview-grant-refresh.inner-false-object-error:settled",
"observation": {
"sender": ["67427c41b324"],
"payloads": ["e0401d205ea2"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": []
}
},
{
"id": "files-preview-grant-refresh.outer-refused:settled",
"observation": {
"sender": ["68b5d189bcca"],
"payloads": ["e0401d205ea2"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": []
}
},
{
"id": "files-preview-grant-refresh.outer-refused-no-message:settled",
"observation": {
"sender": ["e2791dca552b"],
"payloads": ["e0401d205ea2"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": []
}
},
{
"id": "files-preview-grant-refresh.method-not-found:settled",
"observation": {
"sender": ["ac130adfeffb"],
"payloads": ["e0401d205ea2"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": []
}
},
{
"id": "files-preview-grant-refresh.transport-rejection:settled",
"observation": {
"sender": ["7886fcdc8065"],
"payloads": ["e0401d205ea2"],
"settlements": {
"load": "a947768bc0ed"
},
"state": "645c5754be42",
"effects": []
}
},
{
"id": "files-preview-grant-refresh.transport-rejection-no-message:settled",
"observation": {
"sender": ["9d9aa1c01790"],
"payloads": ["e0401d205ea2"],
"settlements": {
"load": "c7584e82c72f"
},
"state": "645c5754be42",
"effects": []
}
}
]
}
}
@@ -0,0 +1,747 @@
{
"operation": "files.preview-load",
"family": "files.preview-load",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309",
"scenarioSha256": "c4a09003352ba4e97a17ec4109cc125298cf7123b317265cc5eca06e8dcc0615",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"15467bba2d60": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"message": "Unable to load preview",
"reconnect": false,
"status": "error"
}
},
"23897314fbe2": {
"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": {
"$rpc": "null"
}
}
}
},
"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
}
}
}
},
"645c5754be42": {
"preview": "unloaded"
},
"68b4cb95d67a": {
"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": {
"error": "inner refused",
"ok": false
}
}
}
},
"70356f9cd814": {
"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": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"784ea351e5b2": {
"preview": {
"byteLength": 5,
"content": "hello",
"kind": "text",
"status": "ready",
"truncated": false
}
},
"813fe48569a6": {
"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"
}
},
"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\"}}"
},
"a947768bc0ed": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
},
"b1c3cb621eff": {
"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": {
"error": {
"code": "refused",
"message": "outer refused"
},
"id": "frame-3",
"ok": false
}
}
},
"c01a147cb225": {
"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": {
"error": "refused"
}
}
}
},
"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\"}}"
},
"c727a49c2e15": {
"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": {
"error": {
"code": "refused",
"message": ""
},
"id": "frame-3",
"ok": false
}
}
},
"c7584e82c72f": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
},
"ca6bf3108851": {
"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": {
"error": {
"code": "method_not_found",
"message": "Unknown method"
},
"id": "frame-3",
"ok": 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\"}}"
},
"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
}
},
"ebf2a6ee078d": {
"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": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
},
"edcd6a3e98cd": {
"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": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
},
"f444aa03ba44": {
"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
}
}
},
"fba5e3c89244": {
"preview": {
"message": "Unable to load preview",
"reconnect": false,
"status": "error"
}
}
},
"recording": {
"scenario": "matrix-files.preview-load-files.readterminalartifact-2",
"checkpoints": [
{
"id": "files-preview-grant-refresh.prelude:read-pending",
"observation": {
"sender": ["e81d5596c201"],
"payloads": ["e0401d205ea2"],
"settlements": {
"load": "9270aeb7d9c6"
},
"state": "645c5754be42",
"effects": []
}
},
{
"id": "files-preview-grant-refresh.normal:settled",
"observation": {
"sender": ["25b0d1737c71", "3c5492779d85", "5f446c109a9a"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"],
"settlements": {
"load": "500d95d47092"
},
"state": "784ea351e5b2",
"effects": ["813fe48569a6"]
}
},
{
"id": "files-preview-grant-refresh.result-absent:settled",
"observation": {
"sender": ["25b0d1737c71", "3c5492779d85", "f444aa03ba44"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": ["813fe48569a6"]
}
},
{
"id": "files-preview-grant-refresh.result-null:settled",
"observation": {
"sender": ["25b0d1737c71", "3c5492779d85", "23897314fbe2"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": ["813fe48569a6"]
}
},
{
"id": "files-preview-grant-refresh.inner-ok-missing:settled",
"observation": {
"sender": ["25b0d1737c71", "3c5492779d85", "c01a147cb225"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": ["813fe48569a6"]
}
},
{
"id": "files-preview-grant-refresh.inner-false-string-error:settled",
"observation": {
"sender": ["25b0d1737c71", "3c5492779d85", "68b4cb95d67a"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": ["813fe48569a6"]
}
},
{
"id": "files-preview-grant-refresh.inner-false-object-error:settled",
"observation": {
"sender": ["25b0d1737c71", "3c5492779d85", "edcd6a3e98cd"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": ["813fe48569a6"]
}
},
{
"id": "files-preview-grant-refresh.outer-refused:settled",
"observation": {
"sender": ["25b0d1737c71", "3c5492779d85", "b1c3cb621eff"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": ["813fe48569a6"]
}
},
{
"id": "files-preview-grant-refresh.outer-refused-no-message:settled",
"observation": {
"sender": ["25b0d1737c71", "3c5492779d85", "c727a49c2e15"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": ["813fe48569a6"]
}
},
{
"id": "files-preview-grant-refresh.method-not-found:settled",
"observation": {
"sender": ["25b0d1737c71", "3c5492779d85", "ca6bf3108851"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": ["813fe48569a6"]
}
},
{
"id": "files-preview-grant-refresh.transport-rejection:settled",
"observation": {
"sender": ["25b0d1737c71", "3c5492779d85", "ebf2a6ee078d"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"],
"settlements": {
"load": "a947768bc0ed"
},
"state": "645c5754be42",
"effects": ["813fe48569a6"]
}
},
{
"id": "files-preview-grant-refresh.transport-rejection-no-message:settled",
"observation": {
"sender": ["25b0d1737c71", "3c5492779d85", "70356f9cd814"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"],
"settlements": {
"load": "c7584e82c72f"
},
"state": "645c5754be42",
"effects": ["813fe48569a6"]
}
}
]
}
}
@@ -0,0 +1,757 @@
{
"operation": "files.preview-load",
"family": "files.preview-load",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309",
"scenarioSha256": "ecdeff2713e454925158dde09782713d76f39455729bb25688a6ffcfff154f30",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"05c972dfc190": {
"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
}
}
},
"15467bba2d60": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"message": "Unable to load preview",
"reconnect": false,
"status": "error"
}
},
"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
}
}
},
"30954e0c83e6": {
"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": {
"error": {
"code": "refused",
"message": ""
},
"id": "frame-2",
"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
}
}
}
},
"645c5754be42": {
"preview": "unloaded"
},
"784ea351e5b2": {
"preview": {
"byteLength": 5,
"content": "hello",
"kind": "text",
"status": "ready",
"truncated": false
}
},
"7f321cd7152f": {
"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": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
},
"813fe48569a6": {
"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"
}
},
"8ce900375525": {
"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": {
"error": "inner refused",
"ok": 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\"}}"
},
"a947768bc0ed": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
},
"ad2583c82bfe": {
"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": {
"error": {
"code": "refused",
"message": "outer refused"
},
"id": "frame-2",
"ok": false
}
}
},
"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\"}}"
},
"c469c3b9bfe7": {
"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": {
"$rpc": "null"
}
}
}
},
"c657a3f0e02b": {
"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": {
"error": "refused"
}
}
}
},
"c7584e82c72f": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
},
"d9baab0b6b3c": {
"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": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
},
"de1ef0907023": {
"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": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"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
}
},
"efd7ff51072f": {
"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": {
"error": {
"code": "method_not_found",
"message": "Unknown method"
},
"id": "frame-2",
"ok": false
}
}
},
"fba5e3c89244": {
"preview": {
"message": "Unable to load preview",
"reconnect": false,
"status": "error"
}
}
},
"recording": {
"scenario": "matrix-files.preview-load-files.resolveterminalpath-1",
"checkpoints": [
{
"id": "files-preview-grant-refresh.prelude:read-pending",
"observation": {
"sender": ["e81d5596c201"],
"payloads": ["e0401d205ea2"],
"settlements": {
"load": "9270aeb7d9c6"
},
"state": "645c5754be42",
"effects": []
}
},
{
"id": "files-preview-grant-refresh.normal:settled",
"observation": {
"sender": ["25b0d1737c71", "3c5492779d85", "5f446c109a9a"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"],
"settlements": {
"load": "500d95d47092"
},
"state": "784ea351e5b2",
"effects": ["813fe48569a6"]
}
},
{
"id": "files-preview-grant-refresh.result-absent:settled",
"observation": {
"sender": ["25b0d1737c71", "05c972dfc190"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": []
}
},
{
"id": "files-preview-grant-refresh.result-null:settled",
"observation": {
"sender": ["25b0d1737c71", "c469c3b9bfe7"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": []
}
},
{
"id": "files-preview-grant-refresh.inner-ok-missing:settled",
"observation": {
"sender": ["25b0d1737c71", "c657a3f0e02b"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": []
}
},
{
"id": "files-preview-grant-refresh.inner-false-string-error:settled",
"observation": {
"sender": ["25b0d1737c71", "8ce900375525"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": []
}
},
{
"id": "files-preview-grant-refresh.inner-false-object-error:settled",
"observation": {
"sender": ["25b0d1737c71", "d9baab0b6b3c"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": []
}
},
{
"id": "files-preview-grant-refresh.outer-refused:settled",
"observation": {
"sender": ["25b0d1737c71", "ad2583c82bfe"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": []
}
},
{
"id": "files-preview-grant-refresh.outer-refused-no-message:settled",
"observation": {
"sender": ["25b0d1737c71", "30954e0c83e6"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": []
}
},
{
"id": "files-preview-grant-refresh.method-not-found:settled",
"observation": {
"sender": ["25b0d1737c71", "efd7ff51072f"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf"],
"settlements": {
"load": "15467bba2d60"
},
"state": "fba5e3c89244",
"effects": []
}
},
{
"id": "files-preview-grant-refresh.transport-rejection:settled",
"observation": {
"sender": ["25b0d1737c71", "7f321cd7152f"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf"],
"settlements": {
"load": "a947768bc0ed"
},
"state": "645c5754be42",
"effects": []
}
},
{
"id": "files-preview-grant-refresh.transport-rejection-no-message:settled",
"observation": {
"sender": ["25b0d1737c71", "de1ef0907023"],
"payloads": ["e0401d205ea2", "9a56ffbdd5bf"],
"settlements": {
"load": "c7584e82c72f"
},
"state": "645c5754be42",
"effects": []
}
}
]
}
}
@@ -0,0 +1,681 @@
{
"operation": "files.preview-save",
"family": "files.preview-save",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309",
"scenarioSha256": "1a4f7dff351be244712bedb8f495c83a531cfbfc5b5923267d1ed46bf2d6d11b",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"139c55987ba6": {
"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
}
}
},
"15467bba2d60": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"message": "Unable to load preview",
"reconnect": false,
"status": "error"
}
},
"54a6055a16b5": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"status": "saved"
}
},
"5ac141a87b5a": {
"saved": {
"message": "Unable to load preview",
"reconnect": false,
"status": "error"
}
},
"67427c41b324": {
"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": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
},
"68b5d189bcca": {
"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": "refused",
"message": "outer refused"
},
"id": "frame-1",
"ok": false
}
}
},
"7500d091ea19": {
"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": {
"$rpc": "null"
}
}
}
},
"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
}
}
}
},
"7886fcdc8065": {
"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": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"935100df69e4": {
"saved": "unsaved"
},
"9d9aa1c01790": {
"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": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"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\"}}"
},
"a947768bc0ed": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
},
"ac130adfeffb": {
"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": "method_not_found",
"message": "Unknown method"
},
"id": "frame-1",
"ok": false
}
}
},
"b3f873eb7d0c": {
"saved": {
"status": "saved"
}
},
"c7584e82c72f": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
},
"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\"}}"
},
"e088aa7f81b8": {
"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": {
"error": "inner refused",
"ok": false
}
}
}
},
"e2791dca552b": {
"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": "refused",
"message": ""
},
"id": "frame-1",
"ok": false
}
}
},
"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
}
},
"f488aff81e98": {
"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": {
"error": "refused"
}
}
}
}
},
"recording": {
"scenario": "matrix-files.preview-save-files.readterminalartifact-1",
"checkpoints": [
{
"id": "files-save-verified.prelude:verify-pending",
"observation": {
"sender": ["e81d5596c201"],
"payloads": ["e0401d205ea2"],
"settlements": {
"save": "9270aeb7d9c6"
},
"state": "935100df69e4",
"effects": []
}
},
{
"id": "files-save-verified.normal:settled",
"observation": {
"sender": ["e391aec81b96", "7875007ef392"],
"payloads": ["e0401d205ea2", "a3886e3a9791"],
"settlements": {
"save": "54a6055a16b5"
},
"state": "b3f873eb7d0c",
"effects": []
}
},
{
"id": "files-save-verified.result-absent:settled",
"observation": {
"sender": ["139c55987ba6"],
"payloads": ["e0401d205ea2"],
"settlements": {
"save": "15467bba2d60"
},
"state": "5ac141a87b5a",
"effects": []
}
},
{
"id": "files-save-verified.result-null:settled",
"observation": {
"sender": ["7500d091ea19"],
"payloads": ["e0401d205ea2"],
"settlements": {
"save": "15467bba2d60"
},
"state": "5ac141a87b5a",
"effects": []
}
},
{
"id": "files-save-verified.inner-ok-missing:settled",
"observation": {
"sender": ["f488aff81e98"],
"payloads": ["e0401d205ea2"],
"settlements": {
"save": "15467bba2d60"
},
"state": "5ac141a87b5a",
"effects": []
}
},
{
"id": "files-save-verified.inner-false-string-error:settled",
"observation": {
"sender": ["e088aa7f81b8"],
"payloads": ["e0401d205ea2"],
"settlements": {
"save": "15467bba2d60"
},
"state": "5ac141a87b5a",
"effects": []
}
},
{
"id": "files-save-verified.inner-false-object-error:settled",
"observation": {
"sender": ["67427c41b324"],
"payloads": ["e0401d205ea2"],
"settlements": {
"save": "15467bba2d60"
},
"state": "5ac141a87b5a",
"effects": []
}
},
{
"id": "files-save-verified.outer-refused:settled",
"observation": {
"sender": ["68b5d189bcca"],
"payloads": ["e0401d205ea2"],
"settlements": {
"save": "15467bba2d60"
},
"state": "5ac141a87b5a",
"effects": []
}
},
{
"id": "files-save-verified.outer-refused-no-message:settled",
"observation": {
"sender": ["e2791dca552b"],
"payloads": ["e0401d205ea2"],
"settlements": {
"save": "15467bba2d60"
},
"state": "5ac141a87b5a",
"effects": []
}
},
{
"id": "files-save-verified.method-not-found:settled",
"observation": {
"sender": ["ac130adfeffb"],
"payloads": ["e0401d205ea2"],
"settlements": {
"save": "15467bba2d60"
},
"state": "5ac141a87b5a",
"effects": []
}
},
{
"id": "files-save-verified.transport-rejection:settled",
"observation": {
"sender": ["7886fcdc8065"],
"payloads": ["e0401d205ea2"],
"settlements": {
"save": "a947768bc0ed"
},
"state": "935100df69e4",
"effects": []
}
},
{
"id": "files-save-verified.transport-rejection-no-message:settled",
"observation": {
"sender": ["9d9aa1c01790"],
"payloads": ["e0401d205ea2"],
"settlements": {
"save": "c7584e82c72f"
},
"state": "935100df69e4",
"effects": []
}
}
]
}
}
@@ -0,0 +1,691 @@
{
"operation": "files.preview-save",
"family": "files.preview-save",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309",
"scenarioSha256": "8d443bda91fe5a1fa74910d525bb2ec40f639109bc71afbd42bccd949b3d463f",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"15467bba2d60": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"message": "Unable to load preview",
"reconnect": false,
"status": "error"
}
},
"24195166cf4d": {
"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": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"2e3484ef7995": {
"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": {
"error": {
"code": "refused",
"message": "outer refused"
},
"id": "frame-2",
"ok": false
}
}
},
"3a281590ccf7": {
"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": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
},
"4db44f048a4d": {
"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": {
"error": {
"code": "method_not_found",
"message": "Unknown method"
},
"id": "frame-2",
"ok": false
}
}
},
"54a6055a16b5": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"status": "saved"
}
},
"5ac141a87b5a": {
"saved": {
"message": "Unable to load preview",
"reconnect": false,
"status": "error"
}
},
"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
}
}
}
},
"78be845b88ca": {
"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": {
"error": "refused"
}
}
}
},
"82f499ca91c8": {
"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": {
"error": "inner refused",
"ok": false
}
}
}
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"935100df69e4": {
"saved": "unsaved"
},
"a1ef4333ebe3": {
"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
}
}
},
"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\"}}"
},
"a947768bc0ed": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
},
"b3f873eb7d0c": {
"saved": {
"status": "saved"
}
},
"bddbfe5ee1aa": {
"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": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
},
"c09d56029b09": {
"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": {
"error": {
"code": "refused",
"message": ""
},
"id": "frame-2",
"ok": false
}
}
},
"c7584e82c72f": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
},
"c889a22fe351": {
"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": {
"$rpc": "null"
}
}
}
},
"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": "matrix-files.preview-save-files.writeterminalartifact-1",
"checkpoints": [
{
"id": "files-save-verified.prelude:verify-pending",
"observation": {
"sender": ["e81d5596c201"],
"payloads": ["e0401d205ea2"],
"settlements": {
"save": "9270aeb7d9c6"
},
"state": "935100df69e4",
"effects": []
}
},
{
"id": "files-save-verified.normal:settled",
"observation": {
"sender": ["e391aec81b96", "7875007ef392"],
"payloads": ["e0401d205ea2", "a3886e3a9791"],
"settlements": {
"save": "54a6055a16b5"
},
"state": "b3f873eb7d0c",
"effects": []
}
},
{
"id": "files-save-verified.result-absent:settled",
"observation": {
"sender": ["e391aec81b96", "a1ef4333ebe3"],
"payloads": ["e0401d205ea2", "a3886e3a9791"],
"settlements": {
"save": "54a6055a16b5"
},
"state": "b3f873eb7d0c",
"effects": []
}
},
{
"id": "files-save-verified.result-null:settled",
"observation": {
"sender": ["e391aec81b96", "c889a22fe351"],
"payloads": ["e0401d205ea2", "a3886e3a9791"],
"settlements": {
"save": "54a6055a16b5"
},
"state": "b3f873eb7d0c",
"effects": []
}
},
{
"id": "files-save-verified.inner-ok-missing:settled",
"observation": {
"sender": ["e391aec81b96", "78be845b88ca"],
"payloads": ["e0401d205ea2", "a3886e3a9791"],
"settlements": {
"save": "54a6055a16b5"
},
"state": "b3f873eb7d0c",
"effects": []
}
},
{
"id": "files-save-verified.inner-false-string-error:settled",
"observation": {
"sender": ["e391aec81b96", "82f499ca91c8"],
"payloads": ["e0401d205ea2", "a3886e3a9791"],
"settlements": {
"save": "54a6055a16b5"
},
"state": "b3f873eb7d0c",
"effects": []
}
},
{
"id": "files-save-verified.inner-false-object-error:settled",
"observation": {
"sender": ["e391aec81b96", "bddbfe5ee1aa"],
"payloads": ["e0401d205ea2", "a3886e3a9791"],
"settlements": {
"save": "54a6055a16b5"
},
"state": "b3f873eb7d0c",
"effects": []
}
},
{
"id": "files-save-verified.outer-refused:settled",
"observation": {
"sender": ["e391aec81b96", "2e3484ef7995"],
"payloads": ["e0401d205ea2", "a3886e3a9791"],
"settlements": {
"save": "15467bba2d60"
},
"state": "5ac141a87b5a",
"effects": []
}
},
{
"id": "files-save-verified.outer-refused-no-message:settled",
"observation": {
"sender": ["e391aec81b96", "c09d56029b09"],
"payloads": ["e0401d205ea2", "a3886e3a9791"],
"settlements": {
"save": "15467bba2d60"
},
"state": "5ac141a87b5a",
"effects": []
}
},
{
"id": "files-save-verified.method-not-found:settled",
"observation": {
"sender": ["e391aec81b96", "4db44f048a4d"],
"payloads": ["e0401d205ea2", "a3886e3a9791"],
"settlements": {
"save": "15467bba2d60"
},
"state": "5ac141a87b5a",
"effects": []
}
},
{
"id": "files-save-verified.transport-rejection:settled",
"observation": {
"sender": ["e391aec81b96", "3a281590ccf7"],
"payloads": ["e0401d205ea2", "a3886e3a9791"],
"settlements": {
"save": "a947768bc0ed"
},
"state": "935100df69e4",
"effects": []
}
},
{
"id": "files-save-verified.transport-rejection-no-message:settled",
"observation": {
"sender": ["e391aec81b96", "24195166cf4d"],
"payloads": ["e0401d205ea2", "a3886e3a9791"],
"settlements": {
"save": "c7584e82c72f"
},
"state": "935100df69e4",
"effects": []
}
}
]
}
}
@@ -0,0 +1,861 @@
{
"operation": "files.tab-doc",
"family": "files.tab-doc",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309",
"scenarioSha256": "65895c028637185238baf4fd4f1297c11f528a289fe8173a41c48dc5a0b37c26",
"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\"}}"
},
"02ee7655cfac": {
"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": {
"error": {
"code": "refused",
"message": ""
},
"id": "frame-1",
"ok": false
}
}
},
"22c63b806ef5": {
"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": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
},
"3073ceba86bd": {
"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"
}
},
"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"
}
}
}
},
"32a7c0ae7918": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "outer refused",
"isRpcDeliveryUnknown": false
}
},
"4771cbfc0dfc": {
"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": {
"error": {
"code": "refused",
"message": "outer refused"
},
"id": "frame-1",
"ok": false
}
}
},
"5a33eeedb90f": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"byteLength": {
"$rpc": "undefined"
},
"content": {
"$rpc": "undefined"
},
"kind": "file",
"status": "ready",
"truncated": {
"$rpc": "undefined"
}
}
},
"5c610ebe58ed": {
"name": "files.readPreview#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.readPreview\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/logo.png\"}}"
},
"65af9a3f5ad4": {
"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": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"6aca770498a6": {
"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": {
"$rpc": "null"
}
}
}
},
"8595b3c0f792": {
"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": {
"error": "refused"
}
}
}
},
"987f853ccbc2": {
"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": {
"error": "inner refused",
"ok": 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
}
}
}
},
"a7c7f43265d5": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "TypeError",
"message": "Cannot read properties of null (reading 'content')",
"isRpcDeliveryUnknown": false
}
},
"a947768bc0ed": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
},
"ae1baf99acb7": {
"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": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
},
"b5a9ffe4c713": {
"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
}
}
},
"b5c68b76c498": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"byteLength": 8,
"content": "# readme",
"kind": "file",
"status": "ready",
"truncated": false
}
},
"b948e8307e81": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "Unknown method",
"isRpcDeliveryUnknown": false
}
},
"ba9332ae7bb1": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "TypeError",
"message": "Cannot read properties of undefined (reading 'content')",
"isRpcDeliveryUnknown": false
}
},
"c7584e82c72f": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
},
"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"
}
}
}
},
"cb1b85f12e0a": {
"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": {
"error": {
"code": "method_not_found",
"message": "Unknown method"
},
"id": "frame-1",
"ok": false
}
}
},
"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"
}
},
"f3b516f62081": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": false
}
},
"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}}"
},
"fb58498a8798": {
"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": {
"$rpc": "undefined"
},
"content": {
"$rpc": "undefined"
},
"kind": "file",
"status": "ready",
"truncated": {
"$rpc": "undefined"
}
}
},
"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": "matrix-files.tab-doc-files.read-1",
"checkpoints": [
{
"id": "files-tab-doc-shapes.normal:settled",
"observation": {
"sender": ["9babe9503a83", "323bf6059754", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "eee847a9d90d",
"diff": "ffe1c534d459"
},
"state": "ed33ecdb4e8e",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.result-absent:settled",
"observation": {
"sender": ["b5a9ffe4c713", "323bf6059754", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "ba9332ae7bb1",
"image": "eee847a9d90d",
"diff": "ffe1c534d459"
},
"state": "3073ceba86bd",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.result-null:settled",
"observation": {
"sender": ["6aca770498a6", "323bf6059754", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "a7c7f43265d5",
"image": "eee847a9d90d",
"diff": "ffe1c534d459"
},
"state": "3073ceba86bd",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.inner-ok-missing:settled",
"observation": {
"sender": ["8595b3c0f792", "323bf6059754", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "5a33eeedb90f",
"image": "eee847a9d90d",
"diff": "ffe1c534d459"
},
"state": "fb58498a8798",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.inner-false-string-error:settled",
"observation": {
"sender": ["987f853ccbc2", "323bf6059754", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "5a33eeedb90f",
"image": "eee847a9d90d",
"diff": "ffe1c534d459"
},
"state": "fb58498a8798",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.inner-false-object-error:settled",
"observation": {
"sender": ["ae1baf99acb7", "323bf6059754", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "5a33eeedb90f",
"image": "eee847a9d90d",
"diff": "ffe1c534d459"
},
"state": "fb58498a8798",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.outer-refused:settled",
"observation": {
"sender": ["4771cbfc0dfc", "323bf6059754", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "32a7c0ae7918",
"image": "eee847a9d90d",
"diff": "ffe1c534d459"
},
"state": "3073ceba86bd",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.outer-refused-no-message:settled",
"observation": {
"sender": ["02ee7655cfac", "323bf6059754", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "f3b516f62081",
"image": "eee847a9d90d",
"diff": "ffe1c534d459"
},
"state": "3073ceba86bd",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.method-not-found:settled",
"observation": {
"sender": ["cb1b85f12e0a", "323bf6059754", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b948e8307e81",
"image": "eee847a9d90d",
"diff": "ffe1c534d459"
},
"state": "3073ceba86bd",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.transport-rejection:settled",
"observation": {
"sender": ["22c63b806ef5", "323bf6059754", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "a947768bc0ed",
"image": "eee847a9d90d",
"diff": "ffe1c534d459"
},
"state": "3073ceba86bd",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.transport-rejection-no-message:settled",
"observation": {
"sender": ["65af9a3f5ad4", "323bf6059754", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "c7584e82c72f",
"image": "eee847a9d90d",
"diff": "ffe1c534d459"
},
"state": "3073ceba86bd",
"effects": []
}
}
]
}
}
@@ -0,0 +1,818 @@
{
"operation": "files.tab-doc",
"family": "files.tab-doc",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309",
"scenarioSha256": "2ceca0ecd901fd78838fcbdc789cbb6b96f04674b850a0994c7611f5db804915",
"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\"}}"
},
"0fef03f57c61": {
"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": {
"$rpc": "null"
}
}
}
},
"2e3bb1c16607": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "TypeError",
"message": "Cannot read properties of undefined (reading 'isImage')",
"isRpcDeliveryUnknown": false
}
},
"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"
}
}
}
},
"32a7c0ae7918": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "outer refused",
"isRpcDeliveryUnknown": false
}
},
"43465946206b": {
"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": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"47bde408cf1e": {
"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
}
}
},
"5521ad94c331": {
"diff": {
"kind": "diff",
"lines": [
{
"kind": "delete",
"oldLineNumber": 1,
"text": "a"
},
{
"kind": "add",
"newLineNumber": 1,
"text": "b"
}
],
"status": "ready",
"truncated": false
},
"text": {
"byteLength": 8,
"content": "# readme",
"kind": "file",
"status": "ready",
"truncated": false
}
},
"5c610ebe58ed": {
"name": "files.readPreview#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.readPreview\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/logo.png\"}}"
},
"62a16026dfb1": {
"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": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
},
"63bda5bd024b": {
"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": {
"error": {
"code": "refused",
"message": ""
},
"id": "frame-2",
"ok": 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
}
}
}
},
"a5ebcad292b7": {
"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": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
},
"a947768bc0ed": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
},
"a9fc8a97c98b": {
"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": {
"error": "inner refused",
"ok": false
}
}
}
},
"b5c68b76c498": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"byteLength": 8,
"content": "# readme",
"kind": "file",
"status": "ready",
"truncated": false
}
},
"b948e8307e81": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "Unknown method",
"isRpcDeliveryUnknown": false
}
},
"c2ba83cacd09": {
"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": {
"error": {
"code": "refused",
"message": "outer refused"
},
"id": "frame-2",
"ok": false
}
}
},
"c38abcaf69dd": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "binary_file",
"isRpcDeliveryUnknown": false
}
},
"c47f8da1be2f": {
"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": {
"error": "refused"
}
}
}
},
"c7584e82c72f": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
},
"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"
}
}
}
},
"d6234620430f": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "TypeError",
"message": "Cannot read properties of null (reading 'isImage')",
"isRpcDeliveryUnknown": false
}
},
"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"
}
},
"f3b516f62081": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": false
}
},
"f53a3ae32692": {
"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": {
"error": {
"code": "method_not_found",
"message": "Unknown method"
},
"id": "frame-2",
"ok": false
}
}
},
"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": "matrix-files.tab-doc-files.readpreview-1",
"checkpoints": [
{
"id": "files-tab-doc-shapes.normal:settled",
"observation": {
"sender": ["9babe9503a83", "323bf6059754", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "eee847a9d90d",
"diff": "ffe1c534d459"
},
"state": "ed33ecdb4e8e",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.result-absent:settled",
"observation": {
"sender": ["9babe9503a83", "47bde408cf1e", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "2e3bb1c16607",
"diff": "ffe1c534d459"
},
"state": "5521ad94c331",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.result-null:settled",
"observation": {
"sender": ["9babe9503a83", "0fef03f57c61", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "d6234620430f",
"diff": "ffe1c534d459"
},
"state": "5521ad94c331",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.inner-ok-missing:settled",
"observation": {
"sender": ["9babe9503a83", "c47f8da1be2f", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "c38abcaf69dd",
"diff": "ffe1c534d459"
},
"state": "5521ad94c331",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.inner-false-string-error:settled",
"observation": {
"sender": ["9babe9503a83", "a9fc8a97c98b", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "c38abcaf69dd",
"diff": "ffe1c534d459"
},
"state": "5521ad94c331",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.inner-false-object-error:settled",
"observation": {
"sender": ["9babe9503a83", "62a16026dfb1", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "c38abcaf69dd",
"diff": "ffe1c534d459"
},
"state": "5521ad94c331",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.outer-refused:settled",
"observation": {
"sender": ["9babe9503a83", "c2ba83cacd09", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "32a7c0ae7918",
"diff": "ffe1c534d459"
},
"state": "5521ad94c331",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.outer-refused-no-message:settled",
"observation": {
"sender": ["9babe9503a83", "63bda5bd024b", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "f3b516f62081",
"diff": "ffe1c534d459"
},
"state": "5521ad94c331",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.method-not-found:settled",
"observation": {
"sender": ["9babe9503a83", "f53a3ae32692", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "b948e8307e81",
"diff": "ffe1c534d459"
},
"state": "5521ad94c331",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.transport-rejection:settled",
"observation": {
"sender": ["9babe9503a83", "a5ebcad292b7", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "a947768bc0ed",
"diff": "ffe1c534d459"
},
"state": "5521ad94c331",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.transport-rejection-no-message:settled",
"observation": {
"sender": ["9babe9503a83", "43465946206b", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "c7584e82c72f",
"diff": "ffe1c534d459"
},
"state": "5521ad94c331",
"effects": []
}
}
]
}
}
@@ -0,0 +1,816 @@
{
"operation": "files.tab-doc",
"family": "files.tab-doc",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309",
"scenarioSha256": "c4db2424b8a35fd97b3fea00b4dd91a3c8d50c6fb73795811ef5402e3d14f8df",
"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\"}}"
},
"0aa81de503dc": {
"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": {
"$rpc": "null"
}
}
}
},
"0ddde941c38a": {
"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": {
"error": {
"code": "method_not_found",
"message": "Unknown method"
},
"id": "frame-3",
"ok": false
}
}
},
"0fa28155e34e": {
"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": {
"error": {
"code": "refused",
"message": "outer refused"
},
"id": "frame-3",
"ok": false
}
}
},
"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"
}
}
}
},
"32a7c0ae7918": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "outer refused",
"isRpcDeliveryUnknown": false
}
},
"3a9e5c87d18b": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "TypeError",
"message": "Cannot read properties of undefined (reading 'kind')",
"isRpcDeliveryUnknown": false
}
},
"3eca7222b2d0": {
"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": {
"error": {
"code": "refused",
"message": ""
},
"id": "frame-3",
"ok": false
}
}
},
"5225d2d0d430": {
"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": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"559c313a79f9": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "TypeError",
"message": "Cannot read properties of null (reading 'kind')",
"isRpcDeliveryUnknown": false
}
},
"5c610ebe58ed": {
"name": "files.readPreview#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.readPreview\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/logo.png\"}}"
},
"6f5e5f7888b7": {
"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": {
"error": "inner refused",
"ok": 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
}
}
}
},
"9cf9915b1ff3": {
"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": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
},
"a947768bc0ed": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
},
"af88d9765fd0": {
"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": {
"error": "refused"
}
}
}
},
"b5c68b76c498": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"byteLength": 8,
"content": "# readme",
"kind": "file",
"status": "ready",
"truncated": false
}
},
"b948e8307e81": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "Unknown method",
"isRpcDeliveryUnknown": false
}
},
"c38abcaf69dd": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "binary_file",
"isRpcDeliveryUnknown": false
}
},
"c7584e82c72f": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
},
"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"
}
}
}
},
"e3995cc146f1": {
"image": {
"dataUri": "data:image/png;base64,aGk=",
"kind": "image",
"status": "ready"
},
"text": {
"byteLength": 8,
"content": "# readme",
"kind": "file",
"status": "ready",
"truncated": false
}
},
"e56bb4eec9ad": {
"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
}
}
},
"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"
}
},
"f3b516f62081": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": false
}
},
"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}}"
},
"fdb82a72967a": {
"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": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
},
"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": "matrix-files.tab-doc-git.diff-1",
"checkpoints": [
{
"id": "files-tab-doc-shapes.normal:settled",
"observation": {
"sender": ["9babe9503a83", "323bf6059754", "c8fbe8972330"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "eee847a9d90d",
"diff": "ffe1c534d459"
},
"state": "ed33ecdb4e8e",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.result-absent:settled",
"observation": {
"sender": ["9babe9503a83", "323bf6059754", "e56bb4eec9ad"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "eee847a9d90d",
"diff": "3a9e5c87d18b"
},
"state": "e3995cc146f1",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.result-null:settled",
"observation": {
"sender": ["9babe9503a83", "323bf6059754", "0aa81de503dc"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "eee847a9d90d",
"diff": "559c313a79f9"
},
"state": "e3995cc146f1",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.inner-ok-missing:settled",
"observation": {
"sender": ["9babe9503a83", "323bf6059754", "af88d9765fd0"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "eee847a9d90d",
"diff": "c38abcaf69dd"
},
"state": "e3995cc146f1",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.inner-false-string-error:settled",
"observation": {
"sender": ["9babe9503a83", "323bf6059754", "6f5e5f7888b7"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "eee847a9d90d",
"diff": "c38abcaf69dd"
},
"state": "e3995cc146f1",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.inner-false-object-error:settled",
"observation": {
"sender": ["9babe9503a83", "323bf6059754", "fdb82a72967a"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "eee847a9d90d",
"diff": "c38abcaf69dd"
},
"state": "e3995cc146f1",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.outer-refused:settled",
"observation": {
"sender": ["9babe9503a83", "323bf6059754", "0fa28155e34e"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "eee847a9d90d",
"diff": "32a7c0ae7918"
},
"state": "e3995cc146f1",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.outer-refused-no-message:settled",
"observation": {
"sender": ["9babe9503a83", "323bf6059754", "3eca7222b2d0"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "eee847a9d90d",
"diff": "f3b516f62081"
},
"state": "e3995cc146f1",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.method-not-found:settled",
"observation": {
"sender": ["9babe9503a83", "323bf6059754", "0ddde941c38a"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "eee847a9d90d",
"diff": "b948e8307e81"
},
"state": "e3995cc146f1",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.transport-rejection:settled",
"observation": {
"sender": ["9babe9503a83", "323bf6059754", "9cf9915b1ff3"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "eee847a9d90d",
"diff": "a947768bc0ed"
},
"state": "e3995cc146f1",
"effects": []
}
},
{
"id": "files-tab-doc-shapes.transport-rejection-no-message:settled",
"observation": {
"sender": ["9babe9503a83", "323bf6059754", "5225d2d0d430"],
"payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"],
"settlements": {
"text": "b5c68b76c498",
"image": "eee847a9d90d",
"diff": "c7584e82c72f"
},
"state": "e3995cc146f1",
"effects": []
}
}
]
}
}
@@ -0,0 +1,656 @@
{
"operation": "home.host-stats",
"family": "home.host-stats",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "a9e0780298a1443664e7ae02056168aa34d67556c9c056d51a82c7b4a73ad35b",
"scenarioSha256": "5518e08c1b20f0ddd4cb6bc81ff9af032b1a38daf24f3d3497bac5df8b2d0ec5",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"003f84d10dd0": {
"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": {
"error": "inner refused",
"ok": false
}
}
}
},
"0632d58191fb": {
"name": "stats",
"value": {
"host-1": {
"activeWorktrees": 1,
"totalWorktrees": 3
}
}
},
"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
}
}
}
},
"2a8c0c9ced05": {
"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": {
"error": "refused"
}
}
}
},
"2f0d38ebf67c": {
"name": "stats",
"value": {
"host-1": {
"$rpc": "undefined"
}
}
},
"44136fa355b3": {},
"556edbbc8712": {
"host-1": {
"$rpc": "null"
}
},
"5d85cea3ab32": {
"name": "stats",
"value": {
"host-1": {
"error": "inner refused",
"ok": false
}
}
},
"6fe0cca6ed2a": {
"name": "stats",
"value": {
"host-1": {
"error": "refused"
}
}
},
"7b564b8fe22e": {
"name": "stats",
"value": {
"host-1": {
"$rpc": "null"
}
}
},
"7bf81b1e94c5": {
"name": "stats.summary#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"stats.summary\"}"
},
"9a84a7559023": {
"host-1": {
"activeWorktrees": 1,
"totalWorktrees": 3
}
},
"9b2c7b6a4f74": {
"name": "stats",
"value": {
"host-1": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
},
"9c34abfa17e7": {
"host-1": {
"error": {
"message": "inner refused"
},
"ok": false
}
},
"9e3e7d14abf9": {
"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": {
"error": {
"code": "refused",
"message": "outer refused"
},
"id": "frame-1",
"ok": false
}
}
},
"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
}
},
"b474d2a02a6a": {
"host-1": {
"error": "refused"
}
},
"bf78e405c5d4": {
"name": "stats.summary#1",
"args": [
{
"name": "method",
"value": "stats.summary"
},
{
"name": "params",
"value": {
"$rpc": "undefined"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
},
"c3fad9087af1": {
"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": {
"$rpc": "null"
}
}
}
},
"c5bfd5f18460": {
"host-1": {
"$rpc": "undefined"
}
},
"dc03021bee85": {
"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": {
"error": {
"code": "refused",
"message": ""
},
"id": "frame-1",
"ok": false
}
}
},
"e05986a4b6e2": {
"host-1": {
"error": "inner refused",
"ok": false
}
},
"e180f1e7839f": {
"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
}
}
},
"e20353973dc1": {
"name": "stats.summary#1",
"args": [
{
"name": "method",
"value": "stats.summary"
},
{
"name": "params",
"value": {
"$rpc": "undefined"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
},
"f9b87a5a7a70": {
"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": {
"error": {
"code": "method_not_found",
"message": "Unknown method"
},
"id": "frame-1",
"ok": false
}
}
},
"fa16031454a3": {
"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": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
}
},
"recording": {
"scenario": "matrix-home.host-stats-stats.summary-1",
"checkpoints": [
{
"id": "home-host-stats.prelude:stats-pending",
"observation": {
"sender": ["a392ac528c2b"],
"payloads": ["7bf81b1e94c5"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "44136fa355b3",
"effects": []
}
},
{
"id": "home-host-stats.normal:settled",
"observation": {
"sender": ["0ebcc6f6a4cb"],
"payloads": ["7bf81b1e94c5"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "9a84a7559023",
"effects": ["0632d58191fb"]
}
},
{
"id": "home-host-stats.result-absent:settled",
"observation": {
"sender": ["e180f1e7839f"],
"payloads": ["7bf81b1e94c5"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "c5bfd5f18460",
"effects": ["2f0d38ebf67c"]
}
},
{
"id": "home-host-stats.result-null:settled",
"observation": {
"sender": ["c3fad9087af1"],
"payloads": ["7bf81b1e94c5"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "556edbbc8712",
"effects": ["7b564b8fe22e"]
}
},
{
"id": "home-host-stats.inner-ok-missing:settled",
"observation": {
"sender": ["2a8c0c9ced05"],
"payloads": ["7bf81b1e94c5"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "b474d2a02a6a",
"effects": ["6fe0cca6ed2a"]
}
},
{
"id": "home-host-stats.inner-false-string-error:settled",
"observation": {
"sender": ["003f84d10dd0"],
"payloads": ["7bf81b1e94c5"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "e05986a4b6e2",
"effects": ["5d85cea3ab32"]
}
},
{
"id": "home-host-stats.inner-false-object-error:settled",
"observation": {
"sender": ["fa16031454a3"],
"payloads": ["7bf81b1e94c5"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "9c34abfa17e7",
"effects": ["9b2c7b6a4f74"]
}
},
{
"id": "home-host-stats.outer-refused:settled",
"observation": {
"sender": ["9e3e7d14abf9"],
"payloads": ["7bf81b1e94c5"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "44136fa355b3",
"effects": []
}
},
{
"id": "home-host-stats.outer-refused-no-message:settled",
"observation": {
"sender": ["dc03021bee85"],
"payloads": ["7bf81b1e94c5"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "44136fa355b3",
"effects": []
}
},
{
"id": "home-host-stats.method-not-found:settled",
"observation": {
"sender": ["f9b87a5a7a70"],
"payloads": ["7bf81b1e94c5"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "44136fa355b3",
"effects": []
}
},
{
"id": "home-host-stats.transport-rejection:settled",
"observation": {
"sender": ["bf78e405c5d4"],
"payloads": ["7bf81b1e94c5"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "44136fa355b3",
"effects": []
}
},
{
"id": "home-host-stats.transport-rejection-no-message:settled",
"observation": {
"sender": ["e20353973dc1"],
"payloads": ["7bf81b1e94c5"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "44136fa355b3",
"effects": []
}
}
]
}
}
@@ -0,0 +1,779 @@
{
"operation": "host.view-settings",
"family": "host.view-settings",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "a9e0780298a1443664e7ae02056168aa34d67556c9c056d51a82c7b4a73ad35b",
"scenarioSha256": "a9a3191e2e8c36870ce2769a7bb972813f435267fdc6ed9e42632a57a227bbd6",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"0039f2221403": {
"name": "ui.get#1",
"args": [
{
"name": "method",
"value": "ui.get"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"114056cffd39": {
"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": {
"error": {
"code": "method_not_found",
"message": "Unknown method"
},
"id": "frame-1",
"ok": false
}
}
},
"1308c5012cf9": {
"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": {
"error": {
"code": "refused",
"message": "outer refused"
},
"id": "frame-1",
"ok": false
}
}
},
"17aa61c35dcf": {
"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": {
"error": "inner refused",
"ok": false
}
}
}
},
"292b632037a0": {
"name": "ui.set#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ui.set\",\"params\":{\"sortBy\":\"name\"}}"
},
"3059ce80d86a": {
"name": "collapsedGroups",
"value": []
},
"34925f64c9a6": {
"name": "sortMode",
"value": "name"
},
"3650379e5c37": {
"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": {
"error": {
"code": "refused",
"message": ""
},
"id": "frame-1",
"ok": false
}
}
},
"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
}
},
"61275c3082ca": {
"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
}
}
},
"757d36f7d7c1": {
"name": "ui.get#1",
"args": [
{
"name": "method",
"value": "ui.get"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
},
"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
}
}
}
},
"7eaddd04bcdd": {
"name": "workspaceStatuses",
"value": []
},
"8ab3467032ef": {
"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": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"9527461faeb1": {
"name": "filters",
"value": {
"alwaysShowDefaultBranch": true,
"filterRepoIds": [],
"hideDefaultBranch": false,
"hideSleeping": true
}
},
"96e59623cbb8": {
"name": "groupMode",
"value": "none"
},
"993945d30ef2": {
"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": {
"$rpc": "null"
}
}
}
},
"9a285e681215": {
"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": {
"error": "refused"
}
}
}
},
"9d2d4e824476": {
"collapsed": [],
"filters": {
"alwaysShowDefaultBranch": true,
"filterRepoIds": [],
"hideDefaultBranch": false,
"hideSleeping": false
},
"groupMode": "none",
"sortMode": "name",
"statuses": []
},
"a0a3277ca732": {
"name": "filters",
"value": {
"alwaysShowDefaultBranch": true,
"filterRepoIds": [],
"hideDefaultBranch": false,
"hideSleeping": false
}
},
"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"
}
}
}
}
},
"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": []
},
"e9a3acf203c6": {
"name": "groupMode",
"value": "repo"
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
}
},
"recording": {
"scenario": "matrix-host.view-settings-ui.get-1",
"checkpoints": [
{
"id": "host-view-settings-sync.prelude:ui-pending",
"observation": {
"sender": ["5fbdd64c75bc"],
"payloads": ["5907841fc56d"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "9270aeb7d9c6"
},
"state": "bbdab1a7d122",
"effects": []
}
},
{
"id": "host-view-settings-sync.normal:settled",
"observation": {
"sender": ["a424515cabc9", "78f2fbcd0185"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "ba2035345a68",
"effects": [
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1",
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1"
]
}
},
{
"id": "host-view-settings-sync.result-absent:settled",
"observation": {
"sender": ["61275c3082ca", "78f2fbcd0185"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "9d2d4e824476",
"effects": [
"96e59623cbb8",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"a0a3277ca732"
]
}
},
{
"id": "host-view-settings-sync.result-null:settled",
"observation": {
"sender": ["993945d30ef2", "78f2fbcd0185"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "9d2d4e824476",
"effects": [
"96e59623cbb8",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"a0a3277ca732"
]
}
},
{
"id": "host-view-settings-sync.inner-ok-missing:settled",
"observation": {
"sender": ["9a285e681215", "78f2fbcd0185"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "9d2d4e824476",
"effects": [
"96e59623cbb8",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"a0a3277ca732"
]
}
},
{
"id": "host-view-settings-sync.inner-false-string-error:settled",
"observation": {
"sender": ["17aa61c35dcf", "78f2fbcd0185"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "9d2d4e824476",
"effects": [
"96e59623cbb8",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"a0a3277ca732"
]
}
},
{
"id": "host-view-settings-sync.inner-false-object-error:settled",
"observation": {
"sender": ["8ab3467032ef", "78f2fbcd0185"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "9d2d4e824476",
"effects": [
"96e59623cbb8",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"a0a3277ca732"
]
}
},
{
"id": "host-view-settings-sync.outer-refused:settled",
"observation": {
"sender": ["1308c5012cf9", "78f2fbcd0185"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "9d2d4e824476",
"effects": [
"96e59623cbb8",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"a0a3277ca732"
]
}
},
{
"id": "host-view-settings-sync.outer-refused-no-message:settled",
"observation": {
"sender": ["3650379e5c37", "78f2fbcd0185"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "9d2d4e824476",
"effects": [
"96e59623cbb8",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"a0a3277ca732"
]
}
},
{
"id": "host-view-settings-sync.method-not-found:settled",
"observation": {
"sender": ["114056cffd39", "78f2fbcd0185"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "9d2d4e824476",
"effects": [
"96e59623cbb8",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"a0a3277ca732"
]
}
},
{
"id": "host-view-settings-sync.transport-rejection:settled",
"observation": {
"sender": ["757d36f7d7c1", "78f2fbcd0185"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "9d2d4e824476",
"effects": [
"96e59623cbb8",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"a0a3277ca732"
]
}
},
{
"id": "host-view-settings-sync.transport-rejection-no-message:settled",
"observation": {
"sender": ["0039f2221403", "78f2fbcd0185"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "9d2d4e824476",
"effects": [
"96e59623cbb8",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"a0a3277ca732"
]
}
}
]
}
}
@@ -0,0 +1,804 @@
{
"operation": "host.view-settings",
"family": "host.view-settings",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "a9e0780298a1443664e7ae02056168aa34d67556c9c056d51a82c7b4a73ad35b",
"scenarioSha256": "30cbeff90a845ab5dd576e302156e859338357b608e87e9fadeddf18ae93d9ca",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"0658e20f47f5": {
"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": {
"error": {
"code": "refused",
"message": ""
},
"id": "frame-2",
"ok": false
}
}
},
"25d97d355299": {
"name": "ui.set#1",
"args": [
{
"name": "method",
"value": "ui.set"
},
{
"name": "params",
"value": {
"sortBy": "name"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"292b632037a0": {
"name": "ui.set#1",
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ui.set\",\"params\":{\"sortBy\":\"name\"}}"
},
"3059ce80d86a": {
"name": "collapsedGroups",
"value": []
},
"344b9ddf6cfb": {
"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": {
"error": "inner refused",
"ok": false
}
}
}
},
"34925f64c9a6": {
"name": "sortMode",
"value": "name"
},
"44e91172f4a0": {
"name": "ui.set#1",
"args": [
{
"name": "method",
"value": "ui.set"
},
{
"name": "params",
"value": {
"sortBy": "name"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
},
"53a6789707e6": {
"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": {
"error": {
"code": "method_not_found",
"message": "Unknown method"
},
"id": "frame-2",
"ok": false
}
}
},
"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
}
},
"733b56879f90": {
"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
}
}
},
"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
}
}
}
},
"7eaddd04bcdd": {
"name": "workspaceStatuses",
"value": []
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"9527461faeb1": {
"name": "filters",
"value": {
"alwaysShowDefaultBranch": true,
"filterRepoIds": [],
"hideDefaultBranch": false,
"hideSleeping": true
}
},
"a234a06a4465": {
"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": {
"error": "refused"
}
}
}
},
"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"
}
}
}
}
},
"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": []
},
"c6e108d0fcc5": {
"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": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
},
"d991b0c4e961": {
"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": {
"$rpc": "null"
}
}
}
},
"e9a3acf203c6": {
"name": "groupMode",
"value": "repo"
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
},
"fa3d32a591e8": {
"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": {
"error": {
"code": "refused",
"message": "outer refused"
},
"id": "frame-2",
"ok": false
}
}
}
},
"recording": {
"scenario": "matrix-host.view-settings-ui.set-1",
"checkpoints": [
{
"id": "host-view-settings-sync.prelude:ui-pending",
"observation": {
"sender": ["5fbdd64c75bc"],
"payloads": ["5907841fc56d"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "9270aeb7d9c6"
},
"state": "bbdab1a7d122",
"effects": []
}
},
{
"id": "host-view-settings-sync.normal:settled",
"observation": {
"sender": ["a424515cabc9", "78f2fbcd0185"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "ba2035345a68",
"effects": [
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1",
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1"
]
}
},
{
"id": "host-view-settings-sync.result-absent:settled",
"observation": {
"sender": ["a424515cabc9", "733b56879f90"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "ba2035345a68",
"effects": [
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1",
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1"
]
}
},
{
"id": "host-view-settings-sync.result-null:settled",
"observation": {
"sender": ["a424515cabc9", "d991b0c4e961"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "ba2035345a68",
"effects": [
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1",
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1"
]
}
},
{
"id": "host-view-settings-sync.inner-ok-missing:settled",
"observation": {
"sender": ["a424515cabc9", "a234a06a4465"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "ba2035345a68",
"effects": [
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1",
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1"
]
}
},
{
"id": "host-view-settings-sync.inner-false-string-error:settled",
"observation": {
"sender": ["a424515cabc9", "344b9ddf6cfb"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "ba2035345a68",
"effects": [
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1",
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1"
]
}
},
{
"id": "host-view-settings-sync.inner-false-object-error:settled",
"observation": {
"sender": ["a424515cabc9", "c6e108d0fcc5"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "ba2035345a68",
"effects": [
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1",
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1"
]
}
},
{
"id": "host-view-settings-sync.outer-refused:settled",
"observation": {
"sender": ["a424515cabc9", "fa3d32a591e8"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "ba2035345a68",
"effects": [
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1",
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1"
]
}
},
{
"id": "host-view-settings-sync.outer-refused-no-message:settled",
"observation": {
"sender": ["a424515cabc9", "0658e20f47f5"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "ba2035345a68",
"effects": [
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1",
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1"
]
}
},
{
"id": "host-view-settings-sync.method-not-found:settled",
"observation": {
"sender": ["a424515cabc9", "53a6789707e6"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "ba2035345a68",
"effects": [
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1",
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1"
]
}
},
{
"id": "host-view-settings-sync.transport-rejection:settled",
"observation": {
"sender": ["a424515cabc9", "44e91172f4a0"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "ba2035345a68",
"effects": [
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1",
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1"
]
}
},
{
"id": "host-view-settings-sync.transport-rejection-no-message:settled",
"observation": {
"sender": ["a424515cabc9", "25d97d355299"],
"payloads": ["5907841fc56d", "292b632037a0"],
"settlements": {
"mount": "eb79a9b3682a",
"sync": "eb79a9b3682a",
"sort": "eb79a9b3682a"
},
"state": "ba2035345a68",
"effects": [
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1",
"e9a3acf203c6",
"34925f64c9a6",
"7eaddd04bcdd",
"3059ce80d86a",
"9527461faeb1"
]
}
}
]
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,715 @@
{
"operation": "worktree.catalog-snapshot",
"family": "worktree.catalog-snapshot",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "6119d409e1958877e4a04b3901f94a3609ac0420f5ca02af20eb8dae5cbf3408",
"scenarioSha256": "95ca47f382997c412da974e564a46b1ae0c20d6e0f3ca14258d33c8d8b51a160",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"08dde29706df": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"afterSnapshotId": {
"$rpc": "null"
},
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"0ce4a7117a8d": {
"admitted": {
"$rpc": "null"
},
"fetched": {
"code": "refused",
"kind": "request_failed"
}
},
"0d9bf2f46a5e": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"code": "refused",
"kind": "request_failed"
}
},
"227f9e3de4fa": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"afterSnapshotId": {
"$rpc": "null"
},
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"snapshotId": "snapshot-1",
"worktrees": [
{
"displayName": "One",
"repo": "Repo",
"worktreeId": "w-1"
}
]
}
}
}
},
"253b98015b8d": {
"admitted": "unadmitted",
"fetched": "unfetched"
},
"2d40d1d38104": {
"name": "unhandled-rejection",
"value": {
"category": "Error",
"isRpcDeliveryUnknown": false,
"message": "Unsupported observation: function"
}
},
"4262ba495b1b": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"afterSnapshotId": {
"$rpc": "null"
},
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"error": "refused"
}
}
}
},
"50c4271e912d": {
"admitted": {
"$rpc": "null"
},
"fetched": {
"kind": "response",
"pending": {
"admission": {
"kind": "invalid"
},
"client": "logical-client",
"hostId": "host-1"
}
}
},
"5a288976750e": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"afterSnapshotId": {
"$rpc": "null"
},
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"error": "inner refused",
"ok": false
}
}
}
},
"5d54bccfc557": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"afterSnapshotId": {
"$rpc": "null"
},
"limit": 10000
}
},
{
"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
}
}
},
"8e2c2fbe7e94": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"code": "method_not_found",
"kind": "request_failed"
}
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"a0fab6bf1fb0": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"afterSnapshotId": {
"$rpc": "null"
},
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "refused",
"message": ""
},
"id": "frame-1",
"ok": false
}
}
},
"a87f1f91dc98": {
"name": "worktree.ps#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"supportsWorktreeVisibilitySourceDefaults\":true}}"
},
"a947768bc0ed": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
},
"ab1a9ba6301c": {
"admitted": [
{
"displayName": "One",
"repo": "Repo",
"worktreeId": "w-1"
}
],
"fetched": {
"kind": "response",
"pending": {
"admission": {
"kind": "full",
"snapshotId": "snapshot-1",
"worktrees": [
{
"displayName": "One",
"repo": "Repo",
"worktreeId": "w-1"
}
]
},
"client": "logical-client",
"hostId": "host-1"
}
}
},
"ad584cc963bb": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"afterSnapshotId": {
"$rpc": "null"
},
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true
}
}
},
"b14360b67647": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"afterSnapshotId": {
"$rpc": "null"
},
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "refused",
"message": "outer refused"
},
"id": "frame-1",
"ok": false
}
}
},
"b1ae1170d95b": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"afterSnapshotId": {
"$rpc": "null"
},
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
},
"b670d230caf2": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"afterSnapshotId": {
"$rpc": "null"
},
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"$rpc": "null"
}
}
}
},
"ba9be29baf40": {
"admitted": {
"$rpc": "null"
},
"fetched": {
"code": "method_not_found",
"kind": "request_failed"
}
},
"c7584e82c72f": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
},
"f5d207eddd1d": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"afterSnapshotId": {
"$rpc": "null"
},
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
},
"f97b6b46b1d5": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"afterSnapshotId": {
"$rpc": "null"
},
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
}
},
"recording": {
"scenario": "matrix-worktree.catalog-snapshot-worktree.ps-1",
"checkpoints": [
{
"id": "worktree-catalog-snapshot.prelude:catalog-pending",
"observation": {
"sender": ["f97b6b46b1d5"],
"payloads": ["a87f1f91dc98"],
"settlements": {
"fetch": "9270aeb7d9c6"
},
"state": "253b98015b8d",
"effects": []
}
},
{
"id": "worktree-catalog-snapshot.normal:settled",
"observation": {
"sender": ["227f9e3de4fa"],
"payloads": ["a87f1f91dc98"],
"settlements": {
"fetch": "9270aeb7d9c6"
},
"state": "ab1a9ba6301c",
"effects": ["2d40d1d38104"]
}
},
{
"id": "worktree-catalog-snapshot.result-absent:settled",
"observation": {
"sender": ["ad584cc963bb"],
"payloads": ["a87f1f91dc98"],
"settlements": {
"fetch": "9270aeb7d9c6"
},
"state": "50c4271e912d",
"effects": ["2d40d1d38104"]
}
},
{
"id": "worktree-catalog-snapshot.result-null:settled",
"observation": {
"sender": ["b670d230caf2"],
"payloads": ["a87f1f91dc98"],
"settlements": {
"fetch": "9270aeb7d9c6"
},
"state": "50c4271e912d",
"effects": ["2d40d1d38104"]
}
},
{
"id": "worktree-catalog-snapshot.inner-ok-missing:settled",
"observation": {
"sender": ["4262ba495b1b"],
"payloads": ["a87f1f91dc98"],
"settlements": {
"fetch": "9270aeb7d9c6"
},
"state": "50c4271e912d",
"effects": ["2d40d1d38104"]
}
},
{
"id": "worktree-catalog-snapshot.inner-false-string-error:settled",
"observation": {
"sender": ["5a288976750e"],
"payloads": ["a87f1f91dc98"],
"settlements": {
"fetch": "9270aeb7d9c6"
},
"state": "50c4271e912d",
"effects": ["2d40d1d38104"]
}
},
{
"id": "worktree-catalog-snapshot.inner-false-object-error:settled",
"observation": {
"sender": ["f5d207eddd1d"],
"payloads": ["a87f1f91dc98"],
"settlements": {
"fetch": "9270aeb7d9c6"
},
"state": "50c4271e912d",
"effects": ["2d40d1d38104"]
}
},
{
"id": "worktree-catalog-snapshot.outer-refused:settled",
"observation": {
"sender": ["b14360b67647"],
"payloads": ["a87f1f91dc98"],
"settlements": {
"fetch": "0d9bf2f46a5e"
},
"state": "0ce4a7117a8d",
"effects": []
}
},
{
"id": "worktree-catalog-snapshot.outer-refused-no-message:settled",
"observation": {
"sender": ["a0fab6bf1fb0"],
"payloads": ["a87f1f91dc98"],
"settlements": {
"fetch": "0d9bf2f46a5e"
},
"state": "0ce4a7117a8d",
"effects": []
}
},
{
"id": "worktree-catalog-snapshot.method-not-found:settled",
"observation": {
"sender": ["5d54bccfc557"],
"payloads": ["a87f1f91dc98"],
"settlements": {
"fetch": "8e2c2fbe7e94"
},
"state": "ba9be29baf40",
"effects": []
}
},
{
"id": "worktree-catalog-snapshot.transport-rejection:settled",
"observation": {
"sender": ["b1ae1170d95b"],
"payloads": ["a87f1f91dc98"],
"settlements": {
"fetch": "a947768bc0ed"
},
"state": "253b98015b8d",
"effects": []
}
},
{
"id": "worktree-catalog-snapshot.transport-rejection-no-message:settled",
"observation": {
"sender": ["08dde29706df"],
"payloads": ["a87f1f91dc98"],
"settlements": {
"fetch": "c7584e82c72f"
},
"state": "253b98015b8d",
"effects": []
}
}
]
}
}
@@ -0,0 +1,665 @@
{
"operation": "worktree.home-catalog",
"family": "worktree.home-catalog",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "6119d409e1958877e4a04b3901f94a3609ac0420f5ca02af20eb8dae5cbf3408",
"scenarioSha256": "fa0e28a167a5fba6fe7ffebb9f4ad28dd413d601c07116a24a7781d156f54beb",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"111018d23b6c": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"limit": 10000
}
},
{
"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
}
}
},
"2e82f8bbb1f1": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"worktrees": [
{
"displayName": "One",
"repo": "Repo",
"status": "working",
"worktreeId": "w-1"
},
{
"displayName": "Two",
"repo": "Repo",
"status": "idle",
"worktreeId": "w-2"
}
]
}
}
}
},
"39b7354b00f4": {
"host-1": {
"activeCount": 1,
"countsProvenAt": 1767225600000,
"hostId": "host-1",
"lastActiveWorktree": {
"displayName": "One",
"repo": "Repo",
"status": "working",
"worktreeId": "w-1"
},
"totalWorktrees": 2
}
},
"430d32843438": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"$rpc": "null"
}
}
}
},
"44136fa355b3": {},
"481a5e96b319": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
},
"4912be5d956f": {
"name": "worktree.ps#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"supportsWorktreeVisibilitySourceDefaults\":true}}"
},
"4fa9e403a3c8": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
},
"51d64b49c1ab": {
"host-1": {
"activeCount": 0,
"catalogUnavailable": true,
"hostId": "host-1",
"lastActiveWorktree": {
"$rpc": "null"
},
"totalWorktrees": 0
}
},
"6ed6d686b491": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true
}
}
},
"8944b50988b9": {
"name": "info",
"value": {
"host-1": {
"activeCount": 1,
"countsProvenAt": 1767225600000,
"hostId": "host-1",
"lastActiveWorktree": {
"displayName": "One",
"repo": "Repo",
"status": "working",
"worktreeId": "w-1"
},
"totalWorktrees": 2
}
}
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"97177805ceb8": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "refused",
"message": ""
},
"id": "frame-1",
"ok": false
}
}
},
"993fb2bd3f3e": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "refused",
"message": "outer refused"
},
"id": "frame-1",
"ok": false
}
}
},
"9f1a49cd671e": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"a3336f998e22": {
"name": "info",
"value": {
"host-1": {
"activeCount": 0,
"catalogUnavailable": true,
"hostId": "host-1",
"lastActiveWorktree": {
"$rpc": "null"
},
"totalWorktrees": 0
}
}
},
"bc1a8e138f82": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"cca1bdaf2563": {
"name": "info",
"value": {
"host-1": {
"activeCount": 0,
"countsProvenAt": 1767225600000,
"hostId": "host-1",
"lastActiveWorktree": {
"$rpc": "null"
},
"totalWorktrees": 0
}
}
},
"d0ec31ab66d5": {
"host-1": {
"activeCount": 0,
"countsProvenAt": 1767225600000,
"hostId": "host-1",
"lastActiveWorktree": {
"$rpc": "null"
},
"totalWorktrees": 0
}
},
"e904502f2359": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"error": "refused"
}
}
}
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
},
"f2257f595504": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"error": "inner refused",
"ok": false
}
}
}
}
},
"recording": {
"scenario": "matrix-worktree.home-catalog-worktree.ps-1",
"checkpoints": [
{
"id": "worktree-home-catalog.prelude:catalog-pending",
"observation": {
"sender": ["bc1a8e138f82"],
"payloads": ["4912be5d956f"],
"settlements": {
"load": "9270aeb7d9c6"
},
"state": "44136fa355b3",
"effects": []
}
},
{
"id": "worktree-home-catalog.normal:settled",
"observation": {
"sender": ["2e82f8bbb1f1"],
"payloads": ["4912be5d956f"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "39b7354b00f4",
"effects": ["8944b50988b9"]
}
},
{
"id": "worktree-home-catalog.result-absent:settled",
"observation": {
"sender": ["6ed6d686b491"],
"payloads": ["4912be5d956f"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "51d64b49c1ab",
"effects": ["a3336f998e22"]
}
},
{
"id": "worktree-home-catalog.result-null:settled",
"observation": {
"sender": ["430d32843438"],
"payloads": ["4912be5d956f"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "51d64b49c1ab",
"effects": ["a3336f998e22"]
}
},
{
"id": "worktree-home-catalog.inner-ok-missing:settled",
"observation": {
"sender": ["e904502f2359"],
"payloads": ["4912be5d956f"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "d0ec31ab66d5",
"effects": ["cca1bdaf2563"]
}
},
{
"id": "worktree-home-catalog.inner-false-string-error:settled",
"observation": {
"sender": ["f2257f595504"],
"payloads": ["4912be5d956f"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "d0ec31ab66d5",
"effects": ["cca1bdaf2563"]
}
},
{
"id": "worktree-home-catalog.inner-false-object-error:settled",
"observation": {
"sender": ["481a5e96b319"],
"payloads": ["4912be5d956f"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "d0ec31ab66d5",
"effects": ["cca1bdaf2563"]
}
},
{
"id": "worktree-home-catalog.outer-refused:settled",
"observation": {
"sender": ["993fb2bd3f3e"],
"payloads": ["4912be5d956f"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "51d64b49c1ab",
"effects": ["a3336f998e22"]
}
},
{
"id": "worktree-home-catalog.outer-refused-no-message:settled",
"observation": {
"sender": ["97177805ceb8"],
"payloads": ["4912be5d956f"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "51d64b49c1ab",
"effects": ["a3336f998e22"]
}
},
{
"id": "worktree-home-catalog.method-not-found:settled",
"observation": {
"sender": ["111018d23b6c"],
"payloads": ["4912be5d956f"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "51d64b49c1ab",
"effects": ["a3336f998e22"]
}
},
{
"id": "worktree-home-catalog.transport-rejection:settled",
"observation": {
"sender": ["4fa9e403a3c8"],
"payloads": ["4912be5d956f"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "51d64b49c1ab",
"effects": ["a3336f998e22"]
}
},
{
"id": "worktree-home-catalog.transport-rejection-no-message:settled",
"observation": {
"sender": ["9f1a49cd671e"],
"payloads": ["4912be5d956f"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "51d64b49c1ab",
"effects": ["a3336f998e22"]
}
}
]
}
}
@@ -0,0 +1,583 @@
{
"operation": "worktree.retired-names",
"family": "worktree.retired-names",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "6119d409e1958877e4a04b3901f94a3609ac0420f5ca02af20eb8dae5cbf3408",
"scenarioSha256": "d321d6c17e67ae90f6ceefb775495ff765a86a35423ed33a212e71ec5e9e94aa",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"02fe07399476": {
"name": "worktree.listRetiredNames#1",
"args": [
{
"name": "method",
"value": "worktree.listRetiredNames"
},
{
"name": "params",
"value": {
"repo": "id:repo-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "",
"isRpcDeliveryUnknown": true
}
}
},
"097832ba0321": {
"name": "worktree.listRetiredNames#1",
"args": [
{
"name": "method",
"value": "worktree.listRetiredNames"
},
{
"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": {
"$rpc": "null"
}
}
}
},
"0c1342cbe912": {
"name": "worktree.listRetiredNames#1",
"args": [
{
"name": "method",
"value": "worktree.listRetiredNames"
},
{
"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": {
"error": "refused"
}
}
}
},
"2b135054eb20": {
"name": "worktree.listRetiredNames#1",
"args": [
{
"name": "method",
"value": "worktree.listRetiredNames"
},
{
"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": {
"error": "inner refused",
"ok": false
}
}
}
},
"569633c0c5c5": {
"name": "worktree.listRetiredNames#1",
"args": [
{
"name": "method",
"value": "worktree.listRetiredNames"
},
{
"name": "params",
"value": {
"repo": "id:repo-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"5e2e60e145d8": {
"name": "worktree.listRetiredNames#1",
"args": [
{
"name": "method",
"value": "worktree.listRetiredNames"
},
{
"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": {
"retiredNameTiersByRepo": {
"repo-1": 2
},
"retiredNamesByRepo": {
"repo-1": ["marlin", "orca"]
}
}
}
}
},
"62049c27970e": {
"name": "worktree.listRetiredNames#1",
"args": [
{
"name": "method",
"value": "worktree.listRetiredNames"
},
{
"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
}
}
},
"65d2ebb48892": {
"name": "worktree.listRetiredNames#1",
"args": [
{
"name": "method",
"value": "worktree.listRetiredNames"
},
{
"name": "params",
"value": {
"repo": "id:repo-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "refused",
"message": "outer refused"
},
"id": "frame-1",
"ok": false
}
}
},
"85d826c606ff": {
"registry": {
"exhaustedTiers": 2,
"names": ["marlin", "orca"]
}
},
"ba7d8283433b": {
"name": "worktree.listRetiredNames#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.listRetiredNames\",\"params\":{\"repo\":\"id:repo-1\"}}"
},
"be9540321e8c": {
"name": "worktree.listRetiredNames#1",
"args": [
{
"name": "method",
"value": "worktree.listRetiredNames"
},
{
"name": "params",
"value": {
"repo": "id:repo-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"error": {
"code": "refused",
"message": ""
},
"id": "frame-1",
"ok": false
}
}
},
"cb76d0017b96": {
"registry": {
"exhaustedTiers": 0,
"names": []
}
},
"dfdfe583f72c": {
"name": "worktree.listRetiredNames#1",
"args": [
{
"name": "method",
"value": "worktree.listRetiredNames"
},
{
"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": {
"error": {
"message": "inner refused"
},
"ok": false
}
}
}
},
"e30ddb3bb2da": {
"name": "worktree.listRetiredNames#1",
"args": [
{
"name": "method",
"value": "worktree.listRetiredNames"
},
{
"name": "params",
"value": {
"repo": "id:repo-1"
}
},
{
"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
}
}
},
"ea14357ab74a": {
"name": "worktree.listRetiredNames#1",
"args": [
{
"name": "method",
"value": "worktree.listRetiredNames"
},
{
"name": "params",
"value": {
"repo": "id:repo-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "rejected",
"startedAt": 0,
"settledAt": 0,
"error": {
"category": "Error",
"message": "transport failure",
"isRpcDeliveryUnknown": true
}
}
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
}
},
"recording": {
"scenario": "matrix-worktree.retired-names-worktree.listretirednames-1",
"checkpoints": [
{
"id": "worktree-retired-names.prelude:names-pending",
"observation": {
"sender": ["569633c0c5c5"],
"payloads": ["ba7d8283433b"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "cb76d0017b96",
"effects": []
}
},
{
"id": "worktree-retired-names.normal:settled",
"observation": {
"sender": ["5e2e60e145d8"],
"payloads": ["ba7d8283433b"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "85d826c606ff",
"effects": []
}
},
{
"id": "worktree-retired-names.result-absent:settled",
"observation": {
"sender": ["62049c27970e"],
"payloads": ["ba7d8283433b"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "cb76d0017b96",
"effects": []
}
},
{
"id": "worktree-retired-names.result-null:settled",
"observation": {
"sender": ["097832ba0321"],
"payloads": ["ba7d8283433b"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "cb76d0017b96",
"effects": []
}
},
{
"id": "worktree-retired-names.inner-ok-missing:settled",
"observation": {
"sender": ["0c1342cbe912"],
"payloads": ["ba7d8283433b"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "cb76d0017b96",
"effects": []
}
},
{
"id": "worktree-retired-names.inner-false-string-error:settled",
"observation": {
"sender": ["2b135054eb20"],
"payloads": ["ba7d8283433b"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "cb76d0017b96",
"effects": []
}
},
{
"id": "worktree-retired-names.inner-false-object-error:settled",
"observation": {
"sender": ["dfdfe583f72c"],
"payloads": ["ba7d8283433b"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "cb76d0017b96",
"effects": []
}
},
{
"id": "worktree-retired-names.outer-refused:settled",
"observation": {
"sender": ["65d2ebb48892"],
"payloads": ["ba7d8283433b"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "cb76d0017b96",
"effects": []
}
},
{
"id": "worktree-retired-names.outer-refused-no-message:settled",
"observation": {
"sender": ["be9540321e8c"],
"payloads": ["ba7d8283433b"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "cb76d0017b96",
"effects": []
}
},
{
"id": "worktree-retired-names.method-not-found:settled",
"observation": {
"sender": ["e30ddb3bb2da"],
"payloads": ["ba7d8283433b"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "cb76d0017b96",
"effects": []
}
},
{
"id": "worktree-retired-names.transport-rejection:settled",
"observation": {
"sender": ["ea14357ab74a"],
"payloads": ["ba7d8283433b"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "cb76d0017b96",
"effects": []
}
},
{
"id": "worktree-retired-names.transport-rejection-no-message:settled",
"observation": {
"sender": ["02fe07399476"],
"payloads": ["ba7d8283433b"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "cb76d0017b96",
"effects": []
}
}
]
}
}
@@ -0,0 +1,164 @@
{
"operation": "worktree.catalog-snapshot",
"family": "worktree.catalog-snapshot",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "6119d409e1958877e4a04b3901f94a3609ac0420f5ca02af20eb8dae5cbf3408",
"scenarioSha256": "d2947158840576cbd0f0604ed3d37b0f446c63c6d439b4d1b7def7fe8524523d",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"227f9e3de4fa": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"afterSnapshotId": {
"$rpc": "null"
},
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"snapshotId": "snapshot-1",
"worktrees": [
{
"displayName": "One",
"repo": "Repo",
"worktreeId": "w-1"
}
]
}
}
}
},
"253b98015b8d": {
"admitted": "unadmitted",
"fetched": "unfetched"
},
"2d40d1d38104": {
"name": "unhandled-rejection",
"value": {
"category": "Error",
"isRpcDeliveryUnknown": false,
"message": "Unsupported observation: function"
}
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"a87f1f91dc98": {
"name": "worktree.ps#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"supportsWorktreeVisibilitySourceDefaults\":true}}"
},
"ab1a9ba6301c": {
"admitted": [
{
"displayName": "One",
"repo": "Repo",
"worktreeId": "w-1"
}
],
"fetched": {
"kind": "response",
"pending": {
"admission": {
"kind": "full",
"snapshotId": "snapshot-1",
"worktrees": [
{
"displayName": "One",
"repo": "Repo",
"worktreeId": "w-1"
}
]
},
"client": "logical-client",
"hostId": "host-1"
}
}
},
"f97b6b46b1d5": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"afterSnapshotId": {
"$rpc": "null"
},
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
}
},
"recording": {
"scenario": "worktree-catalog-snapshot",
"checkpoints": [
{
"id": "catalog-pending",
"observation": {
"sender": ["f97b6b46b1d5"],
"payloads": ["a87f1f91dc98"],
"settlements": {
"fetch": "9270aeb7d9c6"
},
"state": "253b98015b8d",
"effects": []
}
},
{
"id": "settled",
"observation": {
"sender": ["227f9e3de4fa"],
"payloads": ["a87f1f91dc98"],
"settlements": {
"fetch": "9270aeb7d9c6"
},
"state": "ab1a9ba6301c",
"effects": ["2d40d1d38104"]
}
}
]
}
}
@@ -0,0 +1,165 @@
{
"operation": "worktree.home-catalog",
"family": "worktree.home-catalog",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "6119d409e1958877e4a04b3901f94a3609ac0420f5ca02af20eb8dae5cbf3408",
"scenarioSha256": "4749bb3b871275ba08f026f9b6bcfd383605f443e7bba70a7f89175b91db6fa5",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"2e82f8bbb1f1": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": {
"worktrees": [
{
"displayName": "One",
"repo": "Repo",
"status": "working",
"worktreeId": "w-1"
},
{
"displayName": "Two",
"repo": "Repo",
"status": "idle",
"worktreeId": "w-2"
}
]
}
}
}
},
"39b7354b00f4": {
"host-1": {
"activeCount": 1,
"countsProvenAt": 1767225600000,
"hostId": "host-1",
"lastActiveWorktree": {
"displayName": "One",
"repo": "Repo",
"status": "working",
"worktreeId": "w-1"
},
"totalWorktrees": 2
}
},
"44136fa355b3": {},
"4912be5d956f": {
"name": "worktree.ps#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"supportsWorktreeVisibilitySourceDefaults\":true}}"
},
"8944b50988b9": {
"name": "info",
"value": {
"host-1": {
"activeCount": 1,
"countsProvenAt": 1767225600000,
"hostId": "host-1",
"lastActiveWorktree": {
"displayName": "One",
"repo": "Repo",
"status": "working",
"worktreeId": "w-1"
},
"totalWorktrees": 2
}
}
},
"9270aeb7d9c6": {
"status": "pending",
"startedAt": 0
},
"bc1a8e138f82": {
"name": "worktree.ps#1",
"args": [
{
"name": "method",
"value": "worktree.ps"
},
{
"name": "params",
"value": {
"limit": 10000
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
}
},
"recording": {
"scenario": "worktree-home-catalog",
"checkpoints": [
{
"id": "catalog-pending",
"observation": {
"sender": ["bc1a8e138f82"],
"payloads": ["4912be5d956f"],
"settlements": {
"load": "9270aeb7d9c6"
},
"state": "44136fa355b3",
"effects": []
}
},
{
"id": "settled",
"observation": {
"sender": ["2e82f8bbb1f1"],
"payloads": ["4912be5d956f"],
"settlements": {
"load": "eb79a9b3682a"
},
"state": "39b7354b00f4",
"effects": ["8944b50988b9"]
}
}
]
}
}
@@ -0,0 +1,133 @@
{
"operation": "worktree.retired-names",
"family": "worktree.retired-names",
"namedDeltas": [],
"runnerVersion": 1,
"baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462",
"lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571",
"recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2",
"adapterSha256": "6119d409e1958877e4a04b3901f94a3609ac0420f5ca02af20eb8dae5cbf3408",
"scenarioSha256": "2faa07ee5f12b3ed584117359d3b7aeb9c78a04e8fc49e753372f8c3927a3740",
"platform": "darwin",
"scenarioVersion": 1,
"projectionVersion": 2,
"goldenFormatVersion": 5,
"values": {
"569633c0c5c5": {
"name": "worktree.listRetiredNames#1",
"args": [
{
"name": "method",
"value": "worktree.listRetiredNames"
},
{
"name": "params",
"value": {
"repo": "id:repo-1"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "pending",
"startedAt": 0
}
},
"5e2e60e145d8": {
"name": "worktree.listRetiredNames#1",
"args": [
{
"name": "method",
"value": "worktree.listRetiredNames"
},
{
"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": {
"retiredNameTiersByRepo": {
"repo-1": 2
},
"retiredNamesByRepo": {
"repo-1": ["marlin", "orca"]
}
}
}
}
},
"85d826c606ff": {
"registry": {
"exhaustedTiers": 2,
"names": ["marlin", "orca"]
}
},
"ba7d8283433b": {
"name": "worktree.listRetiredNames#1",
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.listRetiredNames\",\"params\":{\"repo\":\"id:repo-1\"}}"
},
"cb76d0017b96": {
"registry": {
"exhaustedTiers": 0,
"names": []
}
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
}
},
"recording": {
"scenario": "worktree-retired-names",
"checkpoints": [
{
"id": "names-pending",
"observation": {
"sender": ["569633c0c5c5"],
"payloads": ["ba7d8283433b"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "cb76d0017b96",
"effects": []
}
},
{
"id": "settled",
"observation": {
"sender": ["5e2e60e145d8"],
"payloads": ["ba7d8283433b"],
"settlements": {
"mount": "eb79a9b3682a"
},
"state": "85d826c606ff",
"effects": []
}
}
]
}
}
+975
View File
@@ -6754,6 +6754,981 @@
}
]
},
{
"id": "files-ownership-ssh",
"operation": "files.mutation-ownership",
"version": 1,
"family": "files.mutation-ownership",
"sites": ["mobile/src/files/mobile-file-mutation-ownership.ts"],
"schedules": [],
"steps": [
{
"action": "capture",
"id": "capture"
},
{
"checkpoint": "status-pending"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["files.mutation-ownership.v1"]
}
}
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"hostId": "ssh:target-1"
}
}
}
},
{
"complete": "ssh.getState#1",
"params": {
"targetId": "target-1"
},
"reply": {
"ok": true,
"result": {
"state": {
"targetId": "target-1",
"status": "connected",
"error": null,
"reconnectAttempt": 0,
"connectionGeneration": 3
}
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "files-ownership-local",
"operation": "files.mutation-ownership",
"version": 1,
"family": "files.mutation-ownership",
"sites": ["mobile/src/files/mobile-file-mutation-ownership.ts"],
"schedules": [],
"steps": [
{
"action": "capture",
"id": "capture"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["files.mutation-ownership.v1"]
}
}
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"hostId": "local"
}
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "files-preview-grant-refresh",
"operation": "files.preview-load",
"version": 1,
"family": "files.preview-load",
"sites": [
"mobile/src/files/mobile-file-preview-request.ts",
"mobile/src/files/mobile-terminal-artifact-grant-refresh.ts"
],
"schedules": [],
"steps": [
{
"action": "artifact",
"id": "load"
},
{
"checkpoint": "read-pending"
},
{
"complete": "files.readTerminalArtifact#1",
"params": {
"worktree": "id:workspace-1",
"absolutePath": "/logs/run.txt",
"grantId": "grant-1"
},
"reply": {
"ok": false,
"error": {
"code": "terminal_file_grant_expired",
"message": "Grant expired"
}
}
},
{
"complete": "files.resolveTerminalPath#1",
"params": {
"worktree": "id:workspace-1",
"pathText": "run.txt",
"cwd": "/logs",
"terminal": "terminal-1"
},
"reply": {
"ok": true,
"result": {
"exists": true,
"isDirectory": false,
"openTarget": {
"kind": "absolute-file",
"absolutePath": "/logs/run.txt",
"grantId": "grant-2"
}
}
}
},
{
"complete": "files.readTerminalArtifact#2",
"params": {
"worktree": "id:workspace-1",
"absolutePath": "/logs/run.txt",
"grantId": "grant-2"
},
"reply": {
"ok": true,
"result": {
"content": "hello",
"truncated": false,
"byteLength": 5
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "files-preview-artifact-direct",
"operation": "files.preview-load",
"version": 1,
"family": "files.preview-load",
"sites": [
"mobile/src/files/mobile-file-preview-request.ts",
"mobile/src/files/mobile-terminal-artifact-grant-refresh.ts"
],
"schedules": [],
"steps": [
{
"action": "artifact",
"id": "load"
},
{
"complete": "files.readTerminalArtifact#1",
"params": {
"worktree": "id:workspace-1",
"absolutePath": "/logs/run.txt",
"grantId": "grant-1"
},
"reply": {
"ok": true,
"result": {
"content": "hello",
"truncated": false,
"byteLength": 5
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "files-preview-worktree",
"operation": "files.preview-load",
"version": 1,
"family": "files.preview-load",
"sites": ["mobile/src/files/mobile-file-preview-request.ts"],
"schedules": [],
"steps": [
{
"action": "worktree",
"id": "load"
},
{
"complete": "files.read#1",
"params": {
"worktree": "id:workspace-1",
"relativePath": "docs/readme.md"
},
"reply": {
"ok": true,
"result": {
"content": "# readme",
"truncated": false,
"byteLength": 8
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "files-preview-worktree-image",
"operation": "files.preview-load",
"version": 1,
"family": "files.preview-load",
"sites": ["mobile/src/files/mobile-file-preview-request.ts"],
"schedules": [],
"steps": [
{
"action": "worktree",
"id": "load",
"args": {
"path": "docs/logo.png"
}
},
{
"complete": "files.readPreview#1",
"params": {
"worktree": "id:workspace-1",
"relativePath": "docs/logo.png"
},
"reply": {
"ok": true,
"result": {
"content": "aGk=",
"isBinary": true,
"isImage": true,
"mimeType": "image/png"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "files-preview-artifact-image",
"operation": "files.preview-load",
"version": 1,
"family": "files.preview-load",
"sites": ["mobile/src/files/mobile-file-preview-request.ts"],
"schedules": [],
"steps": [
{
"action": "artifact",
"id": "load",
"args": {
"path": "/logs/shot.png"
}
},
{
"complete": "files.readTerminalArtifactPreview#1",
"params": {
"worktree": "id:workspace-1",
"absolutePath": "/logs/shot.png",
"grantId": "grant-1"
},
"reply": {
"ok": true,
"result": {
"content": "aGk=",
"isBinary": true,
"isImage": true,
"mimeType": "image/png"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "files-save-verified",
"operation": "files.preview-save",
"version": 1,
"family": "files.preview-save",
"sites": [
"mobile/src/files/mobile-file-preview-request.ts",
"mobile/src/files/mobile-terminal-artifact-grant-refresh.ts"
],
"schedules": [],
"steps": [
{
"action": "verified",
"id": "save"
},
{
"checkpoint": "verify-pending"
},
{
"complete": "files.readTerminalArtifact#1",
"params": {
"worktree": "id:workspace-1",
"absolutePath": "/logs/run.txt",
"grantId": "grant-1"
},
"reply": {
"ok": true,
"result": {
"content": "base",
"truncated": false,
"byteLength": 4
}
}
},
{
"complete": "files.writeTerminalArtifact#1",
"params": {
"worktree": "id:workspace-1",
"absolutePath": "/logs/run.txt",
"grantId": "grant-1",
"content": "next"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "files-save-blind",
"operation": "files.preview-save",
"version": 1,
"family": "files.preview-save",
"sites": [
"mobile/src/files/mobile-file-preview-request.ts",
"mobile/src/files/mobile-terminal-artifact-grant-refresh.ts"
],
"schedules": [],
"steps": [
{
"action": "blind",
"id": "save"
},
{
"complete": "files.writeTerminalArtifact#1",
"params": {
"worktree": "id:workspace-1",
"absolutePath": "/logs/run.txt",
"grantId": "grant-1",
"content": "next"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "files-tab-doc-shapes",
"operation": "files.tab-doc",
"version": 1,
"family": "files.tab-doc",
"sites": ["mobile/src/files/mobile-file-tab-doc.ts"],
"schedules": [],
"steps": [
{
"action": "text",
"id": "text"
},
{
"complete": "files.read#1",
"params": {
"worktree": "id:workspace-1",
"relativePath": "docs/readme.md"
},
"reply": {
"ok": true,
"result": {
"content": "# readme",
"truncated": false,
"byteLength": 8
}
}
},
{
"action": "image",
"id": "image"
},
{
"complete": "files.readPreview#1",
"params": {
"worktree": "id:workspace-1",
"relativePath": "docs/logo.png"
},
"reply": {
"ok": true,
"result": {
"content": "aGk=",
"isImage": true,
"mimeType": "image/png"
}
}
},
{
"action": "diff",
"id": "diff"
},
{
"complete": "git.diff#1",
"params": {
"worktree": "id:workspace-1",
"filePath": "docs/readme.md",
"staged": true
},
"reply": {
"ok": true,
"result": {
"kind": "text",
"originalContent": "a\n",
"modifiedContent": "b\n"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "components-target-ssh",
"operation": "components.execution-target",
"version": 1,
"family": "components.execution-target",
"sites": ["mobile/src/components/use-new-workspace-execution-target.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "state-pending"
},
{
"complete": "ssh.getState#1",
"params": {
"targetId": "ssh-1"
},
"reply": {
"ok": true,
"result": {
"state": {
"targetId": "ssh-1",
"status": "connected",
"error": null,
"reconnectAttempt": 0
}
}
}
},
{
"complete": "preflight.detectRemoteAgents#1",
"params": {
"connectionId": "ssh-1"
},
"reply": {
"ok": true,
"result": ["codex"]
}
},
{
"action": "connect",
"id": "connect"
},
{
"complete": "ssh.connect#1",
"params": {
"targetId": "ssh-1"
},
"reply": {
"ok": true,
"result": {
"state": {
"targetId": "ssh-1",
"status": "connected",
"error": null,
"reconnectAttempt": 0
}
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "components-target-local",
"operation": "components.execution-target-local",
"version": 1,
"family": "components.execution-target-local",
"sites": ["mobile/src/components/use-new-workspace-execution-target.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "detect-pending"
},
{
"complete": "preflight.detectAgents#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": ["claude"]
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "components-setup-ask",
"operation": "components.setup-script",
"version": 1,
"family": "components.setup-script",
"sites": ["mobile/src/components/use-new-workspace-setup-script.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "hooks-pending"
},
{
"complete": "repo.hooks#1",
"params": {
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": {
"hooks": {
"scripts": {
"setup": "pnpm install"
}
},
"source": "repo",
"setupRunPolicy": "ask",
"setupTrust": null
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "components-codex-capability",
"operation": "components.codex-reset-capability",
"version": 1,
"family": "components.codex-reset-capability",
"sites": ["mobile/src/components/codex-reset-credit-capability.ts"],
"schedules": [],
"steps": [
{
"action": "probe",
"id": "probe"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["accounts.codex-reset-credit.v1"]
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "host-view-settings-sync",
"operation": "host.view-settings",
"version": 1,
"family": "host.view-settings",
"sites": ["mobile/src/host-screen/use-host-view-settings.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "sync",
"id": "sync"
},
{
"checkpoint": "ui-pending"
},
{
"complete": "ui.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"ui": {
"sortBy": "name",
"groupBy": "repo",
"hideSleepingWorkspaces": true
}
}
}
},
{
"action": "sort",
"id": "sort"
},
{
"complete": "ui.set#1",
"params": {
"sortBy": "name"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "home-host-stats",
"operation": "home.host-stats",
"version": 1,
"family": "home.host-stats",
"sites": ["mobile/src/home/mobile-home-host-requests.ts"],
"schedules": [],
"steps": [
{
"action": "load",
"id": "load"
},
{
"checkpoint": "stats-pending"
},
{
"complete": "stats.summary#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"totalWorktrees": 3,
"activeWorktrees": 1
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "worktree-home-catalog",
"operation": "worktree.home-catalog",
"version": 1,
"family": "worktree.home-catalog",
"sites": ["mobile/src/worktree/home-host-worktree-fetch.ts"],
"schedules": [],
"steps": [
{
"action": "load",
"id": "load"
},
{
"checkpoint": "catalog-pending"
},
{
"complete": "worktree.ps#1",
"params": {
"limit": 10000,
"supportsWorktreeVisibilitySourceDefaults": true
},
"reply": {
"ok": true,
"result": {
"worktrees": [
{
"worktreeId": "w-1",
"displayName": "One",
"repo": "Repo",
"status": "working"
},
{
"worktreeId": "w-2",
"displayName": "Two",
"repo": "Repo",
"status": "idle"
}
]
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "worktree-catalog-snapshot",
"operation": "worktree.catalog-snapshot",
"version": 1,
"family": "worktree.catalog-snapshot",
"sites": ["mobile/src/worktree/worktree-catalog-snapshot-client.ts"],
"schedules": [],
"steps": [
{
"action": "fetch",
"id": "fetch"
},
{
"checkpoint": "catalog-pending"
},
{
"complete": "worktree.ps#1",
"params": {
"limit": 10000,
"supportsWorktreeVisibilitySourceDefaults": true,
"afterSnapshotId": null
},
"reply": {
"ok": true,
"result": {
"snapshotId": "snapshot-1",
"worktrees": [
{
"worktreeId": "w-1",
"displayName": "One",
"repo": "Repo"
}
]
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "worktree-retired-names",
"operation": "worktree.retired-names",
"version": 1,
"family": "worktree.retired-names",
"sites": ["mobile/src/worktree/use-retired-worktree-names.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "names-pending"
},
{
"complete": "worktree.listRetiredNames#1",
"params": {
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": {
"retiredNamesByRepo": {
"repo-1": ["marlin", "orca"]
},
"retiredNameTiersByRepo": {
"repo-1": 2
}
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "host-worktree-actions-pin-open-delete",
"operation": "host.worktree-actions",
"version": 1,
"family": "host.worktree-actions",
"sites": ["mobile/src/host-screen/use-host-worktree-actions.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "toggle-pin",
"id": "toggle-pin"
},
{
"checkpoint": "pin-optimistic"
},
{
"complete": "worktree.set#1",
"params": {
"worktree": "id:wt-1",
"isPinned": true
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"action": "open-session",
"id": "open-session"
},
{
"complete": "worktree.activate#1",
"params": {
"worktree": "id:wt-1",
"notifyClients": false,
"navigation": "caller"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"action": "delete",
"id": "delete"
},
{
"checkpoint": "delete-optimistic"
},
{
"complete": "worktree.rm#1",
"params": {
"worktree": "id:wt-1",
"force": true
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "host-worktree-delete-refused",
"operation": "host.worktree-actions",
"version": 1,
"family": "host.worktree-actions",
"sites": ["mobile/src/host-screen/use-host-worktree-actions.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "delete",
"id": "delete"
},
{
"checkpoint": "delete-optimistic"
},
{
"complete": "worktree.rm#1",
"params": {
"worktree": "id:wt-1",
"force": true
},
"reply": {
"ok": false,
"error": {
"code": "worktree_busy",
"message": "Worktree is busy"
}
}
},
{
"checkpoint": "restored"
}
]
},
{
"id": "transport-host-status-gates-ready",
"operation": "transport.host-status-gates",
+1
View File
@@ -16,6 +16,7 @@ import {
Palette,
Rocket,
Server,
// `Shapes` is lucide's own export name; exempted in config/oxlint-anti-slop.json.
Shapes,
Sparkles,
SquareTerminal,
@@ -0,0 +1,33 @@
import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation'
import type { RpcCompatibleReader } from '../transport/rpc-operation-contract'
import { rpcReadUnchecked } from '../transport/rpc-reader-payload'
// Reads the capability list off a status the object policy already admitted, so a non-object
// result reads as no capabilities rather than throwing — which is what the probe's `catch` did.
const capabilityListReader: RpcCompatibleReader<
Record<string, unknown>,
'capabilities',
unknown
> = (raw) => rpcReadUnchecked('capabilities', raw.capabilities)
/**
* status.get read for the Codex reset-credit probe, with its own policy on that method.
*
* The probe treats a refusal, a null result and a non-object result identically as "unsupported",
* which only `object-result-or-null` expresses, and which is what `rpcObjectResultOrNull` already
* spelled at this call site.
*/
export const codexResetCreditCapabilityRead = bindDeferredRpcOperation(
defineRpcOperation({
name: 'status.codex-reset-credit-capability',
method: 'status.get',
acceptance: 'object-result-or-null',
barrier: 'after-caller-barrier',
read: capabilityListReader
})
)
/** What the probe sends with, named from an operation so no module names the raw port. */
export type MobileCodexResetCapabilityRpcSender = Parameters<
typeof codexResetCreditCapabilityRead.request
>[0]
@@ -2,18 +2,22 @@ import { useEffect, useState } from 'react'
import { CODEX_RESET_CREDIT_RUNTIME_CAPABILITY } from '../../../src/shared/protocol-version'
import type { RpcClient } from '../transport/rpc-client'
import { startRuntimeCapabilityProbe } from '../transport/runtime-capability-probe'
import { rpcObjectResultOrNull } from '../transport/rpc-acceptance-policies'
import {
codexResetCreditCapabilityRead,
type MobileCodexResetCapabilityRpcSender
} from './codex-reset-credit-capability-operations'
// Why: source the capability string from the shared contract so a host bump can never
// silently drift from the mobile probe.
export const MOBILE_CODEX_RESET_CREDIT_CAPABILITY = CODEX_RESET_CREDIT_RUNTIME_CAPABILITY
export async function readCodexResetCreditCapability(
client: Pick<RpcClient, 'sendRequest'>
client: MobileCodexResetCapabilityRpcSender
): Promise<boolean> {
try {
const response = await client.sendRequest('status.get')
const capabilities = rpcObjectResultOrNull(response)?.capabilities
const capabilities = codexResetCreditCapabilityRead.interpret(
await codexResetCreditCapabilityRead.request(client)
)
return (
Array.isArray(capabilities) && capabilities.includes(MOBILE_CODEX_RESET_CREDIT_CAPABILITY)
)
@@ -0,0 +1,40 @@
import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation'
import type { RpcCompatibleReader } from '../transport/rpc-operation-contract'
import { rpcReadUnchecked, rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload'
// The New Workspace drawer's own reads. Its SSH connect, SSH state and agent detection are the
// workspace-create operations in ../tasks/mobile-workspace-source-operations.ts, asked with the
// same acceptance by the same flow, so the drawer sends those rather than restating them.
/**
* repo.hooks read for the drawer, the second of two policies on this method.
*
* The tasks create path (`repo.setup-hooks`) throws the host's message because it cannot decide
* whether to run setup without an answer. The drawer only decorates a form: a refusal leaves the
* advanced section on its defaults and the message is never shown, so refusal is a skip here.
*/
export const newWorkspaceSetupHooksRead = bindDeferredRpcOperation(
defineRpcOperation({
name: 'repo.drawer-setup-hooks-or-skip',
method: 'repo.hooks',
acceptance: 'success-result-or-skip',
barrier: 'after-caller-barrier',
read: rpcUncheckedPayloadReader('repo-hooks')
})
)
// Reads `ui` the way the drawer always has: through optional chaining, so a null or absent result
// is untrusted-but-not-fatal rather than the property-read throw the Tasks screen's reader keeps.
const optionalUiMemberReader: RpcCompatibleReader<unknown, 'optional-ui-member', unknown> = (raw) =>
rpcReadUnchecked('optional-ui-member', raw == null ? undefined : Object(raw).ui)
/** Persisted UI state, read for the trusted-hooks record only. A refused read trusts nothing. */
export const newWorkspaceUiStateRead = bindDeferredRpcOperation(
defineRpcOperation({
name: 'ui.new-workspace-trust-or-skip',
method: 'ui.get',
acceptance: 'success-result-or-skip',
barrier: 'after-caller-barrier',
read: optionalUiMemberReader
})
)
@@ -1,7 +1,12 @@
import { useEffect, useState } from 'react'
import type { SshConnectionState } from '../../../src/shared/ssh-types'
import type { RpcClient } from '../transport/rpc-client'
import type { RpcSuccess } from '../transport/types'
import {
localAgentDetectionRead,
remoteAgentDetectionRead,
sshRepoConnectRun,
sshRepoStateRead
} from '../tasks/mobile-workspace-source-operations'
import { deriveWorkspaceSshGate, type WorkspaceSshGate } from '../tasks/workspace-ssh-gate'
type DetectedAgentIdsState = {
@@ -48,17 +53,15 @@ export function useNewWorkspaceExecutionTarget(args: {
return
}
let stale = false
void client
.sendRequest('ssh.getState', { targetId: connectionId })
.then((response) => {
void sshRepoStateRead
.request(client, { targetId: connectionId })
.then((reply) => {
if (stale) {
return
}
if (!response.ok) {
throw new Error(response.error.message)
}
const state = (response as RpcSuccess).result as { state?: SshConnectionState | null }
setSshState(state.state ?? fallbackSshState(connectionId, 'disconnected', null))
// oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary.
const state = sshRepoStateRead.interpret(reply) as SshConnectionState | null | undefined
setSshState(state ?? fallbackSshState(connectionId, 'disconnected', null))
})
.catch((error) => {
if (!stale) {
@@ -83,13 +86,16 @@ export function useNewWorkspaceExecutionTarget(args: {
let stale = false
void (async () => {
try {
const response = connectionId
? await client.sendRequest('preflight.detectRemoteAgents', { connectionId })
: await client.sendRequest('preflight.detectAgents')
const detected = connectionId
? remoteAgentDetectionRead.interpret(
await remoteAgentDetectionRead.request(client, { connectionId })
)
: localAgentDetectionRead.interpret(await localAgentDetectionRead.request(client))
if (!stale) {
setDetectedAgentIdsState({
connectionId,
ids: response.ok ? new Set((response as RpcSuccess).result as string[]) : new Set()
// oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary.
ids: detected.accepted ? new Set(detected.value as string[]) : new Set()
})
}
} catch {
@@ -110,16 +116,14 @@ export function useNewWorkspaceExecutionTarget(args: {
setConnectingTargetId(connectionId)
setSshState(fallbackSshState(connectionId, 'connecting', null))
try {
const response = await client.sendRequest(
'ssh.connect',
const reply = await sshRepoConnectRun.request(
client,
{ targetId: connectionId },
{ timeoutMs: 120_000 }
)
if (!response.ok) {
throw new Error(response.error.message)
}
const result = (response as RpcSuccess).result as { state?: SshConnectionState | null }
setSshState(result.state ?? fallbackSshState(connectionId, 'connected', null))
// oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary.
const state = sshRepoConnectRun.interpret(reply) as SshConnectionState | null | undefined
setSshState(state ?? fallbackSshState(connectionId, 'connected', null))
} catch (error) {
setSshState(
fallbackSshState(
@@ -1,19 +1,33 @@
import { optionalSettingsRead } from '../transport/settings-read-operations'
import { useEffect, useState } from 'react'
import type { PersistedTrustedOrcaHooks } from '../../../src/shared/orca-yaml-hook-types'
import type { RpcAcceptedResult } from '../transport/rpc-accepted-result'
import type { RpcClient } from '../transport/rpc-client'
import type { RpcResponse, RpcSuccess } from '../transport/types'
import type { RpcResponse } from '../transport/types'
import { taskLinearStatusRead, taskPreflightRead } from '../tasks/mobile-task-runtime-operations'
import {
filterAvailableTaskProviders,
normalizeVisibleTaskProviders,
type TaskProvider
} from '../tasks/mobile-task-providers'
import type { NewWorktreeRuntimeSettings } from './new-worktree-agent-selection'
import { newWorkspaceUiStateRead } from './new-workspace-operations'
type UiGetResult = { ui?: { trustedOrcaHooks?: PersistedTrustedOrcaHooks } } | null | undefined
/** One member off a probe payload the drawer only re-typed, keeping its optional-chaining read. */
function readProbeMember(payload: unknown, key: string): unknown {
return payload == null ? undefined : Object(payload)[key]
}
function settledSuccess(entry: PromiseSettledResult<RpcResponse>): RpcSuccess | null {
return entry.status === 'fulfilled' && entry.value.ok ? (entry.value as RpcSuccess) : null
/** A settled probe's accepted payload, or undefined when it never landed or was refused. */
function settledValue(
entry: PromiseSettledResult<RpcResponse>,
interpret: (reply: RpcResponse) => RpcAcceptedResult<unknown>
): unknown {
if (entry.status !== 'fulfilled') {
return undefined
}
const verdict = interpret(entry.value)
return verdict.accepted ? verdict.value : undefined
}
export function useNewWorkspaceRuntimeContext(
@@ -38,12 +52,12 @@ export function useNewWorkspaceRuntimeContext(
let stale = false
void (async () => {
const probes = Promise.allSettled([
client.sendRequest('preflight.check'),
client.sendRequest('linear.status')
taskPreflightRead.request(client),
taskLinearStatusRead.request(client)
])
const [settingsRes, uiRes] = await Promise.allSettled([
optionalSettingsRead.request(client),
client.sendRequest('ui.get')
newWorkspaceUiStateRead.request(client)
])
if (stale) {
return
@@ -60,11 +74,13 @@ export function useNewWorkspaceRuntimeContext(
if (settingsValue) {
setRuntimeSettings(settingsValue)
}
const uiResult = settledSuccess(uiRes)
if (uiResult) {
// oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary; a missing result reads as untrusted.
const ui = (uiResult.result as UiGetResult)?.ui
setTrustedOrcaHooks(ui?.trustedOrcaHooks ?? {})
if (uiRes.status === 'fulfilled') {
const ui = newWorkspaceUiStateRead.interpret(uiRes.value)
if (ui.accepted) {
// oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary; a missing result reads as untrusted.
const trust = ui.value as { trustedOrcaHooks?: PersistedTrustedOrcaHooks } | undefined
setTrustedOrcaHooks(trust?.trustedOrcaHooks ?? {})
}
}
const [preflightRes, linearRes] = await probes
@@ -72,10 +88,12 @@ export function useNewWorkspaceRuntimeContext(
return
}
const glabInstalled =
(settledSuccess(preflightRes)?.result as { glab?: { installed?: boolean } } | undefined)
?.glab?.installed === true
readProbeMember(
readProbeMember(settledValue(preflightRes, taskPreflightRead.interpret), 'glab'),
'installed'
) === true
const linearConnected =
(settledSuccess(linearRes)?.result as { connected?: boolean } | undefined)?.connected ===
readProbeMember(settledValue(linearRes, taskLinearStatusRead.interpret), 'connected') ===
true
const visibleProviders = normalizeVisibleTaskProviders(settingsValue?.visibleTaskProviders)
setAvailableProviders(
@@ -1,7 +1,7 @@
import { useEffect, useState } from 'react'
import type { RpcClient } from '../transport/rpc-client'
import type { RpcSuccess } from '../transport/types'
import { normalizeSetupHookTrust } from '../tasks/setup-hook-trust'
import { newWorkspaceSetupHooksRead } from './new-workspace-operations'
import type { WorkspaceCreateSetupDecision } from '../tasks/workspace-create-params'
import type {
MobileWorkspaceRepo,
@@ -39,13 +39,15 @@ export function useNewWorkspaceSetupScript(args: {
return
}
let stale = false
void client
.sendRequest('repo.hooks', { repo: `id:${selectedRepo.id}` })
.then((response) => {
if (stale || !response.ok) {
void newWorkspaceSetupHooksRead
.request(client, { repo: `id:${selectedRepo.id}` })
.then((reply) => {
const hooks = newWorkspaceSetupHooksRead.interpret(reply)
if (stale || !hooks.accepted) {
return
}
const result = (response as RpcSuccess).result as RepoHooksResponse
// oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary.
const result = hooks.value as RepoHooksResponse
const command = result.hooks?.scripts?.setup?.trim() || null
const runPolicy = result.setupRunPolicy ?? 'run-by-default'
setDetails({
@@ -2,10 +2,13 @@ import type { ConnectionLogStore } from '../transport/connection-log-buffer'
import type { ConnectionLogEntry, HostProfile } from '../transport/types'
import type { RpcClientContextValue } from '../transport/rpc-client-context-contract'
/** Route identity token: compared by reference to detect navigating away and back, never read. */
export type DiagnosticsRouteKey = Record<string, never>
export type DiagnosticsHostSelection = {
hostId: string
requestedHostId: string | undefined
routeKey?: object
routeKey?: DiagnosticsRouteKey
}
export type DiagnosticsSubmissionState = 'sending' | 'sent' | 'failed'
@@ -29,7 +32,7 @@ export function resolveDiagnosticsHostId(
hosts: readonly HostProfile[],
requestedHostId: string | undefined,
manualSelection: DiagnosticsHostSelection | null,
routeKey?: object
routeKey?: DiagnosticsRouteKey
): string | null {
const selected = manualSelection
if (selected && selected.requestedHostId === requestedHostId && selected.routeKey === routeKey) {
@@ -2,8 +2,12 @@ import { parseExecutionHostId } from '../../../src/shared/execution-host'
import { assertFileMutationOwnershipCapability } from '../../../src/shared/file-mutation-ownership'
import type { RuntimeStatus } from '../../../src/shared/runtime-types'
import type { SshConnectionState, SshMutationExpectation } from '../../../src/shared/ssh-types'
import type { RpcClient } from '../transport/rpc-client'
import type { RpcFailure, RpcSuccess } from '../transport/types'
import {
fileOwnershipRuntimeStatusRead,
fileOwnershipSshStateRead,
fileOwnershipWorktreeRead,
type MobileFileOwnershipRpcSender
} from './mobile-file-ownership-operations'
const FILE_MUTATION_TIMEOUT_MS = 15_000
const SSH_OWNER_CHANGED_MESSAGE =
@@ -35,47 +39,42 @@ export function buildMobileFileMutationOwnership(
}
export async function captureMobileFileMutationOwnership(
client: Pick<RpcClient, 'sendRequest'>,
client: MobileFileOwnershipRpcSender,
worktree: string
): Promise<MobileFileMutationOwnership> {
const status = await requestResult<Pick<RuntimeStatus, 'capabilities'>>(
client,
'status.get',
undefined
)
const statusReply = await fileOwnershipRuntimeStatusRead.request(client, undefined, {
timeoutMs: FILE_MUTATION_TIMEOUT_MS
})
// oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary.
const status = fileOwnershipRuntimeStatusRead.interpret(statusReply) as Pick<
RuntimeStatus,
'capabilities'
>
assertFileMutationOwnershipCapability(status)
const result = await requestResult<{ worktree?: { hostId?: string | null } }>(
const worktreeReply = await fileOwnershipWorktreeRead.request(
client,
'worktree.show',
{ worktree }
{ worktree },
{ timeoutMs: FILE_MUTATION_TIMEOUT_MS }
)
if (!result.worktree) {
// oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary.
const summary = fileOwnershipWorktreeRead.interpret(worktreeReply) as
| { hostId?: string | null }
| undefined
if (!summary) {
throw new Error(SSH_OWNER_CHANGED_MESSAGE)
}
const host = parseExecutionHostId(result.worktree.hostId)
const sshState =
host?.kind === 'ssh'
? (
await requestResult<{ state: SshConnectionState | null }>(client, 'ssh.getState', {
targetId: host.targetId
})
).state
: null
return buildMobileFileMutationOwnership(result.worktree.hostId, sshState)
}
async function requestResult<TResult>(
client: Pick<RpcClient, 'sendRequest'>,
method: string,
params: unknown
): Promise<TResult> {
const response = await client.sendRequest(method, params, {
timeoutMs: FILE_MUTATION_TIMEOUT_MS
})
if (!response.ok) {
throw new Error((response as RpcFailure).error.message)
const host = parseExecutionHostId(summary.hostId)
let sshState: SshConnectionState | null = null
if (host?.kind === 'ssh') {
const stateReply = await fileOwnershipSshStateRead.request(
client,
{ targetId: host.targetId },
{ timeoutMs: FILE_MUTATION_TIMEOUT_MS }
)
// oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary.
sshState = fileOwnershipSshStateRead.interpret(stateReply) as SshConnectionState | null
}
return (response as RpcSuccess).result as TResult
return buildMobileFileMutationOwnership(summary.hostId, sshState)
}
@@ -0,0 +1,35 @@
import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation'
import { rpcUncheckedMemberReader } from '../transport/rpc-reader-payload'
// The three reads that pin which execution host owns a workspace before a file mutation is sent.
// All three share one acceptance because the capture is all-or-nothing: any refusal aborts the
// mutation with the host's own message rather than letting a write land on the wrong host.
// The runtime status this gate needs is the one the Tasks screen already asks for, field for
// field. A second operation would only be a second name for the same wire.
export { taskRuntimeStatusRead as fileOwnershipRuntimeStatusRead } from '../tasks/mobile-task-runtime-operations'
/** The workspace row the mutation targets. A null result throws where `result.worktree` did. */
export const fileOwnershipWorktreeRead = bindDeferredRpcOperation(
defineRpcOperation({
name: 'worktree.file-mutation-owner',
method: 'worktree.show',
acceptance: 'require-result-or-throw-message',
barrier: 'after-caller-barrier',
read: rpcUncheckedMemberReader('worktree-summary', 'worktree')
})
)
/** The SSH connection generation the mutation is expected to still be running on. */
export const fileOwnershipSshStateRead = bindDeferredRpcOperation(
defineRpcOperation({
name: 'ssh.file-mutation-owner-state',
method: 'ssh.getState',
acceptance: 'require-result-or-throw-message',
barrier: 'after-caller-barrier',
read: rpcUncheckedMemberReader('ssh-connection-state', 'state')
})
)
/** What an ownership capture sends with, named from an operation so no module names the raw port. */
export type MobileFileOwnershipRpcSender = Parameters<typeof fileOwnershipWorktreeRead.request>[0]
@@ -0,0 +1,83 @@
import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation'
import { rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload'
/**
* The preview screen's reads and writes.
*
* Every one of them is a skip rather than a throw, because a refused preview is not an error the
* screen raises: it is a result the screen renders. The refusal itself stays at the call site,
* which maps the host's code and message into display copy (`previewError`) and decides whether
* the failure is a stale terminal-artifact grant worth refreshing. No acceptance policy exposes a
* refusal code, and only these two consumers want one.
*
* The payloads are unchecked here because the shape depends on the path, not on the method:
* `normalizeMobileFilePreviewResult` picks the image or text projection from the file name, which
* a module-level reader cannot see.
*/
/** files.read for a preview. The tab doc asks the same method under a throwing policy. */
export const filePreviewTextRead = bindDeferredRpcOperation(
defineRpcOperation({
name: 'files.preview-text-or-skip',
method: 'files.read',
acceptance: 'success-result-or-skip',
barrier: 'after-caller-barrier',
read: rpcUncheckedPayloadReader('file-preview')
})
)
/** files.readPreview for a preview; the tab doc's image read is the other policy on it. */
export const filePreviewImageRead = bindDeferredRpcOperation(
defineRpcOperation({
name: 'files.preview-image-or-skip',
method: 'files.readPreview',
acceptance: 'success-result-or-skip',
barrier: 'after-caller-barrier',
read: rpcUncheckedPayloadReader('file-preview')
})
)
export const terminalArtifactTextRead = bindDeferredRpcOperation(
defineRpcOperation({
name: 'files.terminal-artifact-text-or-skip',
method: 'files.readTerminalArtifact',
acceptance: 'success-result-or-skip',
barrier: 'after-caller-barrier',
read: rpcUncheckedPayloadReader('file-preview')
})
)
export const terminalArtifactImageRead = bindDeferredRpcOperation(
defineRpcOperation({
name: 'files.terminal-artifact-image-or-skip',
method: 'files.readTerminalArtifactPreview',
acceptance: 'success-result-or-skip',
barrier: 'after-caller-barrier',
read: rpcUncheckedPayloadReader('file-preview')
})
)
/** The save. Its reply body is never read: a success is the whole answer. */
export const terminalArtifactWrite = bindDeferredRpcOperation(
defineRpcOperation({
name: 'files.write-terminal-artifact-or-skip',
method: 'files.writeTerminalArtifact',
acceptance: 'success-result-or-skip',
barrier: 'after-caller-barrier',
read: rpcUncheckedPayloadReader('artifact-written')
})
)
/** Re-resolves a terminal path to mint a fresh grant. A refusal leaves the stale grant in place. */
export const terminalArtifactPathResolve = bindDeferredRpcOperation(
defineRpcOperation({
name: 'files.resolve-terminal-path-or-skip',
method: 'files.resolveTerminalPath',
acceptance: 'success-result-or-skip',
barrier: 'after-caller-barrier',
read: rpcUncheckedPayloadReader('terminal-path-resolution')
})
)
/** What a preview send takes, named from an operation so no module names the raw port. */
export type MobileFilePreviewRpcSender = Parameters<typeof filePreviewTextRead.request>[0]
@@ -4,9 +4,12 @@ import {
createMobileFilePreviewRequest,
formatPreviewByteLength,
loadMobileFilePreview,
normalizeMobileFilePreviewResponse,
saveMobileTerminalArtifactPreview
} from './mobile-file-preview-request'
import {
normalizeMobileFilePreviewResult,
previewErrorFromRefusal
} from './mobile-file-preview-response'
function ok(result: unknown): RpcSuccess {
return { id: '1', ok: true, result, _meta: { runtimeId: 'runtime-1' } }
@@ -592,7 +595,7 @@ describe('mobile-file-preview-request', () => {
['missing mimeType', { content: 'aW1hZ2U=', isBinary: true, isImage: true }],
['empty content', { content: '', isBinary: true, isImage: true, mimeType: 'image/png' }]
])('rejects invalid image preview results: %s', (_label, result) => {
expect(normalizeMobileFilePreviewResponse('assets/logo.png', ok(result))).toEqual({
expect(normalizeMobileFilePreviewResult('assets/logo.png', result)).toEqual({
status: 'error',
message: 'Binary preview unavailable',
reconnect: false
@@ -601,10 +604,11 @@ describe('mobile-file-preview-request', () => {
it('normalizes markdown, html, text, empty, and truncated reads', () => {
expect(
normalizeMobileFilePreviewResponse(
'README.md',
ok({ content: '# Hi', truncated: false, byteLength: 4 })
)
normalizeMobileFilePreviewResult('README.md', {
content: '# Hi',
truncated: false,
byteLength: 4
})
).toEqual({
status: 'ready',
kind: 'markdown',
@@ -613,16 +617,18 @@ describe('mobile-file-preview-request', () => {
byteLength: 4
})
expect(
normalizeMobileFilePreviewResponse(
'index.html',
ok({ content: '<h1>Hi</h1>', truncated: false, byteLength: 11 })
)
normalizeMobileFilePreviewResult('index.html', {
content: '<h1>Hi</h1>',
truncated: false,
byteLength: 11
})
).toMatchObject({ status: 'ready', kind: 'html' })
expect(
normalizeMobileFilePreviewResponse(
'src/app.ts',
ok({ content: 'const a = 1', truncated: true, byteLength: 700_000 })
)
normalizeMobileFilePreviewResult('src/app.ts', {
content: 'const a = 1',
truncated: true,
byteLength: 700_000
})
).toEqual({
status: 'ready',
kind: 'text',
@@ -631,10 +637,11 @@ describe('mobile-file-preview-request', () => {
byteLength: 700_000
})
expect(
normalizeMobileFilePreviewResponse(
'empty.txt',
ok({ content: '', truncated: false, byteLength: 0 })
)
normalizeMobileFilePreviewResult('empty.txt', {
content: '',
truncated: false,
byteLength: 0
})
).toEqual({ status: 'empty', kind: 'text' })
})
@@ -651,7 +658,7 @@ describe('mobile-file-preview-request', () => {
['terminal_file_grant_stale', 'Reload preview before saving', false],
['permission denied', 'Unable to load preview', false]
])('maps preview failure %s', (message, expected, reconnect) => {
expect(normalizeMobileFilePreviewResponse('src/app.ts', fail(message))).toEqual({
expect(previewErrorFromRefusal(fail(message).error)).toEqual({
status: 'error',
message: expected,
reconnect
+115 -70
View File
@@ -1,9 +1,18 @@
import { classifyMobileArtifact } from '../session/mobile-artifact-kind'
import type { RpcAcceptedResult } from '../transport/rpc-accepted-result'
import type { RpcFailure, RpcResponse } from '../transport/types'
import type { RpcClient } from '../transport/rpc-client'
import {
normalizeMobileFilePreviewResponse,
filePreviewImageRead,
filePreviewTextRead,
terminalArtifactImageRead,
terminalArtifactTextRead,
terminalArtifactWrite,
type MobileFilePreviewRpcSender
} from './mobile-file-preview-operations'
import {
normalizeMobileFilePreviewResult,
previewError,
previewErrorFromRefusal,
type MobileFilePreviewResult
} from './mobile-file-preview-response'
import {
@@ -12,11 +21,8 @@ import {
type TerminalArtifactRetryOptions
} from './mobile-terminal-artifact-grant-refresh'
export {
formatPreviewByteLength,
normalizeMobileFilePreviewResponse,
previewError
} from './mobile-file-preview-response'
export { formatPreviewByteLength, previewError } from './mobile-file-preview-response'
export type {
MobileFilePreviewResult,
MobileFilePreviewTextKind
@@ -35,17 +41,26 @@ export type MobileFilePreviewSource =
}
| MobileTerminalArtifactPreviewSource
export type MobileFilePreviewRequest = {
method: MobileFilePreviewReadMethod | MobileTerminalArtifactPreviewReadMethod
params: {
worktree: string
relativePath?: string
absolutePath?: string
grantId?: string
}
}
/** Which read the path selects, and the params that read takes. */
export type MobileFilePreviewRequest =
| {
method: MobileFilePreviewReadMethod
params: { worktree: string; relativePath: string }
}
| {
method: MobileTerminalArtifactPreviewReadMethod
params: { worktree: string; absolutePath: string; grantId: string }
}
/**
* A settled preview send. The refusal is carried rather than interpreted because the preview
* screen's fallback copy is the host's `code`, which no acceptance policy exposes, and the grant
* refresh reads the same code to decide whether a stale grant is worth re-minting.
*/
type MobileFilePreviewOutcome =
| { accepted: true; payload: unknown }
| { accepted: false; refusal: RpcFailure['error'] }
type MobileFilePreviewClient = Pick<RpcClient, 'sendRequest'>
type TerminalArtifactSource = MobileTerminalArtifactPreviewSource
type TerminalArtifactSaveOptions = TerminalArtifactRetryOptions & {
baseContent?: string
@@ -83,35 +98,80 @@ export function createMobileFilePreviewRequest(
}
}
async function sendMobileFilePreviewRead(
client: MobileFilePreviewRpcSender,
request: MobileFilePreviewRequest
): Promise<MobileFilePreviewOutcome> {
switch (request.method) {
case 'files.read':
return settlePreviewSend(
await filePreviewTextRead.request(client, request.params),
filePreviewTextRead.interpret
)
case 'files.readPreview':
return settlePreviewSend(
await filePreviewImageRead.request(client, request.params),
filePreviewImageRead.interpret
)
case 'files.readTerminalArtifact':
return settlePreviewSend(
await terminalArtifactTextRead.request(client, request.params),
terminalArtifactTextRead.interpret
)
case 'files.readTerminalArtifactPreview':
return settlePreviewSend(
await terminalArtifactImageRead.request(client, request.params),
terminalArtifactImageRead.interpret
)
}
}
function settlePreviewSend(
reply: RpcResponse,
interpret: (reply: RpcResponse) => RpcAcceptedResult<unknown>
): MobileFilePreviewOutcome {
const verdict = interpret(reply)
return verdict.accepted
? { accepted: true, payload: verdict.value }
: // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: this policy skips only a refusal, so an unaccepted reply is a failure envelope.
{ accepted: false, refusal: (reply as RpcFailure).error }
}
export async function loadMobileFilePreview(
client: MobileFilePreviewClient,
client: MobileFilePreviewRpcSender,
worktreeIdOrSource: string | MobileFilePreviewSource,
relativePath?: string,
options: TerminalArtifactRetryOptions = {}
): Promise<MobileFilePreviewResult> {
let source = worktreeIdOrSource
let request = createMobileFilePreviewRequest(source, relativePath)
let response = await client.sendRequest(request.method, request.params)
if (!response.ok && typeof source !== 'string' && source.source === 'terminalArtifact') {
let read = await sendMobileFilePreviewRead(
client,
createMobileFilePreviewRequest(source, relativePath)
)
if (!read.accepted && typeof source !== 'string' && source.source === 'terminalArtifact') {
const refreshed = await refreshTerminalArtifactSourceAfterGrantFailure(
client,
source,
response,
read.refusal,
options
)
if (refreshed) {
source = refreshed
options.onTerminalArtifactSourceRefreshed?.(refreshed)
request = createMobileFilePreviewRequest(source, relativePath)
response = await client.sendRequest(request.method, request.params)
read = await sendMobileFilePreviewRead(
client,
createMobileFilePreviewRequest(source, relativePath)
)
}
}
const previewPath = typeof source === 'string' ? relativePath! : previewPathForSource(source)
return normalizeMobileFilePreviewResponse(previewPath, response)
return read.accepted
? normalizeMobileFilePreviewResult(previewPath, read.payload)
: previewErrorFromRefusal(read.refusal)
}
export async function saveMobileTerminalArtifactPreview(
client: MobileFilePreviewClient,
client: MobileFilePreviewRpcSender,
source: TerminalArtifactSource,
content: string,
options: TerminalArtifactSaveOptions = {}
@@ -135,26 +195,22 @@ export async function saveMobileTerminalArtifactPreview(
options.onTerminalArtifactSourceRefreshed?.(verified.source)
}
}
let response = await writeTerminalArtifactPreview(client, writeSource, content)
if (response.ok) {
let write = await writeTerminalArtifactPreview(client, writeSource, content)
if (write.accepted) {
return { status: 'saved' }
}
if (typeof options.baseContent !== 'string') {
return previewError(
(response as RpcFailure).error.message || (response as RpcFailure).error.code
)
return previewErrorFromRefusal(write.refusal)
}
const refreshed = await refreshTerminalArtifactSourceAfterGrantFailure(
client,
writeSource,
response,
write.refusal,
options
)
if (!refreshed) {
return previewError(
(response as RpcFailure).error.message || (response as RpcFailure).error.code
)
return previewErrorFromRefusal(write.refusal)
}
const verified = await verifyTerminalArtifactBaseContent(client, refreshed, options.baseContent, {
refreshGrant: false
@@ -164,17 +220,15 @@ export async function saveMobileTerminalArtifactPreview(
}
options.onTerminalArtifactSourceRefreshed?.(refreshed)
writeSource = verified.source
response = await writeTerminalArtifactPreview(client, writeSource, content)
if (!response.ok) {
return previewError(
(response as RpcFailure).error.message || (response as RpcFailure).error.code
)
write = await writeTerminalArtifactPreview(client, writeSource, content)
if (!write.accepted) {
return previewErrorFromRefusal(write.refusal)
}
return { status: 'saved' }
}
async function verifyTerminalArtifactBaseContent(
client: MobileFilePreviewClient,
client: MobileFilePreviewRpcSender,
source: TerminalArtifactSource,
baseContent: string,
options: TerminalArtifactRetryOptions
@@ -183,38 +237,26 @@ async function verifyTerminalArtifactBaseContent(
| { status: 'error'; error: MobileFilePreviewResult }
> {
let readSource = source
let request = createMobileFilePreviewRequest(readSource)
let response = await client.sendRequest(request.method, request.params)
let read = await sendMobileFilePreviewRead(client, createMobileFilePreviewRequest(readSource))
let refreshed = false
if (!response.ok) {
if (!read.accepted) {
const nextSource = await refreshTerminalArtifactSourceAfterGrantFailure(
client,
readSource,
response,
read.refusal,
options
)
if (!nextSource) {
return {
status: 'error',
error: previewError(
(response as RpcFailure).error.message || (response as RpcFailure).error.code
)
}
return { status: 'error', error: previewErrorFromRefusal(read.refusal) }
}
readSource = nextSource
refreshed = true
request = createMobileFilePreviewRequest(readSource)
response = await client.sendRequest(request.method, request.params)
read = await sendMobileFilePreviewRead(client, createMobileFilePreviewRequest(readSource))
}
if (!response.ok) {
return {
status: 'error',
error: previewError(
(response as RpcFailure).error.message || (response as RpcFailure).error.code
)
}
if (!read.accepted) {
return { status: 'error', error: previewErrorFromRefusal(read.refusal) }
}
const latest = normalizeMobileFilePreviewResponse(readSource.absolutePath, response)
const latest = normalizeMobileFilePreviewResult(readSource.absolutePath, read.payload)
if (latest.status === 'error' || latest.status === 'waiting') {
return { status: 'error', error: latest }
}
@@ -231,17 +273,20 @@ async function verifyTerminalArtifactBaseContent(
return { status: 'ok', source: readSource, refreshed }
}
function writeTerminalArtifactPreview(
client: MobileFilePreviewClient,
async function writeTerminalArtifactPreview(
client: MobileFilePreviewRpcSender,
source: TerminalArtifactSource,
content: string
): Promise<RpcResponse> {
return client.sendRequest('files.writeTerminalArtifact', {
worktree: `id:${source.worktreeId}`,
absolutePath: source.absolutePath,
grantId: source.grantId,
content
})
): Promise<MobileFilePreviewOutcome> {
return settlePreviewSend(
await terminalArtifactWrite.request(client, {
worktree: `id:${source.worktreeId}`,
absolutePath: source.absolutePath,
grantId: source.grantId,
content
}),
terminalArtifactWrite.interpret
)
}
function terminalArtifactPreviewMatchesBase(
@@ -1,5 +1,5 @@
import { classifyMobileArtifact } from '../session/mobile-artifact-kind'
import type { RpcFailure, RpcResponse, RpcSuccess } from '../transport/types'
import type { RpcFailure } from '../transport/types'
import { isMarkdownPath } from './file-tree'
import { isTerminalArtifactGrantError } from './terminal-artifact-grant-error'
@@ -37,23 +37,22 @@ export type MobileFilePreviewResult =
reconnect: boolean
}
export function normalizeMobileFilePreviewResponse(
/** The accepted arm, for a call site whose acceptance policy already admitted the payload. */
export function normalizeMobileFilePreviewResult(
relativePath: string,
response: RpcResponse
result: unknown
): MobileFilePreviewResult {
if (!response.ok) {
return previewError(
(response as RpcFailure).error.message || (response as RpcFailure).error.code
)
}
const result = (response as RpcSuccess).result
if (classifyMobileArtifact(relativePath) === 'image') {
return normalizeImagePreviewResult(result)
}
return normalizeTextPreviewResult(relativePath, result)
}
/** The refused arm. The code is the fallback copy, which is why the refusal itself is needed. */
export function previewErrorFromRefusal(error: RpcFailure['error']): MobileFilePreviewResult {
return previewError(error.message || error.code)
}
export function previewError(message: string): MobileFilePreviewResult {
const normalized = message.toLowerCase()
if (normalized === 'binary_file' || normalized.includes('binary_file')) {
@@ -0,0 +1,47 @@
import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation'
import { rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload'
/**
* What a session file tab reads to render one document.
*
* All three throw the host's message on refusal, which is the opposite of the preview screen's
* policy on the same two file methods: a tab maps the throw to an error doc and keeps the tab,
* while the preview screen renders the refusal as body copy. Two policies, two families, named
* here and in mobile-file-preview-operations.ts so neither can drift onto the other.
*
* The payloads stay unchecked: the tab picks its projection from the path, and moving a shape
* check into a reader would reject replies the tab renders today.
*/
export const fileTabDiffRead = bindDeferredRpcOperation(
defineRpcOperation({
name: 'git.file-tab-diff',
method: 'git.diff',
acceptance: 'require-result-or-throw-message',
barrier: 'after-caller-barrier',
read: rpcUncheckedPayloadReader('file-tab-diff')
})
)
export const fileTabTextRead = bindDeferredRpcOperation(
defineRpcOperation({
name: 'files.file-tab-text',
method: 'files.read',
acceptance: 'require-result-or-throw-message',
barrier: 'after-caller-barrier',
read: rpcUncheckedPayloadReader('file-tab-text')
})
)
export const fileTabImageRead = bindDeferredRpcOperation(
defineRpcOperation({
name: 'files.file-tab-image',
method: 'files.readPreview',
acceptance: 'require-result-or-throw-message',
barrier: 'after-caller-barrier',
read: rpcUncheckedPayloadReader('file-tab-image')
})
)
/** What a file tab reads with, named from an operation so no module names the raw port. */
export type MobileFileTabDocRpcSender = Parameters<typeof fileTabTextRead.request>[0]
+16 -20
View File
@@ -1,11 +1,13 @@
import { buildImageDataUri } from '../../../src/shared/image-data-uri'
import { classifyMobileArtifact } from '../session/mobile-artifact-kind'
import { buildMobileDiffLines, type MobileDiffLine } from '../session/mobile-diff-lines'
import type { RpcClient } from '../transport/rpc-client'
import type { RpcFailure, RpcSuccess } from '../transport/types'
import { mobileDiffImageDataUri, type MobileBinaryDiffResult } from './mobile-diff-image-preview'
type FileTabDocClient = Pick<RpcClient, 'sendRequest'>
import {
fileTabDiffRead,
fileTabImageRead,
fileTabTextRead,
type MobileFileTabDocRpcSender
} from './mobile-file-tab-doc-operations'
// The ready doc a session file tab renders. Mirrors the ready arm of the route's
// FileDocState; kept in src so the loader stays testable without the route.
@@ -24,21 +26,19 @@ export type MobileFileTabDocRequest = {
// Throws 'binary_file'/'file_too_large'/the RPC error message; callers map those
// to error docs.
export async function resolveMobileFileTabDoc(
client: FileTabDocClient,
client: MobileFileTabDocRpcSender,
request: MobileFileTabDocRequest
): Promise<MobileFileTabDoc> {
const worktree = `id:${request.worktreeId}`
const { relativePath } = request
if (request.diffSource === 'staged' || request.diffSource === 'unstaged') {
const response = await client.sendRequest('git.diff', {
const reply = await fileTabDiffRead.request(client, {
worktree,
filePath: relativePath,
staged: request.diffSource === 'staged'
})
if (!response.ok) {
throw new Error((response as RpcFailure).error.message)
}
const result = (response as RpcSuccess).result as
// oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary.
const result = fileTabDiffRead.interpret(reply) as
| { kind: 'text'; originalContent: string; modifiedContent: string }
| MobileBinaryDiffResult
if (result.kind !== 'text') {
@@ -56,11 +56,9 @@ export async function resolveMobileFileTabDoc(
const artifactKind = classifyMobileArtifact(relativePath)
if (artifactKind === 'image') {
const preview = await client.sendRequest('files.readPreview', { worktree, relativePath })
if (!preview.ok) {
throw new Error((preview as RpcFailure).error.message)
}
const result = (preview as RpcSuccess).result as {
const preview = await fileTabImageRead.request(client, { worktree, relativePath })
// oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary.
const result = fileTabImageRead.interpret(preview) as {
content: string
isImage?: boolean
mimeType?: string
@@ -72,11 +70,9 @@ export async function resolveMobileFileTabDoc(
return { status: 'ready', kind: 'image', dataUri }
}
const response = await client.sendRequest('files.read', { worktree, relativePath })
if (!response.ok) {
throw new Error((response as RpcFailure).error.message)
}
const result = (response as RpcSuccess).result as {
const reply = await fileTabTextRead.request(client, { worktree, relativePath })
// oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary.
const result = fileTabTextRead.interpret(reply) as {
content: string
truncated: boolean
byteLength: number
@@ -1,10 +1,11 @@
import type { RuntimeNativeChatFileContext } from '../../../src/shared/runtime-types'
import type { RpcClient } from '../transport/rpc-client'
import type { RpcFailure, RpcResponse, RpcSuccess } from '../transport/types'
import type { RpcFailure } from '../transport/types'
import {
terminalArtifactPathResolve,
type MobileFilePreviewRpcSender
} from './mobile-file-preview-operations'
import { isTerminalArtifactGrantError } from './terminal-artifact-grant-error'
type MobileFilePreviewClient = Pick<RpcClient, 'sendRequest'>
export type MobileTerminalArtifactPreviewSource = {
source: 'terminalArtifact'
worktreeId: string
@@ -22,26 +23,28 @@ export type TerminalArtifactRetryOptions = {
refreshGrant?: boolean
}
/** Takes the refusal rather than the envelope: every caller already routed on its own acceptance. */
export async function refreshTerminalArtifactSourceAfterGrantFailure(
client: MobileFilePreviewClient,
client: MobileFilePreviewRpcSender,
source: MobileTerminalArtifactPreviewSource,
response: RpcResponse,
refusal: RpcFailure['error'],
options: TerminalArtifactRetryOptions = {}
): Promise<MobileTerminalArtifactPreviewSource | null> {
if (response.ok || !isTerminalArtifactGrantFailure(response, options)) {
if (!isTerminalArtifactGrantFailure(refusal, options)) {
return null
}
const refreshed = await client.sendRequest('files.resolveTerminalPath', {
const reply = await terminalArtifactPathResolve.request(client, {
worktree: `id:${source.worktreeId}`,
pathText: source.pathText ?? source.absolutePath,
...(source.cwd ? { cwd: source.cwd } : {}),
...(source.terminalHandle ? { terminal: source.terminalHandle } : {}),
...(source.nativeChatContext ? { nativeChatContext: source.nativeChatContext } : {})
})
if (!refreshed.ok) {
const resolved = terminalArtifactPathResolve.interpret(reply)
if (!resolved.accepted) {
return null
}
const result = (refreshed as RpcSuccess).result
const result = resolved.value
if (!isTerminalArtifactResolution(result)) {
return null
}
@@ -62,13 +65,13 @@ export async function refreshTerminalArtifactSourceAfterGrantFailure(
}
function isTerminalArtifactGrantFailure(
response: RpcFailure,
refusal: RpcFailure['error'],
options: TerminalArtifactRetryOptions
): boolean {
if (options.refreshGrant === false) {
return false
}
return isTerminalArtifactGrantError(`${response.error.code} ${response.error.message}`)
return isTerminalArtifactGrantError(`${refusal.code} ${refusal.message}`)
}
function isTerminalArtifactResolution(result: unknown): result is {
@@ -0,0 +1,17 @@
import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation'
import { rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload'
/**
* The Home card's per-host counts. Decorative: a refused summary leaves the card on whatever it
* already showed, so refusal is a skip. Its glab and Linear probes are the task-tooling reads in
* ../tasks/mobile-task-runtime-operations.ts — the same question, asked by a second screen.
*/
export const homeHostStatsRead = bindDeferredRpcOperation(
defineRpcOperation({
name: 'stats.home-summary-or-skip',
method: 'stats.summary',
acceptance: 'success-result-or-skip',
barrier: 'after-caller-barrier',
read: rpcUncheckedPayloadReader('home-stats-summary')
})
)
+20 -9
View File
@@ -1,6 +1,7 @@
import { settingsRead } from '../transport/settings-read-operations'
import { decodeAccountsSnapshot, type AccountsSnapshot } from '../components/AccountUsage'
import type { HomeStatsSummary } from '../stats/home-stats-total'
import { taskLinearStatusRead, taskPreflightRead } from '../tasks/mobile-task-runtime-operations'
import {
filterAvailableTaskProviders,
normalizeVisibleTaskProviders,
@@ -8,6 +9,7 @@ import {
} from '../tasks/mobile-task-providers'
import type { RpcClient } from '../transport/rpc-client'
import { sendSingleFlightRequest } from '../transport/request-single-flight'
import { homeHostStatsRead } from './mobile-home-host-operations'
type HomeTaskSettings = {
visibleTaskProviders?: unknown
@@ -39,12 +41,15 @@ export function fetchMobileHomeStats(
setStats: HomeStatsSetter,
disposed: () => boolean
): void {
sendSingleFlightRequest(client, hostId, 'stats.summary')
.then((response) => {
if (!disposed() && response.ok) {
homeHostStatsRead
.requestSingleFlight(client, hostId)
.then((reply) => {
const summary = homeHostStatsRead.interpret(reply)
if (!disposed() && summary.accepted) {
setStats((previous) => ({
...previous,
[hostId]: response.result as HomeStatsSummary
// oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary.
[hostId]: summary.value as HomeStatsSummary
}))
}
})
@@ -75,8 +80,8 @@ export function fetchMobileHomeTaskProviders(
): void {
Promise.all([
settingsRead.requestSingleFlight(client, hostId),
sendSingleFlightRequest(client, hostId, 'preflight.check'),
sendSingleFlightRequest(client, hostId, 'linear.status')
taskPreflightRead.requestSingleFlight(client, hostId),
taskLinearStatusRead.requestSingleFlight(client, hostId)
])
.then(([settingsResponse, preflightResponse, linearResponse]) => {
if (disposed()) {
@@ -87,10 +92,16 @@ export function fetchMobileHomeTaskProviders(
? // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary.
((settingsResult.value ?? {}) as HomeTaskSettings)
: {}
const preflight = preflightResponse.ok
? (preflightResponse.result as HomePreflightStatus)
const preflightResult = taskPreflightRead.interpret(preflightResponse)
const preflight = preflightResult.accepted
? // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary.
(preflightResult.value as HomePreflightStatus)
: null
const linearResult = taskLinearStatusRead.interpret(linearResponse)
const linear = linearResult.accepted
? // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary.
(linearResult.value as HomeLinearStatus)
: null
const linear = linearResponse.ok ? (linearResponse.result as HomeLinearStatus) : null
const providers = filterAvailableTaskProviders(
normalizeVisibleTaskProviders(settings.visibleTaskProviders),
{

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