Skip to content

chore: sync upstream v2.12.1 - #44

Merged
mrmans0n merged 78 commits into
alasfrom
sync/upstream-2.12.1
Nov 26, 2026
Merged

mrmans0n merged 78 commits into
alasfrom
sync/upstream-2.12.1

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Stable upstream sync: v2.12.1

Selection: success
Branch fetch: success
Candidate: success

Integration PR branch: sync/upstream-2.12.1
Exact-tag branch: sync/upstream-2.12.1-exact
Exact stable commit: 5fa267a01c4a6eae1b26d3852ee2bab84bd37354
Exact candidate: 2062b87a1427cbd584511bca84c15a650a372e7d
Integration merge: c8b3a14f0fae3f7f733207f2bf9a19facf4a99b6

Recomputed patch classifications

Possible classifications: unaffected, absorbed, overlap.

  • goal-opt-in: unaffected
  • async-tasks-opt-in: unaffected
  • goal-before-first-prompt: unaffected
  • session-system-prompt-append: unaffected
  • neutral-session-index: unaffected
  • neutral-codex-hook-review: unaffected
  • neutral-codex-hook-review-execution: unaffected
  • async-questions: absorbed
  • neutral-fork-point: unaffected
  • neutral-diff-patch: unaffected
  • neutral-session-failure: unaffected
  • neutral-agent-file-change-report: unaffected
  • neutral-permission-presentation: unaffected
  • neutral-recommended-config-value: unaffected
  • neutral-command-presentation: unaffected
  • neutral-prompt-suggestions: unaffected

Sync review resolutions

  • goal-opt-in: retain (automatic)
  • async-tasks-opt-in: retain (automatic)
  • goal-before-first-prompt: retain (automatic)
  • session-system-prompt-append: retain (automatic)
  • neutral-session-index: retain (automatic)
  • neutral-codex-hook-review: retain (automatic)
  • neutral-codex-hook-review-execution: retain (automatic)
  • async-questions: drop (automatic)
  • neutral-fork-point: retain (automatic)
  • neutral-diff-patch: retain (automatic)
  • neutral-session-failure: retain (automatic)
  • neutral-agent-file-change-report: retain (automatic)
  • neutral-permission-presentation: retain (automatic)
  • neutral-recommended-config-value: retain (automatic)
  • neutral-command-presentation: retain (automatic)
  • neutral-prompt-suggestions: retain (automatic)

Reviewed adaptations of non-ledger downstream commits

  • 10feeb00282b8d7fadd6ae21e865b91658cbfdd6 -> 4232283925521b3f5428491e89417b9972c464dd (chore: retain downstream workflows for review)

Upstream workflow changes (candidate keeps the alas workflows)

  • .github/workflows/conventional-prs.yml: retain-downstream

workflowChanges (upstream workflow changes)

  • .github/workflows/conventional-prs.yml

The exact candidate and integration branch passed automated maintenance gates.

mrmans0n and others added 30 commits October 4, 2026 20:53
Publishing required an exact-tag upstream integration, so a reviewed fork
fix had to wait for the next stable upstream release. A hotfix dispatch
republishes the upstream version of the latest publication instead. It
requires the source to descend from that publication and to add no
upstream history; the rest of the pipeline is unchanged.
The npm environment no longer requires a reviewer. It still accepts only
protected branches, and dispatching the workflow is the publication decision.
The release job used the runner's default npm 10, whose audit signatures
ignores --include-attestations and reports no verified entries, so the
read-back always failed after a successful publish.
Record 9d2c300 (upstream PR agentclientprotocol#584) as the goal-before-first-prompt ledger
patch, so each stable sync classifies it instead of replaying it blindly.

Accept an adaptation whose single parent is the exact candidate commit it is
applied to. Patches that edit the same lines can then be adapted in order;
the candidate is rebuilt deterministically, so any drift fails closed.

Carry reviewed resolutions across canonical heads of the same stable
transition, and record as canonicalHead only the last canonical commit that
contributes preserved history. A review-only commit on the canonical branch
now resolves the sync on rerun, and an unchanged rerun reproduces the same
integration commit.
The committed-review coherence test recomputed classifications from the
committed ledger. After an integrated sync with an adapt resolution, that
ledger has already advanced appliedCommit to the replacement, so the
recomputed classification no longer matched the review and CI failed on the
v2.2.2 sync PR.

Recompute from the ledger at the first parent of the first-parent commit
that introduced the review, as publication verification does with the
previous alas head. The bootstrap review, committed together with a ledger
that was never advanced, keeps using the committed ledger.
…back

npm can briefly report different attestation bundles from its attestation
endpoint and from npm audit signatures right after publish. The read-back
retried only the manifest, attestation, tag and release checks, so the
installed audit could still fail a run whose release already exists.

Run the whole read-back, including a fresh install, the signature audit and
verifyInstalledPublication, inside the existing 750 s retry loop.
Comparisons stay exact; a persistent mismatch still fails. The installed
verifier now names which part differed.
Upstream v2.3.0 (629cea5, integration tests agentclientprotocol#625) changed the test script and added
test:integration right where the downstream test:maintenance script was added. Keep both
upstream lines and add test:maintenance after them; every +/- line is identical to the
original. Adapted from the non-ledger commit 6c5fe81 (and its
same-patch-id copy ae18089).
Upstream v2.3.0 (45907ae, check-latest agentclientprotocol#665) added check-latest: true to the setup-node step
of e2e.yml and publish.yml, right before the downstream E2E waiver step. Keep upstream's line
and the downstream step; every +/- line is identical to the original. Adapted from the
non-ledger commit 4c365fb.
…workflow changes

Option B for the v2.3.0 sync, approved by the maintainer:

- downstreamCommits: an explicit, reviewed adapt resolution for a conflicting
  non-ledger fork commit, bound with the ledger adaptation rules (single parent
  equal to the exact tag or candidate replay point, merge-base equal to the tag,
  only the original commit's paths) and retired with its equivalent copies.
- upstreamWorkflowChanges: one retain-downstream resolution per changed upstream
  workflow; the candidate keeps the alas workflows, fork-owned workflow changes
  and any unlisted change stay in manual review, and publication verification
  requires the source workflows to equal the previous alas tree.
- Ledger: session-system-prompt-append gains the v2.3.0 routed initialize
  snapshot and neutral-codex-hook-review gains src/AcpAgentRouter.ts.
Classifying the committed review computes the patch-id of every upstream commit that
touches a ledger path. It takes about 4 s on v2.2.2 and 5 s on the simulated v2.3.0
integration locally, at vitest's 5 s default, so it times out under load.
Apply upstream's v2.2.2..v2.3.0 workflow hunks on alas: check-latest on
setup-node (agentclientprotocol#665), the integration-test CI step (agentclientprotocol#625) and the
codex-action 1.13 bump (agentclientprotocol#630). The fork's pinned actions, alas triggers,
E2E waiver steps and fork-owned workflows are unchanged.
The v2.4.0 sync stopped on 97fb140 (fix: reuse published Alas source
versions): the replay walks alas history in rev-list order, so the original
fix, which depends on the retired 80d0aca, came before its v2.3.0
adaptation d4ce188. d22dc1c had the same problem with 6c5fe81/4c365fb.

A downstreamTransitions replacement now replays at the position of its
retired original. A non-ledger copy from an earlier sync whose change the
candidate already has (215d43f, the v2.3.0 copy of 9333150 on other
context) is skipped and reported as redundant instead of stopping the
build. Ledger patches are never skipped this way, and a replacement that
is not in protected alas fails the build.
A ledger patch adapted by a stable sync keeps its original in alas history, retired, and the adaptation reaches alas later through the sync merge. The replay walked alas by commit date, so fork commits that build on the patch replayed before its appliedCommit and conflicted. The v2.5.0 codex sync stopped this way on 6b51376 (docs/codex-hook-review.md), which depends on neutral-codex-hook-review-execution, adapted in v2.4.0 as 78e7be6.

Each ledger patch's appliedCommit now replays at the position of its first retired original, as non-ledger downstreamTransitions already do. This does not depend on patch ids, because an adaptation can keep its original's patch id. An appliedCommit that is not in protected alas fails the build.
github-actions Bot and others added 25 commits November 24, 2026 20:02
Records 295ebe1 in the ledger, the audit identities and docs/ALAS_DOWNSTREAM.md.
Records ab965a0 in the ledger, the audit identities and docs/ALAS_DOWNSTREAM.md.
The protected publication passed the whole @alas-ide/codex-acp registry packument to prepare-alas-package.mjs in one environment value. The packument reached 132,087 bytes, above Linux's 131,072-byte limit for a single environment string, so node could not start (Argument list too long, exit 126) in publish-alas.yml run 45519583836 before npm was reached.

Pass the downloaded packument by path (ALAS_PUBLISHED_FILE) instead. The script accepts exactly one of ALAS_PUBLISHED_FILE or ALAS_PUBLISHED_JSON and keeps every existing validation. This ports claude-agent-acp 0383d9b.
….1.3 in the github-actions group (agentclientprotocol#807)

Bumps the github-actions group with 1 update:
[amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request).

Updates `amannn/action-semantic-pull-request` from 6.1.2 to 6.1.3
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/amannn/action-semantic-pull-request/releases">amannn/action-semantic-pull-request's
releases</a>.</em></p>
<blockquote>
<h2>v6.1.3</h2>
<h2><a
href="https://github.com/amannn/action-semantic-pull-request/compare/v6.1.2...v6.1.3">6.1.3</a>
(2026-11-20)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Anchor type and scope patterns as a whole (<a
href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/326">#326</a>)
(<a
href="https://github.com/amannn/action-semantic-pull-request/commit/eec5be9fc0bc4d91c55d6c83e72f64204855c5fc">eec5be9</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md">amannn/action-semantic-pull-request's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2><a
href="https://github.com/amannn/action-semantic-pull-request/compare/v6.1.3...v6.1.4">6.1.4</a>
(2026-11-24)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>populate <code>error_message</code> output for all failures (<a
href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/329">#329</a>)
(<a
href="https://github.com/amannn/action-semantic-pull-request/commit/9cfbcc4b892a031870d25405d265c94cf480136c">9cfbcc4</a>)</li>
</ul>
<h2><a
href="https://github.com/amannn/action-semantic-pull-request/compare/v6.1.2...v6.1.3">6.1.3</a>
(2026-11-20)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Anchor type and scope patterns as a whole (<a
href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/326">#326</a>)
(<a
href="https://github.com/amannn/action-semantic-pull-request/commit/eec5be9fc0bc4d91c55d6c83e72f64204855c5fc">eec5be9</a>)</li>
</ul>
<h2><a
href="https://github.com/amannn/action-semantic-pull-request/compare/v6.1.1...v6.1.2">6.1.2</a>
(2026-11-05)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Release accumulated dependency updates (closes <a
href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/321">#321</a>)
(<a
href="https://github.com/amannn/action-semantic-pull-request/commit/fc7da0cece3e8512e50240b0619a03bdd946db1c">fc7da0c</a>)</li>
</ul>
<h2><a
href="https://github.com/amannn/action-semantic-pull-request/compare/v6.1.0...v6.1.1">6.1.1</a>
(2025-08-22)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Parse <code>headerPatternCorrespondence</code> properly (<a
href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/295">#295</a>)
(<a
href="https://github.com/amannn/action-semantic-pull-request/commit/800da4c97f618e44f972ff9bc21ab5daecc97773">800da4c</a>)</li>
</ul>
<h2><a
href="https://github.com/amannn/action-semantic-pull-request/compare/v6.0.1...v6.1.0">6.1.0</a>
(2025-08-19)</h2>
<h3>Features</h3>
<ul>
<li>Support providing regexps for types (<a
href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/292">#292</a>)
(<a
href="https://github.com/amannn/action-semantic-pull-request/commit/a30288bf13b78cca17c3abdc144db5977476fc8b">a30288b</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Remove trailing whitespace from &quot;unknown release type&quot;
error message (<a
href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/291">#291</a>)
(<a
href="https://github.com/amannn/action-semantic-pull-request/commit/afa4edb1c465fb22230da8ff4776a163ab5facdf">afa4edb</a>)</li>
</ul>
<h2><a
href="https://github.com/amannn/action-semantic-pull-request/compare/v6.0.0...v6.0.1">6.0.1</a>
(2025-08-13)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Actually execute action (<a
href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/289">#289</a>)
(<a
href="https://github.com/amannn/action-semantic-pull-request/commit/58e4ab40f59be79f2c432bf003e34a31174e977a">58e4ab4</a>)</li>
</ul>
<h2><a
href="https://github.com/amannn/action-semantic-pull-request/compare/v5.5.3...v6.0.0">6.0.0</a>
(2025-08-13)</h2>
<h3>⚠ BREAKING CHANGES</h3>
<ul>
<li>Upgrade action to use Node.js 24 and ESM (<a
href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/287">#287</a>)</li>
</ul>
<h3>Features</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/amannn/action-semantic-pull-request/commit/c5e23b7e584519ee15caa684cf60d056aa9f035f"><code>c5e23b7</code></a>
chore: Release 6.1.3 [skip ci]</li>
<li><a
href="https://github.com/amannn/action-semantic-pull-request/commit/eec5be9fc0bc4d91c55d6c83e72f64204855c5fc"><code>eec5be9</code></a>
fix: Anchor type and scope patterns as a whole (<a
href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/326">#326</a>)</li>
<li><a
href="https://github.com/amannn/action-semantic-pull-request/commit/1ee9a55a69a2d6ae0736e2ec302d44272544ead1"><code>1ee9a55</code></a>
docs: recommend <code>pull_request</code> trigger and fix permissions
for <code>wip</code> (<a
href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/325">#325</a>)</li>
<li>See full diff in <a
href="https://github.com/amannn/action-semantic-pull-request/compare/2252a14e810aa9b85c2d560bd7070c802206ecf6...c5e23b7e584519ee15caa684cf60d056aa9f035f">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=amannn/action-semantic-pull-request&package-manager=github_actions&previous-version=6.1.2&new-version=6.1.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
[What's new](https://github.com/openai/codex/releases/tag/rust-v0.172.0)

No tracked files changed. The failures reproduced without using the
updated Codex binary.

- Three app-server supervisor tests failed because the fixture
subprocess exited without delivering its stdout notifications.
- Six mock Responses API tests failed because the runner denied
permission to listen on `127.0.0.1`.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop*
---


##
[2.12.1](agentclientprotocol/codex-acp@v2.12.0...v2.12.1)
(2026-11-26)


### Bug Fixes

* update codex to 0.172.0
([agentclientprotocol#800](agentclientprotocol#800))
([61b214e](agentclientprotocol@61b214e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: acp-release-bot[bot] <246668977+acp-release-bot[bot]@users.noreply.github.com>
10feeb0 is the workflow-retention commit of an earlier sync review, which
alas still carries in its history and the sync replays as a non-ledger
fork commit. Its only hunk pins amannn/action-semantic-pull-request in
conventional-prs.yml to 48f2562 (v6.1.1) over the line it found then
(2252a14, v6.1.2). Upstream v2.12.1 (agentclientprotocol#807) changes that same line to
c5e23b7 (v6.1.3), so the pick conflicted.

The adaptation keeps 10feeb0's result: the same file and the same added
line; only the replaced line is now upstream's v6.1.3 pin instead of
2252a14. The later replayed commits therefore apply on the same context
as before, and the candidate's .github/workflows tree is restored to
alas's at the end of the sync as for any upstream workflow change. It
touches no other path.
…ed sync review

The committed-review coherence test in scripts/downstream-patches.test.mjs
asserted that every reviewed patch is classified `overlap` (or `absorbed`
and dropped) and that every resolution except an already dropped patch's is
manual. That holds only while upstream touches every patch's files, as
every stable since v2.2.2 has done through src/CodexAcpServer.ts.

Upstream v2.12.1 only bumps @openai/codex to 0.172.0 (generated app-server
types, package files) and a workflow pin, so every ledger patch is
`unaffected` and the sync review resolves it with the automatic `retain`.
verifySyncReviewArtifact already requires exactly that resolution for an
unaffected patch, and the publication preflight accepts the review, but
`npm test` on the sync integration failed this test.

The test now also accepts an `unaffected` patch with the automatic
`retain` resolution. Every other classification and resolution check is
unchanged. No tooling, verifier or workflow code changes.
@mrmans0n

Copy link
Copy Markdown
Owner

Maintenance status (resolved locally, not pushed yet):

With these resolutions the build on current alas is deterministic (exact 5baf23a, integration b10e8e9, fixpoint reproduced, no conflicts, no manual-review reasons), its .github, scripts and docs/ALAS_DOWNSTREAM.md trees equal alas, and the publication preflight passes. All release gates pass except one repository test: the committed-review coherence test in scripts/downstream-patches.test.mjs does not yet accept unaffected patches retained automatically. The fix is the level-3 PR #45. This PR stays draft until #45 is merged; the sync is then rebuilt on the new alas with the same resolutions and this branch is updated.

@mrmans0n
mrmans0n force-pushed the sync/upstream-2.12.1 branch from a911b25 to c8b3a14 Compare November 26, 2026 13:29
@github-actions
github-actions Bot marked this pull request as ready for review November 26, 2026 13:29
@mrmans0n
mrmans0n merged commit cc4c3df into alas Nov 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant