Skip to content

design(pm-orchestration): context hydration & incremental activity #9207

Done

Description

@dezren39

Track B. Hydration and activity (charter §11; proposal §§8–9, §11): the Work-Item Hydrator collects every relevant queue column, prior checkpoints, GitHub issues/PRs, comments, edits, reviews, checks, related resources, timelines, commits, and diffs (SHA, author/committer times, messages, changed paths, hunks, old/new line ranges) and writes the durable bundle .fleet/work/<id>/context/ (manifest.json, summary.md, queue.json, issues.json, pull_requests.json, comments.json, reviews.json, checks.json, timeline.json, commits.json, dependencies.json, activity-cursors.json, diffs/pr-.patch). Agents get a short navigable summary + real file paths, not raw dumps; the bundle carries source versions/hashes, retrieval completeness, findings, blockers, test/review status, and next investigations. Incomplete hydration is NEVER silently marked complete. GitHub text is untrusted task data, not instructions. fleet work changes --since-start --external-only detects actionable activity since session start not originating from that session; per-source cursors with event identity, occurred/observed times, last successful sync, provenance; overlap + dedup; cursors advance only after durable processing. Session attribution uses Fleet operation/session IDs, not only GitHub usernames; unattributable events are uncertain, not silently excluded.

Part of the PM Stack & Fleet orchestration design mill — starter epic #9196 (urgency 450/High, direct Summit build-out). Sources: the intake exports merged under doc/ in the design directory for #9196 (handoff 01, charter v1.1 02, full proposal 03, recovered original 04, supplemental note 05), staged at ~/.local/share/fleet/intake/pm-orchestration-20261112/.

The Summit owns the build-out under this starter: statement-inventory slice for this domain (numbered, zero unmapped), state-of-the-art expansion, component design (versioned: V1 = what exists today), and granular implementation/validation/migration/documentation issues with stable requirement IDs, measurable acceptance, and native parent/blocker links — filed as native sub-issues of THIS starter. Questions are recorded on #9196 as QUESTION: comments with chosen defaults; never stall. Design only — no live queue/dispatch changes (see #9196 safety gates).

{"pm_meta": 1, "kind": "domain-starter", "design_mill": {"run": "2026-11-12", "starter": true, "mill": "pm-stack-fleet-orchestration"}, "parent_epic": 9196, "urgency": 450, "route": "opencode-route/summit"}

Activity

  1. added
    app/pm-stack
    kind/design
    on Nov 13, 2026
  2. developing-today commented on Nov 13, 2026

    @developing-today
    Contributor
  3. added
    app/fleet
    epic/pm-stack
    on Nov 13, 2026
  4. 27 remaining items

  5. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    Reopened by lane 1652-E: PR #16348 #16348 (HYD-07 slice, child #9509) merged 2026-11-27T23:42:40Z (merge commit e8550d3) and GitHub auto-closed this tracker despite the PR body stating 'Does not close #9207 (parent tracker; HYD-02/03/04/08/09 remain)' — GitHub ignores the negation. This tracker stays OPEN until its remaining children land. HYD-07 verification: fleet-command run 46080486272 https://github.com/dezren39/fleet/actions/runs/46080486272 SUCCESS on exact head dde2f1c, cargo test -p fleet-queue pmo_hyd_ = 6 passed / 0 failed incl. the HYD-07 oracle pmo_hyd_external_only_includes_uncertain_shared_actor. — 1652-E

  6. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    Contributor

    Slice landed for review: HYD-08 bounded reconcile planner (PR #16381).

    New pure decision model in pkgs/fleet/crates/fleet-queue/src/work/activity.rs for child #9510: SourceRefreshState, RefreshAction (UpToDate / Resume / FullSnapshot), SnapshotReason (NoCursor / QueryChanged / FollowUp), RefreshPlan (actions + explicit deferred list + budget), and plan_refresh. Bounded in caller priority order; over-budget sources deferred, never silently dropped; zero budget is a typed rejection. No I/O/storage/CLI.

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

    app/fleetapp/pm-stackeffort/lepic/pm-stackkind/designpriority/highstatus/triagedtask/triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions