spec: shadow-env-self-host - #268
Conversation
Deploying ystack with
|
| Latest commit: |
298404f
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://b3d28e85.fabrica-6yx.pages.dev |
| Branch Preview URL: | https://ystack-spec-shadow-env-self.fabrica-6yx.pages.dev |
Codex reviewer (cross-vendor, read-only)Reviewed-head: ea36aff Posted verbatim by The spec is internally inconsistent about the number of files in scope, which can make the accepted review-size/scope record wrong for the implementation PR. Review comment:
|
Codex reviewer (cross-vendor, read-only)Reviewed-head: 42033a0 Posted verbatim by The spec leaves an important part of the registry contract untested, so the implementation proof could pass with authorization metadata that violates the stated requirements. Review comment:
|
Codex reviewer (cross-vendor, read-only)Reviewed-head: ac7fae4 Posted verbatim by The spec approves a registry-only implementation for a security-control change, but the current driver treats registry membership as a generic id allowlist. This would widen execution beyond the documented self-host ystack source scope. Review comment:
|
…ory; driver enforces it)
Codex reviewer (cross-vendor, read-only)Reviewed-head: 424d223 Posted verbatim by The change adds only the high-risk spec artifact, with a matching intent blob and clear bounded requirements for the later implementation. I did not find a discrete introduced defect that would break the artifact chain or direct the implementation toward an obviously incorrect result. |
|
@yihanzhu — G2 merge request G2-3 ( Codex review (gpt-5.5) is clean at exactly this head/base — Reviewed-head Merging this PR is G2 for Next for this slug (high-risk path): a plan-only PR on |
Codex reviewer (cross-vendor, read-only)Reviewed-head: ce9ed7e Posted verbatim by The spec's central security binding still relies on caller-controlled incident data, so the planned implementation would not actually restrict the newly listed environment to ystack's source repository. Review comment:
|
Codex reviewer (cross-vendor, read-only)Reviewed-head: 38cd172 Posted verbatim by The spec adds a high-risk environment authorization path but its proposed root-check logic can ignore a failing git command if matching stdout was produced. That should be fixed before the plan is accepted and implemented. Review comment:
|
Codex reviewer (cross-vendor, read-only)Reviewed-head: 39a1081 Posted verbatim by The spec leaves a bypass in the proposed source-root binding: Git can satisfy the root check through alternate/common object stores before the later materializer guard rejects them. That undermines the main safety property this high-risk spec is meant to add. Review comment:
|
Codex reviewer (cross-vendor, read-only)Reviewed-head: b5229fc Posted verbatim by The spec requires copying code that will make an existing required test fail, without specifying the needed test guard update. This should be fixed before the spec is accepted as the implementation contract. Review comment:
|
…ed read-only snapshot)
Codex reviewer (cross-vendor, read-only)Reviewed-head: 10b024a Posted verbatim by The spec directs an implementation that could run caller-controlled PATH commands before authorization, and it also contains a scope contradiction around the new registry fields. These should be corrected before accepting the artifact. Full review comments:
|
…e both new registry fields)
Codex reviewer (cross-vendor, read-only)Reviewed-head: 9a819b8 Posted verbatim by The spec directs a security-sensitive implementation but misses shell-function injection around copied bare commands and does not require the git identity command to succeed before accepting its output. These should be fixed before the spec is accepted as the basis for the high-risk plan. Full review comments:
|
…ializer; rev-list status check)
Codex reviewer (cross-vendor, read-only)Reviewed-head: 22e4b58 Posted verbatim by The spec leaves a startup-environment gap in a security-sensitive direct invocation path and does not account for the PR's own size overrun under the repository rules. Full review comments:
|
…mit; size exception for this artifact PR; working-tree span proof)
Codex reviewer (cross-vendor, read-only)Reviewed-head: 298404f Posted verbatim by The change adds only the new high-risk spec artifact, and it is hash-linked to the existing intent. I found no discrete, actionable correctness issues in the proposed spec. |
|
Merging under operator decision OD-1 (#275): Codex review clean at Reviewed-head |
Tracks #263
G2 spec for the merged intent (G1, PR #265). Frontmatter records intent-blob a606f5f2f67d247d4d7827684322e15ae10b4dc9 (main's current work/shadow-env-self-host/intent.md) and risk: high (the registry is an authorization list the driver enforces). Merging this PR accepts both. It does not close the intake issue.
This PR adds only
work/shadow-env-self-host/spec.md.