Skip to content

Standing scheduled routines: which maintenance classes, hosted where? #242

Closed

Description

@kyle-sexton

Routines today are session-scoped /loop invocations; CI crons are maintenance-only and never kick off an agent. Decide the routine catalog (drift checks, hygiene sweeps, dependency work, babysit cycles…) and hosting (local /schedule vs cloud routines — research preview, exists). Evidence: gap-map.md 2→3; RESEARCH-product-surface.md routines verdict.


Reference: Boris Cherny, "Steps of AI Adoption" (Google Doc)

Activity

  1. added
    needs-human
    wayfind: design
    on Jul 17, 2026
  2. kyle-sexton commented on Jul 17, 2026

    @kyle-sexton
    MemberAuthor

    🔒 claim: session-61a34b03

  3. self-assigned this
    on Jul 17, 2026
  4. kyle-sexton commented on Jul 17, 2026

    @kyle-sexton
    MemberAuthor

    Resolved: routine contract + catalog + hosting binding, locked in three parts.

    Q1 — Routine contract: a routine is a scheduled trigger adapter behind the queue contract (#240) — never a private execution path. A schedule is one trigger shape among three (schedule / event / continuous — the trigger taxonomy the AIOps evidence surfaced). A routine fires, exercises judgment, and outputs either an advisory report or a work item filed into the governed queue, where the guardrail matrix (#243) governs execution, verification, and merge like any other autonomous work. No routine owns a merge path outside the matrix. Deterministic checks (version drift, link checks, stale grooming, SBOM refresh) are NOT routines — they stay plain cron at zero agent cost, filing work items through the #240 adapters on failure, as today.

    Q2 — Catalog: the contract adopts the research-derived taxonomy — 39 recurring-work classes in 5 groups (ops/production, issue lifecycle, security/compliance, code quality/knowledge, product/business-adjacent), each scored on three governing axes: judgment (deterministic / agent / agent-prepares-human-decides), output shape (report / work item / direct change), and access (repo / prod telemetry / product analytics / external / org systems / GUI actuation). The axes do the governance: judgment maps to the matrix risk class, output shape to merge policy, access to the isolation floor (#245) and connector prerequisites. Evidence: .work/ai-adoption-ladder/RESEARCH-routine-catalog.md (primary-sourced — SRE Workbook toil taxonomy, ITIL 4, bugbug, SCARF, flaky-quarantine loops, four-vendor convergence on the same recurring core; DORA falsified as a task-taxonomy source; security-section citation patch pending).

    • V1 standing subset (this fleet, 2→3): repo-scoped agent-judgment classes with a proven manually-invoked pattern — issue triage / duplicate / readiness sweeps, PR-queue tending, doc-freshness, dependency wave + advisory triage, CI health review, eng-metrics digest, tech-debt and dead-code sweeps.
    • Deferred with named triggers (recorded, not excluded): prod-access classes (alert triage, SLO review, deploy verification) — trigger: production telemetry connector exists; product-access (VoC theming, analytics anomaly, experiment readouts) — trigger: analytics/feedback system connected; org-access (on-call conflict resolution, access review) — trigger: org systems connected; external watch — trigger: named intel need; GUI/computer-use actuation — trigger: a GUI-only system plus the required isolation tier (unattended computer use = highest tier).

    Q3 — Hosting: deployment-owned binding; the contract fixes only invariants and decision inputs, never a default. Invariants: queue contract, per-class isolation floor, merge-policy caps (hosted surfaces stay human-gated per #244), cost surfaced before any paid binding. Decision inputs the deployment weighs: budget posture (solo through enterprise), org shape, substrate availability (developer machine = free but not always-on; CI-included runners = free-tier bounded; self-run infra = paid, controllable; vendor-hosted = subscription/token cost, preview-stage), per-class availability requirement, isolation floor. Profiles (solo-local, CI-hosted, self-run infra, vendor-hosted) are non-normative examples; a deployment mixes them per class. No machine, org-size, or budget assumption lives in the contract.

    Ubiquitous language (locked): loop = session-scoped repetition, dies with the session; schedule = the standing time trigger; routine = standing scheduled unit (schedule + saved task definition) firing an agent session; goal = session-scoped completion condition, keep-going-until-met — verified cross-vendor (the two leading agent CLIs, both official). Research confirms routine/playbook are near-synonymous vendor names for the same primitive; batch means bulk inference (a different concept, never conflated); dispatch is community jargon, not contract vocabulary. Vendor scheduling features are preview-stage and shifting — they bind through the invocation-adapter seam; the contract never hard-codes implementation details.

    Boris-alignment verified before locking: 'break work into loops and routines' instantiated as the catalog + contract; 'let Claude kick off Claude' stays inside the queue-contract audit trail; catalog-now/instantiate-on-trust honors the step-3 trap (no standing army of routines before the trust loop earns it); deterministic-stays-cron + free-defaults preserves the cost posture; no step-skipping.

    Deferred to design/architect: per-class routine definitions for the v1 subset, schedule cadences, report/work-item templates, adapter shapes per vendor surface, catalog-to-matrix row mapping.

  5. kyle-sexton commented on Jul 17, 2026

    @kyle-sexton
    MemberAuthor

    Source anchors (added for durability — the design threads re-anchor to this artifact):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

needs-humanwayfind: design

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions