Skip to content

docs(adr): add the resolve, group, split and step rows #4792

Closed
1 of 1 issue completed
Closed

Description

@dan-petty

Problem or Motivation

ADR 0021 section 2 lists the units of the roadmap Service. ADR 0023 adds CronWorkflow rows for the project brain. No record holds the three new rows of #4780 (resolve, group and split), their semaphore or their decision point. ADR 0020 counts 84 decision series with the brain points (ADR 0023).

Proposed Solution & Architectural Design

Amend three ADRs:

  • ADR 0021 unit table. Add three CronWorkflow rows in the ADR 0023 form:
    • resolve: schedule 15 */4 * * * UTC, 5 items a run, 6 questions an item, 60 tool calls and 400,000 tokens an item, 0.10 USD a run. Semaphore steward. Timeouts: tool 30 s < model 300 s < item 600 s < run 3,000 s < activeDeadlineSeconds 3,600 s < period 14,400 s.
    • group: schedule 45 3 * * * UTC, 0 model calls, 5 closes a run. Semaphore triage. Run 1,500 s < deadline 1,800 s.
    • split: schedule 30 */6 * * * UTC, 2 items a run, 5 parts an item, 10 parts a day, 300,000 tokens an item, 0.05 USD a run, with a weekly calibrate step. Semaphore steward. Timeouts: model 300 s < item 900 s < run 2,400 s < deadline 3,000 s.
    • The new semaphore steward: 1 in the ConfigMap roadmap-limits.
  • ADR 0022 row list. Add resolve, group and split (12 characters or fewer).
  • ADR 0020 catalogue. Add the point resolve.question_class, in shadow: 8 series, 92 in total.

For each row, state the comment marker (<!-- devops roadmap resolve -->, <!-- devops roadmap group -->, <!-- devops roadmap split -->), the record keys, the Valkey key form (TTL caches only, for example roadmap:v1:split-thresholds:<owner>/<name> with a TTL of 8 days) and the bounds. State these rules:

  • A row writes only its own record keys and its own marked comments.
  • A model verdict only flags. It never closes an item.
  • Valkey holds caches only. The GitHub job record stays the truth.
  • No row starts another row, and no coordinator exists.
  • Each row has the mode off, plan or on (roadmap.<row>.mode).

The owner merges this pull request. The merge approves the rows and the new limit (ADR 0021).

Target Subsystem

Documentation and ADRs (docs/adr/).

Existing Tool Considered

Argo Workflows CronWorkflows (installed) and the ADR 0023 row form. No code. Cost to build: about 50,000 tokens and 1.5 hours.

Acceptance Criteria

  • The three ADRs name the rows, the schedules, the semaphore, the markers, the record keys, the Valkey key forms and the bounds.
  • The ADR 0020 series count reads 92.
  • The documentation checks of uv run devops ci pass.

Dependencies

None.

Source: #4780

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    source/agent
    on Nov 11, 2026
  2. added
    type/docs
    status/new
    value/medium
    effort/low
    on Nov 11, 2026
  3. dan-petty commented on Nov 11, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/docs. The docs prefix of the title gives the type.
    • Scope: none. The title has the scope adr, and .github/labels.yml declares no scope/adr label. Add the label to the file to give the scope to this item.
    • Priority: P3-Low. Documentation with no dependencies and no blocking effect on other work.
    • Value: Medium. Completes the ADR record so the roadmap rows have a single source of truth.
    • Effort: Low. The body states about 50,000 tokens and 1.5 hours of work across three ADR files.
    • Related: docs(roadmap): record the project brain and its upkeep runs #4625, which asks for a different change. Both add CronWorkflow rows to the ADR 0021 unit table in the ADR 0023 form, but 4625 records the brain row while the candidate records the resolve, group, and split rows.
  4. added
    priority/p3-low
    on Nov 11, 2026
  5. dan-petty commented on Nov 12, 2026

    @dan-petty
    OwnerAuthor

    Scope update from the Service step jobs plan (#5014).

    The owner asked on 2026-11-12 for a separate job for each step that the Service jobs run the same way every time. This issue is the adr-step-rows item of that plan. The plan is extract-first: each repeated step becomes one module and one command (devops roadmap step <name>) that every caller uses, and then the steps that cost most move to their own Jobs.

    Proposed title: docs(adr): add the resolve, group, split and step rows

    Problem (plan evidence)

    ADR 0021:70 lists stage_ready as a step of the sweep, and ADR 0021 has no row that fixes a finished pull request. ADR 0022 and ServiceRow (src/devops_cli/github/repo_ref.py:54) have 7 members, and each new unit needs a member. No issue records the amendment that the step jobs need. ADR 0021:137 gives two reasons against Argo Events that upstream v1.9.11 does not support: GithubEventSource has githubApp credentials, and a JetStream EventBus allows 1 replica (upstream source check). #4792 already amends ADR 0021 and ADR 0022 for resolve, group and split.

    Added scope

    Add these parts to the #4792 change (one ADR pull request; the merge by a person is the approval):

    1. The row watch replaces stage_ready and pr_conflicts. It is a step of the Service status lane now and of the sweep later (ADR 0021:70).
    2. The unit rows fix-checks and fix-conflict. The Service row, and later the sweep, creates them from a due mark that watch sets, so ADR 0021:74 stays true: only the router and the sweep create units.
    3. push and open are steps inside the unit of their producer, not units.
    4. ServiceRow members WATCH, FIX_CHECKS and FIX_CONFLICT in ADR 0022 (12 characters or fewer, and no 'repair', because repair already names three things).
    5. The trigger transport stays due marks and the sweep. ADR 0021:139 and ADR 0023:89 do not change, and no Valkey stream is a trigger queue.
    6. Argo Events: check the upstream source in this pull request. Then correct the two reasons of ADR 0021:137, keep the decision (the router stays; a second receiver adds 4 pods; it does not stop lost deliveries) and add the revisit conditions: the router goes away, a second event producer comes, or the event table changes each month.
    7. CONTEXT.md: the terms 'step' and 'step job'.

    Cost: about 0.3M tokens and 0.5 agent-day.

    Added acceptance

    • The pre-push hook passes (markdown and link checks).
    • git grep -n stage_ready docs/adr/0021* names stage_ready only as the row that watch replaces.
    • Each new row in ADR 0021 names its selection, trigger, bounds, marker and idempotency key (the ADR 0021 unit rule).
    • The ADR cites an upstream file and line for each Argo Events fact.

    Merge first

    • None.

    Coordination

    #4780 stays the parent. One ADR pull request holds the resolve, group, split and step rows; the merge by a person is the approval.

  6. added
    owner/agent
    on Nov 12, 2026
  7. changed the title [-]docs(adr): add the resolve, group and split rows[/-] [+]docs(adr): add the resolve, group, split and step rows[/+] on Nov 12, 2026
  8. added
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 12, 2026
  9. removed
    status/in-review
    owner/agent
    on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p3-lowsource/agenttype/docsvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions