You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Package Index publication logic is embedded almost entirely inside manually dispatched workflow YAML, including a large inline Node program and hard-coded first-party application versions/replacement IDs. The repository has no pull-request CI, reusable local validator, fixture tests, or hook configuration.
This makes security-critical catalogue behaviour difficult to review and means many failures are discovered only during a production publication run.
Scope
Move catalog construction, package inspection, replacement handling, hash/size calculation, timestamp/sequence validation, signing input preparation, and envelope verification into versioned scripts/modules.
Add fixture-based tests that run without network access or production secrets.
Add a local dry-run using fixture packages and an ephemeral signing key.
Add PR CI for unit/fixture tests, actionlint, shell checks, permissions review, and deterministic output snapshots.
Add lightweight pre-commit hooks for workflow/scripts/metadata changes; CI remains authoritative.
Replace hard-coded app release versions with the reviewed multi-repository release BOM tracked in makekosmos/cortex#4.
Current gap
Package Index publication logic is embedded almost entirely inside manually dispatched workflow YAML, including a large inline Node program and hard-coded first-party application versions/replacement IDs. The repository has no pull-request CI, reusable local validator, fixture tests, or hook configuration.
This makes security-critical catalogue behaviour difficult to review and means many failures are discovered only during a production publication run.
Scope
makekosmos/cortex#4.Acceptance criteria