#23881·mastra

@mastra/factory: restore Work/Review onEnter (or equivalent board override) — work/review IDs still reserved since 0.13

Author: osouthgateCreated Sep 14, 2026Updated Sep 17, 2026
Labelsimpact:mediumeffort:mediumstatus: auto-triagedstatus: needs approval

Ask

Allow replacing or wrapping Work and Review board onEnter (or an equivalent hook) without reserving the work / review IDs forever.

Why

@mastra/factory 0.13 removed rules.work / rules.review. The package README says there is no built-in override or replacement API, and those board IDs remain reserved.

Downstream cannot:

  • append an assessment brief to bundled factory-triage (investigate-only today)
  • gate execute on durable risk/value labels
  • inject a short friction brief into station arguments

Those policies have to live as unused functions until an override API returns. GitHub integration rules still replace; Work/Review boards do not.

Observed (@mastra/factory 0.14)

Re-entering triage only re-runs bundled factory-triage. Cards can sit in “needs approval” / intake with no installed path to record an assessment and leave the stage.

Related

This is not a request to disable a GitHub onEvent handler. It is a request to customize Work/Review board onEnter again.