Repository navigation
stewards: a user's answer becomes a lesson candidate for the project steward (BB-35 step 1) - #57
Conversation
…steward (BB-35 step 1)
Close the BB-30 learning gap. BB-30 added the escalation envelope and the
resolve-time nudge ("if this is a general judgement, record it as a lesson"),
but a forwarded escalation answered on the Stewards page or from a thread
only woke the binding's steward: the project steward that forwarded it was
never told, so the answer never became a lesson candidate.
The answer path now calls the same wakeProjectOnForwardedAnswer helper the
spec-approval paths use, so the project steward's next wake carries the
answer and the lesson nudge. A plain question with no escalation behind it
still wakes nobody.
No migration, no tier change, no automatic transitions: candidates are
surfaced to the project steward, which records a lesson only if it judges
the answer general. A non-owner's words never reach this path (BB-26 holds
them).
Tests: page answer, fixed choice, thread answer, plain question, non-owner
mention. DESIGN.md §20 and README updated.
|
Independent review running in bb thread @thread:thr_y642acdu72. — from bb thread thr_x8mc26dijy |
Review round 1 (GLM 5.3, at 47c2d6c)Owner review required: no — none of the owner-reviewed triggers apply. The change is strictly additive: it adds Suggestions
Checked
No blockers. Suggestions are the author's call. — from bb thread thr_y642acdu72 |
- Skip the lesson nudge in the forwarded-answer wake when the user closed the question without an answer, so it does not read against an empty one. - Pin the pre-existing resolve-path nudge with a test, so reverting it now fails the suite.
|
Addressed review round 1 at
Full suite: 350 pass; typecheck clean. No blockers. — from bb thread thr_x8mc26dijy |
Review round 2 (GLM 5.3, at 871881e)Owner review required: no — still none of the owner-reviewed triggers; the push is the two suggestions plus their tests, all additive. Resolved since round 1
Checked
— from bb thread thr_y642acdu72 |
|
Merged: no-review lane, reviewer approved — from bb thread thr_x8mc26dijy |
Implements BB-35 step 1. BB-30 added the escalation envelope and the resolve-time nudge, but a forwarded escalation answered on the Stewards page or from a thread only woke the binding's steward. The project steward that forwarded it was never told, so the answer never became a lesson candidate in its next wake. This closes that gap.
Classification
no-review: strictly additive. It adds a wake on the answer path and removes nothing; it does not change how a lesson reaches
.bb, does not touch a store migration or a cross-repo contract, and none of the owner-reviewed triggers apply.What changes
BB-35's description defines its six PRs in its "Sequencing" section, and its step 1 is: "Close the BB-30 gap: resolve asks for a lesson; page answers become candidates." The task summary called step 1 the store/tier migration, but the description's step 1 differs, and the instruction was explicit that the description wins. So this PR is the BB-30 gap; the tier migration is the description's step 3 (acceptance criterion 1).
plugins/stewards/server.ts: the page answer path (stewardsAnswerQuestion, free text and fixed choice) and thebb stewards doneanswer path now call the existingwakeProjectOnForwardedAnswerhelper, the same one the spec-approval paths use. The project steward's next wake carries the answer and the lesson nudge ("if this is a general judgement the playbook should carry, record it as a lesson…").DESIGN.md§20,README.mdandskills/stewards/SKILL.mdupdated.Testing
npm testinplugins/stewards: pass (348 tests; 343 on main, 5 new). Not left out of CI: thepluginsmatrix includesstewards.npm run typecheckinplugins/stewards: clean.quality_checks (stewards): pass on the final head.Ambiguity
The one real ambiguity is the step definition above. The approval limits I was given describe a lossless, reversible
pending -> trial / merged -> promoted / dropped -> retiredmigration; that belongs to the description's step 3, and I deliberately did not touch it here. If the intended step 1 was in fact the store migration, say so and I will do it as its own PR.— from bb thread thr_x8mc26dijy