From 53eab43dddb9f8dccbc5f1599ef59017e6def796 Mon Sep 17 00:00:00 2001 From: rebuildup Date: Sat, 21 Nov 2026 07:55:29 +0900 Subject: [PATCH 1/6] chore(deps): bump @ido-bata/ae-a8n pin to 0.5.0 (#134) --- CHANGELOG.md | 16 ++++++++++++++++ docs/dependency-on-ae-a8n.md | 9 +++++++-- package-lock.json | 8 ++++---- package.json | 2 +- 4 files changed, 28 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05d68d1..112a3f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## 1.2.1 + +Patch-level dependency update on the 1.x contract: the +`@ido-bata/ae-a8n` pin moves `0.2.0` → `0.5.0` exactly (#134). No +`ae-test` API or runner behavior changes; the bump picks up ae-a8n +0.5.0's `AfterEffects.attach` hardening and host script fixes +(ae-a8n #265/#269/#272/#274), which matter on paths that meet a foreign +After Effects. The owned-session lane remains the primary path. + +### Verification + +- `fake/mock only` locally against the packed `ae-a8n@0.5.0` tarball + (tree-verified against ae-a8n `origin/main` `444665c`): `npm run + check` 245/245 green. `npm ci` against the registry pin and + `check-packed-package.js` are blocked until `0.5.0` is published. + ## 1.2.0 Patch-level content on the 1.x contract: runner correctness fixes from diff --git a/docs/dependency-on-ae-a8n.md b/docs/dependency-on-ae-a8n.md index 7a31eb8..eb7667f 100644 --- a/docs/dependency-on-ae-a8n.md +++ b/docs/dependency-on-ae-a8n.md @@ -3,7 +3,7 @@ From npm, as one exact published version: ```json -"@ido-bata/ae-a8n": "0.2.0" +"@ido-bata/ae-a8n": "0.5.0" ``` - **Exact, not a range.** It is an early-development `0.x` release, and a @@ -44,7 +44,12 @@ ended. ## History -- `0.2.0` (this pin) is the `release-0-2-0` train: the static host extension +- `0.5.0` (this pin) is the `release-0-5-0` train: `AfterEffects.attach` + (attach-only API, ae-a8n #269), host script hardening (#265) and the + attach-path review fixes (#272/#274). ae-test keeps its owned-session + lane as the primary path; the attach hardening matters where a run + meets a foreign After Effects. +- `0.2.0` was the `release-0-2-0` train: the static host extension API plus the macOS LaunchServices launch path (ae-a8n #106, fixing the dual-process launch of #105) and `readinessTimeoutMs` (#124). The previous pin could not prove After Effects ownership on AE 26.5/27.0 — ae-test #52. diff --git a/package-lock.json b/package-lock.json index afaaf4b..23bd582 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.2.0", "license": "MIT", "dependencies": { - "@ido-bata/ae-a8n": "0.2.0", + "@ido-bata/ae-a8n": "0.5.0", "pngjs": "7.0.0" }, "bin": { @@ -681,9 +681,9 @@ } }, "node_modules/@ido-bata/ae-a8n": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@ido-bata/ae-a8n/-/ae-a8n-0.2.0.tgz", - "integrity": "sha512-NyKmrKIlm7zT4yHWPwf8VGxiW2FRBm5Dqf/IJWg1Dh04ceuk5KWLWHAEgNE5cPXc/N8vF3lQG/ny7axm25+shA==", + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@ido-bata/ae-a8n/-/ae-a8n-0.5.0.tgz", + "integrity": "sha512-/ZtxGdSqvwedt3g0MKN3OZJsROeV+wGNLEMsVqqarWdy7RZxtDAi3fDNrLNNI+Gv7tCQKUCMosp4/JINOTbuxw==", "license": "MIT", "dependencies": { "acorn": "^8.18.0" diff --git a/package.json b/package.json index b08913c..776fd39 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "check:package": "node scripts/check-packed-package.js" }, "dependencies": { - "@ido-bata/ae-a8n": "0.2.0", + "@ido-bata/ae-a8n": "0.5.0", "pngjs": "7.0.0" }, "devDependencies": { From 5e47e07c926ed064cd26dfa57aae70be4a3f4cfa Mon Sep 17 00:00:00 2001 From: rebuildup Date: Sat, 21 Nov 2026 07:55:29 +0900 Subject: [PATCH 2/6] docs: point delivery docs at release/1.2.1 integration line --- AGENTS.md | 2 +- CLAUDE.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 673247f..e899734 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -37,7 +37,7 @@ The layering rule: `ae-test → ae-a8n → After Effects`. Do not reach past `ae ## Delivery -- `main` = released state. The current integration line is the open `release/*` branch (currently `release/1.2.0`); independent ticket PRs target that release branch while it is unfrozen. Once a release branch is frozen at a candidate SHA, only release-blocking fixes land — non-blocking tickets wait for the next release line. `release/* -> main` PRs are release-class. +- `main` = released state. The current integration line is the open `release/*` branch (currently `release/1.2.1`); independent ticket PRs target that release branch while it is unfrozen. Once a release branch is frozen at a candidate SHA, only release-blocking fixes land — non-blocking tickets wait for the next release line. `release/* -> main` PRs are release-class. - 1 top-level Issue = 1 number-only branch = 1 ticket PR. - Publish the branch and open a **Draft PR** immediately after the first meaningful commit. - PR landing is **merge commit only** (squash/rebase disabled at the repository level). diff --git a/CLAUDE.md b/CLAUDE.md index 673247f..e899734 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -37,7 +37,7 @@ The layering rule: `ae-test → ae-a8n → After Effects`. Do not reach past `ae ## Delivery -- `main` = released state. The current integration line is the open `release/*` branch (currently `release/1.2.0`); independent ticket PRs target that release branch while it is unfrozen. Once a release branch is frozen at a candidate SHA, only release-blocking fixes land — non-blocking tickets wait for the next release line. `release/* -> main` PRs are release-class. +- `main` = released state. The current integration line is the open `release/*` branch (currently `release/1.2.1`); independent ticket PRs target that release branch while it is unfrozen. Once a release branch is frozen at a candidate SHA, only release-blocking fixes land — non-blocking tickets wait for the next release line. `release/* -> main` PRs are release-class. - 1 top-level Issue = 1 number-only branch = 1 ticket PR. - Publish the branch and open a **Draft PR** immediately after the first meaningful commit. - PR landing is **merge commit only** (squash/rebase disabled at the repository level). From cc74ec4d8fdadaf9ae84d8146e0b1683c94efbcb Mon Sep 17 00:00:00 2001 From: rebuildup Date: Sat, 21 Nov 2026 08:05:39 +0900 Subject: [PATCH 3/6] docs(verification): record Windows real-host attempt under ae-a8n 0.5.0 candidate (#134) --- docs/verification.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/verification.md b/docs/verification.md index 55382ac..b5f7920 100644 --- a/docs/verification.md +++ b/docs/verification.md @@ -96,6 +96,7 @@ builds a disposable comp). | 2026-11-18 22:1x | `0e43b34` (re-freeze 2: #121 RC review fixes — matrix JSON tuple、teardown-safe artifact collection、`--install-dir` operand 検証、capability ID 修正 `comp.get-layer`、TEXT font 明示、docs 整合; baseline PNG は `0e43b34` で再記録) | `0.2.0` from npm | **pass.** `npm run check`: 245 tests / 21 files green(`c442b43` と tree 同一、baseline/docs commit のみ差分)。`npm pack` tarball: sha1 `84a173aa35ec8f0a978e2c8642deb66cb4ee114f`(npm `dist.shasum` 契約)、sha256 `339b3ca33928d232e60818896804401aa1c3672805c10f9673e7d196b63cd777`、sha512 SRI `sha512-oiTNlQ8wqzgP0R1PJeGrLNaXEZEbtmQPnhBq29bSh7H5CHl1ykel7XTzTROxtST9or02q5/5VIBwOtLVnQdvMw==`、45 files。`0e43b34` で再 pack して sha256 一致を確認(baseline/docs は `files` 対象外、同一内容物)。`check-packed-package.js` green。Fresh external consumer(`/tmp/ae-test-110-acceptance`、新 tarball install): fake `--update-snapshots`→plain 各 1/1、real `ae-test.real.config.json` `--update-snapshots`→plain 各 1/1(~5.3 s/run)、`cleanup.status=ok`、`quit=true`、AE 残存なし(AE 26.5.3x9 build 9、uid 501、transport `script-invocation`)。`conformance/real-host/` suite を freeze SHA `0e43b34` で実行: `--update-snapshots` で font 変更後の baseline を再記録(commit `0e43b34`)→ plain `--conformance` run で committed baseline と比較し **4/4 pass**(~21 s、1 launch/test)、全 record `real-host-verified`/`PASS`、`conformance.json` ok。`0b70b52` の証拠は本 SHA の証拠として流用していない。未検証: Windows・AE 2027・isolated lane(#19)・SDK native(#21 upstream待ち)。次リリース繰越: snapshot baseline ownership 永続化・case-insensitive alias・store 横断 `--` 衝突・stale render artifacts(#121、#120 review で deferral 合意) | | 2026-11-21 01:5x–02:0x JST | `3e55d21`(release/1.2.0 head) | `0.2.0` from npm | **pass。** device-windows(Windows 11 10.0.29708 x64、Node v26.13.1)、AE 2026 26.5.3x9 build 9(`D:\4_apps\adobe`)。fresh consumer(`C:\Users\rebui\ae-test-acceptance\consumer`)が packed tarball `ido-bata-ae-test-1.2.0.tgz`(sha1 `bc777f1a8fa30d09b9061140a3aec01ad96ac1d1`、sha256 `3a8aba84fa5013f559c04e8c077fd77190604b7ff3468f57da9d713c08e33d80`、sha512 SRI `sha512-/KZF97FDVK2ZTZsLsP74qCfnIasDCtqTX61k91LZ5crZ25TXzmK+eez6dLxstyBS+BASJXLKdGwhgbWo7S2scA==`、45 files、git `3e55d21` で `npm pack`)を install し、package 同梱 `examples/consumer` spec + `ae-test.real.config.json`(`installDir` を Windows path に変更)で実機 run: `--update-snapshots` record → plain compare → さらに foreign AE 2027 プロセス起動中の 3 回目も compare pass。各 run 1/1(~21–64 s)、`cleanup.status=ok`、`quit=true`、trace + before/applied/after renders 収集、AfterFX 残留なし。session: `launched=true`、`uid`/`asid`=null(Windows)、host `26.5.3x9` build `9`、transport `script-invocation`。baseline は environment-scoped `script-invocation-win32-x64-ae-26.5.3x9-9` に記録(consumer 側・repo 非コミット)。**ownership は installDir 単位**: 別 version の AE(2027)が同時に動いていても `installDir` が指す install の owned session を確立できることを実測。isolated lane(`ae-a8n test --user`)・AE 2027・ARM64 Windows は未検証 | | 2026-11-21 01:4x–02:2x JST | `3e55d21`(release/1.2.0 head。suite は repo tooling で tarball 非含有) | `0.2.0` from npm | **pass(baseline 記録 + compare の 2 run)。** device-windows(Windows 11 10.0.29708 x64、Node v26.13.1)、AE 2026 26.5.3x9 build 9(`D:\4_apps\adobe`、installDir 明示)。`conformance/real-host/` suite を `--conformance --capability-catalog ` で実行: `--update-snapshots` が win32 baseline(`script-invocation-win32-x64-ae-26.5.3x9-9`、本 commit で追加)を記録 → plain run が committed baseline と比較し **4/4 pass**(各 ~19–22 s、1 launch/test)、全 record `real-host-verified`/`PASS`(29 capability declarations / 17 distinct `ae.operation.*` IDs)、`conformance.json` ok、`cleanup.status=ok`、`quit=true`、AfterFX 残留 0。**実機で観測した失敗経路(すべて設計通り fail-closed)**: (a) 別 AE instance 既存時は `HostNotOwnedError`(kind `attached`、pid 明示)で起動拒否・未接触; (b) test 中に foreign AE 2027 が起動すると teardown が `HostLeftRunning`("not quitting a host this session does not own (2 instances running)")で quit を拒否し後続 test を block; (c) 起動した pid が test 中に消失した場合も `HostLeftRunning`("pid … is gone; 0 other instance(s)"); (d) 1 回だけ AE が test 途中で終了し 120 s budget timeout → 再実行で pass(AE 側の一過性事象、Application Error log に新規 crash 記録なし。要観察)。TESTCAP03 の refused/cleanup 分類を実機で確認。SDK native plug-in lifecycle は upstream 未整備で依然 BLOCKED。ae-a8n attach-only API(#269, release-0-5-0, 未 publish)には未搭載 — pin は `0.2.0` のまま | +| 2026-11-21 07:5x–08:0x JST | `5e47e07`(branch `134` = release/1.2.1 + pin bump #134) | `0.5.0` candidate tarball(npm 未 publish。ae-a8n `origin/main` `444665c` の tree `cbdf1faf…` と一致確認済み worktree から npm 11.19.1 で `npm pack`: sha1 `ef6cf221ae668f26faa3fe2d7c7fd6edc74a5086`、sha512 SRI `sha512-/ZtxGdSqvwedt3g0MKN3OZJsROeV+wGNLEMsVqqarWdy7RZxtDAi3fDNrLNNI+Gv7tCQKUCMosp4/JINOTbuxw==`) | **fail(設計通り fail-closed、real-host evidence なし)。** device-windows、AE 2026 26.5.3x9 build 9(`D:\4_apps\adobe`、installDir 明示)。`conformance/real-host/` suite を committed win32 baseline と比較する plain run で実行したところ、**launch 前から foreign AE 2027(pid 52192、`D:\4_apps\adobe\Adobe After Effects 2027`、07:30 起動)が常駐**しており、Windows の census は installDir を問わず全 `AfterFX.exe` を数えるため ownership が `attached` と判定され `HostNotOwnedError`("already running before launch: pid 52192")で 1 failed / 3 blocked(~50 s)。foreign AE は未接触、spawn 残留なし。**対照実行**: 同条件で ae-a8n `0.2.0`(npm)に戻すと launch は行われるが、自前で起こした AE 2026(pid 60892)が readiness probe(180 s)に応答せず `AfterEffectsError` で失敗 — ownership 判定にすら到達しない。起こした AE 2026 はその後自然終了し残留なし。**示唆**: Windows で launch 時点に foreign `AfterFX.exe` が常駐していると、ae-a8n 0.5.0 は早期に `attached` で refuse(0.2.0 は spawn 後に probe timeout or attached で失敗)し、owned-session real-host lane はどちらの版でも証拠を出せない。上の 2026-11-21 01:4x–02:0x の行の「別 version の AE が同時に動いていても owned session を確立できる」は、当時の foreign instance が launch 時点の census に見えていなかった可能性があり、**今回の観測とは矛盾しうる — 要再検証**(foreign AE がいない時間帯に再実行)。`real-host-verified` の主張はしない。SDK native plug-in lifecycle は依然 BLOCKED(upstream 未整備) | Hash naming in this table: bare `shasum`/64-hex values are SHA-256. The npm publication contract is different — registry `dist.shasum` is SHA-1 and @@ -158,8 +159,13 @@ outside the repository, in the project's evidence store SDK native plug-ins. Earlier notes saying "ae-a8n reports ownership `unknown` on Windows" are stale: with `installDir` selecting a single installation, ae-a8n establishes `owned` sessions on Windows and ae-test - runs against them; a *different* After Effects version running - concurrently does not block it (ownership is per-install). + runs against them. A *different* After Effects version running + concurrently did not block the 2026-11-21 early-morning runs, but a + later same-day run with a persistent foreign `AfterFX.exe` already + running at launch time could not establish an owned session at all + (see the 07:5x row) — whether earlier passes saw the foreign process + in the census is unresolved and needs a re-run while no foreign AE is + up. - Third-party plugins: only After Effects' built-in Gaussian Blur. - Long suites: at most four tests per run; one launch and quit per test. - Known After Effects-side risks are ae-a8n's, listed in its README: a From aa4954249b00916d26cf7ed3efcf902e866df933 Mon Sep 17 00:00:00 2001 From: rebuildup Date: Sat, 21 Nov 2026 09:33:13 +0900 Subject: [PATCH 4/6] =?UTF-8?q?docs(verification):=20correct=20Windows=20o?= =?UTF-8?q?wnership=20claim=20=E2=80=94=20census=20counts=20all=20AfterFX.?= =?UTF-8?q?exe=20(#136)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/verification.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/verification.md b/docs/verification.md index 55382ac..2976ef9 100644 --- a/docs/verification.md +++ b/docs/verification.md @@ -94,8 +94,9 @@ builds a disposable comp). | 2026-11-18 11:5x | `a42a62a` (#112 branch; suite + `--install-dir`) | `0.2.0` from npm | **pass.** `conformance/real-host/` suite on AE 2026 via `--install-dir`: `--update-snapshots` run recorded the baseline, then a plain `--conformance` run at the same SHA compared it — 4/4 pass both times (~21–24 s total, one AE launch per test), all 4 conformance records `real-host-verified`/`PASS` covering 29 capability declarations across 17 distinct `ae.operation.*` IDs, `cleanup.status=ok`, `quit=true`, no After Effects process left afterwards (AE 26.5.3x9 build 9, uid 501, transport `script-invocation`). An earlier attempt failed closed with `HostNotOwnedError` while user-owned AE instances were running — the designed refusal. Two intermediate failures were spec bugs fixed before the pass: a `**/` sequence inside a doc comment terminated the block comment, and the suite originally targeted `fixtures/fixture.aep`, which is a 12-byte fake-host placeholder, not a real project — the suite now builds a disposable comp like the consumer smoke spec | | 2026-11-18 12:4x | `0b70b52` (1.1.0 RC freeze: #113 evidence fixes + #112 real-host suite/`--install-dir` + #116 version/CHANGELOG + #117 evidence-granularity docs) | `0.2.0` from npm | **pass.** `npm run check`: 243 tests / 20 files green at the freeze SHA. `npm pack` tarball `ido-bata-ae-test-1.1.0.tgz`: sha1 `f7188c07693f388dbe61ccce71aa1b42b95249d5`(npm `dist.shasum` 契約)、sha256 `aeaf421aa4199f9af5b6fb903fa832ee3386b3aa36a91327c2360e88cd437547`、sha512 SRI `sha512-rblNVOTP3Ce9qJQrJPPpzNmou1i4u76061W3JJo1bFpWglhV62ggY0KShr8DTc6KOhQG5CXs85QVYnqL4yFNuw==`、45 files。`conformance/real-host/` は tarball に含まれないことを `tar -tzf` で確認(repo-only tooling、README/CHANGELOG 明記)。`check-packed-package.js`: packed tarball install → fake-host exit 0/1/2・report・conformance `fake-only`・examples/consumer green。Fresh external consumer(`/tmp/ae-test-110-acceptance`)が tarball を install: fake `--update-snapshots`→plain 各 1/1、real `ae-test.real.config.json` `--update-snapshots`→plain 各 1/1(~4.5–4.8 s/run)、`cleanup.status=ok`、`quit=true`、AE 残存なし(AE 26.5.3x9 build 9、uid 501、transport `script-invocation`)。`conformance/real-host/` suite を freeze SHA で `--conformance` 実行: 4/4 pass、全 record `real-host-verified`/`PASS`(29 capability declarations)、`conformance.json` ok。timeout/中断/ownership/cleanup の安全性は 243-test suite(#113 回帰含む)で担保。未検証: Windows・AE 2027・isolated lane(#19)・SDK native(#21 upstream待ち) | | 2026-11-18 22:1x | `0e43b34` (re-freeze 2: #121 RC review fixes — matrix JSON tuple、teardown-safe artifact collection、`--install-dir` operand 検証、capability ID 修正 `comp.get-layer`、TEXT font 明示、docs 整合; baseline PNG は `0e43b34` で再記録) | `0.2.0` from npm | **pass.** `npm run check`: 245 tests / 21 files green(`c442b43` と tree 同一、baseline/docs commit のみ差分)。`npm pack` tarball: sha1 `84a173aa35ec8f0a978e2c8642deb66cb4ee114f`(npm `dist.shasum` 契約)、sha256 `339b3ca33928d232e60818896804401aa1c3672805c10f9673e7d196b63cd777`、sha512 SRI `sha512-oiTNlQ8wqzgP0R1PJeGrLNaXEZEbtmQPnhBq29bSh7H5CHl1ykel7XTzTROxtST9or02q5/5VIBwOtLVnQdvMw==`、45 files。`0e43b34` で再 pack して sha256 一致を確認(baseline/docs は `files` 対象外、同一内容物)。`check-packed-package.js` green。Fresh external consumer(`/tmp/ae-test-110-acceptance`、新 tarball install): fake `--update-snapshots`→plain 各 1/1、real `ae-test.real.config.json` `--update-snapshots`→plain 各 1/1(~5.3 s/run)、`cleanup.status=ok`、`quit=true`、AE 残存なし(AE 26.5.3x9 build 9、uid 501、transport `script-invocation`)。`conformance/real-host/` suite を freeze SHA `0e43b34` で実行: `--update-snapshots` で font 変更後の baseline を再記録(commit `0e43b34`)→ plain `--conformance` run で committed baseline と比較し **4/4 pass**(~21 s、1 launch/test)、全 record `real-host-verified`/`PASS`、`conformance.json` ok。`0b70b52` の証拠は本 SHA の証拠として流用していない。未検証: Windows・AE 2027・isolated lane(#19)・SDK native(#21 upstream待ち)。次リリース繰越: snapshot baseline ownership 永続化・case-insensitive alias・store 横断 `--` 衝突・stale render artifacts(#121、#120 review で deferral 合意) | -| 2026-11-21 01:5x–02:0x JST | `3e55d21`(release/1.2.0 head) | `0.2.0` from npm | **pass。** device-windows(Windows 11 10.0.29708 x64、Node v26.13.1)、AE 2026 26.5.3x9 build 9(`D:\4_apps\adobe`)。fresh consumer(`C:\Users\rebui\ae-test-acceptance\consumer`)が packed tarball `ido-bata-ae-test-1.2.0.tgz`(sha1 `bc777f1a8fa30d09b9061140a3aec01ad96ac1d1`、sha256 `3a8aba84fa5013f559c04e8c077fd77190604b7ff3468f57da9d713c08e33d80`、sha512 SRI `sha512-/KZF97FDVK2ZTZsLsP74qCfnIasDCtqTX61k91LZ5crZ25TXzmK+eez6dLxstyBS+BASJXLKdGwhgbWo7S2scA==`、45 files、git `3e55d21` で `npm pack`)を install し、package 同梱 `examples/consumer` spec + `ae-test.real.config.json`(`installDir` を Windows path に変更)で実機 run: `--update-snapshots` record → plain compare → さらに foreign AE 2027 プロセス起動中の 3 回目も compare pass。各 run 1/1(~21–64 s)、`cleanup.status=ok`、`quit=true`、trace + before/applied/after renders 収集、AfterFX 残留なし。session: `launched=true`、`uid`/`asid`=null(Windows)、host `26.5.3x9` build `9`、transport `script-invocation`。baseline は environment-scoped `script-invocation-win32-x64-ae-26.5.3x9-9` に記録(consumer 側・repo 非コミット)。**ownership は installDir 単位**: 別 version の AE(2027)が同時に動いていても `installDir` が指す install の owned session を確立できることを実測。isolated lane(`ae-a8n test --user`)・AE 2027・ARM64 Windows は未検証 | +| 2026-11-21 01:5x–02:0x JST | `3e55d21`(release/1.2.0 head) | `0.2.0` from npm | **pass。** device-windows(Windows 11 10.0.29708 x64、Node v26.13.1)、AE 2026 26.5.3x9 build 9(`D:\4_apps\adobe`)。fresh consumer(`C:\Users\rebui\ae-test-acceptance\consumer`)が packed tarball `ido-bata-ae-test-1.2.0.tgz`(sha1 `bc777f1a8fa30d09b9061140a3aec01ad96ac1d1`、sha256 `3a8aba84fa5013f559c04e8c077fd77190604b7ff3468f57da9d713c08e33d80`、sha512 SRI `sha512-/KZF97FDVK2ZTZsLsP74qCfnIasDCtqTX61k91LZ5crZ25TXzmK+eez6dLxstyBS+BASJXLKdGwhgbWo7S2scA==`、45 files、git `3e55d21` で `npm pack`)を install し、package 同梱 `examples/consumer` spec + `ae-test.real.config.json`(`installDir` を Windows path に変更)で実機 run: `--update-snapshots` record → plain compare → さらに foreign AE 2027 プロセス起動中の 3 回目も compare pass。各 run 1/1(~21–64 s)、`cleanup.status=ok`、`quit=true`、trace + before/applied/after renders 収集、AfterFX 残留なし。session: `launched=true`、`uid`/`asid`=null(Windows)、host `26.5.3x9` build `9`、transport `script-invocation`。baseline は environment-scoped `script-invocation-win32-x64-ae-26.5.3x9-9` に記録(consumer 側・repo 非コミット)。**訂正(#136、同日後刻の trace 照合)**: 「foreign AE 2027 プロセス起動中の 3 回目」は記録誤り。run 3(16:54:15–16:54:35Z)の `trace.jsonl` は launch 時・close 時ともに `AfterFX.exe` が 1 プロセスのみ("pid 9924 is still the only instance" → `ownership: owned`)であり、census が全 `AfterFX.exe` を数える以上、foreign AE 2027 は run 中に存在しなかった。**ownership は installDir 単位ではない**: Windows の census(ae-a8n `windowsProcesses`)は path を問わず全 `AfterFX.exe` を数えるため、launch 時点で foreign `AfterFX.exe` が 1 つでもいれば owned session は確立できない(#134 / PR #135 の 2026-11-21 07:5x の試行で `HostNotOwnedError` を実測)。isolated lane(`ae-a8n test --user`)・AE 2027・ARM64 Windows は未検証 | | 2026-11-21 01:4x–02:2x JST | `3e55d21`(release/1.2.0 head。suite は repo tooling で tarball 非含有) | `0.2.0` from npm | **pass(baseline 記録 + compare の 2 run)。** device-windows(Windows 11 10.0.29708 x64、Node v26.13.1)、AE 2026 26.5.3x9 build 9(`D:\4_apps\adobe`、installDir 明示)。`conformance/real-host/` suite を `--conformance --capability-catalog ` で実行: `--update-snapshots` が win32 baseline(`script-invocation-win32-x64-ae-26.5.3x9-9`、本 commit で追加)を記録 → plain run が committed baseline と比較し **4/4 pass**(各 ~19–22 s、1 launch/test)、全 record `real-host-verified`/`PASS`(29 capability declarations / 17 distinct `ae.operation.*` IDs)、`conformance.json` ok、`cleanup.status=ok`、`quit=true`、AfterFX 残留 0。**実機で観測した失敗経路(すべて設計通り fail-closed)**: (a) 別 AE instance 既存時は `HostNotOwnedError`(kind `attached`、pid 明示)で起動拒否・未接触; (b) test 中に foreign AE 2027 が起動すると teardown が `HostLeftRunning`("not quitting a host this session does not own (2 instances running)")で quit を拒否し後続 test を block; (c) 起動した pid が test 中に消失した場合も `HostLeftRunning`("pid … is gone; 0 other instance(s)"); (d) 1 回だけ AE が test 途中で終了し 120 s budget timeout → 再実行で pass(AE 側の一過性事象、Application Error log に新規 crash 記録なし。要観察)。TESTCAP03 の refused/cleanup 分類を実機で確認。SDK native plug-in lifecycle は upstream 未整備で依然 BLOCKED。ae-a8n attach-only API(#269, release-0-5-0, 未 publish)には未搭載 — pin は `0.2.0` のまま | +| 2026-11-21 09:2x–09:3x JST | `cd7fb63`(release/1.2.1 head) | `0.2.0` pin の consumer(`@ido-bata/ae-test@1.2.0` tarball install)に ae-a8n `0.5.0` candidate tarball(ae-a8n `origin/main` `444665c` 由来、npm 未 publish)を node_modules 差し替えで適用 | **fail(設計通り fail-closed、real-host evidence なし)。** device-windows、`installDir` = AE 2026 `D:\4_apps\adobe`。`npm run test:real`(consumer `real-host/smoke.spec.mjs`)実行時、foreign `AfterFX.exe` が複数常駐(検証用の偽 `AfterFX.exe` 2 process + `ae-a8n-verify/issue276` の別検証が起動した実 AE 2026 1 process、計 3)。Windows census は全 `AfterFX.exe` を数えるため preexisting 判定となるが、foreign instance が readiness probe に応答しなかったため ownership 分類(`attached`→`HostNotOwnedError`)に到達せず、spawn した AE 2026(pid 46580)が 180 s で `HostUnavailableError`("no script was sent")。foreign process は全て未接触・残留。併せて #136 の trace 照合で 01:5x–02:0x 行の「foreign AE 2027 起動中」記述が誤りと確定(run 3 の session 全期間で `AfterFX.exe` は owned の 1 process のみ)。`attached` refusal 経路自体は #134 / PR #135 の 07:5x 試行(vidc pipeline の AE 2027 pid 52192 常駐 → `HostNotOwnedError` "already running before launch")で実測済み | Hash naming in this table: bare `shasum`/64-hex values are SHA-256. The npm publication contract is different — registry `dist.shasum` is SHA-1 and @@ -158,8 +159,13 @@ outside the repository, in the project's evidence store SDK native plug-ins. Earlier notes saying "ae-a8n reports ownership `unknown` on Windows" are stale: with `installDir` selecting a single installation, ae-a8n establishes `owned` sessions on Windows and ae-test - runs against them; a *different* After Effects version running - concurrently does not block it (ownership is per-install). + runs against them — but only while no other `AfterFX.exe` exists. + On Windows the launch-time census counts **every** `AfterFX.exe` + regardless of installDir or path (unlike macOS, where it is scoped to + the install's executable and uid), so any foreign After Effects already + running makes the session `attached`/refused rather than `owned` + (#136). `installDir` selects which installation is launched and quit; + it does not scope the census. - Third-party plugins: only After Effects' built-in Gaussian Blur. - Long suites: at most four tests per run; one launch and quit per test. - Known After Effects-side risks are ae-a8n's, listed in its README: a From 72b78ddfbb606705ba6d272b552464a82cad4944 Mon Sep 17 00:00:00 2001 From: rebuildup Date: Sat, 21 Nov 2026 14:10:59 +0900 Subject: [PATCH 5/6] release: prepare 1.2.1 version bump and changelog verification update (#138) --- CHANGELOG.md | 6 ++++-- package.json | 2 +- src/version.ts | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 112a3f2..e86c25a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,8 +13,10 @@ After Effects. The owned-session lane remains the primary path. - `fake/mock only` locally against the packed `ae-a8n@0.5.0` tarball (tree-verified against ae-a8n `origin/main` `444665c`): `npm run - check` 245/245 green. `npm ci` against the registry pin and - `check-packed-package.js` are blocked until `0.5.0` is published. + check` 245/245 green. +- `automated test` against the published registry: after + `@ido-bata/ae-a8n@0.5.0` was published to npm, `npm ci` resolved the + registry pin and all checks passed on PR #135 CI. ## 1.2.0 diff --git a/package.json b/package.json index 776fd39..c7e9756 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ido-bata/ae-test", - "version": "1.2.0", + "version": "1.2.1", "description": "Playwright-like tests for After Effects plugins and scripts, on top of @ido-bata/ae-a8n.", "type": "module", "license": "MIT", diff --git a/src/version.ts b/src/version.ts index 0fb2e39..063ade7 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const AE_TEST_VERSION = "1.2.0"; +export const AE_TEST_VERSION = "1.2.1"; From 013f35f0b3ba977999e35916fdbdf6faf8d32adc Mon Sep 17 00:00:00 2001 From: rebuildup Date: Sat, 21 Nov 2026 14:56:02 +0900 Subject: [PATCH 6/6] docs(verification): record ae-a8n 0.5.0 macOS real-host owned-session pass Packed-consumer lane on AE 2026 (26.5.3x9) at release/1.2.1 head eb713d9 with @ido-bata/ae-a8n@0.5.0 from npm: record + compare runs 1/1 each, cleanup ok, AE quit, no leftover process. First cold launch exceeded the 180 s readiness budget and failed closed; warm relaunch passed. Also adds the HostUnavailableError readiness-probe failure mode to the Windows foreign-process description per review. --- docs/verification.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/verification.md b/docs/verification.md index 98d2c86..98b74fb 100644 --- a/docs/verification.md +++ b/docs/verification.md @@ -98,6 +98,7 @@ builds a disposable comp). | 2026-11-21 01:4x–02:2x JST | `3e55d21`(release/1.2.0 head。suite は repo tooling で tarball 非含有) | `0.2.0` from npm | **pass(baseline 記録 + compare の 2 run)。** device-windows(Windows 11 10.0.29708 x64、Node v26.13.1)、AE 2026 26.5.3x9 build 9(`D:\4_apps\adobe`、installDir 明示)。`conformance/real-host/` suite を `--conformance --capability-catalog ` で実行: `--update-snapshots` が win32 baseline(`script-invocation-win32-x64-ae-26.5.3x9-9`、本 commit で追加)を記録 → plain run が committed baseline と比較し **4/4 pass**(各 ~19–22 s、1 launch/test)、全 record `real-host-verified`/`PASS`(29 capability declarations / 17 distinct `ae.operation.*` IDs)、`conformance.json` ok、`cleanup.status=ok`、`quit=true`、AfterFX 残留 0。**実機で観測した失敗経路(すべて設計通り fail-closed)**: (a) 別 AE instance 既存時は `HostNotOwnedError`(kind `attached`、pid 明示)で起動拒否・未接触; (b) test 中に foreign AE 2027 が起動すると teardown が `HostLeftRunning`("not quitting a host this session does not own (2 instances running)")で quit を拒否し後続 test を block; (c) 起動した pid が test 中に消失した場合も `HostLeftRunning`("pid … is gone; 0 other instance(s)"); (d) 1 回だけ AE が test 途中で終了し 120 s budget timeout → 再実行で pass(AE 側の一過性事象、Application Error log に新規 crash 記録なし。要観察)。TESTCAP03 の refused/cleanup 分類を実機で確認。SDK native plug-in lifecycle は upstream 未整備で依然 BLOCKED。ae-a8n attach-only API(#269, release-0-5-0, 未 publish)には未搭載 — pin は `0.2.0` のまま | | 2026-11-21 07:5x–08:0x JST | `5e47e07`(branch `134` = release/1.2.1 + pin bump #134) | `0.5.0` candidate tarball(npm 未 publish。ae-a8n `origin/main` `444665c` の tree `cbdf1faf…` と一致確認済み worktree から npm 11.19.1 で `npm pack`: sha1 `ef6cf221ae668f26faa3fe2d7c7fd6edc74a5086`、sha512 SRI `sha512-/ZtxGdSqvwedt3g0MKN3OZJsROeV+wGNLEMsVqqarWdy7RZxtDAi3fDNrLNNI+Gv7tCQKUCMosp4/JINOTbuxw==`) | **fail(設計通り fail-closed、real-host evidence なし)。** device-windows、AE 2026 26.5.3x9 build 9(`D:\4_apps\adobe`、installDir 明示)。`conformance/real-host/` suite を committed win32 baseline と比較する plain run で実行したところ、**launch 前から foreign AE 2027(pid 52192、`D:\4_apps\adobe\Adobe After Effects 2027`、07:30 起動)が常駐**しており、Windows の census は installDir を問わず全 `AfterFX.exe` を数えるため ownership が `attached` と判定され `HostNotOwnedError`("already running before launch: pid 52192")で 1 failed / 3 blocked(~50 s)。foreign AE は未接触、spawn 残留なし。**対照実行**: 同条件で ae-a8n `0.2.0`(npm)に戻すと launch は行われるが、自前で起こした AE 2026(pid 60892)が readiness probe(180 s)に応答せず `AfterEffectsError` で失敗 — ownership 判定にすら到達しない。起こした AE 2026 はその後自然終了し残留なし。**示唆**: Windows で launch 時点に foreign `AfterFX.exe` が常駐していると、ae-a8n 0.5.0 は早期に `attached` で refuse(0.2.0 は spawn 後に probe timeout or attached で失敗)し、owned-session real-host lane はどちらの版でも証拠を出せない。上の 2026-11-21 01:4x–02:0x の行の「別 version の AE が同時に動いていても owned session を確立できる」は、当時の foreign instance が launch 時点の census に見えていなかった可能性があり、**今回の観測とは矛盾しうる** — 後続の #136 trace 照合で 01:4x–02:0x 行の記述が誤りと確定し、「foreign AE が launch 時点の census に存在しなかった」ことが証明された(下の Not covered 節参照)。`real-host-verified` の主張はしない。SDK native plug-in lifecycle は依然 BLOCKED(upstream 未整備) | | 2026-11-21 09:2x–09:3x JST | `cd7fb63`(release/1.2.1 head) | `0.2.0` pin の consumer(`@ido-bata/ae-test@1.2.0` tarball install)に ae-a8n `0.5.0` candidate tarball(ae-a8n `origin/main` `444665c` 由来、npm 未 publish)を node_modules 差し替えで適用 | **fail(設計通り fail-closed、real-host evidence なし)。** device-windows、`installDir` = AE 2026 `D:\4_apps\adobe`。`npm run test:real`(consumer `real-host/smoke.spec.mjs`)実行時、foreign `AfterFX.exe` が複数常駐(検証用の偽 `AfterFX.exe` 2 process + `ae-a8n-verify/issue276` の別検証が起動した実 AE 2026 1 process、計 3)。Windows census は全 `AfterFX.exe` を数えるため preexisting 判定となるが、foreign instance が readiness probe に応答しなかったため ownership 分類(`attached`→`HostNotOwnedError`)に到達せず、spawn した AE 2026(pid 46580)が 180 s で `HostUnavailableError`("no script was sent")。foreign process は全て未接触・残留。併せて #136 の trace 照合で 01:5x–02:0x 行の「foreign AE 2027 起動中」記述が誤りと確定(run 3 の session 全期間で `AfterFX.exe` は owned の 1 process のみ)。`attached` refusal 経路自体は #134 / PR #135 の 07:5x 試行(vidc pipeline の AE 2027 pid 52192 常駐 → `HostNotOwnedError` "already running before launch")で実測済み | +| 2026-11-21 14:4x–14:5x JST | `eb713d9`(release/1.2.1 head) | `0.5.0` from npm(integrity `sha512-/ZtxGdSqvwedt3g0MKN3OZJsROeV+wGNLEMsVqqarWdy7RZxtDAi3fDNrLNNI+Gv7tCQKUCMosp4/JINOTbuxw==`、07:5x 行の candidate tarball と同一 SRI) | **pass(owned session、実機 AE)。** macOS arm64 console session、AE 2026 26.5.3x9 build 9(`installDir` = `/Applications/Adobe After Effects 2026`)。ユーザーの AE 2027(Aulymo 自動化が稼働中; run 中に main pid が 88108→63235 へ user 側の再起動で変化)は全期間を通じて常駐 — macOS の census は install の executable+uid に scope されるため AE 2026 の owned launch は成立し、ae-test は AE 2027 に一切触れていない。Fresh consumer(`/tmp/ae-test-121-acceptance/consumer`)が packed tarball `ido-bata-ae-test-1.2.1.tgz`(`eb713d9` で `npm pack`: sha1 `a5d3805683dce30df62294d67b0ece561e2b2ae8`、sha256 `7c4668cf14e93e3317f90b8f939f49cd82a95cd71d8376a32914505d97500ad7`、sha512 SRI `sha512-LZyG1YUAd5C1C1mt01BFud6U6yhwfHu/71etU4u+D9aWJ30k0eIii77YDpjXl056cCmfsm8gwqGrUc5x2kZgPw==`、45 files)を install し、package 同梱 `examples/consumer`(`ae-test.real.config.json` + `real-host/smoke.spec.mjs`)を実行: `--update-snapshots` record → plain compare の 2 run、各 1/1(~21.7 s / ~38.3 s)、`cleanup.status=ok`、`quit=true`、trace + before/applied/after renders 収集、AE 2026 の process 残留なし(uid 501、asid 100022、transport `script-invocation`、`session.launched=true`)。script-trust dialog は出ず。**同一 session の先行試行は fail-closed**: AE 2026 の cold 初回 launch が readiness budget 180 s を超過し `AfterEffectsError`(app.info に 177.6 s 無応答、起動 process は所有証明不能のため残置 → 手動 quit)。cache の温まった 2 回目以降は上記 pass — ae-a8n README の「cold launch close to the 180 s readiness budget」のリスクに合致。**これが ae-a8n `0.5.0` pin に対する初の macOS real-host owned-session 証拠**(07:5x / 09:2x の 2 試行はどちらも実機 evidence を出す前に fail-closed で終了していた) | Hash naming in this table: bare `shasum`/64-hex values are SHA-256. The npm publication contract is different — registry `dist.shasum` is SHA-1 and @@ -164,7 +165,9 @@ outside the repository, in the project's evidence store On Windows the launch-time census counts **every** `AfterFX.exe` regardless of installDir or path (unlike macOS, where it is scoped to the install's executable and uid), so any foreign After Effects already - running makes the session `attached`/refused rather than `owned` + running makes the session `attached`/refused rather than `owned` — when + that instance does not answer the readiness probe, the launch instead + fails with `HostUnavailableError` before ownership is classified (#136). `installDir` selects which installation is launched and quit; it does not scope the census. - Third-party plugins: only After Effects' built-in Gaussian Blur.