Skip to content

pm(dispatch-gates): triggerPatternRegex's ** does not span a path segment that holds a newline (no dotAll), so a pattern-judged gate is silently not derived #34002

Closed as not planned

Description

@objectstack-fleet

domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19

Filing gate: ② review-derived. The at-tier contract review of PR #33998 (record 6897152012 on #33847, ③ Boundary flags) escalated this as a residue outside that PR's diff. ⛔ Not a claim.

维护者速读

Where

scripts/pm/dispatch-gates.mjs triggerPatternRegex (origin/main ~L7651-7671): ** → .*, single * → [^/]*, and the result is new RegExp(\^${out}$`)with no flags..does not match\nwithouts; [^/]*` already does.

Change

  1. Build the regex with the s flag (or emit [\s\S]* for **), so ** spans a segment holding a newline the way it spans any other character.
  2. Self-test: a pattern with an interior ** (e.g. packages/**/x.ts) against a path whose spanned directory name holds a newline matches; ablation (drop the flag) reds that row only.

Acceptance

  • The new row green, its ablation red; dispatch-gates self-test both tiers green.
  • skip-changeset, Clause-②: no. Not governed.

Provenance

Activity

  1. added
    tooling
    domain:skills
    and removed on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → closed as not planned (p3 standard) · 2026-11-15T15:57Z

    The dispatch-gate glob regex lacks dotAll, so ** does not span a path segment whose name holds a newline. No tracked path in this repository has a newline in a segment name, and the card says this is a residue, not a regression. This is a corner no user or seat is measured reaching, which the maintainer's p3 standard (triage thread, 2026-11-15) closes. Reopen it if such a path ever lands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    domain:skillspriority:p3tooling

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions