Skip to content

Pin ScopeTrail v0.1.10#35

Merged
Conalh merged 1 commit into
mainfrom
codey/pin-scopetrail-v0.1.10
May 22, 2026
Merged

Pin ScopeTrail v0.1.10#35
Conalh merged 1 commit into
mainfrom
codey/pin-scopetrail-v0.1.10

Conversation

@Conalh
Copy link
Copy Markdown
Owner

@Conalh Conalh commented May 22, 2026

Summary

  • Pin ScopeTrail dogfood workflow to Conalh/ScopeTrail@v0.1.10.

Why

ScopeTrail v0.1.10 ships a committed Action runtime, so consumer workflows no longer run
pm ci or
pm run build inside the ScopeTrail Action.

Validation

  • This PR exercises the released ScopeTrail v0.1.10 Action through this repository's existing checks.

@Conalh Conalh merged commit b06ab87 into main May 22, 2026
4 checks passed
@Conalh Conalh deleted the codey/pin-scopetrail-v0.1.10 branch May 22, 2026 01:34
Conalh added a commit that referenced this pull request May 22, 2026
Replaces local copies of stripJsonComments, stripTrailingCommas,
lineOfJsonKey, and lineOfJsonStringValue with the shared primitives.
This is the same migration ScopeTrail PR #35 did — PolicyMesh's
discovery.ts now delegates parsing/location logic to agent-gov-core
and keeps only PolicyMesh-specific behavior:
  - async wrapper with ENOENT → empty object (PolicyMesh runs against
    repos that haven't adopted these surfaces yet)
  - JsonParseError = { message, line } shape that the parsers/* layer
    depends on (line is derived from SyntaxError 'position N')

The action now `npm ci --omit=dev` so runtime imports resolve at
action invocation time — same change ScopeTrail made. Loosened the
workflow.test.mjs assertion from "no npm ci" to "no npm run build";
dist/ is still committed and consumers still skip the TypeScript
compile.

All 38 existing tests pass against the migrated reader.

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant