GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — impl(orchestrator): delegation execution - first-pass proposals and auto-unless-unable with structured inability returns · Issue #1292 · developing-today/code

impl(orchestrator): delegation execution - first-pass proposals and auto-unless-unable with structured inability returns #1292

New issue
Copy link
New issue
Copy link
Closed
Closed
impl(orchestrator): delegation execution - first-pass proposals and auto-unless-unable with structured inability returns#1292
Copy link
Assignees
dezren39
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/lLarge: multi-day or open-ended; expect staged check-inskind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/humanFiled directly by a humanstatus:done

Description

@dezren39
dezren39
opened on Oct 27, 2026
Issue body actions

Finding

Drew's requirement (2026-10-26), verbatim intent: "I should be able to pass it off to the orchestrator for a first pass and then approve that, or just say, 'Yeah, no, the orchestrator can do all this unless it defines that it's not able to.'"

Today the orchestration pass has no delegation concept: a needsDrew item is Drew's until he resolves it in chat, or it expires. There is no way for the fleet to draft a first pass for approval, and no structured way for the orchestrator to hand something back with "I cannot do this, here is why, here is what I tried, here is what I need" — inability today is silent (the item just stays, or worse, gets reclassified away).

Design: ~/workspace/pm-stack-needs-drew-actions-design-2026-10-26.md §2 (addendum to the #1184 coherence design).

Proposal — pass-side delegation execution (orchestration-pass behavior + state)

Consumes delegate / approve-proposal / reject-proposal actions from the dashboard actions store (#1152 + the /attention UI slice) and the delegation field from the publisher-contract slice:

  • first-pass: on delegate{mode:"first-pass"}, the pass does a bounded, NON-APPLYING first pass (reads what the item touches; drafts an answer/plan/proposed change set) and republishes the SAME item (same id — never a second item) with delegation.status: "proposal-ready" + proposal{summary, detail?, proposedChanges?, at}. On approve-proposal it applies the changes as single writer and logs the approving action id in the run's actions[]; on reject-proposal{reason} it clears the proposal, returns the mode to drew, and records the reason so it does not re-propose the same draft.
  • auto: on delegate{mode:"auto"} the pass treats the item as its own queue work under its existing ladder/caps/measurement gate. Success → the item expires out with an actions[] record. The only return path is structured inability: delegation.status: "unable" + unable{reason, whatItTried[≥1], whatItNeeds, at} republished on the same item in NEEDS DREW. Silent returns and quiet reclassification to NEEDS ORCHESTRATOR are contract violations.
  • Hard exclusions: whyDrew access/policy items can never enter auto (Drew's browser / Drew's authority by definition); a delegate-auto action on one is rejected via /api/actions/result naming the class.
  • No silent rot: a delegated item stays published in NEEDS DREW with mode/status/age; an item in working must reach proposal-ready, completion, or unable within 2 runs — enforced by the publisher self-check (contract slice), executed here.
  • Dismissals recorded in orchestrator-state with the §1.5 resurface rule (new material fact, cited, or it stays out).

DECISION PROPOSED in the design (wants Drew's confirmation): auto is per-item explicit opt-in; the pass may SUGGEST auto via recommendedAction but never set it; a standing "default to auto" toggle is designed but off until Drew turns it on.

Acceptance

  • First real first-pass cycle evidences in the run log: item delegated from the dashboard → returns proposal-ready → approval applies it → item expires out with the action id in actions[].
  • First real auto cycle: item resolves and expires out, OR returns unable with a tried-list; a run leaving it working past the bound fails the self-check.
  • Rejection path: delegate-auto on an access/policy item produces a rejected action result naming the class; the item never enters auto.
  • No delegated item ever appears twice in a tier or disappears without an outcome.

Refs: #1184 (epic), #1152 (actions consumption), #1148 (no-silent-decay principle). Design: pm-stack-needs-drew-actions-design-2026-10-26.md §2.

Acceptance criteria

  • A needsDrew item can be delegated in two modes — first-pass-then-approve and auto-unless-unable — consuming the delegate contract from design+impl(orchestrator/aggregator): needsDrew item contract - whyDrew class, structured options[], survey questions[], delegation state #1290, and the item's delegation state is visible wherever the item renders.
  • First-pass mode: the orchestrator drafts a proposal and nothing applies until Drew approves it (proposal handling per impl(aggregator/orchestrator): proposal review state handling - proposal identity, supersede/expiry races, cross-surface counts #1293).
  • Auto-unless-unable mode: the orchestrator completes the item end-to-end, or returns a structured inability: what it cannot do, what it tried, and what it needs — inability is never silent (no quiet reclassification, no item just staying).
  • A delegated run is auditable after the fact: the pass records what it did or why it could not.

Activity

  1. dezren39
    added
    kind/featureNew feature or capability request
    on Oct 27, 2026
  2. developing-today commented on Oct 27, 2026

    @developing-today
    developing-todayBot
    on Oct 27, 2026 – with developing.today
    Contributor
    More actions

    CODE-415

  3. dezren39
    added
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    on Oct 27, 2026
  4. github-actions
    assigned
    dezren39
    on Oct 27, 2026
  5. dezren39 commented on Oct 27, 2026

    @dezren39
    dezren39
    on Oct 27, 2026
    MemberAuthor
    More actions

    DECISION — Drew, 2026-10-27 00:31 CDT: the standing auto toggle is ON.

    Drew selected (options widget, dashboard-status chat): "Standing auto toggle ON for decision/info/approval items (access & policy always stay mine)".

    What this means for implementation:

    • New needsDrew items with whyDrew = decision, missing-info, or approval default to delegation mode auto — the orchestrator proceeds end-to-end and returns the item ONLY with a structured inability declaration (reason / what it tried / what it needs).
    • whyDrew = access or policy NEVER enters auto under any setting — those always stay Drew's.
    • Per-item override beats the standing default: Drew can switch any item to first-pass or manual from its card; the toggle itself is an auditable dashboard preference action (supersede-to-change), not a config edit.
    • This resolves the open decision in the design addendum §2.3 (addendum updated in place) and supersedes the per-item-opt-in-only proposal. Effective when the contract (design+impl(orchestrator/aggregator): needsDrew item contract - whyDrew class, structured options[], survey questions[], delegation state #1290) and delegation execution (impl(orchestrator): delegation execution - first-pass proposals and auto-unless-unable with structured inability returns #1292) land — no behavior changes before then.
  6. dezren39
    added
    source/humanFiled directly by a human
    status/needs-triageNot yet triaged; needs a first look
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 27, 2026
  7. dezren39 commented on Oct 27, 2026

    @dezren39
    dezren39
    on Oct 27, 2026
    MemberAuthor
    More actions

    Intake review

    Fleet monitor intake pass (protocol §5), 2026-10-27.

    Still live: verified this run — issue is OPEN, no merged PR references or closes it (0 closing-PR references), and it was filed within the last day, so nothing has had time to supersede it.

    Related: Design: pm-stack-needs-drew-actions-design-2026-10-26.md §2. Consumes #1290 (contract); proposal state races owned by #1293; UI in #1291.

    Notes / risks: Drew's requirement verbatim in the body — this is the pass-side behavior slice. Effort/l: orchestration-pass behavior + state + the inability pathway is the largest slice of the set. Risk: an auto mode that acts beyond the item's scope — the structured inability return is the safety valve and must be the default on uncertainty.

    Suggested approach: Suggested approach: delegation state machine on the item contract first, first-pass mode end-to-end, then auto mode gated on the inability pathway working.

    Labels normalized this pass; acceptance criteria appended to the body (original text preserved verbatim above it).

  8. dezren39 commented on Oct 27, 2026

    @dezren39
    dezren39
    on Oct 27, 2026
    MemberAuthor
    More actions

    Naming + semantics update — Drew, 2026-10-27 01:05 CDT: "please continue and handle all updates, Needs User user/escalated and so on."

    Drew directed that the role-based naming be handled across the board, resolving the open naming note on this program:

    • Visible dashboard wording is "Needs user" (intake tier), never "Needs Drew". The honesty/freshness slice in flight is applying this across the aggregator's user-visible copy.
    • The flow mirrors the fleet's 2026-10-25 label semantics: user/review = intake (the orchestrator/Muse reviews and handles what it can first — "needs a human" means Muse), and only a genuinely-user item becomes user/escalated, surfaced to Drew with Muse's read attached.
    • For NEW contract work (this program's fields/verbs): do not introduce Drew-named identifiers. Use role-based user naming (e.g. a needsUser tier / whyUser-style field naming in the spirit of the user/ label family); exact identifier spelling is an implementation detail, the principle is not. Existing published contract fields (needsDrew in orchestration.json) are legacy until a versioned contract change renames them — that migration, if done, belongs to the contract issue and must be fail-soft on both shapes like the provenance fix (fix(aggregator/orchestrator): orchestration section rejected — provenance is an object, isOrchestrationSection requires a string #1110).
    • Drew's earlier caveat stands in the background (user/ is better than his name; not a claim the naming is perfect) — but it is the operative convention, and new work follows it rather than relitigating per change.
  9. dezren39 commented on Oct 27, 2026

    @dezren39
    dezren39
    on Oct 27, 2026
    MemberAuthor
    More actions

    Agent note — pickup (needs-user action layer build). Picked up as part of the #1290–#1293 slice on top of the landed triage write path (PR #1346/#1350, main f9c9ffdb, 228 tests). Spec: pm-stack-needs-drew-actions-design-2026-10-26.md incl. both decision updates (standing auto toggle ON for decision/missing-info/approval classes, access/policy never auto; role-based naming — new identifiers use whyUser, no new Drew-named fields; legacy needsDrew array name untouched). Sequencing: contract → UI → consumer (orchestration-pass cron step) → seam hardening. Self-merge per PR when CI green; deploy + bounded live proof (first-pass only, no approval, no live auto execution) at the end.

  10. dezren39 commented on Oct 27, 2026

    @dezren39
    dezren39
    on Oct 27, 2026
    MemberAuthor
    More actions

    Agent note — pickup (needs-user action layer build). Picked up as part of the #1290–#1293 slice on top of the landed triage write path (PR #1346/#1350, main f9c9ffdb, 228 tests). Spec: pm-stack-needs-drew-actions-design-2026-10-26.md incl. both decision updates (standing auto toggle ON for decision/missing-info/approval classes, access/policy never auto; role-based naming — new identifiers use whyUser, no new Drew-named fields; legacy needsDrew array name untouched). Sequencing: contract → UI → consumer (orchestration-pass cron step) → seam hardening. Self-merge per PR when CI green; deploy + bounded live proof (first-pass only, no approval, no live auto execution) at the end.

  11. dezren39 commented on Oct 27, 2026

    @dezren39
    dezren39
    on Oct 27, 2026
    MemberAuthor
    More actions

    Agent note — complete. Orchestrator delegation execution is live in the orchestration-pass body (DELEGATION EXECUTION step, added under the cron-edit discipline: pre-edit body captured two ways — projection extract sha256 b2ff2a4d… + cron.view — asserted exact-match edits only; post-edit stored body byte-verified against the mechanically built expectation, the sole delta being one blank line before PUBLISH + REPORT:; every unchanged old line verified present verbatim except the two deliberately replaced).

    Semantics now in the pass: why-class + item contract publishing; the standing preference (initial record = the 2026-10-27 decision, auto ON for decision/missing-info/approval; preference actions supersede it); first-pass drafting WITHOUT applying, published as a proposal with (item id, runId, updatedAt) identity; auto as the pass's own queue work under its ladder/caps/gate, returning ONLY via the structured inability {reason, whatItTried[≥1], whatItNeeds}; approve/reject with exact identity match (mismatch → rejected "proposal superseded/withdrawn"); the 2-run deadline + 48h proposal expiry enforced in the pass's pre-publish self-check (tied to #1148 — noted there); access/policy never auto, with the class named in the rejection.

    LIVE PROOF (bounded, as specified): item queue-discovery-design-pick — delegate first-pass action da-mvqfix7a-12aphs posted through the live dashboard path, consumed by a manually triggered pass run under the new body, applied by run orch-2026-10-27T09:05:40Z ("delegate first-pass applied: drafted queue-discovery analysis recommending producer-enqueue + reconciliation…"). The published proposal (recommendation + evidence detail, plus 3 options and 1 survey question the pass added) renders on /attention with Approve/Reject controls. It was NOT approved — it is pending for the user now. Auto execution was NOT run as a live test: the auto evidence is the pass's published defaulting in the same run (eligible classes auto/idle, every access item user) + the aggregator fallback defaulting observed on the prior section + the contract fixtures.

  12. dezren39
    closed this as completedon Oct 27, 2026
  13. developing-today
    added
    status:done
    on Oct 27, 2026
  14. dezren39
    removed
    status/needs-triageNot yet triaged; needs a first look
    on Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/lLarge: multi-day or open-ended; expect staged check-inskind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/humanFiled directly by a humanstatus:done

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.