feat(automations): bind operations to active runs - #182
Draft
yaacovcorcos wants to merge 28 commits into
Draft
Conversation
Reimplement Synara's gateway durability concept on Scient-owned authority, orchestration, and persistence seams. Persist exact pre-dispatch intent, actor-pseudonymized attempt and terminal receipts, stable semantic replay, conservative restart reconciliation, truthful replay-release audit, and owner-fenced recovery without exposing a new integration endpoint.
Reimplement the Synara automation-authority concept on Scient's central operation executor. No donor code was copied; no additional license notice is required.
…ion-authority-final
…scient-operation-executor-f1
…nt-operation-receipts-f2-final
…e/scient-automation-operation-authority-a1
Contributor
Author
This was referenced Aug 1, 2026
Base automatically changed from
feature/scient-operation-receipts-f2-final
to
main
August 1, 2026 14:48
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.
User effect
Automation-triggered provider turns can exercise only the Scient capabilities granted to that exact active run, project, thread, message, turn, provider, runtime epoch, and lease. Stale, terminal, cancelled, interrupted, reconfigured, or provenance-ambiguous runs fail closed. Ordinary user turns keep their existing provider fallback only when the host positively proves no active automation owns the turn.
Why this lane
This is the narrow authority seam required before automations may safely invoke Scient operations. It is independently mergeable after the operation-authority/executor/receipt chain and changes no appearance, layout, motion, responsive behavior, or appearance-dependent accessibility.
Provenance and disposition
407981969cd90736a313b8263ee37741c7449cba(agent gateway) and8ea6da0a0715c69f7b744fd4c8b38d698ab7687e(automation lifecycle/recovery).LICENSEretains the Synara MIT notice.Exact base and head
feature/scient-operation-receipts-f2-final49b5bc9d50be7b8872de55cb766764dff38ec9eefeature/scient-automation-operation-authority-a16d5530f8a19b001d0e3f0e6cfd8156bf20ded926File impact
17 files, 2,031 additions, 43 deletions.
Protected boundaries
Verification
Exact head
6d5530f8a19b001d0e3f0e6cfd8156bf20ded926:bun run typecheck: 9/9 packages;bun run fmt:check;bun run lint: 0 errors;bun run brand:check;git diff --check; clean worktree.bun run build: 5/5 tasks.bun run test: 12/12 tasks in 2m36s; CLI 2,840 passed, 10 skipped. A prior full run had one unrelated telemetry batch-count flake; its focused retry and this clean full rerun passed.Three independent reviews
P3 limitation: operation grants are bounded to one hour, so a future genuinely longer unlimited automation must renew authority rather than reuse an old grant.
Rollback and limitations
Rollback is a revert of the five commits in this PR; there is no schema migration or destructive recovery. Reverting restores the prior gateway fallback behavior. The feature remains dependent on drafts #172, #178, and #179 and is not integrated until that chain is reviewed and merged.
Validation boundary
No computer use, browser automation, screenshots, geometry checks, visual tests, visual regression, or manual UI acceptance were performed. Hosted CI is allowed to run after publication; this PR remains draft and CI is not being treated as visual acceptance.