Skip to content

feat: complete channel-based publication spec — scoring, inputs, artifacts#8

Merged
ronaldtse merged 5 commits into
mainfrom
feat/spec-completion-v1.0.3
May 12, 2026
Merged

feat: complete channel-based publication spec — scoring, inputs, artifacts#8
ronaldtse merged 5 commits into
mainfrom
feat/spec-completion-v1.0.3

Conversation

@ronaldtse
Copy link
Copy Markdown
Contributor

Summary

Completes all remaining TODO spec items for the channel-based publication feature:

Changes

Spec 07 — Match scoring in ChannelManifest.findEntry()

  • Exact source path match (score 100) now wins over pattern match (score 50)
  • Longer pattern wins as tiebreaker (score = 50 + pattern.length)

Spec 11 — Action inputs/outputs schema

  • channels input: CI-level channel override (comma-separated, empty = manifest)
  • default-visibility now accepts members alongside public/private
  • released-artifacts output: JSON array of { id, tag, url, channels }

Pipeline optimizations

  • channelOverride in pipeline deps overrides manifest channels from CI
  • Policy resolved once per document (no double manifest.resolve())
  • releasedArtifacts tracked in pipeline result

Release name convention (Spec 12)

  • Release names include channel prefix: [public/standards] cc-51015 ed1

Housekeeping

  • TODO directories added to .gitignore

Test Results

  • 307 tests passing (9 new tests)
  • Format, lint, type-check all clean

ronaldtse added 5 commits May 12, 2026 21:59
Prefer exact source path match (score 100) over pattern match (score 50).
Longer patterns win as tiebreaker (score = 50 + pattern.length).
- channels input allows CI-level channel override
- default-visibility now accepts 'members' alongside 'public'/'private'
- released-artifacts output provides { id, tag, url, channels } JSON
… name channel prefix

- Pipeline accepts channelOverride to override manifest channels from CI
- Pipeline tracks releasedArtifacts with id, tag, url, channels
- Release names include channel prefix for easy scanning: [public/standards] cc-51015 ed1
- Policy resolved once per document (no double manifest.resolve)
@ronaldtse ronaldtse merged commit 9e71ace into main May 12, 2026
4 of 5 checks passed
@ronaldtse ronaldtse deleted the feat/spec-completion-v1.0.3 branch May 12, 2026 14:03
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