Widen the issue-pin verbs past their fixed inbox target #1405

Merged
coilyco-ops merged 1 commit from aos/claude/ee98-labelleaf into main 2026-08-29 11:08:12 +00:00
Owner

Forgejo gates pin management on repository admin. coilyco-ops held that only in coilysiren/inbox, so four fixed-target action shadows hard-coded owner and repo and took only an index.

Kai granted coilyco-ops repository admin across the three orgs on 2026-08-29, so the credential is no longer the constraint and the fixed target in the verb definition is.

Removing the four shadows lets the four generated leaves through. They stay bounded by the wrap-level restrict owner matches coily*.

Built and diffed, not read

Built with the pinned specgen 0.184.0 (not the v0.180.0 on this host) against a baseline build of main. The entire surface delta:

- pin  Pin one coilysiren/inbox issue. The target repository is fixed; pass only the issue number.
+ pin  POST /repos/{owner}/{repo}/issues/{index}/pin

- aosguard ops forgejo issue pin [options] <index>
+ aosguard ops forgejo issue pin [options] <owner> <repo> <index>

plus the same three for issue-pin list / edit / remove. No verb added, none removed, nothing else moved. The only other diff line is issue-pin changing position in the verb listing, because action-defined verbs sort separately from generated ones.

One thing I found and did not ship

I first added a describe to each of the four can leaves. The rebuild showed the swagger summary wins and the describe never renders - can search repo in the same file has the same dead describe today. I removed mine rather than ship text that does not appear, and filed the silent-ignore separately.

Closes #1375

Forgejo gates pin management on **repository admin**. coilyco-ops held that only in `coilysiren/inbox`, so four fixed-target `action` shadows hard-coded `owner` and `repo` and took only an index. Kai granted coilyco-ops repository admin across the three orgs on 2026-08-29, so the credential is no longer the constraint and the fixed target in the verb definition is. Removing the four shadows lets the four generated leaves through. They stay bounded by the wrap-level `restrict owner matches coily*`. ## Built and diffed, not read Built with the **pinned** specgen 0.184.0 (not the v0.180.0 on this host) against a baseline build of `main`. The entire surface delta: ``` - pin Pin one coilysiren/inbox issue. The target repository is fixed; pass only the issue number. + pin POST /repos/{owner}/{repo}/issues/{index}/pin - aosguard ops forgejo issue pin [options] <index> + aosguard ops forgejo issue pin [options] <owner> <repo> <index> ``` plus the same three for `issue-pin list / edit / remove`. No verb added, none removed, nothing else moved. The only other diff line is `issue-pin` changing position in the verb listing, because action-defined verbs sort separately from generated ones. ## One thing I found and did not ship I first added a `describe` to each of the four `can` leaves. The rebuild showed the swagger summary wins and the `describe` never renders - `can search repo` in the same file has the same dead `describe` today. I removed mine rather than ship text that does not appear, and filed the silent-ignore separately. Closes #1375
feat(aosguard): widen the issue-pin verbs past their fixed inbox target
All checks were successful
ci / aos-cli-tests (pull_request) Successful in 29s
ci / gate (pull_request) Successful in 52s
0c745477f4
Forgejo gates pin management on repository admin, and coilyco-ops held
that only in coilysiren/inbox, so four fixed-target `action` shadows
hard-coded owner and repo. Kai granted repository admin across the three
orgs on 2026-08-29, so the credential is no longer the constraint and the
fixed target in the verb is.

Removing the shadows lets the four generated leaves through. They stay
bounded by the wrap-level `restrict owner matches coily*`.

Built with the pinned specgen 0.184.0 and diffed against a baseline build
of main. The whole surface delta is the four pin leaves:

  pin issue  <index>  ->  <owner> <repo> <index>

No verb added, none removed, nothing else moved.

Closes coilyco-flight-deck/agentic-os#1375

Co-authored-by: Kai Siren <coilysiren@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
Agent-Role: platform
coilyco-ops deleted branch aos/claude/ee98-labelleaf 2026-08-29 11:08:13 +00:00
Sign in to join this conversation.
No reviewers
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-flight-deck/agentic-os!1405
No description provided.