feat: harden project files and runtime capability boundaries - #75
Merged
Conversation
Make uploaded files visible and reusable through slash commands. Replace shared internal secrets with scoped service bindings and opaque run capabilities. Remove replay and audit-archive machinery, and derive preview configuration from deployment identity.
iamjr15
force-pushed
the
codex/harden-file-runtime-boundaries
branch
from
July 27, 2026 06:29
fd61c10 to
d88a5c7
Compare
Gate Worker releases on protected-main environment policy and an exact-SHA successful Static Checks run. Reject invalid refs before checkout or dependency installation.
iamjr15
force-pushed
the
codex/harden-file-runtime-boundaries
branch
from
July 27, 2026 07:14
56e38ab to
7cbbf75
Compare
Schedule grouped minor and patch updates monthly with low PR caps. Ignore scheduled major upgrades while retaining independent security updates for vulnerable dependencies.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/after reload, while preserving@for skills only.What's Included
Project file experience
Skill runtime authorization
v2_agent_runs.SKILL_RUNTIME_TOKEN_SECRETandSKILL_RUNTIME_BASE_URL.Internal service boundaries
Configuration and schema
NEXT_PUBLIC_PREVIEW_HOSTNAME; the web app derives localhost locally and the production apex on Vercel.PREVIEW_HOSTNAMErouting/audience contract.Architecture
Decisions Made
Edge Cases Covered
Rollout
The production database was checked read-only and does not yet contain the new
skill_runtime_capabilitiescolumn. Deployment must coordinate:The new capability path should be smoke-tested immediately after those three pieces are live. This PR does not mutate production or deploy services by itself.
How to Review
packages/db/src/skill-runtime-capabilities.tsand the skill-runtime auth/capability changes.Verification
pnpm typecheckpnpm lintpnpm buildpnpm architecture:checkpnpm deadcodeNo schema changes)/file discovery, and@remained skills-onlyRelease Workflow Hardening
Productionenvironment.maindispatches and requires a successful exact-SHAStatic Checkspush run before checkout or dependency installation.Additional verification:
mainis protected and theProductionenvironment allows protected branches onlyDependency Automation
Additional verification: