Skip to content

network-tiers: add neutral network.tier vocab (strict/balanced/open) to hybrid/v1 schema #300

Closed

Description

@wz-gsa

Part of the neutral-network-tiers epic (see ADR 0002 isolation, PR #299).

Scope

Add network.tier to schemas/kit-hybrid-v1.schema.json (and/or the acq config schema): enum strict | balanced | open, description that each backend maps it to its native egress primitive, and that all tiers are deny-by-default (tier only sizes the allowlist).

Requirements

  • Default when unspecified = balanced (maintainer decision 2026-08-07 — backend-consistent with sbx baseline + quickstart ADR-0018 msb default-on). balanced stays deny-by-default + curated allowlist, not allow-all.
  • Coexists with the existing caps.network.allow (effective allowlist = tier baseline ∪ per-kit allow ∪ per-sandbox additions).
  • validate-kits.py accepts/validates the new field; add tests (valid tiers, invalid tier rejected, omission → treated as balanced).
  • Update INDEX/CATALOG generation if it surfaces network config.

Depends on nothing; unblocks the adapter-mapping + baseline-data issues.

AI-assisted (OpenCode); consensus-reviewed. Requires human review.

Activity

  1. mogul commented on Aug 7, 2026

    @mogul
    Contributor

    What happens when one kit specifies strict and another specifies balanced?

  2. wz-gsa commented on Aug 11, 2026

    @wz-gsa
    ContributorAuthor

    Implemented in the PR above. Added caps.network.tier (enum strict|balanced|open, default balanced) to the hybrid/v1 schema + a validate-kits field-level message; coexists with caps.network.allow; default documented not mutated. 12 new tests, 322 pass, make validate green. Unblocks #301 + quickstart #294.

  3. mogul commented on Aug 11, 2026

    @mogul
    Contributor

    Implemented in the PR above.

    Not clear to me... was that an answer to my post, or just a status report?

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions