* test(#4660): pin the letter-axis parity defect across all 6 shell/markdown phase-id sites Extends tests/nsegment-phase-grammar.test.cjs (#4568) one axis over: for each of the six sites, reads the live regex off disk and asserts it agrees with src/phase-id.cts's PHASE_NUMBER_TOKEN_SOURCE on the letter axis in BOTH directions — accepts `12A` / `3A` / `03A` / `23A.1.2`, still rejects `3a`, `3AB`, `A3` and the other canonical-invalid shapes — and that the two extracting sites return the full letter-suffixed token rather than its digit prefix (or nothing). Negative control against the unfixed tree: 22 failures, exactly the "(fails before the fix)" cases; every reject-parity case already green. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NLtEbRc1Qfbe95HRMNqwp3 * fix(#4660): widen the 6 shell/markdown phase-id mirrors to the canonical grammar's letter axis Adds `[A-Z]?` after the leading digit run at all six sites #4568 widened — the ERE translation of src/phase-id.cts's `\d+[A-Z]?(?:\.\d+)*` — so a documented, canonical-valid id like `12A` or `23A.1.2` is no longer refused by the four validating sites (code-review.md, code-review-fix.md, gsd-code-fixer.md, gsd-code-fixer.compact.md) or truncated to its digit prefix by the two extracting sites (execute-plan.md's plan-filename grep, plan-phase.md's --research-phase capture). Behaviour is byte-identical for every id that matched before; the adjacent comment and error-message text now names the grammar it mirrors. Driven: `init code-review 3A` on a fixture with a `03A-slug/` directory and a `### Phase 3A:` heading emits `padded_phase: "03A"`, which the old regex rejects and the widened one accepts — nothing upstream of the validator mangles the id. At execute-plan.md the trailing `-[0-9]+` is the PLAN number and stays digit-only; plan and milestone dimensions are out of scope per the brief. `CASE_FLEXIBLE_PHASE_NUMBER_TOKEN_SOURCE` derives from the canonical source by a literal `.replaceAll('A-Z', 'A-Za-z')`, so src/phase-id.cts is deliberately untouched. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NLtEbRc1Qfbe95HRMNqwp3 * chore(#4634): extend lint-phase-id-drift to ban a letter-less phase-id mirror in workflows/ and agents/ Adds findLetterlessPhaseMirrorDrift — the letter-axis twin of the #4568 single-segment rule — flagging the unbounded-segment shape `[0-9]+(\.[0-9]+)*` (and its \d / doubled-backslash near-variants) whose digit run is NOT followed by the `[A-Z]?` class, on any phase-carrying line across gsd-core/workflows/**/*.md, gsd-core/references/**/*.md and agents/**/*.md. Sanctioned the same way (`<!-- phase-id-owner: ... -->`), tolerates the case-flexible `[A-Za-z]?` directory-scanning variant so it cannot force that separate axis to narrow, and is wired into scanAll. Confirmed zero violations against the real tree post-#4660 fix, and one violation when a single site is reverted. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NLtEbRc1Qfbe95HRMNqwp3 * docs(#4660): add Fixed changeset Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NLtEbRc1Qfbe95HRMNqwp3 * chore: regenerate conformance-tier manifests for the extended grammar test tests/nsegment-phase-grammar.test.cjs now requires the compiled gsd-core/bin/lib/phase-id.cjs (to assert the canonical grammar agrees with each site's live regex), which moves it to a different platform-conformance tier; `gen-platform-conformance-tier.cjs --check` in lint:ci flagged the macOS manifest as stale. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NLtEbRc1Qfbe95HRMNqwp3 * test(#4660): reword a comment that tripped lint-docs-guard-registration The comment mentioned `docs/CONFIGURATION.md` between two backticked tokens, which the lint's template-literal detector read as a docs/ path expression. The test reads no docs/ file. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NLtEbRc1Qfbe95HRMNqwp3 * chore(#4660): refresh the compact-content benchmark baseline and acknowledge emitted growth plan-phase.md grew by 4 bytes (`[A-Z]?`), which moves the committed compact-content benchmark; refreshed with `benchmark-compact-content.cjs --write`. The six shipped files below grew by the widened regex literal plus the comment and error-message text that now names the canonical grammar. Emitted-Drift-Ack-Growth: code-review.md — #4660: `[A-Z]?` at the PADDED_PHASE validator plus a comment/error message naming the canonical grammar and the `12A` example Emitted-Drift-Ack-Growth: code-review-fix.md — #4660: `[A-Z]?` at the PADDED_PHASE validator plus a comment/error message naming the canonical grammar and the `12A` example Emitted-Drift-Ack-Growth: gsd-code-fixer.md — #4660: `[A-Z]?` at the padded_phase sink validator plus the defense-in-depth comment and error message updated to the canonical grammar Emitted-Drift-Ack-Growth: gsd-code-fixer.compact.md — #4660: `[A-Z]?` at the padded_phase sink validator plus the comment and error message updated to the canonical grammar Emitted-Drift-Ack-Growth: execute-plan.md — #4660: `[A-Z]?` in the plan-filename phase extraction (6 bytes) Emitted-Drift-Ack-Growth: plan-phase.md — #4660: `[A-Z]?` in the --research-phase capture (6 bytes) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NLtEbRc1Qfbe95HRMNqwp3 * chore(#4660): set changeset fragment pr to 4744 * chore: re-trigger Validate Branch Name The required check-branch context was cancelled on this head by the workflow's cancel-in-progress group when the changeset pr-field backfill push landed three seconds after the PR opened; no completed run exists for the current head, and a fork contributor cannot re-run it. Empty commit to re-run it. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NLtEbRc1Qfbe95HRMNqwp3 --------- Co-authored-by: CI Rebase Check <ci@gsd-redux> Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> Co-authored-by: Tom Boucher <trekkie@nomorestars.com>
215 lines
8.7 KiB
JavaScript
215 lines
8.7 KiB
JavaScript
// GENERATED FILE — do not hand-edit. Run `node scripts/gen-platform-conformance-tier.cjs --target macos --write` to regenerate.
|
|
// macOS-specific conformance tier (#4593), separate from and narrower than the general/
|
|
// Windows-oriented tier in platform-conformance-tier.generated.cjs — see
|
|
// docs/adr/4593-macos-conformance-tier-architecture.md for the full rationale.
|
|
'use strict';
|
|
|
|
module.exports = {
|
|
MACOS_CONFORMANCE_TIER_FILES: [
|
|
"tests/adr-612-bracket-phase-counting.test.cjs",
|
|
"tests/adr-index-gate.test.cjs",
|
|
"tests/adr-parser.property.test.cjs",
|
|
"tests/adr-parser.unit.test.cjs",
|
|
"tests/agent-classification-parity.test.cjs",
|
|
"tests/agent-install-check.test.cjs",
|
|
"tests/agent-skills.test.cjs",
|
|
"tests/api-coverage-gate-e2e.test.cjs",
|
|
"tests/api-coverage.test.cjs",
|
|
"tests/ask-user-questions-fallback.test.cjs",
|
|
"tests/audit-command-cutover.test.cjs",
|
|
"tests/broken-windows.test.cjs",
|
|
"tests/capability-cli.test.cjs",
|
|
"tests/capability-command-dispatch.test.cjs",
|
|
"tests/capability-consent.test.cjs",
|
|
"tests/capability-ledger.test.cjs",
|
|
"tests/capability-lifecycle.test.cjs",
|
|
"tests/capability-loader.test.cjs",
|
|
"tests/capability-lock-mkdir-failure-3987.test.cjs",
|
|
"tests/capability-registry.test.cjs",
|
|
"tests/capability-source.test.cjs",
|
|
"tests/capability-state.test.cjs",
|
|
"tests/capability-trust.test.cjs",
|
|
"tests/changeset-parse.test.cjs",
|
|
"tests/check-contract-drift.test.cjs",
|
|
"tests/check-predicate.test.cjs",
|
|
"tests/check-ui-safety-gate.test.cjs",
|
|
"tests/check-update-config-dir.test.cjs",
|
|
"tests/chunked-planning-parallel.test.cjs",
|
|
"tests/ci-docs-guard-registry.test.cjs",
|
|
"tests/ci-test-scope.test.cjs",
|
|
"tests/cline-install.test.cjs",
|
|
"tests/code-review-pipeline-regression.test.cjs",
|
|
"tests/codex-config-agents.test.cjs",
|
|
"tests/codex-config-hooks.test.cjs",
|
|
"tests/codex-config-install.test.cjs",
|
|
"tests/codex-config.test.cjs",
|
|
"tests/commands.test.cjs",
|
|
"tests/commit-docs-bypass.test.cjs",
|
|
"tests/commit-files-deletion.test.cjs",
|
|
"tests/commit-files-pathspec.test.cjs",
|
|
"tests/commonjs-marker.test.cjs",
|
|
"tests/completion-ratio-scope-withholding.test.cjs",
|
|
"tests/config-loader.test.cjs",
|
|
"tests/config-schema.property.test.cjs",
|
|
"tests/config.test.cjs",
|
|
"tests/contributor-standards.test.cjs",
|
|
"tests/core-utils.test.cjs",
|
|
"tests/cursor-subagent-isolation.test.cjs",
|
|
"tests/debugger-semantic-recall.test.cjs",
|
|
"tests/default-flip-documentation-lint.test.cjs",
|
|
"tests/discuss-phase-power.test.cjs",
|
|
"tests/docs-parity-live-registry.test.cjs",
|
|
"tests/effort-surface-axis.test.cjs",
|
|
"tests/effort-sync-installed-runtime.test.cjs",
|
|
"tests/emitted-attribution.test.cjs",
|
|
"tests/ensure-runtime-build.test.cjs",
|
|
"tests/execute-phase-decimal-arithmetic.test.cjs",
|
|
"tests/executed-plan.test.cjs",
|
|
"tests/executor-mvp-tdd-section.test.cjs",
|
|
"tests/external-job.test.cjs",
|
|
"tests/failing-direction.test.cjs",
|
|
"tests/fallow-runner.test.cjs",
|
|
"tests/feat-2483-review-claude-mds-guard.test.cjs",
|
|
"tests/features-index-gate.test.cjs",
|
|
"tests/frontmatter.unit.test.cjs",
|
|
"tests/gap-checker.property.test.cjs",
|
|
"tests/gemini-runtime-removed.test.cjs",
|
|
"tests/gen-context-index.test.cjs",
|
|
"tests/gen-section-manifest.test.cjs",
|
|
"tests/git-base-branch.test.cjs",
|
|
"tests/graphify-query.test.cjs",
|
|
"tests/graphify-visualization.test.cjs",
|
|
"tests/gsd-secret-read-guard.test.cjs",
|
|
"tests/gsd-settings-advanced.test.cjs",
|
|
"tests/gsd-statusline.test.cjs",
|
|
"tests/gsd-tools-path-refs.test.cjs",
|
|
"tests/gsd-validate-commit-crash-policy.test.cjs",
|
|
"tests/gsd-validate-commit-sigpipe.test.cjs",
|
|
"tests/gsd-write-guard.test.cjs",
|
|
"tests/health-diagnostic-rules/worktree-health.test.cjs",
|
|
"tests/health-diagnostic.test.cjs",
|
|
"tests/helpers-cleanup.test.cjs",
|
|
"tests/helpers-process-isolation.test.cjs",
|
|
"tests/hooks-crash-policy.test.cjs",
|
|
"tests/hooks-opt-in.test.cjs",
|
|
"tests/host-integration.test.cjs",
|
|
"tests/init-manager.test.cjs",
|
|
"tests/init.test.cjs",
|
|
"tests/install-minimal-hooks.test.cjs",
|
|
"tests/install-path-detection.test.cjs",
|
|
"tests/install-regressions.test.cjs",
|
|
"tests/install-runtime-artifacts.test.cjs",
|
|
"tests/install-write-confinement.test.cjs",
|
|
"tests/install.test.cjs",
|
|
"tests/installer-migration-antigravity-retire-confighome-artifacts.test.cjs",
|
|
"tests/installer-migration-config-root-marker.test.cjs",
|
|
"tests/installer-migration-pi-retire-hooks-dir.test.cjs",
|
|
"tests/installer-migration-prune-stale-pristine.test.cjs",
|
|
"tests/installer-migration-rename-gsd-core.test.cjs",
|
|
"tests/installer-migrations.test.cjs",
|
|
"tests/intel.test.cjs",
|
|
"tests/inventory-nested-families.test.cjs",
|
|
"tests/isolation-sentinel.test.cjs",
|
|
"tests/issue-version-gate.test.cjs",
|
|
"tests/kimi-upgrades.test.cjs",
|
|
"tests/lint-docs-command-form.test.cjs",
|
|
"tests/lint-workflow-shellcheck-fetch.test.cjs",
|
|
"tests/list-seeds.test.cjs",
|
|
"tests/markdown-sectionizer.test.cjs",
|
|
"tests/mcp-catalog.test.cjs",
|
|
"tests/milestone-archive.test.cjs",
|
|
"tests/milestone-window-single-owner.test.cjs",
|
|
"tests/model-catalog.unit.test.cjs",
|
|
"tests/model-resolver.test.cjs",
|
|
"tests/no-exact-case-env-access.rule.test.cjs",
|
|
"tests/no-pending-3212-markers.test.cjs",
|
|
"tests/no-phantom-issue-refs.test.cjs",
|
|
"tests/no-posix-mode-bit-assert.rule.test.cjs",
|
|
"tests/no-private-binary-resolution.rule.test.cjs",
|
|
"tests/no-unguarded-nonportable-exec.rule.test.cjs",
|
|
"tests/nsegment-phase-grammar.test.cjs",
|
|
"tests/observability/event.test.cjs",
|
|
"tests/onboard-command.test.cjs",
|
|
"tests/opencode-plugin-adapter.test.cjs",
|
|
"tests/pause-work-context-detection.test.cjs",
|
|
"tests/pause-work-improvements.test.cjs",
|
|
"tests/perf-317-context-monitor-fs.test.cjs",
|
|
"tests/phase-completion-single-owner.test.cjs",
|
|
"tests/phase-estimation.test.cjs",
|
|
"tests/phase-id-drift-guard.test.cjs",
|
|
"tests/phase-id.test.cjs",
|
|
"tests/phase-locator.test.cjs",
|
|
"tests/phase.test.cjs",
|
|
"tests/plan-count-single-owner.test.cjs",
|
|
"tests/plan-phase-stall-detection.test.cjs",
|
|
"tests/plan-review-convergence.test.cjs",
|
|
"tests/planning-inspect.test.cjs",
|
|
"tests/planning-inspect.unit.test.cjs",
|
|
"tests/planning-lock-mkdir-failure-1884.test.cjs",
|
|
"tests/planning-snapshot.test.cjs",
|
|
"tests/planning-workspace.test.cjs",
|
|
"tests/platform-conformance-tier.test.cjs",
|
|
"tests/plugin-manifest.test.cjs",
|
|
"tests/policy-shell-pinning.test.cjs",
|
|
"tests/portability-rule-disable-ban.test.cjs",
|
|
"tests/precommit-alias-drift-hook.test.cjs",
|
|
"tests/prepush-enterprise-email-hook.test.cjs",
|
|
"tests/process-seam.test.cjs",
|
|
"tests/profile-output.test.cjs",
|
|
"tests/profile-pipeline.test.cjs",
|
|
"tests/quick-batch.test.cjs",
|
|
"tests/quick-branching.test.cjs",
|
|
"tests/quick-research.test.cjs",
|
|
"tests/reapply-verify-hunks.test.cjs",
|
|
"tests/refactor-1390-t3-characterization.test.cjs",
|
|
"tests/require-issue-link-policy.test.cjs",
|
|
"tests/response-language-coverage.test.cjs",
|
|
"tests/retired-artifact-cleanup.test.cjs",
|
|
"tests/review-build-prompt-optional-sections.test.cjs",
|
|
"tests/review-lane-runner.test.cjs",
|
|
"tests/review-lane-windows-spawn-resolution.test.cjs",
|
|
"tests/review-parallel-lanes.test.cjs",
|
|
"tests/review-plan-coverage-manifest.test.cjs",
|
|
"tests/review-reviewer-selection.test.cjs",
|
|
"tests/reviewer-manifest-body.test.cjs",
|
|
"tests/reviewer-step-dispatch.test.cjs",
|
|
"tests/roadmap-mode-field.test.cjs",
|
|
"tests/roadmap-parser.test.cjs",
|
|
"tests/roadmap-phase-fallback.test.cjs",
|
|
"tests/roadmap.test.cjs",
|
|
"tests/run-tests-harness.test.cjs",
|
|
"tests/runtime-artifact-layout.test.cjs",
|
|
"tests/runtime-identity.test.cjs",
|
|
"tests/runtime-launcher-parity.test.cjs",
|
|
"tests/security.test.cjs",
|
|
"tests/settings-jsonc.test.cjs",
|
|
"tests/shared-hooks-dir-resolution.test.cjs",
|
|
"tests/shell-command-projection-dispatch.test.cjs",
|
|
"tests/spawn-liveness-banner.test.cjs",
|
|
"tests/state-document.test.cjs",
|
|
"tests/state-transition.test.cjs",
|
|
"tests/state.test.cjs",
|
|
"tests/todos-workstream-scope.test.cjs",
|
|
"tests/tracer-bullet.test.cjs",
|
|
"tests/uat.test.cjs",
|
|
"tests/ui-safety-gate.test.cjs",
|
|
"tests/ui-spec-inventory-provenance.test.cjs",
|
|
"tests/unreachable-guard-drift.test.cjs",
|
|
"tests/unreachable-shell-guard.test.cjs",
|
|
"tests/unusable-input.test.cjs",
|
|
"tests/update-custom-backup.test.cjs",
|
|
"tests/user-artifact-staging.test.cjs",
|
|
"tests/verification-overrides.test.cjs",
|
|
"tests/verification-status.test.cjs",
|
|
"tests/verify-archive-dirs-live-path.test.cjs",
|
|
"tests/verify-command-grounding.test.cjs",
|
|
"tests/verify.test.cjs",
|
|
"tests/workflow-fragments.test.cjs",
|
|
"tests/workflow-shell-pinning.test.cjs",
|
|
"tests/workstream-inventory.test.cjs",
|
|
"tests/workstream.test.cjs",
|
|
"tests/worktree-safety.test.cjs",
|
|
"tests/worktree.test.cjs",
|
|
],
|
|
};
|