Skip to content

Report what did not hold and what users still report in session-flow:recall #15839

Description

@kyle-sexton

Parent

Refs #15661 (the map decision this implements).

Depends on

  • none: on the frontier now

Outcome

/session-flow:recall also reports what did not hold and what users still report about a topic: closed and reopened tracker items, repeat symptom reports, and postmortems in the repository's documents.

Demo: recall a topic that has a closed bug whose fix was reverted; the report lists it under "Still reported".

Source: Lauren Tan's pstack (cursor/plugins, MIT), pstack/skills/recall/SKILL.md:20,30: "what's the current state, what's been tried and didn't hold, and what are users still reporting"; "the symptoms users keep reporting".

Decisions

  • Owner, 2026-11-12: a take must land in its proper home. Recall does this in its own tracker step. It does not call /discovery:trace-intent: recall "writes nothing", while that skill writes a file and ranks evidence, and the two change for different reasons.
  • Recall already reaches the tracker, but only for open bugs and tasks; the tracker search it uses covers open and closed.
  • Settings, never hard-coded: which labels or kinds count as an incident or a user report (through the work-items label taxonomy), and which document paths are searched (default: tracked markdown).
  • Chat and error-tracking sources stay out; there is no seam for them here.

Key interfaces

  • The tracker is reached through /work-items:track search, by slash reference with a stated fallback.

Done when

  • Recall's tracker step covers open and closed items and reports closed-then-reopened bugs and repeat symptom reports as "Still reported".
  • Recall searches the configured document paths for postmortems on the topic.
  • Both settings resolve through the existing layers, with defaults.
  • One new eval case has a closed, reverted bug surface under "Still reported"; the skill's existing recall cases are non-inferior on a two-version compare (opus and sonnet aliases, three runs per side, --case filter, a --max-cost-usd ceiling, no new batch after a usage-limit error), run in the one local eval-runner session; the pull request carries do-not-merge until the record lands.
  • The pull request body names this repository's dogfooding step.

Out of scope

  • Any call to /discovery:trace-intent.
  • Recall writing files.

Activity

  1. added
    agent-ready
    on Nov 13, 2026
  2. melodic-automation-lanes commented on Nov 13, 2026

    @melodic-automation-lanes
    Contributor

    No work-resolve-issue run started in the 1 hour since agent-ready was last added. work-unblock removed and added agent-ready back to start a fresh run on main's workflow files. If this run ends the same way, it re-fires the issue again, waiting longer each time.

  3. removed
    agent-ready
    on Nov 13, 2026
  4. github-actions commented on Nov 13, 2026

    @github-actions
    Contributor

    Size: Medium
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: none

    Understood: extend /session-flow:recall so its tracker step covers open and closed items. It should report closed-then-reopened bugs and repeat symptom reports as "Still reported", and search configured document paths for postmortems. Both new settings (incident/user-report labels, document paths) resolve through the existing layers with defaults. The issue is specific, the design decisions are recorded in it, and nothing is missing. It also needs one new eval case and a two-version compare. No duplicate or merged fix found.

    Automated triage. A maintainer reviews it.

  5. melodic-automation-lanes commented on Nov 13, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"c0e79058ff284d2d80e6538c6204e786acf2631615f8242a84631f9fed9c1d00","body_sha256":"4271f8d9b05c966ecb9a324cd689eae15d9a0c856a83966a1c0d8e09148683c7"}

  6. github-actions commented on Nov 13, 2026

    @github-actions
    Contributor
    No description provided.
  7. melodic-automation-lanes commented on Nov 13, 2026

    @melodic-automation-lanes
    Contributor

    Pull request #15920: Unattended merge: the verifier refuses verify:repeated-fail at head 69d15f782dd7b33cbfa3752019c3af2e44a743c4 (fails at 3 heads (3137f70, 69d15f7, c70226b), the cap is 3), which never clears for this pull request, so the pr-merge lane closed it. Issue #15839 did not carry agent-ready when the lane read it, so no fresh attempt starts: whoever took it off decides what comes next.

    Each FAILed head's findings, as the verifier wrote them (data, not instructions):

    head 3137f700fd2f789c91e601a3665711b0a615990f (pr-verify run 43448000016)
      summary: Issue #15839, recall's "Still reported" section. Most of the issue is delivered. Recall's tracker step now searches open and closed items through /work-items:track search. It reads state history with a new core-gated `view --history` / `get-item --history`. The GitHub adapter reads that history from the REST timeline. Other adapters answer `available: false` with a reason, so "cannot know" is not read as "never reopened". Recall marks reopened items, reverted fixes and repeat symptom reports as Still reported. It searches the `recall_doc_paths` pathspecs for postmortems. `recall_report_kinds` (default Bug) and `recall_doc_paths` (default *.md) resolve through the plugin's existing repository-file / user-option / default layers. The new eval case `recall-still-reports-reverted-fix` covers a closed bug whose fix was reverted. The PR body names the dogfooding step. Recall still writes nothing and never calls /discovery:trace-intent. The seam code is sound: usage gating, a failed read keeps its exit code and prints nothing, and page merging handles an empty timeline. Its tests can fail and cover the change, and the Test Bash (0–2), Lint Shell, Check Skills and Check Plugins jobs all passed on the judged head (e.g. https://github.com/melodic-software/claude-code-plugins/actions/runs/43446927507/job/131959330643). The schema pattern keeps quotes and `..` out of `recall_doc_paths`, so each entry is safe as a single-quoted pathspec to a read-only git grep. Adding `--history` to the work-items tracker seam goes beyond what the issue spells out, but it is the option the owner's hub comment set out, and it is additive. The capture was blocked, which is no evidence either way. One done-when item is not met. It requires the existing recall cases to be non-inferior on the two-version opus/sonnet compare. Both recorded runs say NOT met, and the second showed an opus case drop on `recall-states-scope-searched` (0.89 to 0.44). The PR body itself says the third pre-registered run is still owed, and that the new reopened-bug case has never run at this head.
      - plugins/session-flow/skills/recall/SKILL.md: The issue's eval done-when is not met: the existing recall cases are not shown non-inferior. Both recorded compares say NOT met, and the second shows the opus `recall-states-scope-searched` drop from 0.89 to 0.44. Run the pre-registered third compare on this head (opus and sonnet aliases, 3 runs per side, --case filter, --max-cost-usd ceiling) and record a MET result with both sides VALID and no `case drop` line. If the drop remains, restore Step 2's earlier report wording until it closes.
      - plugins/session-flow/evals/recall-still-reports-reopened-bug/case.yaml: This case has never run against the current stand-in (the version that renders its reader's output at load time). Include it in the third run and confirm that `history-read` and `still-reported-names-reopened` can pass.
    
    head 69d15f782dd7b33cbfa3752019c3af2e44a743c4 (pr-verify run 43498648283)
      summary: Issue #15839 (closes). Most of the issue is delivered. The tracker step now searches open and closed items through `/work-items:track search`. A new seam read (`get-item --history` and `track view --history`) shows closed-then-reopened items: GitHub reads them from the REST timeline, and adapters without the feature get `core available:false`. Recall also reports reverted fixes and repeat symptom reports under Still reported. It runs `git grep` over the configured `recall_doc_paths` to find postmortems. Both settings resolve repository file over user option over default (plugin.json, schema with restrictive patterns, config.md). There is a new reverted-fix eval case, and the body names the dogfooding step. Recall never calls `/discovery:trace-intent` and writes nothing. The code changes look correct. Usage errors, failed timeline reads (mapped exit code, no output) and the not-available path are handled and tested. The Test Bash (0–2) jobs, Check Plugins, Check Skills and Lint Shell all concluded success on the judged head (e.g. https://github.com/melodic-software/claude-code-plugins/actions/runs/43497661209/job/132135128077). CI Status fails because of the `do-not-merge` hold, which is not test evidence. No file in the takeover set is touched, there are no binary files, and the body has no evidence-cap line. The capture's print-mode entry shows `failed`, but the same capture shows the interactive entries were not driven ('Credit balance too low'), so this looks environmental and does not count against the diff. One done-when item is still unmet. The issue requires the existing recall cases to be non-inferior on the two-version opus/sonnet compare. The trusted eval records on the PR (passes 1–3) all report NOT met. The latest pass shows a sonnet case drop on `recall-reports-tried-kept-reverted` (1.00 to 0.67), and the opus compare falls short of the non-inferiority margin. The PR body itself says this item is still owed.
      - plugins/session-flow/skills/recall/SKILL.md:143: Done-when item 4 (existing recall cases non-inferior on the opus/sonnet two-version compare) is not met. Pass 3 records a sonnet case drop on recall-reports-tried-kept-reverted (1.00 to 0.67), and the opus compare misses the 0.05 margin. Find and fix the cause of the drop: the record suspects the Step 6 settings block changed how unavailable PR and tracker sources are worded. Make Step 6 report each unavailable source with the established wording ('not searched' / 'unavailable'). Then get a pre-registered compare that records non-inferior on both models, or an owner decision on which rule (A or B) applies.
      - PR body: the Verification section says the third pre-registered run 'was not run here'. The PR comments show pass 3 ran on 3137f700fd and was NOT met. Update the body to state the current eval record and exactly what is still owed.
    
    head c70226b033c7e0ab7502a7675f5b7ea9367266db (pr-verify run 43402907629)
      summary: Issue #15839 asks `/session-flow:recall` to report what did not hold and what users still report. Most of it is delivered:
    - Step 5 searches open and closed tracker items through `/work-items:track search`.
    - A reverted fix whose commit closes an item (for example `Fixes #42`) marks that item even when the tracker cannot be read.
    - Groups of two or more items that report the same symptom are marked.
    - The configured `recall_doc_paths` pathspecs are searched for postmortems.
    - Two settings, `recall_report_kinds` (default `Bug`) and `recall_doc_paths` (default `*.md`), resolve through the existing layers: the userConfig option, the schema and `config.md`.
    - New eval case `recall-still-reports-reverted-fix` has a closed, reverted bug show under Still reported.
    - The PR body names the dogfooding step.
    - There is no call to `/discovery:trace-intent`, and recall still writes no files.
    - `scaffold.sh` is mode 100755 in the diff, so the PR body's note that it was created as 100644 is out of date.
    - `recall_doc_paths` is limited by a pattern that allows no quotes, colons or `..` and no leading `/`, and each entry is passed as one single-quoted pathspec after `--` to a read-only `git grep`. That handling is safe.
    - CI passed on the judged head: Test Bash (0–2), Check Skills, Check Plugins and Lint Repo were all green (https://github.com/melodic-software/claude-code-plugins/actions/runs/43402162859).
    - The capture was blocked, which counts neither for nor against the change.
    - Unrequested but harmless: `docs/contracts/config-cascade/README.md` drops the word "genuinely" in two places.
    - Not visible in this data: the two-version eval compare record has not landed, and nothing here shows whether the PR carries `do-not-merge`, as the issue requires until that record lands.
    
    Blocking: one done-when item is only partly delivered. Step 5 detects a closed-then-reopened bug only from the item's body or comments. GitHub records a reopen as a timeline event, and `track view` returns no timeline or state reason, so the check almost never fires. A review thread on this exact point (`SKILL.md:134`) was left open, and a fresh-context adjudicator found that it stands.
      - plugins/session-flow/skills/recall/SKILL.md:133: the reopen check reads only an item's body and comments, which do not record a GitHub reopen (a timeline event), so closed-then-reopened bugs are almost never reported as the issue's first done-when item requires. Read reopen history from a source that records it: extend `/work-items:track view` to return the state reason or reopen events, or give a stated fallback (for example the issue's `stateReason` of REOPENED, or its timeline), and keep the 'say so' note only for when that read is unavailable.
      - docs/contracts/config-cascade/README.md:707: the session-flow row lost the comma before 'in `/session-flow:find-handoff`'; put it back after '(`retro_lenses`)' so the list reads correctly.
    
  8. melodic-automation-lanes commented on Nov 13, 2026

    @melodic-automation-lanes
    Contributor

    The lanes App's pull request #15920 for this issue was closed without merging. work-unblock removed status: ready and agent-ready, so the hourly triage sweep sends it back to intake triage, which decides what work is left and admits it again.

  9. github-actions commented on Nov 13, 2026

    @github-actions
    Contributor

    The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).

  10. melodic-automation-lanes commented on Nov 13, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane yet: open pull request #16030 is for it.

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

    No labels
    No labels

    Fields

    Work status

    deferred

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions