v0.4.0-beta.2
Pre-release
Pre-release
What’s new
This beta focuses on agent-first quality-gate remediation and tighter hooks parity.
Hooks / quality gates
- Added a standardized hook context contract for scripts:
PI_TEAMS_HOOK_CONTEXT_VERSION=1PI_TEAMS_HOOK_CONTEXT_JSON
- Extended failure policy handling with autonomous remediation controls:
PI_TEAMS_HOOKS_FAILURE_ACTION=warn|followup|reopen|reopen_followupPI_TEAMS_HOOKS_MAX_REOPENS_PER_TASK(default3,0disables auto-reopen)PI_TEAMS_HOOKS_FOLLOWUP_OWNER=member|lead|none
- On hook failure, leader now supports agent-first remediation behavior:
- auto-reopen (with cap)
- auto follow-up task creation and assignment by policy
- teammate remediation notification via mailbox
UX / visibility
- Inline quality-gate surfacing from prior beta kept and extended:
- task metadata state
- widget warning summaries
- task panel/task detail visibility
Docs
- Updated README and parity docs with new hook context + policy env vars.
- Added repo-level
AGENTS.mdclarifying the project’s agent-driven operating intent.
Validation
npm run check✅npm run smoke-test✅- CI ✅