Skip to content

Commit e32c1e1

Browse files
committed
feat(skills): complete WorkspaceSkillAutoMatch runtime packaging (PF-213)
Ship workspace-skill-auto-match module, skill match CLI, validation node, and tests so lifecycle Stop force wiring is not a false green on clean checkout. Clear match state each UserPromptSubmit reset.
1 parent 321ca57 commit e32c1e1

7 files changed

Lines changed: 751 additions & 7 deletions

‎hooks/_runtime/lifecycle-bootstrap-state.cjs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,8 @@ function buildLifecycleBootstrapStateUtils(ctx) {
559559
state.governanceIntake = normalizeGovernanceIntakeState(previousState?.governanceIntake)
560560
state.turnLiveness = normalizeTurnLivenessState(previousState?.turnLiveness)
561561
state.dangerousApprovals = { ...(previousState?.dangerousApprovals || {}) }
562+
// Per-turn only: set after reset on UserPromptSubmit; never inherit prior match/enforceCount
563+
state.workspaceSkillAutoMatch = null
562564
const previousAcquisition = previousState ? normalizeContextAcquisition(previousState) : null
563565
if (previousAcquisition?.contextEpoch) {
564566
state.contextAcquisition.handoff = {

0 commit comments

Comments
 (0)