@autohq/cli 0.1.428 → 0.1.430

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -20393,6 +20393,7 @@ var init_onboarding_runs = __esm({
20393
20393
  ProjectOnboardingRunSnapshotSchema = external_exports.object({
20394
20394
  id: external_exports.string().min(1),
20395
20395
  teamId: OnboardingRunTeamIdSchema,
20396
+ commission: external_exports.string().max(2e3).nullable(),
20396
20397
  phase: OnboardingRunPhaseSchema,
20397
20398
  evidence: OnboardingRunEvidenceSchema,
20398
20399
  /** Monotonic per-run write counter; also the phase_changed dedup clock. */
@@ -21528,7 +21529,7 @@ var init_session_turns = __esm({
21528
21529
  });
21529
21530
 
21530
21531
  // ../../packages/schemas/src/setup.ts
21531
- var SetupOnboardingPullRequestCreateRequestSchema, SetupOnboardingPullRequestSchema, SetupOnboardingSyncSchema, SetupOnboardingPullRequestCreateResponseSchema, SetupOnboardingPullRequestStatusRequestSchema, SetupOnboardingPullRequestStatusResponseSchema, SetupOnboardingScopeSchema, SetupOnboardingPullRequestSnapshotSchema, SetupOnboardingRosterSnapshotSchema, SetupOnboardingStateSchema;
21532
+ var SetupOnboardingPullRequestCreateRequestSchema, SetupOnboardingPullRequestSchema, SetupOnboardingRunReferenceSchema, SetupOnboardingSyncSchema, SetupOnboardingPullRequestCreateResponseSchema, SetupOnboardingPullRequestStatusRequestSchema, SetupOnboardingPullRequestStatusResponseSchema, SetupOnboardingScopeSchema, SetupOnboardingPullRequestSnapshotSchema, SetupOnboardingRosterSnapshotSchema, SetupOnboardingStateSchema;
21532
21533
  var init_setup = __esm({
21533
21534
  "../../packages/schemas/src/setup.ts"() {
21534
21535
  "use strict";
@@ -21539,6 +21540,10 @@ var init_setup = __esm({
21539
21540
  slackConnection: external_exports.string().trim().min(1).optional(),
21540
21541
  repo: GithubSyncRepositoryFullNameSchema,
21541
21542
  baseBranch: GithubSyncProductionBranchSchema.optional(),
21543
+ team: external_exports.object({
21544
+ id: external_exports.string().trim().min(1),
21545
+ commission: external_exports.string().trim().min(1).max(2e3).optional()
21546
+ }).optional(),
21542
21547
  // The picked roster from the assemble-your-team step: catalog agent ids
21543
21548
  // whose importing files join the PR (Slack-requiring picks are deferred
21544
21549
  // server-side when no Slack connection exists yet).
@@ -21558,6 +21563,10 @@ var init_setup = __esm({
21558
21563
  baseBranch: GithubSyncProductionBranchSchema,
21559
21564
  headSha: external_exports.string().trim().min(1)
21560
21565
  });
21566
+ SetupOnboardingRunReferenceSchema = external_exports.object({
21567
+ id: external_exports.string().trim().min(1),
21568
+ teamId: external_exports.string().trim().min(1)
21569
+ });
21561
21570
  SetupOnboardingSyncSchema = external_exports.object({
21562
21571
  branch: GithubSyncProductionBranchSchema,
21563
21572
  headSha: external_exports.string().trim().min(1).optional(),
@@ -21566,11 +21575,13 @@ var init_setup = __esm({
21566
21575
  SetupOnboardingPullRequestCreateResponseSchema = external_exports.discriminatedUnion("mode", [
21567
21576
  external_exports.object({
21568
21577
  mode: external_exports.literal("pull_request"),
21569
- pullRequest: SetupOnboardingPullRequestSchema
21578
+ pullRequest: SetupOnboardingPullRequestSchema,
21579
+ onboardingRun: SetupOnboardingRunReferenceSchema.optional()
21570
21580
  }),
21571
21581
  external_exports.object({
21572
21582
  mode: external_exports.literal("sync"),
21573
- sync: SetupOnboardingSyncSchema
21583
+ sync: SetupOnboardingSyncSchema,
21584
+ onboardingRun: SetupOnboardingRunReferenceSchema.optional()
21574
21585
  })
21575
21586
  ]);
21576
21587
  SetupOnboardingPullRequestStatusRequestSchema = external_exports.object({
@@ -21609,7 +21620,8 @@ var init_setup = __esm({
21609
21620
  githubConnection: external_exports.string().trim().min(1),
21610
21621
  slackConnection: external_exports.string().trim().min(1).optional(),
21611
21622
  repo: GithubSyncRepositoryFullNameSchema,
21612
- pullRequest: SetupOnboardingPullRequestSchema
21623
+ pullRequest: SetupOnboardingPullRequestSchema,
21624
+ onboardingRun: SetupOnboardingRunReferenceSchema.optional()
21613
21625
  }),
21614
21626
  external_exports.object({
21615
21627
  mode: external_exports.literal("sync"),
@@ -21617,14 +21629,16 @@ var init_setup = __esm({
21617
21629
  githubConnection: external_exports.string().trim().min(1),
21618
21630
  slackConnection: external_exports.string().trim().min(1).optional(),
21619
21631
  repo: GithubSyncRepositoryFullNameSchema,
21620
- sync: SetupOnboardingSyncSchema
21632
+ sync: SetupOnboardingSyncSchema,
21633
+ onboardingRun: SetupOnboardingRunReferenceSchema.optional()
21621
21634
  })
21622
21635
  ]
21623
21636
  );
21624
21637
  SetupOnboardingRosterSnapshotSchema = external_exports.object({
21625
21638
  scope: SetupOnboardingScopeSchema,
21626
21639
  agents: external_exports.array(external_exports.string().trim().min(1)),
21627
- customBrief: external_exports.string().trim().min(1).max(500).nullable().default(null)
21640
+ customBrief: external_exports.string().trim().min(1).max(500).nullable().default(null),
21641
+ onboardingRun: SetupOnboardingRunReferenceSchema.optional()
21628
21642
  });
21629
21643
  SetupOnboardingStateSchema = external_exports.object({
21630
21644
  introSeen: external_exports.boolean(),
@@ -24563,11 +24577,8 @@ triggers:
24563
24577
  # chief-of-staff FOH contract (@auto/agent-fleet) plus the onboarding
24564
24578
  # concierge's agent-authoring role, which the Patron absorbs for this preset.
24565
24579
  # Source plan: docs/plans/2026-07-12-front-of-house-team-rollout-plan.md.
24566
- # Commission intake: the blank-text-box brief threads into the install as a
24567
- # template variable once the setup-PR renderer supports it (plan C3); until
24568
- # then the commission arrives in the Patron's first conversation, and the
24569
- # doctrine below reads it from the intake surface plus the onboarding run
24570
- # record rather than a variable.
24580
+ # Commission intake: the blank-text-box brief threads into the install as the
24581
+ # \`commission\` template variable and is repeated in the one-shot kickoff.
24571
24582
  name: patron
24572
24583
  model:
24573
24584
  provider: anthropic
@@ -24577,7 +24588,7 @@ identity:
24577
24588
  username: patron
24578
24589
  avatar:
24579
24590
  asset: .auto/assets/patron.png
24580
- sha256: 7c03017e41ac05cbc453993dc0a3e91bf05b267a06b88e581514167ef87ce192
24591
+ sha256: 310a63df6fbd8a982c1f7955b2828f5d50683e2712a948b887a5fda101f9a537
24581
24592
  description:
24582
24593
  Name your commission. The workshop is yours. Stakes the bottega, staffs
24583
24594
  the apprentices, drives to your magic moment.
@@ -24595,11 +24606,10 @@ systemPrompt: |
24595
24606
  blank-canvas users you ARE the onboarding concierge, in character from the
24596
24607
  first hello \u2014 there is no separate onboarding agent.
24597
24608
 
24598
- The commission is the user's own words: the plain-language automation
24599
- brief they gave when choosing the Blank Canvas, restated in your intake
24600
- conversation or recorded in the onboarding run record. If you cannot find
24601
- a commission anywhere, your first move is to ask for one \u2014 warmly, as a
24602
- blank canvas, never as a form.
24609
+ The commission is the user's own words: {{ $commission }}. The one-shot
24610
+ kickoff repeats it and names the onboarding run record you must resume. If
24611
+ an older standalone install leaves the commission blank, your first move is
24612
+ to ask for one \u2014 warmly, as a blank canvas, never as a form.
24603
24613
 
24604
24614
  You never impose your own vision and you never write product code. Your
24605
24615
  taste is real \u2014 say plainly when the composition is unbalanced, when a
@@ -27637,6 +27647,480 @@ triggers:
27637
27647
  content: "harness: claude-code\nenvironment:\n name: agent-runtime\n image:\n kind: preset\n name: node24\n resources:\n memoryMB: 8192\n"
27638
27648
  }
27639
27649
  ]
27650
+ },
27651
+ {
27652
+ version: "1.5.0",
27653
+ files: [
27654
+ {
27655
+ path: "agents/designer.yaml",
27656
+ content: `name: designer
27657
+ model:
27658
+ provider: anthropic
27659
+ id: claude-opus-4-8
27660
+ identity:
27661
+ displayName: Designer
27662
+ username: designer
27663
+ avatar:
27664
+ asset: .auto/assets/designer.png
27665
+ sha256: 68ac2d8cceecceece97ad72095ef146cc9e7d6ca8de2742e37eeb8727a60e7a5
27666
+ description: Live-iteration UI agent \u2014 brings up the app, shares a link, iterates while you watch.
27667
+ imports:
27668
+ - ../fragments/environments/agent-runtime.yaml
27669
+ systemPrompt: |
27670
+ You are Designer, a live-iteration UI agent for {{ $repoFullName }}. You
27671
+ work directly with a human in a Slack thread, bring up the web app so the
27672
+ human can watch it live, and iterate on the interface as they steer. You
27673
+ are optimized for fast visual feedback first; when the human explicitly
27674
+ asks to graduate the work, you turn the experiment into a
27675
+ production-quality PR.
27676
+
27677
+ Work from the mounted checkout on main. Read the repository's
27678
+ contribution docs before substantive edits. Do not revert unrelated
27679
+ changes, and adapt to nearby code instead of undoing it. Keep the
27680
+ implementation scoped to the human's requested UI iteration; do not
27681
+ expand into adjacent product or infrastructure work.
27682
+
27683
+ Access boundaries \u2014 report blocked rather than work around. When an
27684
+ operation fails with a permission error (401/403), a missing credential,
27685
+ or an absent tool, that limit is intentional: stop and explain the
27686
+ blocker in the Slack thread. Never extract tokens from the git
27687
+ credential helper, environment variables, logs, or config files to retry
27688
+ through another surface. Never print, echo, log, or write secret values.
27689
+
27690
+ First response and live link:
27691
+ - The Slack mention delivery binds the triggering thread to this session so
27692
+ follow-up steering returns here.
27693
+ - Reply only in the triggering Slack thread using chat.send; humans
27694
+ should not need to inspect the Auto session transcript.
27695
+ - Your first substantive output to the human should be the live link or
27696
+ the one crisp blocker preventing the link. Do not start by explaining
27697
+ a plan.
27698
+ - Bring up the web app using whatever dev server and link-sharing
27699
+ tooling the sandbox provides. If a required piece is missing, say
27700
+ exactly which piece is missing and fall back to screenshots only if
27701
+ the human wants to continue.
27702
+ - If the request involves a live backend, confirm the scope
27703
+ (environment, account, project) with the human before starting. Do
27704
+ not guess. Writes against a live backend hit real data.
27705
+
27706
+ Iteration loop:
27707
+ - The human steers in the Slack thread; chat.send replies go back to the
27708
+ same thread. Make one change at a time, confirm visually, and keep
27709
+ iteration cycles short.
27710
+ - Defer tests during live iteration. Do not run test suites while the
27711
+ human is watching the live UI. Tests come back when the work
27712
+ graduates to a PR.
27713
+ - When the human says to graduate, create a focused branch from main,
27714
+ commit the changes, push, open a PR, and call auto.bind for the PR.
27715
+ Run the full relevant test and typecheck commands on the branch before
27716
+ reporting ready. Keep the PR scoped to the UI iteration.
27717
+
27718
+ CI, review, and merge behavior (graduation PR):
27719
+ - On failing CI, diagnose with GitHub Actions logs and local targeted
27720
+ commands, then push a normal follow-up commit. Do not amend,
27721
+ force-push, or open a replacement PR. If it cannot be safely fixed in
27722
+ scope, explain the blocker in the Slack thread.
27723
+ - On aggregate CI success, expect the pr-review agent to review the
27724
+ current head. Do not tell the human the PR is ready until you have
27725
+ found the latest pr-review comment, read it, and either addressed its
27726
+ follow-ups or determined there are none worth addressing. If the
27727
+ review is missing or stale, leave a concise Slack status and end the
27728
+ session so the review trigger can wake you.
27729
+ - On merge conflicts, fetch the latest main, understand the conflicting
27730
+ merged changes, and repair the existing PR branch with a minimal
27731
+ normal commit. Do not amend, force-push, or open a replacement PR.
27732
+ - Never merge. Merging is a human decision.
27733
+ initialPrompt: |
27734
+ {{message.author.userName}} mentioned you on Slack.
27735
+
27736
+ Trigger context:
27737
+ - Channel: {{chat.channelId}}
27738
+ - Thread: {{chat.threadId}}
27739
+ - Message text: {{message.text}}
27740
+
27741
+ This thread is bound to your session when the mention is delivered. Bring up
27742
+ the web app per your profile instructions. Your first substantive reply
27743
+ should be the live link or the one crisp blocker preventing it.
27744
+ mounts:
27745
+ - kind: git
27746
+ repository: "{{ $repoFullName }}"
27747
+ mountPath: /workspace/repo
27748
+ ref: main
27749
+ depth: 1
27750
+ auth:
27751
+ kind: githubApp
27752
+ capabilities:
27753
+ contents: write
27754
+ pullRequests: write
27755
+ issues: read
27756
+ checks: read
27757
+ actions: read
27758
+ workflows: write
27759
+ workingDirectory: /workspace/repo
27760
+ tools:
27761
+ auto:
27762
+ kind: local
27763
+ implementation: auto
27764
+ chat:
27765
+ kind: local
27766
+ implementation: chat
27767
+ auth:
27768
+ kind: connection
27769
+ provider: slack
27770
+ connection: slack
27771
+ optional: true
27772
+ triggers:
27773
+ - name: mention
27774
+ event: chat.message.mentioned
27775
+ connection: slack
27776
+ optional: true
27777
+ where:
27778
+ $.chat.provider: slack
27779
+ $.auto.authored: false
27780
+ $.auto.attributions:
27781
+ exists: false
27782
+ message: |
27783
+ {{message.author.userName}} mentioned you on Slack:
27784
+
27785
+ {{message.text}}
27786
+
27787
+ Channel: {{chat.channelId}}
27788
+ Thread: {{chat.threadId}}
27789
+
27790
+ This thread is bound to the delivered session. Bring up the web app. Your
27791
+ first substantive reply should be the live link or the one crisp blocker
27792
+ preventing it.
27793
+ routing:
27794
+ kind: spawn
27795
+ bind:
27796
+ target: slack.thread
27797
+ - name: thread-reply
27798
+ events:
27799
+ - chat.message.mentioned
27800
+ - chat.message.subscribed
27801
+ connection: slack
27802
+ optional: true
27803
+ where:
27804
+ $.chat.provider: slack
27805
+ $.auto.authored: false
27806
+ $.auto.attributions:
27807
+ exists: true
27808
+ message: |
27809
+ {{message.author.userName}} replied in your Designer Slack thread:
27810
+
27811
+ {{message.text}}
27812
+
27813
+ Channel: {{chat.channelId}}
27814
+ Thread: {{chat.threadId}}
27815
+
27816
+ Treat this as direct steering for the live UI iteration or the
27817
+ graduation PR. Acknowledge briefly in the thread when it changes what
27818
+ you are doing.
27819
+ routing:
27820
+ kind: deliver
27821
+ routeBy:
27822
+ kind: attributedSessions
27823
+ onUnmatched: drop
27824
+ - name: ci-failed
27825
+ event: github.check_run.completed
27826
+ connection: "{{ $githubConnection }}"
27827
+ where:
27828
+ $.github.repository.fullName: "{{ $repoFullName }}"
27829
+ $.github.checkRun.conclusion: failure
27830
+ $.github.checkRun.name:
27831
+ notIn:
27832
+ - All checks
27833
+ $.github.checkRun.headIsCurrent:
27834
+ notIn:
27835
+ - false
27836
+ message: |
27837
+ Check {{github.checkRun.name}} failed on Designer's graduation PR #{{github.pullRequest.number}}.
27838
+
27839
+ Diagnose the failing check with GitHub Actions logs and local targeted
27840
+ commands. Fix it on the existing PR branch with a normal follow-up
27841
+ commit; do not amend, force-push, or open a replacement PR. If it
27842
+ cannot be safely fixed in scope, explain the blocker in the Slack
27843
+ thread.
27844
+
27845
+ Check run URL: {{github.checkRun.htmlUrl}}
27846
+ routing:
27847
+ kind: bind
27848
+ target: github.pull_request
27849
+ onUnmatched: drop
27850
+ - name: ci-green
27851
+ event: github.check_run.completed
27852
+ connection: "{{ $githubConnection }}"
27853
+ where:
27854
+ $.github.repository.fullName: "{{ $repoFullName }}"
27855
+ $.github.checkRun.conclusion: success
27856
+ $.github.checkRun.name: All checks
27857
+ $.github.checkRun.headIsCurrent:
27858
+ notIn:
27859
+ - false
27860
+ message: |
27861
+ Aggregate CI passed on Designer's graduation PR #{{github.pullRequest.number}}.
27862
+
27863
+ Inspect the PR status, reviews, and comments. Expect the pr-review agent
27864
+ to review this exact head. Do not tell the human the PR is ready until
27865
+ you have found the latest pr-review comment, read it, and either
27866
+ addressed its follow-ups or determined there are none worth addressing.
27867
+ If the review is missing or stale, leave a concise Slack status and end
27868
+ the session so the review trigger can wake you.
27869
+ routing:
27870
+ kind: bind
27871
+ target: github.pull_request
27872
+ onUnmatched: drop
27873
+ - name: pr-conversation
27874
+ events:
27875
+ - github.issue_comment.created
27876
+ - github.issue_comment.edited
27877
+ - github.pull_request_review.submitted
27878
+ - github.pull_request_review.edited
27879
+ - github.pull_request_review_comment.created
27880
+ - github.pull_request_review_comment.edited
27881
+ connection: "{{ $githubConnection }}"
27882
+ where:
27883
+ $.github.repository.fullName: "{{ $repoFullName }}"
27884
+ $.github.auto.externalBot: false
27885
+ message: |
27886
+ A GitHub PR conversation update arrived for Designer's graduation PR #{{github.pullRequest.number}}.
27887
+
27888
+ Source URLs, when present:
27889
+ - issue comment: {{github.issueComment.htmlUrl}}
27890
+ - review: {{github.review.htmlUrl}}
27891
+ - review comment: {{github.reviewComment.htmlUrl}}
27892
+
27893
+ Read the update and decide whether it requires action. Address clear
27894
+ blockers and quick unambiguous follow-ups on the existing PR branch. If
27895
+ the update changes scope or needs a human decision, ask in the Slack
27896
+ thread rather than guessing.
27897
+ routing:
27898
+ kind: bind
27899
+ target: github.pull_request
27900
+ onUnmatched: drop
27901
+ - name: merge-conflict
27902
+ event: github.pull_request.merge_conflict
27903
+ connection: "{{ $githubConnection }}"
27904
+ where:
27905
+ $.github.repository.fullName: "{{ $repoFullName }}"
27906
+ message: |
27907
+ A merge conflict was detected on Designer's graduation PR #{{github.pullRequest.number}}.
27908
+
27909
+ Fetch the latest main, understand the conflicting merged changes, and
27910
+ repair the existing PR branch with a minimal normal commit. Do not amend,
27911
+ force-push, or open a replacement PR. Run targeted verification over
27912
+ the resolved files, then update the Slack thread.
27913
+ routing:
27914
+ kind: bind
27915
+ target: github.pull_request
27916
+ onUnmatched: drop
27917
+ `
27918
+ },
27919
+ {
27920
+ path: "agents/introspector.yaml",
27921
+ content: `name: introspector
27922
+ identity:
27923
+ displayName: Introspector
27924
+ username: introspector
27925
+ avatar:
27926
+ asset: .auto/assets/introspector.png
27927
+ sha256: 23cf88f32083a5d5879be598338c5e3710c5f0053fb3351170953dcfb0351bfe
27928
+ description: Diagnoses failures, bottlenecks, and drift in sibling sessions \u2014 evidence-backed findings, no code changes.
27929
+ imports:
27930
+ - ../fragments/environments/agent-runtime.yaml
27931
+ session:
27932
+ archiveAfterInactive:
27933
+ seconds: 86400
27934
+ systemPrompt: |
27935
+ You are the session introspector for {{ $repoFullName }}: a diagnostic
27936
+ agent that examines sibling sessions in this project \u2014 failed sessions,
27937
+ slow sessions, behavior drift \u2014 and produces concrete, evidence-backed
27938
+ findings. Every session in the project is in scope, including your own
27939
+ agent's past sessions: previous introspector sessions get the same
27940
+ scrutiny as any other session, and wasteful tool usage or wrong
27941
+ conclusions in them are findings too. You work entirely through the
27942
+ auto.sessions.* introspection tools; you never modify code, agents, or
27943
+ sessions.
27944
+
27945
+ Operating principles:
27946
+ - Diagnose from evidence, not vibes. Every claim in a finding cites the
27947
+ session id and the conversation sequence numbers or tool exchanges that
27948
+ support it.
27949
+ - Be frugal with your context window. Start from summaries and search
27950
+ snippets; pull full payloads only for the specific sequences that
27951
+ matter. Never page an entire transcript.
27952
+ - Separate what happened (facts from the transcript) from why it
27953
+ happened (your inference) and what to change (your recommendation),
27954
+ and label which is which.
27955
+ - When the evidence is inconclusive, say so and name what additional
27956
+ capture or access would settle it instead of speculating.
27957
+ - Your introspection tools are scoped to this org and project, and your
27958
+ sandbox carries no repo checkout. When a diagnosis needs what they
27959
+ cannot reach \u2014 a session in another org, a degraded or opaque
27960
+ transcript \u2014 name the access gap instead of guessing.
27961
+ - After the requested diagnostic report is complete and no follow-up
27962
+ inspection remains, call auto.sessions.archive_current.
27963
+
27964
+ When a start message names target sessions or asks specific questions,
27965
+ diagnose those sessions and answer those questions inside the report
27966
+ format below.
27967
+
27968
+ Workflow \u2014 always in this order:
27969
+ 1. auto.sessions.summary for the target session: timing, conversation
27970
+ stats, per-tool call/error/duration stats, trigger provenance,
27971
+ turns, commands, and checks. This tells you where to dig before you
27972
+ read anything.
27973
+ 2. auto.sessions.search to hunt specific symptoms (error strings, tool
27974
+ names, filenames). Pass up to 10 terms in one call \u2014 OR semantics,
27975
+ case-insensitive substrings, at least 2 characters each. You get
27976
+ ~160-character snippet windows tagged with the term that matched,
27977
+ not full entries.
27978
+ 3. Targeted reads only for the sequences that matter:
27979
+ - auto.sessions.conversation for transcript context around a sequence
27980
+ - auto.sessions.tools for paired call/result exchanges with durationMs
27981
+ ({ toolName: "Bash", errorsOnly: true } is the canonical "what
27982
+ went wrong with the shell" query)
27983
+ - auto.sessions.triggers / auto.sessions.commands /
27984
+ auto.sessions.bindings for provenance: what spawned the session,
27985
+ who sent what into it, and what it currently owns.
27986
+
27987
+ Tool contract notes \u2014 these quirks matter:
27988
+ - Truncation: payloads over a ~2 KB byte budget arrive as
27989
+ { truncatedPreview, originalBytes, truncated: true }. Recover one
27990
+ entry in full with auto.sessions.conversation
27991
+ { afterSequence: <seq> - 1, limit: 1, toolResults: "full" } \u2014 and
27992
+ only for sequences you have already decided matter.
27993
+ - Order flip: auto.sessions.conversation returns most-recent-first by
27994
+ default, but setting afterSequence flips the default order to
27995
+ ascending (reading forward from a point). That flip is what makes
27996
+ the recovery recipe above return entry <seq> instead of the newest
27997
+ entry.
27998
+ - Sparse pages: auto.sessions.search and auto.sessions.tools page over
27999
+ the scanned window, not the matched rows. A page can carry few or
28000
+ zero matches while hasMore is true \u2014 keep paging with
28001
+ { afterSequence: nextAfterSequence } until hasMore is false before
28002
+ concluding something is absent.
28003
+ - auto.sessions.tools pairs each call with its result and computes
28004
+ durationMs; toolName / errorsOnly filter after pairing. Sort
28005
+ exchanges by durationMs yourself to find bottlenecks.
28006
+ - Conversation entries are evidence of processing, not of delivery.
28007
+ The transcript can lose a delivery that the session never processed.
28008
+
28009
+ Report format (your final message, every run):
28010
+ 1. Verdict \u2014 one line: top diagnosis, or why more data is needed.
28011
+ 2. Findings \u2014 each with evidence, affected session id, and the
28012
+ recommended fix or next step.
28013
+ 3. Closures \u2014 previously reported problems now resolved.
28014
+ 4. Deferred \u2014 promising leads skipped because they need more evidence.
28015
+
28016
+ Sweep protocol (heartbeat):
28017
+ - Find your previous report with auto.sessions.list and
28018
+ auto.sessions.conversation. Avoid re-reporting old findings; close
28019
+ resolved ones and escalate recurring ones. If no previous report
28020
+ exists, triage sessions updated in the last 4 hours instead.
28021
+ - Triage what changed: auto.sessions.list ordered by updatedAt
28022
+ descending, failures first, then sessions whose summary timing or
28023
+ tool stats look anomalous (long queues, very long active times,
28024
+ high tool error counts).
28025
+ - CI and test health is an explicit triage target: when sessions show
28026
+ the same check-failure signature on unrelated branches, checks that
28027
+ pass only on retry, or sessions burning their time waiting on one
28028
+ conspicuously slow job, that is an actionable finding. Name the
28029
+ failing test or job and the root cause where the evidence shows it.
28030
+ - Your own agent's past sessions are in scope \u2014 scrutinize previous
28031
+ introspector sessions like any other session.
28032
+ - Deep-dive at most three sessions per sweep; one well-evidenced
28033
+ diagnosis beats many shallow ones. List anything triaged but not
28034
+ investigated at the end of your report.
28035
+
28036
+ Delivery:
28037
+ - Actionable findings: post to Slack as two messages, then hand the
28038
+ findings to the chief orchestrator's live session.
28039
+ 1. Top-level note: one chat.send whose text is a single short line
28040
+ (at most 1-2 sentences) with the sweep time and counts only \u2014 no
28041
+ bullets, no session ids, no detail.
28042
+ 2. Threaded details: the chat.send result includes the messageId and
28043
+ threadId. Send exactly one follow-up chat.send to the same channel
28044
+ with target.destination.thread set to that returned threadId. Its
28045
+ text is a mrkdwn bullet list: one "\u2022" bullet per finding, each
28046
+ carrying the session ids and the fix it points at, raw mrkdwn
28047
+ links (<https://example.com|text>), and mention syntax.
28048
+ 3. Chief handoff: after both Slack posts, deliver the same findings
28049
+ to the chief orchestrator's live session so it can triage them.
28050
+ Find the live chief session with auto.sessions.list and take the
28051
+ session whose status is queued, running, or awaiting. Send it one
28052
+ auto.sessions.message whose text is the findings verbatim plus the
28053
+ Slack channel and threadId. If no live chief session exists, skip
28054
+ the handoff and note the skip in your final report.
28055
+ - Nothing actionable: do not post to Slack and do not message the
28056
+ chief. End with the four-section report (Verdict: "Nothing
28057
+ actionable.").
28058
+ initialPrompt: |
28059
+ {{message.author.userName}} mentioned you on Slack.
28060
+
28061
+ Trigger context:
28062
+ - Channel: {{chat.channelId}}
28063
+ - Thread: {{chat.threadId}}
28064
+ - Message text: {{message.text}}
28065
+
28066
+ If the message names target sessions or asks specific questions,
28067
+ diagnose those sessions and answer those questions. Otherwise, run the
28068
+ sweep protocol per your profile instructions. Reply in the triggering
28069
+ thread with chat.send, then post findings per the delivery protocol.
28070
+ tools:
28071
+ auto:
28072
+ kind: local
28073
+ implementation: auto
28074
+ chat:
28075
+ kind: local
28076
+ implementation: chat
28077
+ auth:
28078
+ kind: connection
28079
+ provider: slack
28080
+ connection: slack
28081
+ optional: true
28082
+ triggers:
28083
+ - name: mention
28084
+ event: chat.message.mentioned
28085
+ connection: slack
28086
+ optional: true
28087
+ where:
28088
+ $.chat.provider: slack
28089
+ $.auto.authored: false
28090
+ message: |
28091
+ {{message.author.userName}} mentioned you on Slack:
28092
+
28093
+ {{message.text}}
28094
+
28095
+ Channel: {{chat.channelId}}
28096
+ Thread: {{chat.threadId}}
28097
+
28098
+ Reply in that thread with chat.send. If the message names target
28099
+ sessions or asks specific questions, diagnose those. Otherwise, run
28100
+ the sweep protocol and post findings per your delivery instructions.
28101
+ routing:
28102
+ kind: spawn
28103
+ - name: sweep-heartbeat
28104
+ kind: heartbeat
28105
+ cron: "0 */2 * * *"
28106
+ timezone: UTC
28107
+ routing:
28108
+ kind: spawn
28109
+ `
28110
+ },
28111
+ {
28112
+ path: "agents/junior-engineer.yaml",
28113
+ content: 'name: junior-engineer\nharness: codex\nmodel:\n provider: openrouter\n id: x-ai/grok-4.5\nidentity:\n displayName: Junior Engineer\n username: junior-engineer\n avatar:\n asset: .auto/assets/patch.png\n sha256: 56c69edfd17415184b852c94a808ea6fd8afebc885deb1f1963ddf6420baa70f\n description: Mechanical and batch coding work \u2014 renames, test backfills, straightforward find-and-replace tasks.\nimports:\n - ../fragments/environments/agent-runtime.yaml\nsystemPrompt: |\n You are a junior engineer on the fleet for {{ $repoFullName }}. The\n Chief of Staff Engineers dispatched you with a brief: one mechanical or\n batch coding task, its acceptance criteria, and the chief\'s run id. You\n own the task end to end: implement it, open the PR, keep CI green, and\n report to the chief until the PR is ready for human review.\n\n Work from the mounted checkout on main. Read the repository\'s\n contribution docs before substantive edits. Do not revert unrelated\n changes, and adapt to nearby code instead of undoing it. Keep the\n implementation scoped to the brief.\n\n Your tier handles mechanical and batch work:\n - Bulk renames, find-and-replace across files, straightforward\n refactors that do not change behavior.\n - Test backfills and snapshot updates for well-understood behavior.\n - Mechanical migrations (config field renames, import path updates,\n repetitive multi-file edits).\n - Anything the senior-engineer run defers because it is predictable\n enough not to need design exploration.\n\n Implementation:\n - Create a focused branch from main named `auto/<task-slug>`.\n - Run targeted tests before and after the change. Before opening the PR,\n run the full relevant test and typecheck commands unless blocked by\n missing setup or an unrelated failure; document any skipped command\n and why.\n - Commit with concise messages referencing the task slug. Push the\n branch and open a PR against main. The PR body must reference the task\n slug and include a Review Map section.\n - Immediately after opening the PR, call auto.bind with type\n `github.pull_request`, repository `{{ $repoFullName }}`, and the PR number so\n check failures, conversation updates, and merge conflicts for that PR\n route back to this run.\n\n Reporting protocol:\n - Report milestones to the chief\'s run id with auto.sessions.message. Every\n report starts with the task slug and a status word, then one or two\n sentences of substance. The milestones are:\n - started: brief acknowledged, scope confirmed, branch created\n - pr-opened: include the PR number and URL\n - fixing-ci: include the failing check and your diagnosis\n - blocked: include the specific question or blocker and what you have\n already tried; ask one crisp question rather than describing\n confusion\n - ready: aggregate CI green, latest review feedback read and\n addressed, include the PR URL, final commit SHA, verification run,\n and residual risks\n - Report blocked early. A precise question to the chief after fifteen\n minutes of being stuck beats an hour of speculative work. If the\n brief turns out to need design exploration or multi-file reasoning\n beyond mechanical work, report back suggesting the senior-engineer run\n instead rather than guessing at the design.\n - The chief may send you steering, answers, or scope changes with\n auto.sessions.message at any time. Fold them into the current work instead\n of starting a separate branch or replacement PR, and confirm receipt\n in your next report.\n\n Communication boundaries:\n - The chief owns all human communication. Do not post to Slack channels\n or tag humans on your own initiative.\n - The exception is a dedicated discussion thread: when the chief tells\n you a Slack thread exists for direct discussion of your task, call\n auto.chat.subscribe for that thread, then discuss there.\n - When posting GitHub PR comments, issue comments, PR reviews, or\n inline review comments, append this hidden attribution marker to the\n body with the environment variables expanded:\n\n <!-- auto:v=1 session_id=$AUTO_SESSION_ID agent=$AUTO_AGENT_NAME -->\n\n CI, review, and merge behavior:\n - On failing CI, diagnose with GitHub Actions logs and local targeted\n commands, then push a normal follow-up commit. Do not amend,\n force-push, or open a replacement PR.\n - On aggregate CI success, expect the pr-review agent to review the\n current head. Do not report ready until you have found the\n pr-review comment for the latest commit, read it, and either\n addressed its follow-ups or determined there are none worth\n addressing. If the comment is missing or stale, leave a concise\n status and end the run so the review comment trigger wakes you.\n - On merge conflicts, fetch the latest main, understand the\n conflicting merged changes, and repair the branch with a minimal\n normal commit. Do not amend, force-push, or open a replacement PR.\n - Never merge. Keep owning the open PR through failures, comments,\n review findings, and conflicts until a human or the chief explicitly\n merges or closes it.\ninitialPrompt: |\n {{message.author.userName}} dispatched you on Slack.\n\n Trigger context:\n - Channel: {{chat.channelId}}\n - Thread: {{chat.threadId}}\n - Message text: {{message.text}}\n\n Acknowledge the brief, confirm the scope, create the branch, and report\n `started` to the chief. If the brief needs design exploration beyond\n mechanical work, send a blocked report suggesting the senior-engineer run\n instead.\nmounts:\n - kind: git\n repository: "{{ $repoFullName }}"\n mountPath: /workspace/repo\n ref: main\n depth: 1\n auth:\n kind: githubApp\n capabilities:\n contents: write\n pullRequests: write\n issues: read\n checks: read\n actions: read\n workflows: write\nworkingDirectory: /workspace/repo\ntools:\n auto:\n kind: local\n implementation: auto\n chat:\n kind: local\n implementation: chat\n auth:\n kind: connection\n provider: slack\n connection: slack\n optional: true\ntriggers:\n - name: mention\n event: chat.message.mentioned\n connection: slack\n optional: true\n where:\n $.chat.provider: slack\n $.auto.authored: false\n message: |\n {{message.author.userName}} mentioned you on Slack:\n\n {{message.text}}\n\n Channel: {{chat.channelId}}\n Thread: {{chat.threadId}}\n\n Treat this as a direct task brief or steering. Acknowledge the\n brief, confirm scope, and report `started` to the chief. If it is\n steering for an in-flight task, fold it into the current work and\n confirm receipt.\n routing:\n kind: deliver\n onUnmatched: spawn\n - name: thread-reply\n event: chat.message.subscribed\n connection: slack\n optional: true\n where:\n $.chat.provider: slack\n $.auto.authored: false\n message: |\n {{message.author.userName}} replied in the dedicated discussion\n thread for your task:\n\n {{message.text}}\n\n Channel: {{chat.channelId}}\n Thread: {{chat.threadId}}\n\n Treat this as direct steering from a human. Discuss in the thread,\n fold decisions into your in-flight work, and include the outcome in\n your next report to the chief.\n routing:\n kind: deliver\n routeBy:\n kind: attributedSessions\n onUnmatched: drop\n - name: ci-failed\n event: github.check_run.completed\n connection: "{{ $githubConnection }}"\n where:\n $.github.repository.fullName: "{{ $repoFullName }}"\n $.github.checkRun.conclusion: failure\n $.github.checkRun.name:\n notIn:\n - All checks\n $.github.checkRun.headIsCurrent:\n notIn:\n - false\n message: |\n Check {{github.checkRun.name}} failed on {{ $repoFullName }} PR #{{github.pullRequest.number}}.\n\n Diagnose the failing check with GitHub Actions logs and local targeted\n commands. Fix it on the existing PR branch with a normal follow-up\n commit; do not amend, force-push, or open a replacement PR. If it\n cannot be safely fixed in scope, send a blocked report to the chief\n with the investigation performed and the specific help needed.\n\n Check run URL: {{github.checkRun.htmlUrl}}\n routing:\n kind: bind\n target: github.pull_request\n onUnmatched: drop\n - name: ci-green\n event: github.check_run.completed\n connection: "{{ $githubConnection }}"\n where:\n $.github.repository.fullName: "{{ $repoFullName }}"\n $.github.checkRun.conclusion: success\n $.github.checkRun.name: All checks\n $.github.checkRun.headIsCurrent:\n notIn:\n - false\n message: |\n Aggregate CI passed on {{ $repoFullName }} PR #{{github.pullRequest.number}}.\n\n Inspect the PR status, reviews, and comments. Expect the pr-review\n agent to review this head. Do not send a ready report until you have\n found the pr-review comment for the latest commit, read it, and\n either addressed its follow-ups or determined there are none worth\n addressing. If the comment is missing or stale, leave a concise\n status and end the run so the review comment trigger wakes you.\n routing:\n kind: bind\n target: github.pull_request\n onUnmatched: drop\n - name: pr-conversation\n events:\n - github.issue_comment.created\n - github.issue_comment.edited\n - github.pull_request_review.submitted\n - github.pull_request_review.edited\n - github.pull_request_review_comment.created\n - github.pull_request_review_comment.edited\n connection: "{{ $githubConnection }}"\n where:\n $.github.repository.fullName: "{{ $repoFullName }}"\n $.github.auto.externalBot: false\n message: |\n A GitHub PR conversation update arrived for {{ $repoFullName }} PR #{{github.pullRequest.number}}.\n\n Source URLs, when present:\n - issue comment: {{github.issueComment.htmlUrl}}\n - review: {{github.review.htmlUrl}}\n - review comment: {{github.reviewComment.htmlUrl}}\n\n Read the update and decide whether it requires action. Address clear\n blockers and quick unambiguous follow-ups on the existing PR branch\n while context is fresh. If the update changes scope or needs a human\n decision, send a blocked report to the chief instead of guessing.\n routing:\n kind: bind\n target: github.pull_request\n onUnmatched: drop\n - name: merge-conflict\n event: github.pull_request.merge_conflict\n connection: "{{ $githubConnection }}"\n where:\n $.github.repository.fullName: "{{ $repoFullName }}"\n message: |\n A merge conflict was detected on {{ $repoFullName }} PR #{{github.pullRequest.number}}.\n\n Fetch the latest main, identify which merged change introduced the\n conflict, and understand its intent before resolving. Repair the\n existing PR branch with a minimal normal commit that preserves both\n the merged functionality and this PR\'s intent. Do not amend,\n force-push, or open a replacement PR. Run targeted verification over\n the resolved files, then report the resolution to the chief.\n routing:\n kind: bind\n target: github.pull_request\n onUnmatched: drop\n'
28114
+ },
28115
+ {
28116
+ path: "agents/senior-engineer.yaml",
28117
+ content: 'name: senior-engineer\nharness: codex\nmodel:\n provider: openai\n id: gpt-5.6-sol\nreasoningEffort: medium\nidentity:\n displayName: Senior Engineer\n username: senior-engineer\n avatar:\n asset: .auto/assets/senior-engineer.png\n sha256: 1ddf5cb2bbd57b65c4ece5490bb393c82c29ec2bad9ea1fac480f6ce8e1c35d0\n description: Owns one dispatched task end to end \u2014 implements it, opens the PR, keeps CI green, reports milestones.\nimports:\n - ../fragments/environments/agent-runtime.yaml\nsystemPrompt: |\n You are a senior engineer on the fleet for {{ $repoFullName }}. The\n Chief of Staff Engineers dispatched you with a brief: one task, its\n acceptance criteria, constraints, the originating Slack channel and\n thread, and the chief\'s run id. You own the task end to end: implement\n it, open the PR, keep CI green, address review findings, and report to\n the chief until the PR is ready for human review.\n\n Work from the mounted checkout on main. Read the repository\'s\n contribution docs before substantive edits. Do not revert unrelated\n changes, and adapt to nearby code instead of undoing it. Keep the\n implementation scoped to the brief; do not expand scope because an\n adjacent improvement is possible.\n\n Implementation:\n - Create a focused branch from main named `auto/<task-slug>`.\n - Prefer red-green TDD for behavior changes: add a focused failing test,\n implement the smallest fix, make it pass. Run targeted tests before\n and after the change. Before opening the PR, run the full relevant\n test, typecheck, and lint commands unless blocked by missing setup or\n an unrelated failure; document any skipped command and why.\n - Commit with concise messages referencing the task slug. Push the\n branch and open a PR against main. The PR body must reference the task\n slug and include a Review Map section pointing reviewers to the\n riskiest files first.\n - Immediately after opening the PR, call auto.bind with type\n `github.pull_request`, repository `{{ $repoFullName }}`, and the PR number so\n check failures, conversation updates, and merge conflicts for that PR\n route back to this run.\n\n Reporting protocol:\n - Report milestones to the chief\'s run id with auto.sessions.message. Every\n report starts with the task slug and a status word, then one or two\n sentences of substance. The milestones are:\n - started: brief acknowledged, scope confirmed, branch created\n - pr-opened: include the PR number and URL\n - fixing-ci: include the failing check and your diagnosis\n - blocked: include the specific question or blocker and what you have\n already tried; ask one crisp question rather than describing\n confusion\n - ready: aggregate CI green, latest review feedback read and\n addressed, include the PR URL, final commit SHA, verification run,\n and residual risks\n - Report blocked early. A precise question to the chief after fifteen\n minutes of being stuck beats an hour of speculative work.\n - The chief may send you steering, answers, or scope changes with\n auto.sessions.message at any time. Fold them into the current work instead\n of starting a separate branch or replacement PR, and confirm receipt\n in your next report.\n\n Communication boundaries:\n - The chief owns all human communication. Do not post to Slack channels\n or tag humans on your own initiative.\n - The exception is a dedicated discussion thread: when the chief tells\n you a Slack thread exists for direct discussion of your task, call\n auto.chat.subscribe for that thread, then discuss there.\n - When posting GitHub PR comments, issue comments, PR reviews, or\n inline review comments, append this hidden attribution marker to the\n body with the environment variables expanded:\n\n <!-- auto:v=1 session_id=$AUTO_SESSION_ID agent=$AUTO_AGENT_NAME -->\n\n CI, review, and merge behavior:\n - Fix-ack comment protocol \u2014 PR-watching humans must always see "seen,\n working on it" \u2192 "fixed: <summary>" in one evolving comment. This fires\n on fix-worthy findings on YOUR OWN open PR: a failing CI check you\n accept, or a pr-review/human review finding you are going to address.\n Before starting the fix, call `upsert_issue_comment` to post a short,\n factual comment naming the failing check (or referencing the review\n comment) and stating you are working on a fix. After pushing the fix,\n call `upsert_issue_comment` AGAIN to EDIT THAT SAME COMMENT \u2014 never\n post a new one \u2014 with the root cause, the change, and the fix commit\n SHA. Keep both versions short. Do not spam a comment for a\n stale-check false-positive (a failure for an old, superseded head):\n either skip the comment or, if you already posted one, edit it to\n note the check was stale for a prior head.\n - On failing CI, diagnose with GitHub Actions logs and local targeted\n commands, then push a normal follow-up commit. Do not amend,\n force-push, or open a replacement PR.\n - On aggregate CI success, expect the pr-review agent to review the\n current head. Do not report ready until you have found the\n pr-review comment for the latest commit, read it, and either\n addressed its follow-ups or determined there are none worth\n addressing. If the comment is missing or stale, leave a concise\n status and end the run so the review comment trigger wakes you.\n - On merge conflicts, fetch the latest main, understand the\n conflicting merged changes, and repair the branch with a minimal\n normal commit. Do not amend, force-push, or open a replacement PR.\n - Never merge. Keep owning the open PR through failures, comments,\n review findings, and conflicts until a human or the chief explicitly\n merges or closes it.\n\n Difficulty routing: the chief dispatches you for tasks that need\n end-to-end PR ownership \u2014 design exploration, multi-file implementation,\n review shepherding \u2014 but not for mechanical or batch work. If the brief\n is clearly mechanical (renames, bulk find-and-replace, straightforward\n test backfills), report back suggesting the junior-engineer run instead\n rather than spending a senior slot on it.\ninitialPrompt: |\n {{message.author.userName}} dispatched you on Slack.\n\n Trigger context:\n - Channel: {{chat.channelId}}\n - Thread: {{chat.threadId}}\n - Message text: {{message.text}}\n\n Acknowledge the brief, confirm the scope, create the branch, and report\n `started` to the chief. If the brief is ambiguous, send a blocked report\n with one crisp question before starting implementation.\nmounts:\n - kind: git\n repository: "{{ $repoFullName }}"\n mountPath: /workspace/repo\n ref: main\n depth: 1\n auth:\n kind: githubApp\n capabilities:\n contents: write\n pullRequests: write\n issues: read\n checks: read\n actions: read\n workflows: write\nworkingDirectory: /workspace/repo\ntools:\n auto:\n kind: local\n implementation: auto\n chat:\n kind: local\n implementation: chat\n auth:\n kind: connection\n provider: slack\n connection: slack\n optional: true\ntriggers:\n - name: mention\n event: chat.message.mentioned\n connection: slack\n optional: true\n where:\n $.chat.provider: slack\n $.auto.authored: false\n message: |\n {{message.author.userName}} mentioned you on Slack:\n\n {{message.text}}\n\n Channel: {{chat.channelId}}\n Thread: {{chat.threadId}}\n\n Treat this as a direct task brief or steering. Acknowledge the\n brief, confirm scope, and report `started` to the chief. If it is\n steering for an in-flight task, fold it into the current work and\n confirm receipt.\n routing:\n kind: deliver\n onUnmatched: spawn\n - name: thread-reply\n event: chat.message.subscribed\n connection: slack\n optional: true\n where:\n $.chat.provider: slack\n $.auto.authored: false\n message: |\n {{message.author.userName}} replied in the dedicated discussion\n thread for your task:\n\n {{message.text}}\n\n Channel: {{chat.channelId}}\n Thread: {{chat.threadId}}\n\n Treat this as direct steering from a human. Discuss in the thread,\n fold decisions into your in-flight work, and include the outcome in\n your next report to the chief.\n routing:\n kind: deliver\n routeBy:\n kind: attributedSessions\n onUnmatched: drop\n - name: ci-failed\n event: github.check_run.completed\n connection: "{{ $githubConnection }}"\n where:\n $.github.repository.fullName: "{{ $repoFullName }}"\n $.github.checkRun.conclusion: failure\n $.github.checkRun.name:\n notIn:\n - All checks\n $.github.checkRun.headIsCurrent:\n notIn:\n - false\n message: |\n Check {{github.checkRun.name}} failed on {{ $repoFullName }} PR #{{github.pullRequest.number}}.\n\n Diagnose the failing check with GitHub Actions logs and local targeted\n commands. Fix it on the existing PR branch with a normal follow-up\n commit; do not amend, force-push, or open a replacement PR. If it\n cannot be safely fixed in scope, send a blocked report to the chief\n with the investigation performed and the specific help needed.\n\n Check run URL: {{github.checkRun.htmlUrl}}\n routing:\n kind: bind\n target: github.pull_request\n onUnmatched: drop\n - name: ci-green\n event: github.check_run.completed\n connection: "{{ $githubConnection }}"\n where:\n $.github.repository.fullName: "{{ $repoFullName }}"\n $.github.checkRun.conclusion: success\n $.github.checkRun.name: All checks\n $.github.checkRun.headIsCurrent:\n notIn:\n - false\n message: |\n Aggregate CI passed on {{ $repoFullName }} PR #{{github.pullRequest.number}}.\n\n Inspect the PR status, reviews, and comments. Expect the pr-review\n agent to review this head. Do not send a ready report until you have\n found the pr-review comment for the latest commit, read it, and\n either addressed its follow-ups or determined there are none worth\n addressing. If the comment is missing or stale, leave a concise\n status and end the run so the review comment trigger wakes you.\n routing:\n kind: bind\n target: github.pull_request\n onUnmatched: drop\n - name: pr-conversation\n events:\n - github.issue_comment.created\n - github.issue_comment.edited\n - github.pull_request_review.submitted\n - github.pull_request_review.edited\n - github.pull_request_review_comment.created\n - github.pull_request_review_comment.edited\n connection: "{{ $githubConnection }}"\n where:\n $.github.repository.fullName: "{{ $repoFullName }}"\n $.github.auto.externalBot: false\n message: |\n A GitHub PR conversation update arrived for {{ $repoFullName }} PR #{{github.pullRequest.number}}.\n\n Source URLs, when present:\n - issue comment: {{github.issueComment.htmlUrl}}\n - review: {{github.review.htmlUrl}}\n - review comment: {{github.reviewComment.htmlUrl}}\n\n Read the update and decide whether it requires action. Address clear\n blockers and quick unambiguous follow-ups on the existing PR branch\n while context is fresh. If the update changes scope or needs a human\n decision, send a blocked report to the chief instead of guessing.\n routing:\n kind: bind\n target: github.pull_request\n onUnmatched: drop\n - name: merge-conflict\n event: github.pull_request.merge_conflict\n connection: "{{ $githubConnection }}"\n where:\n $.github.repository.fullName: "{{ $repoFullName }}"\n message: |\n A merge conflict was detected on {{ $repoFullName }} PR #{{github.pullRequest.number}}.\n\n Fetch the latest main, identify which merged change introduced the\n conflict, and understand its intent before resolving. Repair the\n existing PR branch with a minimal normal commit that preserves both\n the merged functionality and this PR\'s intent. Do not amend,\n force-push, or open a replacement PR. Run targeted verification over\n the resolved files, then report the resolution to the chief.\n routing:\n kind: bind\n target: github.pull_request\n onUnmatched: drop\n'
28118
+ },
28119
+ {
28120
+ path: "fragments/environments/agent-runtime.yaml",
28121
+ content: "harness: claude-code\nenvironment:\n name: agent-runtime\n image:\n kind: preset\n name: node24\n resources:\n memoryMB: 8192\n"
28122
+ }
28123
+ ]
27640
28124
  }
27641
28125
  ],
27642
28126
  "@auto/handoff": [
@@ -39250,7 +39734,7 @@ var init_catalog = __esm({
39250
39734
  ],
39251
39735
  displayName: "Senior Engineer",
39252
39736
  username: "senior-engineer",
39253
- avatarAsset: "architect.png",
39737
+ avatarAsset: "senior-engineer.png",
39254
39738
  category: "engineering",
39255
39739
  oneLiner: "Owns a complex task and its PR until you decide to merge or close it.",
39256
39740
  description: "The senior implementer (GPT-5.6 Sol, medium reasoning): dispatched with a scoped task, it explores the codebase, plans and implements with tests, binds the PR, and keeps handling CI, review feedback, comments, and conflicts while the PR remains open. It never merges the PR itself.",
@@ -39334,7 +39818,7 @@ var init_catalog = __esm({
39334
39818
  ],
39335
39819
  displayName: "Designer",
39336
39820
  username: "designer",
39337
- avatarAsset: "mason.png",
39821
+ avatarAsset: "designer.png",
39338
39822
  category: "engineering",
39339
39823
  oneLiner: "Live-iteration UI pairing \u2014 brings up the app, shares a link, iterates while you watch.",
39340
39824
  description: "The live-iteration UI agent (Opus-class, Claude Code harness): mention it with a UI request and it brings up the web app against the live backend, shares a tailnet-private link, and iterates on the interface while you watch in real time. Defers tests during iteration and graduates the work into a production PR when you ask.",
@@ -40228,7 +40712,7 @@ var init_catalog = __esm({
40228
40712
  ],
40229
40713
  requires: ["github"],
40230
40714
  optionalConnections: ["slack"],
40231
- variables: ["repoFullName", "githubConnection"],
40715
+ variables: ["repoFullName", "githubConnection", "commission"],
40232
40716
  trustNotes: [
40233
40717
  "Authors agent resources, but every hire arrives as a setup PR the user must merge.",
40234
40718
  "Can merge only after a user delegates the merge and the readiness bar passes."
@@ -40257,6 +40741,7 @@ var init_catalog = __esm({
40257
40741
  pitch: "You've got a big idea and you want it to happen quickly and efficiently. Your software factory boots up and gets to work, anticipating your next move and improving itself as it goes.",
40258
40742
  backdrop: "accelerator.mp4",
40259
40743
  frontOfHouse: "chief-of-staff",
40744
+ onboardingDocument: "docs/plans/2026-07-12-front-of-house-team-rollout-plan.md#5-onboarding-integration-who-hosts-what-when",
40260
40745
  members: [
40261
40746
  {
40262
40747
  id: "chief-of-staff",
@@ -40336,6 +40821,7 @@ var init_catalog = __esm({
40336
40821
  pitch: "Your agent swarm got ahead of itself. The machine works, but nobody knows how and every new feature digs the hole deeper. Send in the squad to recover a workable codebase and shake out the haunts.",
40337
40822
  backdrop: "slopbusters.mp4",
40338
40823
  frontOfHouse: "renovator",
40824
+ onboardingDocument: "docs/plans/drafts/front-of-house/onboarding/slopbusters-onboarding.md",
40339
40825
  members: [
40340
40826
  {
40341
40827
  id: "renovator",
@@ -40392,6 +40878,7 @@ var init_catalog = __esm({
40392
40878
  pitch: "Every emergent threat gets an owner, a status, and a follow-up. The room proves itself on a synthetic drill before anything real is burning, then keeps watch around the clock.",
40393
40879
  backdrop: "war-room.mp4",
40394
40880
  frontOfHouse: "admiral",
40881
+ onboardingDocument: "docs/plans/drafts/front-of-house/onboarding/war-room-onboarding.md",
40395
40882
  members: [
40396
40883
  {
40397
40884
  id: "admiral",
@@ -40448,6 +40935,7 @@ var init_catalog = __esm({
40448
40935
  pitch: "Describe the automations you want in plain language. The Patron turns that commission into the smallest useful team and drives it to your definition of a magic moment.",
40449
40936
  backdrop: "blank-canvas.mp4",
40450
40937
  frontOfHouse: "patron",
40938
+ onboardingDocument: "docs/plans/drafts/front-of-house/onboarding/blank-canvas-onboarding.md",
40451
40939
  members: [
40452
40940
  {
40453
40941
  id: "patron",
@@ -43442,7 +43930,7 @@ var init_package = __esm({
43442
43930
  "package.json"() {
43443
43931
  package_default = {
43444
43932
  name: "@autohq/cli",
43445
- version: "0.1.428",
43933
+ version: "0.1.430",
43446
43934
  license: "SEE LICENSE IN README.md",
43447
43935
  publishConfig: {
43448
43936
  access: "public"