Functional milestones: what a user can do, and when
The effort as a ladder of capabilities rather than PRs. Each step says what becomes possible, how to show it, which PRs it needs and what is still missing. PR state checked with gh at 2026-11-19 00:57 UTC against GoogleCloudPlatform/scion (“upstream”) and ptone/scion (“fork”); review and CI state from the Stage 1–3 owner state files (latest entries 2026-11-19 00:00 UTC). No dates are forecast: none of the sources commits to one.
What changed since 2026-11-17 18:17 UTC
- Merged upstream (4 Triggers PRs): S1 1a fire core (GoogleCloudPlatform/scion#4969, 11-17 22:33), S3 G3-client GitHub comment client (#4984, 11-17 23:06), S3 G6-core preset registry and compiler (#5010, 11-18 14:18), S1 1b-1 trigger and webhook definitions (#5004, 11-18 15:44). No Triggers PR is open upstream now.
- Reviewed and waiting on fork CI: 1b-2 ingress, 1b-3 dispatch, 3b-1 rule authoring (now with the mixed rule list) and PR 2b headless create have finished code review and their security passes; their final stamps wait on fork CI. The fork has a runner backlog (58 queued vs 2 running at 23:05 UTC 11-18, fork-wide), escalated to ptone. PR 2a finished code review at 23:50 UTC and is being rebased. G1a (first GitHub slice) passed its third blind review; G1b is in development.
- Decisions: headless agents run as their recorded author with credentials and project defaults (identity option (b)); a
githubToken: installation | user_preferredfield ondispatch_agent, built in Stage 2 P1c; GitHub replays also deduplicated onsha256(body)per project (option A); System One in triggers: empty allow-list everywhere with per-project opt-in, users only in v1. Plan is at rev 14. - Scope, settled earlier and now reflected here: ordered mixed CEL/System One rule lists (ptone/scion#8257);
execas a trigger action, Stage 2 P8 (ptone/scion#8241); Jira inbound as ajira_v1signature mode in Stage 2 P4b; durable evaluation memo as a follow-up (ptone/scion#8258); webhook scope: the project is the only owning scope, agents can be bound to an endpoint, and there are no hub-level or user-profile endpoints.
The ladder at a glance
| # | A user can… | Status | Gated by |
|---|---|---|---|
| F0 | (nothing visible yet) building blocks are in upstream main | done | — |
| F1 | send a signed webhook that lands as a message in a running agent | reviewed, waiting on CI | fork CI, then the joint 1b-2 + 1b-3 upstream window |
| F2 | say which events fire, with an ordered list of CEL rules | in progress | 3b-1 (reviewed, CI) after F1; 3b-2 not started |
| F3 | have a webhook start a new agent from a template | in progress | PR 2a, 2b (reviewed), 2c (not started), then S2 P1c |
| F4 | use webhooks fully: bound to an agent, queued while it sleeps, other auth modes, web page | not started | F3, then S2 P2b–P7 |
| F5 | have a GitHub comment reach a running agent through a trigger | in progress | F1 upstream, G1a + G1b, real GitHub App validation |
| F6 | have the GitHub App answer on the PR (acknowledgement, agent link) | in progress | client merged; action needs F5 and S2 P1c |
| F7 | get one agent per PR, driven by preset slash commands | in progress | preset core merged; G4 needs F3; then G6 rest, G7 |
| F8 | extensions: run a command in an agent from an event, model-backed filters, Jira, chat routing | not started | per item, below |
Pill key: done: everything merged upstream every remaining piece reviewed, landing in progress: some pieces built, merged or in review, others not started not started. F6 and F7 are “in progress” only because an early slice merged (G3-client, G6-core); nothing a user can see works yet.
Critical path
Top open risks and decisions
| # | Risk or decision | Why it matters | Owner |
|---|---|---|---|
| 1 | Fork CI backlog. 58 runs queued vs 2 running at 23:05 UTC 11-18, across the whole fork. 1b-2, 1b-3, 3b-1 and 2b have no code failures; their stamps wait on CI, about 2 h late at 23:00 UTC. | Holds back every reviewed Stage 1 PR, and with them every user-visible milestone. Agents cannot add runners. | ptone (runner capacity, or cancelling stale runs); escalated by the coordinator |
| 2 | The joint 1b-2 + 1b-3 window. Both must merge together: 1b-2 alone would accept events nothing drains. Each upstream rebase can conflict, as 1b-1 did on 11-18. | Gives F1, and is the base for G1a, 3b-1 and PR 2. | triggers-s1-coord / triggers-s1-em-2; ptone merges |
| 3 | The PR 2 chain. 2a had stalled unnoticed for about 16 h before review on 11-18; it and 2b now conflict with main and need rebasing. 2c starts only after the 1b window, 2a and 2b. Earliest estimate (11-18 19:10 UTC) for 2a: stamp on the morning of 11-19 UTC. | Longest chain: gates S2 P1c, so F3, F4, G3’s comment, G4 (F7) and P8. | triggers-s1-em-2 (delivery); triggers-s1-coord (sequence) |
| 4 | System One T2 has no implementer. The binding design (ptone/scion#8051, prerequisite #8045) has been reconciled; it waits on rule lists and dispatch landing in Triggers. | Model-backed rule elements (F8) cannot start until someone owns them. | system-one-mode |
Also open: G1 needs a real GitHub App and a test repository for its validation gate, which only ptone can provide (to be raised when G1b nears completion). System One M1 (ptone/scion#8047, draft PR ptone/scion#8250) awaits validation on a clean host; it is CEL-only and does not block Triggers.
F0 Foundations merged done
The building blocks are in upstream main. Nothing a user can trigger yet; exec schedules are usable on their own.
Demo it by: create an exec schedule with the CLI or the web UI that runs a command in an agent (exec schedules Phases 1–5). For the Triggers blocks, the unit suites of pkg/durablequeue, pkg/celengine/pkg/ruleengine, pkg/triggertemplate and the GitHub normaliser; a hub admin can read GitHub App readiness (G5-core).
| Piece | PR | State |
|---|---|---|
| Durable delivery queue (S1 1q) | GoogleCloudPlatform/scion#4897 | merged 11-15 |
| CEL rule engine, dialect registry (S1 3a) | GoogleCloudPlatform/scion#4913 | merged 11-15 |
| System One: runtime and admin API, dialect registration, consumer admission (deny by default) | GoogleCloudPlatform/scion#4903, #4934, #4942, #4945 | merged 11-15, 11-16 |
| Exec schedules: Conduit routes, one-shot, session hold, recurring, CLI, web UI | GoogleCloudPlatform/scion#4895, #4906, #4935, #4957, #4938, #4961 | merged 11-15 to 11-17 |
Template package, pkg/gitref (S2 P1a); queue nudge (S2 P2a) | GoogleCloudPlatform/scion#4956, #4959 | merged 11-16 |
| HomeFiles create channel (S2 P1b) | GoogleCloudPlatform/scion#4965 | merged 11-17 |
| GitHub event normaliser (S3 G2n); App readiness, primary repo routing (S3 G5-core) | GoogleCloudPlatform/scion#4960, #4970 | merged 11-17 |
Missing: nothing for F0. Merged pieces that belong to later milestones are listed there (1a and 1b-1 under F1, G3-client under F6, G6-core under F7).
F1 A signed webhook delivers a message to an agent reviewed, waiting on CI
A project owner creates a webhook endpoint and a trigger; any system that can sign a POST can then put a message in front of a running agent, and the fire shows up in history. (Stage 1 vertical slice.)
Demo it by: with the hub.triggers experiment on, run scion trigger webhook create, then scion trigger create with a message action to a running agent (event types only, no filter yet). Send a curl POST signed with the endpoint secret (scion_v1 HMAC; the CLI help carries the sender example). The agent receives an event envelope (webhook.received, event id, trigger, payload); scion trigger history shows the fire as fired. Re-sending the same delivery creates nothing new. This is the Stage 1 validation gate, run on a workstation hub. Today, with 1b-1 merged, the endpoint and trigger definitions can be created but nothing is accepted from outside.
| Piece | PR | State |
|---|---|---|
| 1a fire core extracted from the scheduler (no behaviour change) | GoogleCloudPlatform/scion#4969 | merged 11-17 22:33 |
| 1b-1 endpoint and trigger definitions, authz, CLI | GoogleCloudPlatform/scion#5004 | merged 11-18 15:44 |
| 1b-2 webhook ingress | ptone/scion#8233 (head 62c2451) | reviewed + security pass; fork CI |
| 1b-3 drainer, message action, event read API, history | ptone/scion#8236 (head 42498bd) | reviewed + security pass; fork CI |
Missing: fork CI on 1b-2 and 1b-3, then stamps; the joint compare window and upstream merge; the manual gate run. Convenience pieces come later: one-call webhook create --agent/--message is S1 PR 5 (ptone/scion#8032).
F2 Users say which events fire, with CEL rules in progress
A trigger carries an ordered list of rules (1–8), checked in order and AND’d, stopping at the first that fails, so cheap checks run before expensive ones. Bad rules are refused when written, with the error position. The list format already allows System One elements; projects can use them only once F8 lands.
Demo it by: scion trigger create … --where "event.attributes.branch == 'main'" --where "has(event.payload.pr)" (repeatable; order is evaluation order). A syntax error is refused at create time with its position (3b-1 alone). With 3b-2: send two webhooks, one matching and one not; only the matching one fires, and scion trigger history shows how far down the list each event got (matched_through).
| Piece | PR / issue | State |
|---|---|---|
| 3a engine | GoogleCloudPlatform/scion#4913 | merged |
3b-1 rule authoring with the ordered rule list (match_rules) and scion trigger get | ptone/scion#8234 (head 5a05ff5; scope ptone/scion#8257) | rework reviewed + security pass; fork CI |
| 3b-2 evaluation in the dispatcher, short-circuit loop, counters | ptone/scion#8030, #8257 | not started |
Missing: 3b-1 fork CI and stamp; it goes upstream after 1b-2 + 1b-3. 3b-2 (stacks on 1b-3; carries one deferred Low finding from the 3b-1 security pass).
F3 A webhook starts a new agent from a template in progress
Instead of messaging an existing agent, a trigger creates one: task text rendered from the event, labels linking it to the trigger and event, and the event available inside the agent. The new agent runs as the trigger’s author would if they had started it by hand: the author as owner, credentials on, project defaults applied (ptone, 11-17, option (b)).
Demo it by: create a trigger with a dispatch_agent action and a task template; send a signed POST. A new agent appears with labels trigger=<id> and trigger_event=<id>, owned by the trigger’s author, with the author’s secrets as an interactive create would give it; SCION_TRIGGER_EVENT_ID in its environment and ~/.scion/trigger-event.json in its home; inside it, scion trigger event get returns its event; the fire row carries the new agent’s id (Stage 2 acceptance 1).
| Piece | PR / issue | State |
|---|---|---|
| S2 P1a templates; P1b HomeFiles channel | GoogleCloudPlatform/scion#4956, #4965 | merged |
| S1 PR 2a: exec through the fire core (behaviour-identical) | ptone/scion#8286 (head 35638e1) | reviewed; rebasing onto main |
| S1 PR 2b: headless create as the recorded author, env and secrets gathered from hub storage | ptone/scion#8320 (head 6bac5fc) | reviewed + security pass; fork CI |
| S1 PR 2c: core cleanup, triggers generalised (one authoring target rule, auto-pause) | ptone/scion#8029 | not started |
S2 P1c: dispatch from a webhook event, subject claims, githubToken field, CLI | ptone/scion#8058 | not started |
Missing: F1 upstream; 2a rebase, CI and stamp; 2b CI and stamp (GitHub also reports 2b as conflicting with main); 2c (after the 1b window, 2a and 2b); P1c. ephemeral: true on dispatched agents needs ptone/scion#194 (open); nothing else here does.
F4 Webhooks complete (ptone/scion#304) not started
An agent can make its own webhook; events wait while the agent is asleep; senders can use a hub token or provider signatures; a project web page shows endpoints, rules and history. Endpoints stay project-owned: an agent can be bound to one, but there are no hub-level or user-profile endpoints (triggers-arch, 11-19).
Demo it by: from inside an agent, scion trigger webhook create --to-self; post to it while the agent is suspended, resume it, and the message arrives (within the TTL). Delete the agent and the endpoint goes with it unless created --persistent. Then open the project Triggers page.
| Piece | Issue | State |
|---|---|---|
| S1 PR 4 skip policy and envelope; PR 5 CLI incl. one-call create; PR 6 observability | ptone/scion#8031, #8032, #8033 | not started |
| S2 P2 message templating, offline queue (P2a merged, P2b open) | ptone/scion#8059 | P2b not started |
S2 P3 agent-bound endpoints, --to-self lifetime | ptone/scion#8060 | not started |
| S2 P4a hub_token, replay window, limits; P5 large payloads; P6 web page; P7 notify, docs, skill | ptone/scion#8061, #8063, #8064, #8065 | not started |
Missing: all of it after F3; P5 and P6 are marked deferrable in their issues.
F5 A GitHub event reaches an agent through a trigger in progress
Comments on a repository associated with a project become trigger events with plain attributes (repo, number, action, sender, command…), and triggers route them to agents. G1 covers issue_comment; other event families come with G2.
Demo it by: on an issue or PR in an associated repository, comment @<app> /ping. Each associated project gets one event with event.attributes.command = "ping"; a trigger matches it; the envelope lands in a running agent; scion trigger history shows the fire. Pressing “Redeliver” in GitHub creates nothing new, and neither does re-posting the same signed body with a fresh delivery id (body-hash dedup, option A). Must be validated against a real GitHub App before Stage 3 fans out. Note: commands in comments on a PR’s conversation are skipped (fail-closed) until G2 enrichment lands.
| Piece | PR / issue | State |
|---|---|---|
| G2n normaliser; G5-core readiness and primary routing | GoogleCloudPlatform/scion#4960, #4970 | merged |
| G1a: App webhook content-event ingress, own-App guard, per-project fan-out and dedup | ptone/scion#8346 (head 61ccca4) | third blind review approved; nits being verified |
G1b: github trigger authoring, event get/list CLI, manual validation runbook | ptone/scion#8087 | in development |
| G2 full normalisation, PR enrichment; G2b push (deferrable) | ptone/scion#8088, #8089 | not started |
G5 rest: installation events, scion trigger github CLI, fan-out hook | ptone/scion#8092 | not started |
Missing: G1a can go upstream only after 1b-3 merges; it must then be restacked onto it (GitHub reports it as conflicting today). G1b; a likely security pass (new public entry point); manual validation with a real GitHub App and test repository (ptone). Then G2 and the rest of G5.
F6 The GitHub App answers on the PR in progress
A github.comment action posts a templated comment as the App (acknowledgement, link to the agent, guidance), once per fire, and the App never triggers itself.
Demo it by: add a github.comment action to the F5 trigger; comment @<app> /ping; a single reply from the App appears on the PR. Redeliver does not post twice.
| Piece | PR / issue | State |
|---|---|---|
| G3-client: comment client, permissions, project trigger-sources endpoint | GoogleCloudPlatform/scion#4984 | merged 11-17 23:06 |
| G3 action, unmatched-command reply (carries two deferred security items) | ptone/scion#8090 | not started |
Missing: the action needs G1 (F5), and S2 P1c for the comment-body slot. This is the App speaking for the hub, not agents replying; agents reply with the GitHub installation token they hold (with githubToken: installation, the default for GitHub triggers).
F7 One agent per PR, driven by preset commands in progress
Later events on the same PR or issue go to the agent already working on it; bursts collapse to one dispatch; presets such as “review every PR to main” or “plan on @scion /plan” are picked from a list, not written by hand.
Demo it by: apply the presets in one project and replay the reference workload’s command matrix (/review, /validate, /fix, /plan, /implement) from recorded deliveries; the expected fires happen (Stage 3 acceptance 2). Push several commits quickly to one PR: one agent, never two. In the web UI, pick a preset and see the routing table. Today a client can list presets and compile one to a rule list through the hub API (G6-core), but nothing applies it.
| Piece | PR / issue | State |
|---|---|---|
| G6-core: preset registry, compiler, GET and compile routes | GoogleCloudPlatform/scion#5010 | merged 11-18 14:18 |
G4 subject reuse, coalesce_window, stale refusal | ptone/scion#8091 | not started |
G6 rest: Match.Form persistence, preset CLI, acceptance scenario e2e | ptone/scion#8093 | not started |
| G7 web card, preset picker, docs, skill | ptone/scion#8094 | not started |
Missing: G4 needs G2, S1 PR 2 and PR 4, and S2 P1c; the G6 rest needs G3 and G4; G7 needs G6 and S2 P6/P7.
F8 Extensions not started
Independent additions on top of the core, roughly in ptone’s stated priority: P8 sits below the Stage 3 critical path and above Jira.
| Capability | Demo it by | Issue · gated by | State |
|---|---|---|---|
| Run a fixed command in an agent from an event | a webhook starts a cron-like job (the P8 acceptance fixture); the command reads SCION_TRIGGER_CONTEXT | ptone/scion#8241 · S1 PR 2, S2 P1 | not started |
| Model-backed (System One) rule elements | a list [cel, system_one] where the CEL guard runs first; only in projects on the opt-in allow-list (empty by default); written by users only in v1 | ptone/scion#8051, #8045 · 3b-1/3b-2, dispatch | designed; no implementer |
| Jira Cloud inbound | a Jira webhook with the jira_v1 signature mode fires a trigger | ptone/scion#8062 (S2 P4b) · S2 P1c, P4a (lowest priority) | not started |
| Chat content routing | a message matching a pattern in a watched channel is relayed to an agent with history | ptone/scion#994 · after Stage 3; Stage 4 has no design | plan only |
| Schedules shown as triggers; agent lifecycle source; delete-agent on PR close | unknown (no design) | Stage 4 list in the plan | plan only |
Related: durable evaluation memo for model-backed elements (ptone/scion#8258, unowned); ephemeral agents (ptone/scion#194, open). The trigger consumer of the rule engine admits CEL only until T2 lands.