Repository navigation
Description
Context
A 2026-08-07 audit of GitHub-App credentials across vig-os and exo-pet found
that every App secret pair can be consolidated to Client ID only. Nothing in
the auth path is numerically load-bearing: @octokit/auth-app accepts a
client-ID string (Iv23li…) wherever it accepts a numeric App ID, on every
pinned action version currently in use.
devkit already went client-ID-only for the Release App and for most of the
Commit App. Two stamped workflows are the remaining holdouts, and because they
are stamped, they keep numeric *_APP_ID secrets alive in every consumer
repo in both orgs. Retiring the org secrets is blocked until this ships.
Scope — exact references
1. assets/workspace/.github/workflows/sync-issues.yml
:177—app-id: ${{ secrets.COMMIT_APP_ID }}passed to
vig-os/sync-issues-action@285a0af…(v0.4.0,:175).- Change to
client-id: ${{ secrets.COMMIT_APP_CLIENT_ID }}and bump the
action pin, once Add client-id input as the preferred App credential sync-issues-action#168 ships theclient-idinput. COMMIT_APP_CLIENT_IDalready exists as an org secret in both orgs — no new
secret is needed for this half.
2. assets/workspace/.github/workflows/devkit-upgrade.yml
:11— header comment namingDEVKIT_UPGRADE_APP_ID.:54-61— the "Require the upgrade App identity" preflight reads
APP_ID: ${{ secrets.DEVKIT_UPGRADE_APP_ID }}into env (:55), gates on it
(:59), and names it in the::error::message (:60).:66-68—actions/create-github-app-token@bcd2ba49…(v3) with
app-id: ${{ secrets.DEVKIT_UPGRADE_APP_ID }}.- Rename the secret to
DEVKIT_UPGRADE_APP_CLIENT_IDand switch the action
input toclient-id:. The pinnedcreate-github-app-tokenis v3, which is
at or above v3.1.0 — the release that introducedclient-id— so no action
bump is required here; confirm against the pinned SHA before landing.
3. tests/test_workflow_devkit_upgrade.py
:14and:129— docstrings namingDEVKIT_UPGRADE_APP_ID.:132—assert "secrets.DEVKIT_UPGRADE_APP_ID" in textmust become the
client-ID name.:133(_PRIVATE_KEY) is unchanged.
4. Docs
docs/RELEASE_CYCLE.md:608— the COMMIT_APP row still carries the
parenthetical "COMMIT_APP_IDstill required byvig-os/sync-issues-action
insync-issues.yml". Drop it, and rename the DEVKIT_UPGRADE entry.docs/DOWNSTREAM_RELEASE.md:124—COMMIT_APP_ID(required by
vig-os/sync-issues-actioninsync-issues.yml) in the required-secrets list.docs/security/ADR-secrets-management.md:56— the COMMIT_APP row lists
COMMIT_APP_IDamong the consumed secrets.
(Files under docs/issues/ and docs/pull-requests/ are synced historical
records — leave them alone.)
Sequencing — read before scheduling
The order is load-bearing, and getting it wrong breaks consumers:
- Add client-id input as the preferred App credential sync-issues-action#168 ships first. No
client-idinput, no
sync-issues change. DEVKIT_UPGRADE_APP_CLIENT_IDorg secrets must exist in BOTHvig-osand
exo-petbefore any consumer adopts the release. The preflight at
devkit-upgrade.yml:54-61hard-fails without it, which would brick the very
automation that delivers the upgrade. Config-first, always. The exo-pet side
is tracked in exo-pet/org-config#1; the vig-os side is tracked in
vig-os/org-configunder an existing tracker being re-scoped separately.- Old numeric secrets are deleted only after the last consumer upgrades.
Migration principle: no numeric*_APP_IDsecret is deleted while any
pinned workflow still references it. Cautionary precedent —
exo-pet/playground-carlos's sync-issues job broke silently for a week
whenCOMMIT_APP_IDwas unavailable; the job kept reporting success while
syncing nothing.
Consumer readiness
- Repos already on devkit 1.6.0 ride
devkit-upgrade.ymlautomation and
pick this up without manual work (exo-pet: exo-fleet, vault,
playground-carlos). - Two repos are on old scaffolds and need a bump before they can benefit:
- chore(ci): bump devkit to 1.6.0 (retires numeric App-ID scaffolds) h5v#6 — 0.3.1-era scaffold, 13 numeric-ID references.
- chore(repo): upgrade devkit scaffold 0.3.3 -> 1.6.0 and migrate to the devkit release train scitadel#208 — 0.3.3-era scaffold (bump itself tracked in
chore(repo): upgrade devkit scaffold 0.3.3 -> 1.6.0 (direnv, keep release-please) scitadel#207) plus a repo-local release-please bot.
- ci: no concurrency group — a force-push leaves the superseded run building for ~45 min tessera#363 deliberately uses its own App and does not consume this
scaffold for its credentials — it migrates independently.
Acceptance criteria
-
sync-issues.ymlscaffold passesclient-id+COMMIT_APP_CLIENT_IDand
pins the sync-issues-action release from Add client-id input as the preferred App credential sync-issues-action#168. -
devkit-upgrade.ymlscaffold usesDEVKIT_UPGRADE_APP_CLIENT_IDin the
preflight, the error message, the header comment, and theclient-id:
input. -
tests/test_workflow_devkit_upgrade.pyasserts the new names and passes. - The three docs above no longer state that a numeric App ID is required.
- Release notes call out the new required org secret and the ordering
rule (create the secret before upgrading), prominently enough that a
consumer cannot miss it. - No numeric
*_APP_IDreference remains inassets/workspace/.
Open question for triage
Renaming a required secret in a stamped workflow is breaking for any
consumer that upgrades before the org secret exists — the preflight fails hard.
No semver: label has been applied here on purpose: please decide whether this
rides a minor with a loud release note, or warrants a major. A backward-compatible
fallback (accept either secret name for one release, warn on the old one) would
keep it minor and is worth considering.
Activity
c-vigo commentedon Aug 7, 2026
Cross-reference correction — the sibling issues filed alongside this one landed with these numbers:
client-idinput)The body above was written before the last three numbers were known; where it says scitadel#208, tessera#363, or org-config#1, use the numbers in this list.
chore(config): declare devkit-upgrade client-id org secret (#114)
test(workflows): require client-id App credentials in sync and upgrad…
feat(workflows): switch App credentials to client-id with legacy fall…
docs(secrets): drop the numeric App-ID requirement from secret refere…
test(workflows): require client-id App credentials in sync and upgrad…
feat(workflows): switch App credentials to client-id with legacy fall…
docs(secrets): drop the numeric App-ID requirement from secret refere…
test(workflows): require client-id App credentials in sync and upgrad…
feat(workflows): switch App credentials to client-id with legacy fall…
docs(secrets): drop the numeric App-ID requirement from secret refere…
feat(workflows): switch App credentials to client-id with legacy fall…
c-vigo commentedon Aug 7, 2026
Fixed on dev by PR #1373 (43dbce3): both stamped workflows (sync-issues.yml, devkit-upgrade.yml) now pass client-id App credentials, with a backward-compatible fallback to the legacy numeric secret in devkit-upgrade.yml so the rename rides a minor. Ships with the next release. Fallback removal and org-secret retirement tracked in #1366.
chore: release 1.7.0 (#350)
chore: release 1.7.0 (#1385)
chore(config): align org-secret consumer lists with the implemented f…
chore: release 1.1.0 (#166)
chore: release 1.18.0 (#1819)