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