Skip to content

feat(pm-dispatch): allowlist zettel + dezren39/dezren39, fix nix app coverage - #2683

Merged
dezren39 merged 1 commit into
mainfrom
2672-p5a-zettel-dezren39
Oct 30, 2026
Merged

dezren39 merged 1 commit into
mainfrom
2672-p5a-zettel-dezren39

Conversation

@dezren39

@dezren39 dezren39 commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

Part of #2672

Part 5a: extend pm-dispatch so developing-today/zettel and dezren39/dezren39 join the allowlist/grants mesh.

  • FLEET_REPOS (allowlist default): + developing-today/zettel, + dezren39/dezren39 (six fleet repos). Deployed env does not pin DISPATCH_REPO_ALLOWLIST (checked laptop ~/pm-stack/dispatch/.env and ~/secrets/dispatch.env — variable absent in both), so the default governs.
  • REPO_QUEUES: developing-today/zettel -> repo-health-zettel-pilot, dezren39/dezren39 -> repo-health-dezren39-pilot. queue.ts enqueue only needs the REPO_QUEUES entry (enqueue_repo_task_fleet for non-code repos).
  • REPO_DIRS: developing-today/zettel -> /home/user/git/zettel (cloned on the laptop for this change), dezren39/dezren39 -> /home/user/dezren39 (pre-existing laptop checkout).
  • APP_INSTALLED_REPOS correction (verified live via App-JWT probe, 2026-10-30): the pm-stack GitHub App IS installed on dezren39/nix (dezren39 installation), so + dezren39/nix; stale coverage comments in config.ts and github.ts corrected. zettel and dezren39/dezren39 are NOT added — no installation there, so issue creation warn-skips for them. Verified in server.ts: maybeCreateIssue returns null with a warning (never throws) and handleSessions proceeds to enqueue + launch with issue=null, so POST /v1/sessions still returns 201/202 for warn-skip repos. Side effect: the /v1/tasks issue_number attach path (comment + labels) now also works for dezren39/nix targets.
  • Tests: new test/config.test.ts enumerating FLEET_REPOS/REPO_QUEUES/REPO_DIRS/APP_INSTALLED_REPOS; auth grants fixture extended with the two new repos plus a zettel cross-repo test. bun test: 39 pass / 0 fail. bun x tsc --noEmit: clean.
  • README: Auth/Configuration wording only — six fleet repos, corrected app-installation list.

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner October 30, 2026 10:29
@coderabbitai

coderabbitai Bot commented Oct 30, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 39 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3d1a7ed4-64fc-4333-9f4b-cb5b8a6db1ef
Commits

Reviewing files that changed from the base of the PR and between 01fdda3 and adee237.

Files selected for processing: 5
  • pm-stack/dispatch/README.md
  • pm-stack/dispatch/src/config.ts
  • pm-stack/dispatch/src/github.ts
  • pm-stack/dispatch/test/auth.test.ts
  • pm-stack/dispatch/test/config.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T10:30:44.526426Z adee237 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@dezren39
dezren39 merged commit c9f0108 into main Oct 30, 2026
1 check passed
@dezren39
dezren39 deleted the 2672-p5a-zettel-dezren39 branch October 30, 2026 10:30
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