Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.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.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.
- 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).
Expand Down
47 changes: 47 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,52 @@
# Changelog

## 1.2.0

Patch-level content on the 1.x contract: runner correctness fixes from
#121, plus Windows real-host acceptance evidence for the packed
consumer and the real-host conformance suite (#127, #128; repository
tooling, not shipped in the tarball). Depends on `@ido-bata/ae-a8n`
`0.2.0` exactly (unchanged — the pin moves only after a published
ae-a8n carries proven Windows owned-session evidence).

### Fixed

- **Matrix keys are unambiguous** (#121): environment matrix entries now
key on `JSON.stringify([os, osVersion, arch, aeVersion])`, so versions
containing separators can no longer collide.
- **Teardown is guaranteed** (#121): artifact/session-fact collection
failures can no longer skip session teardown; collection errors are
recorded without aborting cleanup.
- **Vanished render files are skipped, not failed** (#121): a render
output that disappears between render and collect no longer fails the
test run.
- Delivery docs point at the `release/1.2.0` integration line (#121).

### Added

- **Windows real-host conformance baseline** (#127): committed
`script-invocation-win32-x64-ae-26.5.3x9-9` snapshot baseline for the
repo-only `conformance/real-host/` suite, recorded on Windows 11 x64
with AE 2026. The suite itself is not included in the npm tarball.

### Verification

- `npm run check`: 245 tests green; packed-tarball consumer smoke green.
- **Windows real-host — verified** (#19, #21; evidence in
`docs/verification.md`): a fresh consumer installed the packed
`ido-bata-ae-test-1.2.0.tgz` on Windows 11 (Node v26.13.1, AE 2026
`26.5.3x9` build 9 via `installDir`) and ran the owned-session lane
end to end — snapshot record → compare → compare while a foreign AE
2027 was running — 3/3 pass, `cleanup.status=ok`, `quit=true`, no
AfterFX left behind. The real-host conformance suite passed 4/4
against the committed win32 baseline with all records
`real-host-verified`/`PASS`, and fail-closed paths
(`HostNotOwnedError` on foreign AE, `HostLeftRunning` on mid-test
instance changes) were observed behaving as designed.
- **Still unverified**: the isolated session lane (#19 T058, awaiting
human machine setup), SDK native plug-in lifecycle (#21, blocked
upstream), AE 2027 and ARM64 Windows, and a macOS re-run at 1.2.0.

## 1.1.0

Minor release on the 1.x contract frozen by [docs/api.md](docs/api.md):
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.0.0`); independent ticket PRs target that release branch. `release/* -> main` PRs are release-class.
- `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.
- 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).
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
96973957baee5666e8143ee1ed3416f75bf880f325c3b25c622b242b6e1d182d
17 changes: 13 additions & 4 deletions docs/verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Blur`) and its renders are not After Effects renders.

## macOS, real After Effects (manual)

One Mac: After Effects 2026 (26.5x89, Japanese UI), macOS 27, arm64. Fixture:
One Mac: After Effects 2026 (26.5.3x9, Japanese UI), macOS 27, arm64. Fixture:
a real `.aep` saved by After Effects with comp `Main` and solid `Solid 1`
(sha256 `c00489fe…`). Harness: `p5.mjs` — the `ae-test` CLI, no
`--fake-host`, run twice:
Expand Down Expand Up @@ -93,6 +93,9 @@ builds a disposable comp).
| 2026-11-18 10:4x | `ec722b8` (`release/1.0.0 -> main` merge; tag `v1.0.0`) | `0.2.0` from npm | **published `1.0.0` to npm.** Staged via OIDC (stage id `434aeee0-…`, tag `latest`), approved with 2FA. Registry check: `dist.shasum` `25757a0f94abf5df62e4042f32581c2a618b4f78` and `dist.integrity` `sha512-MhHqOuVSzIyKwSUGn1DrcRHWRxsgoV/VvO9HhDOSb0ESKltlVhR5oBnCs+v82U/wQ+Y+IXHvDK9Stwf3Hnuldg==` match the frozen tarball; `dist-tags`: `latest: 1.0.0`, `next: 0.2.0-beta.2`. Fresh `npm install @ido-bata/ae-test@1.0.0` consumer ran the shipped example spec against the fake host: record → compare 1/1 each. GitHub Packages mirror published the same version in workflow run 44288244482 |
| 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: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 <ae-devtools catalog.json @ d3d332e>` で実行: `--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` のまま |

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
Expand Down Expand Up @@ -148,12 +151,18 @@ outside the repository, in the project's evidence store

### Not covered

- Windows: not run. ae-test cannot run there today (ae-a8n reports ownership
`unknown` on Windows, and ae-test refuses a session it does not own).
- Windows: partially covered. The packed consumer smoke spec and the
`conformance/real-host/` scripting suite pass on Windows 11 x64 with AE
2026 (26.5.3x9, build 9) — see the 2026-11-21 rows. Still unverified:
the isolated session lane, AE 2027, ARM64 Windows, non-English UI, and
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).
- 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
third-party extension's modal alert during a long script, one stall at quit
(not reproduced in 20 runs), a cold launch close to the 180 s readiness
budget.
| 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 合意) |
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ido-bata/ae-test",
"version": "1.1.0",
"version": "1.2.0",
"description": "Playwright-like tests for After Effects plugins and scripts, on top of @ido-bata/ae-a8n.",
"type": "module",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const AE_TEST_VERSION = "1.1.0";
export const AE_TEST_VERSION = "1.2.0";
Loading