Add the minimal pack: roles and forgejo #1

Merged
mikluko merged 4 commits from minimal-pack into main 2026-11-11 11:56:37 +00:00
Owner

The minimal pack of the city-root spec's step 8: the roles pack (Operator, Worker, mol-worker-work, the apply and permission-request orders) and the forgejo forge pack (pr open, pr state, the merge order).

  • Each pack is a directory of its own, roles/ and forgejo/: the pack spec forbids extra top-level directories inside a pack. Imports name them as …/gascitypacks.git//roles and //forgejo. The forgejo tool's Go code sits under forgejo/assets/ for the same reason.
  • At gc 6bd609f, pack commands from a rig-only import do not resolve, so gc forgejo … needs the forgejo pack imported at the city level too. The merge order's city-level instance then sweeps the HQ store.
  • gc's claude schema has no "ask" permission mode. The Operator uses auto-edit (acceptEdits), which still prompts for shell and web tools.
  • rexcity 0.27.0 replaced cmd/gc-runtime-rex with cmd/rexcity. The apply order builds rexcity and links gc-runtime-rex to it, as rexcity's image does. It takes the source from gc's pack cache, at sha256(source + commit).
  • mol-worker-work assigns the finished bead to the var user, which defaults to human.

Assisted-By: Claude noreply@anthropic.com

The minimal pack of the city-root spec's step 8: the roles pack (Operator, Worker, `mol-worker-work`, the apply and permission-request orders) and the forgejo forge pack (`pr open`, `pr state`, the merge order). - Each pack is a directory of its own, `roles/` and `forgejo/`: the pack spec forbids extra top-level directories inside a pack. Imports name them as `…/gascitypacks.git//roles` and `//forgejo`. The forgejo tool's Go code sits under `forgejo/assets/` for the same reason. - At gc 6bd609f, pack commands from a rig-only import do not resolve, so `gc forgejo …` needs the forgejo pack imported at the city level too. The merge order's city-level instance then sweeps the HQ store. - gc's claude schema has no "ask" permission mode. The Operator uses `auto-edit` (acceptEdits), which still prompts for shell and web tools. - rexcity 0.27.0 replaced `cmd/gc-runtime-rex` with `cmd/rexcity`. The apply order builds `rexcity` and links `gc-runtime-rex` to it, as rexcity's image does. It takes the source from gc's pack cache, at `sha256(source + commit)`. - `mol-worker-work` assigns the finished bead to the var `user`, which defaults to `human`. Assisted-By: Claude <noreply@anthropic.com>
Assisted-By: Claude <noreply@anthropic.com>
Assisted-By: Claude <noreply@anthropic.com>
Run gc lint, the forgejo tests and the changelog check in CI
Some checks failed
test / changelog (pull_request) Successful in 6s
test / lint (pull_request) Has been cancelled
ad71252bb2
gc is built with gms_pure_go: without it the build needs ICU headers.

Assisted-By: Claude <noreply@anthropic.com>
Build gc in CI within the runner memory cap
All checks were successful
test / changelog (pull_request) Successful in 5s
test / lint (pull_request) Successful in 3m9s
d8361fe96e
The first run was OOM-killed at 2560Mi; -p=1, GOGC=50 and -s -w peak near 1GB.

Assisted-By: Claude <noreply@anthropic.com>
Commenting is not possible because the repository is archived.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
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
mikluko/gascitypacks!1
No description provided.