Skip to content

fix(cron): Let managers read run receipts [AI-932] - #13

Open
finn-atlas wants to merge 1 commit into
jai:patch/shared-googlechat-2026-11-08from
finn-atlas:atlas/ai-932-cron-runs-management
Open

finn-atlas wants to merge 1 commit into
jai:patch/shared-googlechat-2026-11-08from
finn-atlas:atlas/ai-932-cron-runs-management

Conversation

@finn-atlas

@finn-atlas finn-atlas commented Nov 6, 2026 •

Copy link
Copy Markdown

What Problem This Solves

Fixes: an authenticated automation manager receives Automation not found when it reads a run receipt from an automation in another conversation session.

User Impact

User impact: configured channel owners and Control UI administrators can inspect targeted run history for automations they already manage. Ordinary turns still see only their sessions, and agent-runtime callers cannot request all-history reads.

This change expands read permission for targeted automation run metadata. Merge and deployment require recorded Sysops approval.

Why This Change Was Made

The automation management grant permits list, get, update, run, and remove operations, but it omits cron.runs. The request therefore uses ordinary conversation visibility and hides a valid job from an admitted manager.

This change adds targeted run-history reads to the existing management capability. It checks that capability again before disclosure and keeps scope: all blocked for agent-runtime callers.

Evidence

  • The current gateway runs revision 5b5c6ff859fb737ba04a3dd76d6af1294526150d. The cron.runs requests returned Automation not found after list and get found both job IDs.
  • The report-time tool call reached the gateway and returned an invalid-request result. This rules out a shell command or CLI argument failure.
  • The repair commit 894dd21a0688bb662a5df64d249b34ff15f17426 has a valid GitHub signature from finn-atlas and uses the deployed revision as its parent.
  • The refreshed diff changes the same five files as the reviewed repair. The deployed base has the same five original blobs as the earlier base.
  • The earlier repair proof passed 186 focused tests, pnpm tsgo:core, all 19 source-test typecheck shards, targeted formatting and lint checks, and the PR behavior-proof check.
  • The current-head Real behavior proof passed. Independent AI review remains required before merge.

Rollback: deploy revision 5b5c6ff859fb737ba04a3dd76d6af1294526150d again.

@finn-atlas

Copy link
Copy Markdown
Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

To use Codex here, create a Codex account and connect to github.

Allow admitted channel owners and Control UI administrators to inspect targeted automation run history while preserving ordinary session visibility and rejecting all-history reads.

Refs AI-932.
@finn-atlas
finn-atlas force-pushed the atlas/ai-932-cron-runs-management branch from 5d5d123 to 894dd21 Compare November 9, 2026 04:58
@finn-atlas
finn-atlas changed the base branch from maintain/googlechat-patch-stack-2026-10-17 to patch/shared-googlechat-2026-11-08 November 9, 2026 04:58
@finn-atlas finn-atlas changed the title fix(cron): let managers read run receipts fix(cron): Let managers read run receipts [AI-932] Nov 9, 2026
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