coily assumes single-org coilysiren/* in several places (dispatch guard, create redirect) - accept canonical owners post org-split #162

Open
opened 2026-05-31 06:19:18 +00:00 by coilysiren · 0 comments
Owner

coily hardcodes the coilysiren owner in several places. Post org-split (active repos now live under coilyco-bridge and coilyco-flight-deck), these refuse or silently mishandle canonical-owner references. Tracking the audit + a shared fix here.

Concrete: dispatch org guard

coily dispatch headless refuses any owner outside coilysiren/*:

$ coily dispatch headless "https://forgejo.coilysiren.me/coilyco-flight-deck/agentic-os/issues/118"
coily: dispatch: refusing to dispatch outside coilysiren/* (got coilyco-flight-deck)

The coilysiren/<repo>#N alias form sometimes resolves (it worked for coilysiren/agentic-os-kai#553), but a fully-qualified canonical URL is rejected outright. So the unambiguous reference form can't be dispatched.

Other single-org sites (audit)

  • ops forgejo issue create silently no-ops on a redirecting (moved) repo - POST gets 301'd to GET (a list), reads as HTTP 200 success, creates nothing. Already filed as coily #160 / agentic-os-kai issues/549. Same root: the coilysiren/ path redirects.
  • Some verbs DO canonical-resolve (label verbs, coily #159) while others don't - inconsistent.
  • apply-agentic-os-hooks had a hardcoded OWNER = "coilysiren" (fixed in agentic-os 7ac1f28 by driving off the on-disk set); worth grepping coily for the same pattern.

Suggested fix

One shared owner-resolution helper used by every verb that takes a repo ref: a KNOWN_ORGS = {coilysiren, coilyco-bridge, coilyco-flight-deck} allowlist plus the coilysiren -> canonical alias map, applied uniformly so dispatch, create, labels, etc. all accept either the alias or the canonical owner. Replace the literal coilysiren/* guard in dispatch with that allowlist.

Relates to the org-split repoint hub (agentic-os-kai issues/551).

coily hardcodes the `coilysiren` owner in several places. Post org-split (active repos now live under `coilyco-bridge` and `coilyco-flight-deck`), these refuse or silently mishandle canonical-owner references. Tracking the audit + a shared fix here. ## Concrete: dispatch org guard `coily dispatch headless` refuses any owner outside `coilysiren/*`: ``` $ coily dispatch headless "https://forgejo.coilysiren.me/coilyco-flight-deck/agentic-os/issues/118" coily: dispatch: refusing to dispatch outside coilysiren/* (got coilyco-flight-deck) ``` The `coilysiren/<repo>#N` alias form sometimes resolves (it worked for `coilysiren/agentic-os-kai#553`), but a fully-qualified canonical URL is rejected outright. So the unambiguous reference form can't be dispatched. ## Other single-org sites (audit) - `ops forgejo issue create` silently no-ops on a redirecting (moved) repo - POST gets 301'd to GET (a list), reads as HTTP 200 success, creates nothing. Already filed as coily #160 / agentic-os-kai issues/549. Same root: the `coilysiren/` path redirects. - Some verbs DO canonical-resolve (label verbs, coily #159) while others don't - inconsistent. - `apply-agentic-os-hooks` had a hardcoded `OWNER = "coilysiren"` (fixed in agentic-os 7ac1f28 by driving off the on-disk set); worth grepping coily for the same pattern. ## Suggested fix One shared owner-resolution helper used by every verb that takes a repo ref: a `KNOWN_ORGS = {coilysiren, coilyco-bridge, coilyco-flight-deck}` allowlist plus the `coilysiren -> canonical` alias map, applied uniformly so dispatch, create, labels, etc. all accept either the alias or the canonical owner. Replace the literal `coilysiren/*` guard in dispatch with that allowlist. Relates to the org-split repoint hub (agentic-os-kai issues/551).
Sign in to join this conversation.
No labels
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
coilyco-bridge/coily#162
No description provided.