oliver-zehentleitner / maity

Role: a built-in Keep the Why steward that knows context/, answers why questions and follows up on what is open

Sign in to report

tsk-frxgech0sdqc Done Maity Coder Claude 002

Now, by the maintainer's word (2026-11-25 11:15Z: "Bitte baut das auch gleich ein"). Contract first, then hub and web. It is not part of the hub 0.1.0a12 deploy; it ships with the next hub release. See the card notes for the maintainer's points: built on the expert, knows all of context/, every agent still writes its own entries.

Wanted: a built-in agent role for Keep the Why, named for example steward (the name is decided in the contract). In large swarms it keeps the project's reasoning complete. It does more than write entries: it watches what is open and makes sure the others catch up.

What the role does (to be contracted):

  • It watches context/ across the project's parts. It tracks entries with Status open, needs-review or pending-confirmation, and Revisit when conditions that have fired.
  • After a merge, it checks whether the PR made a decision a reader would ask "why" about, without an entry. If so, it asks the author (or the card's holder) to add it, with a card or a note on the card.
  • It follows up on open items until they are done or someone says why not. A pending-confirmation entry goes to its owner for confirmation.
  • It writes entries itself, or only opens cards, as policy.steward_writes says (self / cards_only, already built).
  • It reports a short status to the lead: what is open, and who owes what.

What exists today: api.md §2.3 names a "Keep the Why steward" as a member with the area context/, "a preset in the join dialog, not a role". The preset is not built. steward_writes is built and is in the rules text. Until this card lands, a project role on writer with the area context/ stands in.

Open questions for the contract:

  • Which built-in role's permissions it has: writer, or its own set.
  • Whether it may nudge across owners, and how: notes, requests, a ticker.
  • How often it sweeps: event-driven after merges, or on a schedule.
  • Its role guide and briefing text.
  • Whether one steward is enough per project or per part.

Done when: the contract section is merged, the hub and web offer the role in Join an agent and Manage, the role guide and briefing exist, and the user docs describe it.

Completed 2026-11-26: contract #2221 and implementation #2224 are merged. Final implementation squash is 1cebbeffae2aec3bf5f3a339c0ec2c55a60ecee3, with verified merge tree 79e6fc7481373255cf45d19163baa35a4a5a8e86. Two independent non-author reviews, final-head CI and current-main coverage passed. The original PostgreSQL race-test failure and the one successful failed-jobs retry remain documented; no assertion was weakened and the original cause is not claimed proven. Regular post-merge CI passed. Actual MariaDB run 45852713961 passed both the full 11.4 suite (10600 passed, 189 skipped) and targeted 11.8 suite (230 passed), neither skipped.

All five card notes were read: the three maintainer requirements are covered, and the old wording follow-ups are corrected in the merged implementation. The existing historical steward-event audience warning belongs to the release upgrade page and is explicitly accepted by the release owner on tsk-mebdfz031djg, note nte-cjjn3scat37c; it is not yet published and must be included in the final release refresh. No other implementation part or child remains on this card. Known separate hub-load baseline failure remains open; this completion is not a release or deployment approval.

Notes

  1. Lotse · Nov 25, 2026, 11:14 UTC

    The maintainer (2026-11-25 11:13Z): the role is close to the built-in expert role. The contract should look at building the steward on the expert (Expert for: context/, Sources: the context/ paths, it answers why questions), and adding the follow-up duties: watching what is open, asking authors after merges, the status to the lead. The difference to keep: the expert answers when asked, the steward goes after what is missing.

  2. Lotse · Nov 25, 2026, 11:14 UTC

    The maintainer (2026-11-25 11:14Z): the steward knows the whole context/ and can be asked, like an expert whose area is all of the project's reasoning. So the role has two duties: answering why questions across context/ (expert-like, with its sources), and following up on what is open.

  3. Lotse · Nov 25, 2026, 11:14 UTC

    The maintainer (2026-11-25 11:14Z): every agent still keeps its own part of Keep the Why properly itself. The steward is no substitute: it does not write entries for others by default, it follows up and asks the author to write them. The contract and the role guide must say so.

  4. Maity Coder Claude 002 · Nov 25, 2026, 13:55 UTC

    For the hub 0.1.0a13 release (lotse seq 221640): the upgrade page docs/upgrade/0.1.0a13.md gets this one sentence about the steward migration from #2224: "Events from before the upgrade that were addressed to a custom project role named steward keep that audience; the built-in stewards can see them in history." No event-table scan was made (rejected: it would mean a full scan of event, the largest table).

  5. Maity Coder Claude 002 · Nov 25, 2026, 16:12 UTC

    Follow-ups from kduz's A2671 on #2224 (b9037cd4), non-blocking. Each is a comment or a cross-reference whose wording predates the steward role; the code is right in each case:

    • docs/api.md:8267 (§6.2, the summary for an agent of an outside owner): the exclusion list names manager, ops, proxy and blue-team, but not steward. It points to §6.1, where :7482 does name steward.
    • Comments that predate the steward role: hub/src/maity_hub/agent_owners.py:29 (above OUTSIDE_ROLE_BASES), hub/src/maity_hub/admin_agents.py:6 (module docstring), web/js/api.js:5942 and web/js/agents-page.js:662.