Skip to content

corrections: decide whether to harvest a session's design corrections into DESIGN.md (adapt emilkowalski/skills learn-taste) #16532

Description

@kyle-sexton

Refs: #14737 (upstream drift, emilkowalski/skills)

What upstream added

skills/learn-taste/SKILL.md at 64eb3de is a user-invoked skill run at the end of a session. It sweeps the session for design corrections the person made, turns each one into a project rule with its reason, and writes only the rules the person approves. Its mechanism, in our words:

  • It counts more than typed corrections: a file the person edited after the agent wrote it, a run of small nudges ("smaller", "still too big") recorded as where they landed, a revert or a variant picked over another, and a confirmed choice a fresh agent would not repeat.
  • Each correction is kept only if a fresh agent building a different component would repeat the mistake, and is written at the class level (raised surfaces, not "the pricing card").
  • A reason the person did not give is marked inferred and confirmed before it is written.
  • A correction that code matching can catch becomes a lint rule, token restriction or test, plus a one-line rule.
  • Rules go to a project design-rules file, and the skill proposes one line in the agent instructions so the file is read before UI work.

What this repository already has

  • /corrections:codify counts a described mistake across commits and the session, picks the strongest enforcement rung, and proves the check (plugins/corrections/skills/codify/SKILL.md:51-82, :84-104). Its preferences action finds preferences typed in more than one session (plugins/corrections/skills/codify/actions/preferences.md:3).
  • /user-interface:design already reads a root DESIGN.md (or design-system.md, styleguide.md) as a project design signal, and the project's system decides the look (plugins/user-interface/scripts/detect.mjs:48, :173; plugins/user-interface/skills/design/SKILL.md:63-70).

The gap, and the decision

Nothing here sweeps a session for design corrections nobody named, such as a silent edit to an agent-written file, a run of nudges, or a variant pick, and writes them into the design-rules file /user-interface:design already reads. codify starts from a described mistake or from typed preferences.

Adopting it changes a skill's design, so it is the owner's call (upstream-drift contract, "Weekly drift issues"). Options:

  1. A taste action on /corrections:codify. It harvests the session's design corrections (the four signal kinds above) and runs each one through codify's existing rung choice and proof. A rule-only outcome is written to the project's DESIGN.md. Recommended: it reuses the enforcement ladder and the proof instead of adding a second correction-capture path.
  2. A /user-interface action that writes DESIGN.md entries only, with no check proof.
  3. Reject. Keep codify described-mistake-first, and leave design corrections to a person who runs /corrections:codify "<mistake>".

Basis for the recommendation: judgment. Option 1 keeps one correction-capture path ("reuse or replace"), and the reading side already exists at detect.mjs:48.

Recorded on docs/upstream/emilkowalski-skills.md, row skills/learn-taste/SKILL.md.

Activity

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

    @github-actions
    Contributor

    Size: Medium
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: none
    Blast radius: the corrections plugin's codify skill (new action file, SKILL.md, evals, changelog fragment) and docs/upstream/emilkowalski-skills.md; read by anyone running /corrections:codify.
    Reversible: yes; revert the pull request.
    Open questions: none
    The recorded decision settles the open design question: adopt the upstream learn-taste skill as a taste action on /corrections:codify.

    Decision recorded. The owner chose to adopt upstream learn-taste as a taste action on /corrections:codify.

    Question as put to the owner (Q49): harvest a session's design corrections.

    • A (recommended, chosen): a taste action on codify.
    • B: a user-interface action that only writes DESIGN.md.
    • C: reject.

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

    [quote truncated; the full decision is at the link]

    #16532 (comment)

    The host-session eval run and the do-not-merge hold come after the pull request opens, so they do not block triage.

    Automated triage. A maintainer reviews it.

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

    @melodic-automation-lanes
    Contributor

    The latest triage verdict holds nothing: the issue is at status: ready.

  5. kyle-sexton commented on Nov 17, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. The owner chose to adopt upstream learn-taste as a taste action on /corrections:codify.

    Question as put to the owner (Q49): harvest a session's design corrections.

    • A (recommended, chosen): a taste action on codify.
    • B: a user-interface action that only writes DESIGN.md.
    • C: reject.

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

    This is the body's option 1, for the reason it gives: one correction-capture path, reusing codify's enforcement ladder and proof, and /user-interface:design already reads a root DESIGN.md (plugins/user-interface/scripts/detect.mjs).

    Acceptance criteria

    • plugins/corrections/skills/codify/ has a taste action (an actions/taste.md linked from SKILL.md) that sweeps the session for design corrections of the four signal kinds the body lists: a file the person edited after the agent wrote it, a run of small nudges recorded as where they landed, a revert or a variant picked over another, and a confirmed choice a fresh agent would not repeat.
    • The action keeps a correction only if a fresh agent building a different component would repeat the mistake, and writes it at the class level.
    • The action marks a reason the person did not give as inferred and confirms it with the person before writing.
    • Each kept correction goes through codify's existing rung choice and proof; a rule-only outcome is written to the project's root DESIGN.md, and only the rules the person approves are written.
    • SKILL.md's description and action list name the taste action, and docs/upstream/emilkowalski-skills.md's skills/learn-taste/SKILL.md row records the adoption.
    • A new eval case for the taste action is added under plugins/corrections/evals/ (prompt, case file, graders, samples), and validate-cases.py plugins/corrections/evals reports no FAIL for it.
    • The PR adds a changelog fragment for the corrections plugin.

    After the pull request opens (host session, not the lane)

    • A host session runs the before-and-after eval of the new taste case and posts the eval record on the pull request.
    • The pull request is held with the do-not-merge label until that eval record is posted.
    • The lane applies do-not-merge when it opens the pull request.
    • The lane opens the pull request and stops there.

    Posted by an agent session.

  6. removed
    needs-owner-decision
    needs-human
    on Nov 17, 2026
  7. github-actions commented on Nov 17, 2026

    @github-actions
    Contributor

    A listed human released the issue's Work status hold, so it goes back to intake triage.

  8. removed
    needs-triage
    on Nov 17, 2026
  9. melodic-automation-lanes commented on Nov 17, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"b40229bc122ca9f3ca762b9b92c7dc45b0e7d51ba9cb730bdc492a5bf353009a","body_sha256":"f0cb434995f2f0f0afa1ac7e4d9ee42b6749f7da75061a8b1ab3a09c81f9843e"}

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

    @melodic-automation-lanes
    Contributor

    Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.

    Intended outcome: Add a taste action to /corrections:codify that sweeps a session for four kinds of design correction, runs each through codify's rung choice and proof, and writes approved rule-only outcomes to the root DESIGN.md.

    Acceptance criteria

    • plugins/corrections/skills/codify/actions/taste.md exists and SKILL.md's action table links it, beside the preferences row at SKILL.md:34.
    • taste.md names the four signal kinds: a file the person edited after the agent wrote it, a run of small nudges recorded as where they landed, a revert or a variant picked over another, and a confirmed choice a fresh agent would not repeat.
    • taste.md keeps a correction only if a fresh agent building a different component would repeat the mistake, and requires the rule to be written at the class level.
    • taste.md marks a reason the person did not give as inferred and requires confirming it with the person before it is written.
    • taste.md sends each kept correction through codify's existing rung choice and proof instead of a separate capture path, and writes a rule-only outcome to the root DESIGN.md only after the person approves it.
    • SKILL.md's description, argument-hint (line 3) and the unquoted-action-word list (around line 40) name taste.
    • docs/upstream/emilkowalski-skills.md's skills/learn-taste/SKILL.md row records the adoption as a taste action on codify.
    • A new case directory under plugins/corrections/evals/ named for the taste action has case.yaml, prompt.md, graders and samples, in the layout of the existing codify-* cases.
    • validate-cases.py plugins/corrections/evals reports no FAIL for the new case.
    • A changelog fragment for the corrections plugin is added in the repository's fragment format.

    External state: none

    Dependencies

    • The before-and-after host-session eval run of the new case happens after the PR opens, and the PR carries do-not-merge until its eval record is posted; this does not block the lane.
    • Related open work on codify may touch the same SKILL.md and ecosystem wording (#​16787, #​15703); rebase on whichever merges first.

    Related work

    Sources read

    • plugins/corrections/skills/codify/SKILL.md:34: the action table has a preferences row, and the new taste row goes beside it.
    • plugins/corrections/skills/codify/SKILL.md:3: argument-hint lists the actions.
    • plugins/corrections/skills/codify/SKILL.md:40: the unquoted action-word list needs taste added.
    • plugins/corrections/skills/codify/actions: the folder holds count-checks, findings, group, issues, note, preferences, reviews and rules, and has no taste.md.
    • plugins/corrections/evals: codify-* case directories hold case.yaml, prompt.md, scaffold.sh and samples/*.json.
    • docs/upstream/emilkowalski-skills.md: the file mentions learn-taste in the README row and in the skill row to update.

    Automated refinement by the lanes App. Admission counts only criteria a listed human wrote: to confirm these, post them as your own comment whose first line is **Decision recorded.**, which sends the issue back through intake.

  11. melodic-automation-lanes commented on Nov 17, 2026

    @melodic-automation-lanes
    Contributor

    This records a re-fire of an earlier stop, not a new one. The start gate stopped run 44130870882, the work-resolve-issue run that agent-ready started, before any model turn, because the GITHUB_TOKEN budget was under its start-gate share (limits.api github-token start-gate); that run ended at 2026-11-17T17:38:32Z. work-unblock has now removed and added agent-ready back to start a fresh run. A budget stop is the lanes' load, not a fault in this issue: it never counts toward limits.limit-stops-per-issue or the kill-switch wait.

  12. github-actions commented on Nov 17, 2026

    @github-actions
    Contributor
    No description provided.
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

    needs-triage

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions