Skip to content

[Request]: shared route defaults for secrets and env bindings #576

Closed as not planned

Description

@jimhoyd

Problem or use case

Evidence comes from a first-party hosted URLCode service (private repository) built on core 0.5.9. It had to hand-write the code named below. Five routes repeat an identical secrets:/env: block because profiles (use:) carry only policies. The repetition is where a grant is most likely to drift.

Proposed behavior and alternatives

Let profiles (or a top-level defaults) carry binding declarations, still pinned per route in the operator grant so the least-privilege model is unchanged. YAML anchors are the workaround today.

Activity

  1. added
    enhancement
    ai-first
    needs-decision
    on Sep 23, 2026
  2. jimhoyd commented on Sep 24, 2026

    @jimhoyd
    CollaboratorAuthor

    Triage decision: decline shared env/secrets defaults. Bindings remain route-local so reviewers can see each route’s requested authority directly; YAML anchors remain intentionally unsupported. Operator grants continue to pin the effective bindings per route, but repetition in project YAML is preferable to obscuring this security-relevant decision. Closing as declined.

  3. jimhoyd commented on Oct 1, 2026

    @jimhoyd
    CollaboratorAuthor

    Superseded: the owner reversed this decision on 2026-10-01. Tracked in #1133.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ai-firstenhancementneeds-decision

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions