Feedback loop (application issue → CLI/release)
The closed loop from a customer-reported problem to a verified fix, per docs/remaining-plan.md §C3. Every step leaves a record; nothing closes without regression evidence.
Steps
| # | step | where it lives | exit condition |
|---|---|---|---|
| 1 | Collect | support ticket (templates/support-ticket.example.json fields) or a base-side proposal under <project>/.modu/proposals/requirements | ticket has customer/serial/error code/pro+base versions |
| 2 | Triage | feedback record (template below), one per issue | classified base / pro / customer-config, with owner + priority |
| 3 | Review | the fix path: Pro fix lands here (commit Claim: the feedback id); base-side needs go through a base proposal/Claim: ledger entry | owner agrees the fix location and scope |
| 4 | Verify | npm test + MESA_BASE_DIR=… npm run acceptance:check (or the narrowed gate for the touched area) + known-limitations update if behavior is documented | gates green; known limitations refreshed |
| 5 | Release | new Pro artifact via acceptance:check → artifacts/delivery.json + bundle sha256; contracts pin bumped if contracts moved | ledger record appended with the new version |
| 6 | Close | ledger/ticket carry the fixed version + evidence hashes; the base proposal (if any) is marked resolved | customer confirms on the upgraded version |
Rules
- One feedback record per issue; ids are
FB-YYYYMMDD-<slug>so commits and ledger rows can reference them (Claim: FB-…in Pro commits). - Triage is a decision, not a bucket dump:
customer-configitems still get an owner who writes the resolution into the ticket (runbook link is enough only when the runbook already answers it). - A Pro fix must update or add at least one test that fails without the fix; a behavior change must
update
STATUS.md/docs in the same commit series. - Revocation/license issues follow runbook.md first — many “bugs” are expired licenses, stale tokens, or quota confusion; the runbook table is the triage shortcut.
- Never move customer data, license envelopes, or private keys into feedback records; reference hashes (serial, sha256) instead.
Template
templates/feedback-record.example.json — copy per issue, keep it next to the ticket reference.
源文件 · mesa-pro/docs/feedback-loop.md