Commit Graph
14 Commits
Author SHA1 Message Date
aiongg f2c76aa9e5 Feature code's Db has no query methods; effects inside a transaction or wave throw in tests; reads of bytes in a wave must be alone; idle transactions end after 10 s 2026-11-25 14:25:01 +00:00
aiongg 4a7c1091f3 GitHub App allowed owners: match kept repos by name, refuse removing an account whose installation covers one or whose id is a kept owner's, fill missing account ids in the sweep, write the first list in one transaction, keep installations whose repo list is cut, report GitHub read failures 2026-11-23 21:08:10 +00:00
aiongg 54630cc7f9 GitHub App allowed owners: match installations by account id, list every installed account when enforcement starts and repo owners when tracked, read an installation's repos before removing it, refuse tracking for owners not allowed, answer installation webhooks at once, page the installation list, count a 404 as already removed, show protected owners 2026-11-23 21:04:02 +00:00
aiongg 2d833f9f80 GitHub App allowed owners: installations on other accounts are uninstalled (webhook and 10-minute sweep), operator list on the GitHub App page and CLI 2026-11-23 20:53:22 +00:00
aiongg 4bfd0d8d2e GitHub App manifest: no commit statuses permission, because no code reads commit statuses 2026-11-22 02:03:43 +00:00
Alejandro Martínez Castillo bba74949c5 GitHub App manifest: checks and commit_statuses read, because the app token answers 403 on every CI-state read without them 2026-11-21 17:32:38 +01:00
aiongg f5bdb64c5e Runner hardening: per-repository installation tokens, a github.com-only credential helper, an allow-listed jev environment, pinned git attribute source and explicit repositories, absolute deny rules, a wider output scrub, and a deploy of the pushed commit
- Installation tokens for a write are minted for the write's repository (a transfer's also for its target); reads across repos and pushes to a contributor's fork keep the installation-wide token. Reading the app's keys checks the secrets file's mode like every other reader.
- The app's git credential helper is set for https://github.com only, after every configured helper is dropped.
- jev children get only the search path, home, locale, temp, cache, TLS and proxy variables and Jev's own.
- Git on the cached clones names the repository with GIT_DIR, runs with safe.bareRepository=explicit and reads attributes from the empty tree.
- The sandbox denies /proc and the credential directory in the absolute (//path) form as well.
- The scrub hides hex keys that are not digests, URL user:password, three-part dotted tokens and credentials inside hex or base64.
- The dashboard unit sees the settings file, releases, the bare repo and .local read-only.
- post-receive resolves the pushed commit once and the hook deploys that commit; the image build runs pnpm installs without install scripts.
2026-11-14 23:23:21 +00:00
aiongg 8c44df135c File Discord-drafted issues under the person's GitHub account: reporter sign-in routes, token store, junk check, limits, unlink 2026-11-09 13:08:52 +00:00
aiongg 28ad0df76c GitHub App webhooks queue changed items for a prompt re-read, with the poll as backup; the item page shows when AutoCraft last read the item from GitHub 2026-11-07 04:59:18 +00:00
aiongg 24aefd3c4d Fix user-lane review findings: waiting decisions are no work, structured auth classification, allowlisted child env, per-repo card lanes, vault not memoized when unavailable 2026-11-05 17:05:12 +00:00
aiongg 46ff06bd74 Org setup link review fixes: role-call fallbacks, owner check results, OAuth client for the flow, installation verification, token revocation, flow keys 2026-11-05 15:45:10 +00:00
aiongg 311eee2982 GitHub App org setup link: one-time links for an org owner (create, list, revoke), standalone setup page, app-manager grant through write.ts 2026-11-05 15:28:43 +00:00
aiongg cd9966c1ab GitHub App review fixes: probe the secrets file before converting, keep user_tokens current on refresh, POST registration bound to the session, app owner, safer secrets write, docs 2026-11-05 15:22:48 +00:00
aiongg 3c372b2b39 GitHub App groundwork: app secrets, manifest registration page, app sign-in with user_tokens 2026-11-05 15:10:58 +00:00