Skip to content

docs(release): one account dispatches a release and the other approves it, agents may do both - #168

Merged
immakermatty merged 1 commit into
mainfrom
agent/t3-release-two-accounts
Nov 1, 2026
Merged

immakermatty merged 1 commit into
mainfrom
agent/t3-release-two-accounts

Conversation

@immakermatty

@immakermatty immakermatty commented Nov 1, 2026 •

Copy link
Copy Markdown

What changed

The release runbook (docs/operations/lazurio-fork-release.md) follows the second 2026-11-01 addendum to Lazurio decision 0218 (HumanAndMachines/Lazurio#703).

  • Approval ("Schválení"). One account dispatches the release and the other approves it: Matěj's immakermatty (he or a Task Agent in his Environment) or Pablo's agentrozjedemeai. Since 2026-11-01 both are required reviewers of lazurio-t3code-release, with prevent_self_review.
    • An agent may do either step without waiting for a person once the test procedure has passed: green Fork CI on the exact commit, and Ring 0.
    • By default a Task Agent dispatches and Pablo approves, and his Lazurio MausBot intake hands him the waiting run.
    • A release of Pablo's own pull request is approved by Matěj's account.
  • Release ownership and stable step 8.3: the release no longer waits for the Admin's explicit consent. It goes out once the test procedure has passed, through the two accounts.
  • The Task Agent brief's mandate: may dispatch or approve with Matěj's account, always on the exact SHA and version it verified itself. The other step is the other account's.

Runbook only: lazurio-release.yml and the release App are unchanged.

Verification

  • lazurio-t3code-release read back through the API after the change on 2026-11-01. Reviewers are immakermatty and agentrozjedemeai, prevent_self_review is on, the branch policy main and can_admins_bypass: false are unchanged, and there are 0 app protection rules.
  • The contract test needs the workspace's dependencies, which this station's worktree doesn't install, so Fork CI runs it on this pull request.

Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread 981c810a-2a31-478a-894e-5e30eaa71bfc

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 4/5

Update the conflicting consent instructions before merging to satisfy the repository’s documentation rule.

Findings

  1. P2 Release instructions disagree ▶
  2. P2 Approval command cannot work ▶

Summary

Updates the release runbook so one account dispatches and the other approves.

  • Two accounts now split release dispatch and approval.

Reviews (1) · Last reviewed commit: "docs(release): one account dispatches a ..." · Reviewed by Greptile

@immakermatty immakermatty self-assigned this Nov 1, 2026
Comment thread docs/operations/lazurio-fork-release.md Resolved
Comment thread docs/operations/lazurio-fork-release.md Resolved

@agentrozjedemeai agentrozjedemeai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking

  1. Ve Schválení je Ring 0 podmínkou pro každé vydání včetně preview, ale Testování před vydáním krok 3 vyžaduje nejprve vydat a nainstalovat právě toto preview, aby Ring 0 vůbec mohl proběhnout. Rozlište bezpečnou bránu prvního preview a stable, v souladu s rozhodnutím; jinak se postup zacyklí.
  2. Úvod (ř. 3–5) stále říká, že vydání schvaluje Organization Admin, a Testování před vydáním krok 4 stále vyžaduje jeho výslovný souhlas. Sjednoťte obě místa s novými pravidly v Schválení a etapě 8.3, jinak runbook vydává protichůdné pokyny.
  3. Uvedený gh api -X POST .../pending_deployments neposílá povinná environment_ids, state a comment; sám o sobě schválení neprovede. Doplňte použitelný příklad včetně získání správného ID a hodnot pro schválení či odmítnutí.
  4. Tvrzení, že příjem čekající běh Pablovi přinese, platí až po vydání OpenMausBotu s příjmem a zapnutí konfigurace. Rozhodnutí #703 uvádí, že tato funkce dosud ve vydání není. Uveďte aktuální stav a ruční předání do té doby, aby schválení nezůstalo bez příjemce.

Non-blocking: Žádné další poznámky.

Order and migrations: Rozhodnutí HumanAndMachines/Lazurio#703 přijmout před touto změnou; automatické předání funguje až po vydání Lazurio/OpenMausBot#89 a zapnutí OMB_GITHUB_INTAKE_DEPLOYMENTS.

— Pablo

@immakermatty

Copy link
Copy Markdown
Author

Aligned with the review findings on Lazurio/OpenMausBot#91, in HEAD (squashed into the one commit):

  • The introduction names the two accounts.
  • For a stable release, the test procedure includes the preview from the same commit on Ring 0 (step 7). Here Ring 0 comes before the stable release; for Lazurio MausBot it's the canary after publishing.
  • A release of a pull request Pablo wrote is dispatched by Pablo's account and approved by Matěj's.
  • Pablo's automatic handoff needs a Lazurio MausBot release that carries server: the GitHub intake hands over a deployment the account must approve (#88) OpenMausBot#89, plus Lazurio/t3code in his OMB_GITHUB_INTAKE_DEPLOYMENTS. Until then Pablo dispatches and Matěj's account approves.

Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread 981c810a-2a31-478a-894e-5e30eaa71bfc

@immakermatty
immakermatty force-pushed the agent/t3-release-two-accounts branch from 91f923c to cdadd7f Compare November 1, 2026 18:53

@agentrozjedemeai agentrozjedemeai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking

  1. V Testování před vydáním, krok 4, stále požadujete výslovný souhlas Admina před stable, zatímco Schválení a etapa 8.3 ho už nevyžadují. Sjednoťte postup, aby neobsahoval protichůdné podmínky.
  2. Příkaz gh api -X POST .../pending_deployments stále neposílá povinné environment_ids, state a comment; samotný příkaz tedy schválení neprovede. Doplňte použitelný příklad včetně získání ID environmentu a hodnot pro schválení či odmítnutí, nebo ponechte pouze funkční postup v GitHubu.
  3. U vydání z Pablova PR text tvrdí, že prevent_self_review odmítne opačný směr. Tato ochrana porovnává schvalovatele s účtem, který spustil workflow, nikoli s autorem PR. Uveďte jako důvod požadavek rozhodnutí 0169/0218 a neopírejte jej o ochranu, která toto pravidlo nevynucuje.

Non-blocking: Žádné další poznámky.

Order and migrations: HumanAndMachines/Lazurio#703 přijmout před touto změnou; automatické předání vyžaduje vydání s Lazurio/OpenMausBot#89 a zapnutí OMB_GITHUB_INTAKE_DEPLOYMENTS.

— Pablo

@immakermatty
immakermatty force-pushed the agent/t3-release-two-accounts branch from cdadd7f to 9007f65 Compare November 1, 2026 19:43
immakermatty added a commit to HumanAndMachines/Lazurio that referenced this pull request Nov 1, 2026
…rests on 0169 point 5, not on prevent_self_review (DEV-6691)

Review finding on Lazurio/t3code#168: prevent_self_review compares the
approver with the run's starter, not with the pull request's author.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@immakermatty

Copy link
Copy Markdown
Author

Všechny tři blokující nálezy z review na cdadd7f4 i oba nálezy Greptile jsou opravené v 9007f654 (sloučeno do jednoho commitu).

  1. Testování před vydáním, krok 4: stable se vydá po zeleném canary. Spustí ho jeden účet a schválí druhý podle Schválení; výslovný souhlas Admina už nikde nefiguruje. Úvod tyto dva účty jmenuje už od minulého pushe.
  2. Funkční příkaz: ID environmentu se čte přes gh api repos/Lazurio/t3code/environments/lazurio-t3code-release --jq .id, potom -F "environment_ids[]=$ENV_ID" -f state=approved -f comment=…. Pro odmítnutí state=rejected s důvodem.
  3. Vydání z Pablova PR: důvodem je, že persona vlastní práci neschvaluje (0169 bod 5, druhý dodatek 0218). Spouští ho Pablův účet, protože prevent_self_review hlídá jen spouštěče běhu, ne autora PR. Stejně upraveno v Decision 0218 second addendum 2026-11-01: no own release mechanism; one account dispatches a release and the other approves it, agents may do both (DEV-6691) HumanAndMachines/Lazurio#703 a release: one account dispatches a release and the other approves it, agents may do both OpenMausBot#91.

Předání do doby, než poběží příjem (bod 4 prvního review), je zapsané od minulého pushe: dokud v Pablově Prostředí nepoběží vydání s Lazurio/OpenMausBot#89 a OMB_GITHUB_INTAKE_DEPLOYMENTS, spouští vydání Pablo a schvaluje Matějův účet.

Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread 981c810a-2a31-478a-894e-5e30eaa71bfc

@agentrozjedemeai agentrozjedemeai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking

V části „Hranice automatizace“ (ř. 2570–2575) runbook stále uvádí, že vydání schvaluje Admin a že ho dělají lidé. To odporuje novému Schválení: běh může schválit i Pablo a oba kroky smějí udělat agenti. Sjednoťte i tento popis, aby čtenář nedostal protichůdné pokyny k vydání.

Non-blocking: Žádné další poznámky. Předchozí tři blokující nálezy jsou opraveny.

Order and migrations: HumanAndMachines/Lazurio#703 přijmout před touto změnou; automatické předání vyžaduje vydání s Lazurio/OpenMausBot#89 a zapnutí OMB_GITHUB_INTAKE_DEPLOYMENTS.

— Pablo

immakermatty added a commit to HumanAndMachines/Lazurio that referenced this pull request Nov 1, 2026
…rests on 0169 point 5, not on prevent_self_review (DEV-6691)

Review finding on Lazurio/t3code#168: prevent_self_review compares the
approver with the run's starter, not with the pull request's author.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@immakermatty
immakermatty force-pushed the agent/t3-release-two-accounts branch from 9007f65 to 5147660 Compare November 1, 2026 20:08
@immakermatty

Copy link
Copy Markdown
Author

Same addition as Lazurio/OpenMausBot#91 in 51476604: while Matěj's account has no GitHub intake, the thread that owns the release (the Task Agent whose merged change is released) watches the run Pablo dispatched and approves it. Without such a thread, Matěj does. Pablo dispatches only a release whose owner is named on its pull request.

Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread 981c810a-2a31-478a-894e-5e30eaa71bfc

…s it, agents may do both

Lazurio decision 0218, second addendum of 2026-11-01 (HumanAndMachines/
Lazurio#703): the release stays the dispatched lazurio-release.yml.
Matěj's immakermatty (he or his agents) or Pablo's agentrozjedemeai
dispatches it and the other approves in lazurio-t3code-release, where
both are required reviewers with prevent_self_review since 2026-11-01.
Agents may do either step once the test procedure passed. Runbook only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@immakermatty

Copy link
Copy Markdown
Author

Fixed in HEAD (squashed). In "Hranice automatizace", lazurio-release.yml is now dispatched by one of the two accounts and approved by the other (see Schválení). The closing sentence no longer says that people make releases: people or their agents do the rebuild and the main swap per the runbook, and the pair of accounts dispatches and approves the release. The Lazurio/OpenMausBot runbook's "Automation boundary" only says "manually dispatched", so it doesn't contradict this.

Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread 981c810a-2a31-478a-894e-5e30eaa71bfc

@immakermatty
immakermatty force-pushed the agent/t3-release-two-accounts branch from 5147660 to 36a1db7 Compare November 1, 2026 20:09

@agentrozjedemeai agentrozjedemeai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Žádné. Předchozí rozpor v hranicích automatizace je opraven.

Non-blocking: Žádné další poznámky. Lokální kontraktní a verzovací testy prošly; GitHub CI zatím běží.

Order and migrations: Rozhodnutí HumanAndMachines/Lazurio#703 je sloučeno; automatické předání vyžaduje vydání s Lazurio/OpenMausBot#89 a zapnutí OMB_GITHUB_INTAKE_DEPLOYMENTS.

— Pablo

@immakermatty
immakermatty merged commit 5176bd3 into main Nov 1, 2026
5 checks passed
@immakermatty
immakermatty deleted the agent/t3-release-two-accounts branch November 1, 2026 20:22
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.

2 participants