Repository navigation
Підтвердження Touch ID для розгалужених стрічок: перегляд до кінця гілки - #66
Merged
Merged
Conversation
A gate inside a fan-out lane (one workflow-call per item) could not be previewed: deliveryFor treated the lane's workflow-return as an unknown pending step and refused with DELIVERY_NOT_READY, so Touch ID approval was impossible for branched feeds. The preview now ends at the gate lane's return. It continues past that return only when every remaining pending row is a further lane of the same pinned material, and that material stops at a human gate before any delivery on every path (or delivers nothing). Anything else, such as an ungated delivery after the fan-out, is still refused, so a lane approval never releases an effect the person was not shown. Rows of another invocation inside the lane are refused. Root gates are unchanged. Hash, one-time nonce and run binding checks are untouched; the same deliveryFor result is shown, signed and recomputed at resume. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0design
force-pushed
the
claude/branch-delivery-preview-20261028
branch
from
October 28, 2026 16:57
bbf70c5 to
722f31a
Compare
0design
marked this pull request as ready for review
October 28, 2026 17:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Що змінено
Підтвердження через Touch ID тепер працює для розгалужених стрічок, де кожен пункт іде окремою гілкою зі своїм шлюзом (fan-out → workflow-call).
Було. Перегляд доставки (
deliveryFor) брав усі рядки, що чекають після шлюзу. Фільтра за гілкою шлюзу не було. Кінець гілки (workflow-return) вважався невідомим кроком, тому перегляд падав зDELIVERY_NOT_READY. Через це не можна було показати зміст і підтвердити жодну гілку.Стало.
DELIVERY_NOT_READY, наприклад доставка без шлюзу після fan-out. Тож підтвердження однієї гілки не випускає дію, якої людина не бачила.Не змінено: перевірки хешу доставки, одноразовий код (nonce) і прив'язка до прогону та шлюзу. Показ у формі, підпис Touch ID і перевірка під час продовження беруть той самий результат
deliveryFor. Тіло будує той самийbuildBody, що й справжня доставка.Перевірка
test/branch-delivery-preview.test.mjscontent_hashу підписі = хеш перегляду. Кожна наступна гілка зупиняється на своєму шлюзіDELIVERY_NOT_READY)npm testу CI цього PR (крок tests)CLAUDECODE is set, nesting guard. Їх покриває лише CICore artifact does not match catalog pin. На main цей крок падає так само з моменту злиття попереднього PR (Touch ID). Цей PR його не чіпаєcheck:public-surface,product-names,naming-inventory,persistence-writes,artifact-secretsЗалишки та межі
priorStepNamesмістить лише успішні рядки, аdriveRunназиває всі попередні. Це вже було в main. На ці кейси не впливає: тіла звірено побайтно.sideEffectOfуworkflow-policy.mjsабо суворіше: небезпечними вважаються будь-якийapi-request(зокрема GET),workspace-apply, а також невідомі типи кроків.🤖 Generated with Claude Code