Skip to content

Let unattended lanes pick up wayfind map items that need no human #15675

Closed as not planned

Description

@kyle-sexton

Decision (owner, 2026-11-15, all interview questions as recommended)

Owner, 2026-11-12: "For those research tasks and explore tasks, or any of those things that don't require a human in the loop, I think those could be picked up automatically." And: "anything that gets filed that requires a human in the loop ... needs to not be picked up. It can be triaged and reformatted ... but as far as it being worked on, it should be left out."

"Human-gated label" means the tracker binding's role label, needs-human in this repository. Every bullet says what a lane is newly allowed to do.

  • Which items. The issue lane (work-resolve-issue) may newly work any wayfind: map item, whatever its type, that carries no human-gated label and has no open blocker. A run that reaches a step only a person can take (a /wizard:generate task, driving or judging a prototype, an intent question, a command the lane cannot run) adds the human-gated label to its own item, comments why, and stops.
  • Which lane. Admission (check-blockers.mjs) newly passes a wayfind: item other than wayfind: map, and the lane's model job newly invokes /planning:wayfind <item URL> for it in place of /work-items:work, with the planning and prototype plugins staged read-only beside the research plugins.
  • Admission. Wayfind's chart step newly sets Work status agent-ready, as the person charting, on each item it creates without the human-gated label. work-unblock newly sets agent-ready on a map item without the label once every blocker is closed by a close admission already trusts (a listed human's, or a merge) or by a same-map map resolution (below).
  • What the run writes. The model job leaves the resolution and any files as output. A no-model write script then newly posts the resolution comment on the item, adds one Decisions-so-far line (the item's title linked to its URL, built by the script) to the map body, closes the item as completed with no merge, and pushes the files to the item's own folder on the map's dossier branch, all after the credential scan a patch gets.
  • Check before the write. A read-only job with no web access and no write token reads the resolution and files first; text addressed to the lane, or a mismatch with the item's criteria, holds the item for the owner and nothing is written. This allows nothing new.
  • Lane-closed blockers. The write script newly closes a resolved map item with a new lanes App close kind, map-resolved, written only after the check job passed. Admission and work-unblock newly count that close as a done blocker, so a lane-resolved map item releases the items on its own map that wait on it, with no person. It counts only when the blocker and the waiting item are both items of the same map, never for a waiting item that carries the human-gated label or whose Work status is a hold, and for nothing else: split parents, verified-done parents and every issue outside the map keep the owner's 2026-10-29 rule (only already-done and verified-done App closes count). Only the write script can produce the close kind: it is not one of the stop codes report-outcome.mjs may write, and the script posts the model's text only below its own first line, so model text cannot pass for the close.
  • Other items. A run may newly write only to its own item, one pointer line in its map's body and its own dossier folder. It never creates, rewrites, closes or relabels another item, never changes another item's Work status or blocked-by edges, and never removes the human-gated label anywhere; what wayfind's work steps 6 and 7 would have done goes in its resolution comment as proposals.
  • Map closure. No lane closes a map. When the resolved item was the map's last open item, the script newly posts one comment on the map saying it is ready to close.
  • Claim. The lane's one-run-per-issue concurrency is the claim, and wayfind's frontier treats an item whose Work status is agent-ready as claimed. This allows nothing new. (GitHub refuses the lanes App as an assignee: 404, checked 2026-11-15.)
  • Setting. A planning setting wayfind_unattended_start, off (default) or agent-capable; this repository sets agent-capable in docs/conventions/planning.yaml. A consumer newly allows nothing until it opts in.
  • Dogfood. A small new map in this repository, charted attended, with one research item and one human-gated item.

Who builds it

The build edits .github/workflows/, a path the issue lane cannot push (.github/scripts/apply-patch/protected-paths.mjs), so it is built in a builder session on a host, not by the issue lane.

Done when

  • With the setting agent-capable, a Work status write of agent-ready by a listed human or the lanes App on an open wayfind: research item with no human-gated label and no open blocker starts one issue-lane run whose model job invokes /planning:wayfind on that item.
  • check-blockers.mjs stops before the model job for a map item carrying the human-gated label, a map item with an open blocker, the wayfind: map issue, a spec-container issue, and every wayfind: item when the setting is off; a test covers each.
  • work-unblock re-fires a map item without the human-gated label once every blocker is closed by a trusted close or a same-map map-resolved close, and still leaves out the map issue, a map item carrying the label and a map item whose Work status is needs-human; a test covers each.
  • The write script posts the resolution comment, adds one Decisions-so-far line built only from the item's title and URL, closes the item as completed with a map-resolved close comment and commits files only under the item's own dossier folder; a test asserts its full list of API calls.
  • The write script refuses a file path outside the item's folder (a .. segment, an absolute path, a link, another item's folder) and writes nothing for that run; a test covers each.
  • A resolution or file carrying a credential shape holds the item for the owner and nothing is written; a test covers it.
  • The check job runs with no web tool and no write token, asserted by a test over the workflow; a fixture resolution addressed to the lane holds the item with the human-gated label, and a clean fixture proceeds to the write.
  • A run that reaches a person-only step adds the human-gated label to its own item, comments why and closes nothing; a test covers the stop route for a map item.
  • Each stop route that sends an ordinary issue to intake (scan-refused-patch, issue-edited-trusted, pushback-means, split-required, blocked-by-issue) holds a map item for the owner instead; a test covers each.
  • No lane write removes the human-gated label, changes another item's labels, body, Work status or blocked-by edges, or creates an item; a test over the write script and work-unblock asserts it.
  • When the resolved item was its map's last open item, the script posts one ready-to-close comment on the map and does not close it; a test covers it.
  • With the setting agent-capable, wayfind's chart sets Work status agent-ready on each created item without the human-gated label and on no other, and with off on none; an eval case covers both.
  • Wayfind's frontier in an attended session leaves out an item whose Work status is agent-ready; an eval case covers it.
  • plugins/planning/schemas/planning.schema.json and plugins/planning/reference/config.md define wayfind_unattended_start (off default, agent-capable); wayfind's Settings section lists it and its unattended paragraph says which items a lane works under each value; docs/conventions/planning.yaml sets agent-capable and passes the schema.
  • The pull request body links a map in this repository with one research item and one human-gated item, the lane run that resolved the research item (comment, pointer, map-resolved close and dossier files), and shows no lane run on the human-gated item.
  • Only the map-resolution write script builds a map-resolved close comment: a test over .github/ finds that stop line built in that one module; map-resolved is not a key in stop-routes.json; report-outcome.mjs given a reason opening map-resolved writes no map-resolved close; the write script given a failed or missing check result writes nothing.
  • A resolution whose text starts with the lane's close marker and a map-resolved stop line is posted below the script's own first line, and closeStop reads that comment as no close; a test covers it.
  • Admission and work-unblock count a map-resolved blocker as done only between sub-issues of the same wayfind: map issue that both carry a wayfind: item-type label, while the blocker's current close is the lanes App's; a test covers each refusal: a waiting item on another map, a waiting issue that is not a map item, the map issue itself as the waiting issue, and a blocker reopened and then closed by someone else.
  • isTrustedClose returns false for a map-resolved close, so a split parent, a verified-done parent and a waiting issue outside the map count it for nothing; a test covers each.
  • A map-resolved blocker never releases a waiting item that carries the human-gated label or whose Work status is needs-human, and a blocker that carried the human-gated label at its close counts for nothing; a test covers each.
  • Over fixtures, a two-item chain on one map (a research item, then an agent-capable item blocked by it) runs end to end with no person: the first item's map-resolved close leads work-unblock's sweep to set agent-ready on the second; a test covers it.

Out of scope

  • Charting, map closure and the hand-off to a destination skill, unattended.
  • Creating, rewriting, relabelling or closing any item other than the one being worked.
  • Intake triage of map items, and spec containers.
  • Running code for prototype items in the lane: /prototype:pressure-test items always stop for a person there.
  • Assigning the lanes App to an issue.
  • Measuring the token cost of a map run.
  • Counting map-resolved as done anywhere but between items of the same map.

Activity

  1. added
    needs-triage
    needs-human
    on Nov 12, 2026
  2. github-actions commented on Nov 12, 2026

    @github-actions
    Contributor

    Size: Large
    Complexity: High
    Uncertainty: Knowable
    Flags: intent
    Blocked by: none

    I understand the request: unattended lanes should pick up wayfind map items that need no human (research or explore items). Items with needs-human or an open blocker would never be worked, only triaged. The issue itself says the lane, the claim and the result location are undecided, so these need an owner answer before the work can be scoped.

    1. Which lane picks up the item? RECOMMENDED: the existing work-loop issue lane, with admission extended to wayfind items. Basis: it already owns claims and gating, and the issue names work-items admission as an affected area.
    2. How does it claim the item? RECOMMENDED: reuse the loop-lane claim protocol unchanged. Basis: a second claim mechanism would add concurrency risk.
    3. Where does the result land? RECOMMENDED: as the acceptance criteria say, a resolution comment on the item plus files on the map's dossier branch. Basis: that matches what an attended run produces.

    To answer, post a comment that starts with this line:

    **Decision recorded.** <answer>
    

    Automated triage. A maintainer reviews it.

  3. added
    needs-owner-decision
    on Nov 12, 2026
  4. melodic-automation-lanes commented on Nov 12, 2026

    @melodic-automation-lanes
    Contributor

    The triage verdict left this issue at needs-owner-decision:

    • flagged: intent
    • held by needs-owner-decision
    • held by needs-human
    • no lanes App verdict comment shows whether an earlier verdict was flagged

    Reason: intent

  5. added
    host-run
    and removed
    needs-owner-decision
    needs-triage
    needs-human
    on Nov 15, 2026
  6. kyle-sexton commented on Nov 15, 2026

    @kyle-sexton
    MemberAuthor

    Deferred (owner, 2026-11-15: "go w/ recomednations" to the question "build now, or defer until a real map is waiting").

    Why: the Brief marks the problem unconfirmed, with frequency and trend unknown; no wayfind map is open; the build is Large (a new lane close kind, a write script, a check job, changes to admission and work-unblock, 21 Done-when lines).

    Pick it up again when a wayfind map in this repository has an agent-capable item (no human-gated label, no open blocker) waiting for an attended session.

    What exists for whoever resumes: the decided Brief in this issue's body, and a design draft of 27 threads, posted in the next comment. Two of its threads were put to the owner and not decided, because the deferral made them moot:

    • Two new write activities for the issue lane on existing effects (apply-map-files on mutate-branch, report-map-resolution on publish-artifact), files pushed first. Recommended.
    • Public work-items actions for Work status (track edit --status <name>, a status column on track list), so wayfind never calls the tracker script directly. Recommended.

    The design draft was not run through the design handoff gate, and no plan was written.

  7. kyle-sexton commented on Nov 15, 2026

    @kyle-sexton
    MemberAuthor

    Design threads: issue 15675 (wayfind map items in the issue lane)

    Scope: integration. Brief: .work/talk-map-15675/PLAN.md (owner-confirmed, Q1 to Q11). Code maps,
    read at main 6f7a2a73671: explore-admission.md, explore-lane-run.md, explore-wayfind.md
    beside this file; every path:line below is quoted there. Status: resolved (R), directional (D),
    open with the owner (O).

    Threads

    # Thread Status Decision Basis
    T1 Wayfind lane mode shape R A lane flag on wayfind plus a new context/lane-mode.md that maps work steps to staged files in and output files out; work steps 1 to 8 stay as written. Rejected: an I/O switch inside every work step (no precedent, Q6's fences become negations in four steps). plugins/work-items/skills/work/SKILL.md:17 and ci-mode.md:8, :125 (same pattern); explore-wayfind.md §8
    T2 Prompt shape R Wayfind accepts the runner's --issue <n> prompt through one router row; the runner is not changed to send a URL. The Brief's "/planning:wayfind <item URL>" is met in effect (the item is named), not in literal argument shape. .github/actions/collect-base-activity/action.yml:942-943
    T3 Skill per item R A second activity, resolve-map-item (skill: planning:wayfind), selected by a new check-admission output beside split-child and verify-close; planning and prototype staged with stage_plugin. Rejected: a per-issue skill switch inside collect-base-activity, which allows exactly one Skill($SKILL). action.yml:499, :739-743; .github/workflows/work-resolve-issue.yml:95-98; docs/conventions/pr-pipeline.yaml:363
    T4 Output contract R Lane mode writes map-outcome.json (exit: resolved, person-only, with reason; resolution text; proposals; file list) and dossier files as working-tree files under one fixed folder, carried as patch.diff, so the existing credential scans and apply checks run on them. No model-written field names a close kind. pr-run-activity-read.yml:3034-3238 (leak scan over payloads and patch); Brief Q4, Q11
    T5 Staged inputs R The runner stages the item, its map's body, the map's sub-issue list and the wayfind-labels reply, with the same trusted-text filtering the item gets. Lane mode never takes label names from defaults. plugins/planning/skills/wayfind/SKILL.md:19; pr-run-activity-read.yml:1429
    T6 Write jobs and grants O (Q31) Two new write activities on today's effects: apply-map-files (mutate-branch: fast-forward push to the map's dossier branch through a new dossier target and allow predicate in apply-patch.mjs) then report-map-resolution (publish-artifact: comment, pointer line, close). Files first, so a failed push writes nothing visible. Rejected: one job with a new combined effect (needs a broker-vendored list change). .github/actions/resolve-config/effect-grants.json:3-23, lane-grants.json:5, activity-rules.json:10-13, :58-61; apply-patch.mjs:597-615
    T7 Write script home R A new module under .github/scripts/work-resolve-issue/ is the only builder of the map-resolved close line; report-outcome.mjs gets no map branch. AC16's test searches .github/ for the literal map-resolved beside the close marker, since stopLine is shared. Brief Q11 fence 1; .github/scripts/lib/done-evidence.mjs:16, :166
    T8 Path fence R Reuse pathRefusal (rejects .., ., empty segments, anything outside a prefix) and apply-patch.mjs's symlink and gitlink refusals; never protected-paths.mjs segments(), which resolves .. instead of refusing it. hill-climb-edit.mjs:28-44; apply-patch.mjs:132-133
    T9 Check job R A job in work-resolve-issue.yml modeled on pr-rate-merge-risk.yml: dontAsk, web, Bash and Write tools denied, a JSON-schema verdict passed as an artifact, a workflow test pinning the tool list. It holds a read-only token (the Brief says "no write token"); both write activities require its pass artifact. pr-rate-merge-risk.yml:78-81; pr-merge-risk/workflow.test.mjs:49-57, :204-232
    T10 Same-map reader home R New .github/scripts/lib/map-resolved.mjs holding the stop name and the reader; imported by check-blockers.mjs, label-unblocked.mjs and the write script, never by check-trusted-trigger.mjs (keeps AC19 structural). Rejected: admit.mjs, intake's module, whose lane never admits map items. explore-admission.md §6
    T11 Same-map read R The parent route: read the waiting item's parent and the blocker's parent and compare; the parent answer carries the map's labels. No sub-issue paging. Cache keyed by blocker and map parent within one sweep. admit.mjs:1571 parentOf; label-unblocked.mjs:2938-2941
    T12 Sweep release path R Widen the sweep's source filter so a map-resolved close reaches the dependents read, where the same-map reader then judges each waiting item. Without it AC3 and AC21 cannot pass. label-unblocked.mjs:1646-1650 (drops an untrusted close before reading dependents)
    T13 maps.skip sites D The two split-parent sites keep skipping every map item; the other four admit a non-map wayfind: item without the human-gated label when the setting is agent-capable; with off all six behave as today. Exact per-site behavior is fixed in the plan with a test each. label-unblocked.mjs:1148, :1510, :1667, :2688, :2942, :2956
    T14 Map label vs item types R A helper that names the map label apart from item-type labels, both read from the tracker binding; other routingLabel callers keep treating every wayfind: item as routed. A lane-admitted map item counts against the lane's WIP cap, since it uses a lane run. check-blockers.mjs:126, :153-154; check-wip-cap.mjs:255
    T15 Human-gated stop in admission R check-blockers.mjs gains a human-gated check for map items that reads the label from the binding; the hard-coded needs-human in pr-pipeline.yaml:478 and LANE_HOLDS is left as is (out of scope). Brief constraint "never hard-coded"; report-outcome.mjs:921
    T16 Hold shape for a map item R A held map item gets both: Work status needs-human (the lane's existing hold, which work-unblock reads) and the human-gated label (which wayfind's frontier reads). report-outcome.mjs:702-709; wayfind/SKILL.md:262-265; label-unblocked.mjs:1248-1255
    T17 Intake stop routes R The override attaches at routeStop's given route, set by both callers; a map item skips the Size and Uncertainty dimension checks (map items are not triaged), and any route that still reaches intake holds for the owner. report-outcome.mjs:837, :1592, :2518; work-resolve-issue.yml:840
    T18 Setting reader in .github/ R Read wayfind_unattended_start from docs/conventions/planning.yaml at the base ref with a yq path, as readRouting reads the tracker binding; absent, unreadable or invalid reads as off. The in-slot re-check re-reads it, so a flip to off stops a waiting run. explore-admission.md §1 (readRouting, trackerBindingText)
    T19 Blocker held at its close R Read the blocker's label events against its close time; a Work status hold at close counts the same as the label. Any read that fails counts the blocker as not done. Brief Q11 fence 3; check-trusted-trigger.mjs:513-525 (fail-closed precedent)
    T20 Map body race R The report-map-resolution job runs in a per-map concurrency group (map number from check-admission), so two items of one map never patch the body at once; the dossier push already retries on a non-fast-forward. work-resolve-issue.yml:59, :882 (per-issue groups only)
    T21 Pointer line R The script builds <title linked to URL> (resolved <date>) with no summary; map-anatomy.md's line shape and invariant 1 accept that second shape. No model text enters a map body. Brief AC4 and the recheck's adversarial pass; map-anatomy.md:37, :112
    T22 First dossier write R The script does not add the Notes link (Q6 allows one pointer line); the resolution comment names the dossier branch and folder, and an attended hygiene step adds the Notes link. Brief Q6; wayfind/SKILL.md:124-125
    T23 Person-only types R In lane mode an interview item, a design item that routes to event storming, and a /prototype:pressure-test item are person-only stops. Brief Q1; interview/SKILL.md:59; wayfind/SKILL.md:291-292; pressure-test/SKILL.md:44-48
    T24 Work status through work-items O (Q32) Wayfind's chart and frontier need to set and read Work status; no /work-items:track action does either, and calling work-item-tracker.sh from wayfind breaks R2. Add public work-items surface (track edit --status <name>; a status column on track list) and have wayfind call it. plugins/work-items/skills/track/actions/edit.md:10, add.md:49; CONTRACT.md:230, :232
    T25 Chart ordering R Chart sets agent-ready only after the second-pass blocker edges are wired, as a new step, so the lane cannot admit an item whose blocker edge does not exist yet. wayfind/SKILL.md:239-240
    T26 Chart write identity D The chart write must be a listed human's (the session identity), never a bot wrapper; the plan adds a check that the tracker binding routes no wayfind write through a bot here. work-resolve-issue.yml:30-31; tracker-mechanics.md:12-13
    T27 Dossier ruleset R No ruleset applies to a dossier/* branch, so none stops the lanes App creating or fast-forwarding one; the branch fence is the dossier target's ref check and the workflow shape check. gh api repos/melodic-software/claude-code-plugins/rules/branches/dossier%2F15651-test returned [] on 2026-11-15 (six active rulesets listed, none matching)

    Variation verdicts

    External system Verdict Where it is contained
    GitHub REST (issues, sub-issues, refs) contain existing lib/github-rest.mjs and apply-patch.mjs ref writers; new code adds no direct client
    Lanes token broker contain request-lane-token action and resolve-config grant files
    Tracker binding (labels, prefix) contain work-item-tracker.sh wayfind-labels and the binding readers; no label literal in new code

    Principles

    • One writer per trust-bearing artifact: only the map-resolution module builds a map-resolved close; only the script builds text that enters a map body.
    • Fail closed: every reader that cannot complete a read counts the blocker as not done and the setting as off.
    • Model output is data: resolution text and files pass the credential scan and the check job before any write, and are never parsed into actions.
    • Things that change together live together: everything map-resolved reads from lib/map-resolved.mjs; lane-mode text lives in one skill file.

    Lifecycle and reversibility

    • Two-way doors: the setting (off restores today's behavior everywhere), lane mode, the new activities (remove the lane-grants.json rows), the reader module.
    • One-way doors: none. A map-resolved close already written stays readable, and with the setting off it counts for nothing. No ADR is called for; the close kind and its fences are recorded in docs/conventions/pr-pipeline/pr-run-activity.md beside the other close kinds.

    Test-seam posture

    node --test over each new module with faked API clients asserting the full call list (the report-outcome.test.mjs style); a workflow test for the check job's tool list and for both write activities requiring the check artifact; eval cases for wayfind's chart and frontier.

    Open with the owner

    • Q31 (T6): two new activities in lane-grants.json on existing effects.
    • Q32 (T24): new public work-items actions for Work status, in this build.
  8. added
    needs-human
    on Nov 15, 2026
  9. kyle-sexton commented on Nov 17, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. The owner chose to close this issue as not planned, keeping his 2026-11-15 deferral's reopen trigger.

    Question as put to the owner (Q37): lanes pick up wayfind map items.

    • A (recommended, chosen): close as not planned with the owner's deferral's reopen trigger; no such map issue is open.
    • B: keep open.

    Owner's answer, 2026-11-17, typed in an agent session, verbatim: "Go with recommendations."

    No wayfind: map issue is open today (gh issue list --label "wayfind: map" returns none). Nothing is built.

    Reopen when a wayfind map in this repository has an agent-capable item (no human-gated label, no open blocker) waiting for an attended session, as the deferral states. The decided Brief in the body and the design threads stay here for whoever resumes it.

    Posted by an agent session.

  10. removed
    host-run
    on Nov 17, 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

    needs-human

    Fields

    Work status

    needs-human

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions