v1 slice 7: brief_package, a short sourced brief at package start #10

Open
opened 2026-11-25 18:00:24 +00:00 by uranus · 0 comments
Member

Purpose (feature): a member starting a package gets the few lessons that matter, cited, without asking, so the knowledge is finally read.

After slice 6.

  • In: the package's issue text, repository and role. Search as in slice 6 and keep the top N (a setting).
  • With a model and the budget open: the model writes a short brief that cites each lesson by id. Code checks that every cited id is one it was given, and drops a brief that cites anything else.
  • Budget resting or no model: the brief is the ranked list without prose.
  • Synchronous: it always answers, within a time limit, falling back to the list.
  • A brief_given event logs the package and the lesson ids it carried.

Done when:

  • With a stand-in model, the brief cites only lesson ids that were in its input. A model that invents one falls back to the list.
  • With the budget resting, the answer is the ranked list, at once.
  • The logged event names the package and the ids carried.
  • brief_package is granted to the operator-configured Martha identity alone ({callers, {nodes, [MarthaId]}} from operator config, confidential required), and a realm member who is not Martha is refused, as is a caller from another realm (test with a second realm key).

Grant line added (2026-11-25), moved from #12. Mars ruling 2026-11-25: "(a). Do #12 now for record_lesson and lesson_status: the cross-realm refusal test with a second realm key on both, plus the startup grant log line, threat model first." Mars, same ruling: "add the Martha-only grant line ({callers, {nodes, [MarthaId]}} from operator config, plus its refusal test) to the Done-when of #10 (brief_package) and #11 (report_outcome)."

Refs #1

Purpose (feature): a member starting a package gets the few lessons that matter, cited, without asking, so the knowledge is finally read. After slice 6. - In: the package's issue text, repository and role. Search as in slice 6 and keep the top N (a setting). - With a model and the budget open: the model writes a short brief that cites each lesson by id. Code checks that every cited id is one it was given, and drops a brief that cites anything else. - Budget resting or no model: the brief is the ranked list without prose. - Synchronous: it always answers, within a time limit, falling back to the list. - A `brief_given` event logs the package and the lesson ids it carried. Done when: - [ ] With a stand-in model, the brief cites only lesson ids that were in its input. A model that invents one falls back to the list. - [ ] With the budget resting, the answer is the ranked list, at once. - [ ] The logged event names the package and the ids carried. - [ ] `brief_package` is granted to the operator-configured Martha identity alone (`{callers, {nodes, [MarthaId]}}` from operator config, confidential required), and a realm member who is not Martha is refused, as is a caller from another realm (test with a second realm key). **Grant line added (2026-11-25), moved from #12.** Mars ruling 2026-11-25: "(a). Do #12 now for record_lesson and lesson_status: the cross-realm refusal test with a second realm key on both, plus the startup grant log line, threat model first." Mars, same ruling: "add the Martha-only grant line ({callers, {nodes, [MarthaId]}} from operator config, plus its refusal test) to the Done-when of #10 (brief_package) and #11 (report_outcome)." Refs #1
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
macula-services/mcl-scribe#10
No description provided.