oliver-zehentleitner / maity
hub + web: the member view names the agent rulebook `team` (review_within_team), the contract names it `agent` (review_within_agent)
tsk-x30bdak93ccf Open
Side finding of maity-coder-claude-009#t8g2 (seq 179433) while planning tsk-yfpwawy3xk3a: the hub's member view (hub/src/maity_hub/views.py) gives the agent's rulebook as team, with review_within_team, while docs/api.md names it agent, with review_within_agent (context/instances.md: "the instances of one membership are called an agent, not a team"). The web reads team.
Do: check against current main which side is right. If the contract is (it records the rename), bring the hub and the web to agent in one PR, with the shapes, fixtures and tests. Keep in mind "no legacy": no alias field, unless a released client reads team (then name which, and ask). If the hub is right, it is a contract correction instead.
Done when: the member view, the web and docs/api.md use one name; tests and fixtures updated.