Skip to content

feat(sandbox-worker): send x-privacy-tier: local-only on every Synapse call #101

Closed

Description

@Alter-Igor

Why

CAS ADR-042 (row opencode in § Engines) and svc-coding-agent#5 (P2 opencodealt engine) say the sandbox supervisor must send x-privacy-tier: local-only. Today it does not. Without it, synapse/auto may route a sandbox task to a cloud model.

Scope

  • Fork Synapse plugin: a new SYNAPSE_PRIVACY_TIER env var. When it is set, every Synapse call the plugin makes carries local-only: the REST chat path, the older MCP bridge chat path, synapse_buddy_review, and the model list.
  • Sandbox supervisor: sets that env var for opencode serve, and puts x-privacy-tier: local-only on the synapse provider. Manifest headers cannot override it.

Done when

Related: svc-coding-agent#5, CAS anomalyco#1672 (FEAT-CAS-014), #57.

Activity

  1. Alter-Igor commented on Oct 4, 2026

    @Alter-Igor
    OwnerAuthor

    🔒 HELD agent=opencodealt-claude-main

  2. Alter-Igor commented on Oct 4, 2026

    @Alter-Igor
    OwnerAuthor

    Project tracking (project-manager pass, Project 16 "opencode Delivery", writer: claude-main session, 2026-10-05)

    Fields:

    • WT-PM-05 Priority P1: assessed by ornith-1.0-35b (Synapse auto, independent reviewer): "The current behavior risks routing sensitive sandbox tasks to cloud models, directly violating the stated privacy policy (ADR-042) and creating a data compliance risk." This replaces a P2 I set earlier with no recorded rationale.
    • WT-PM-01 Owner: skipped, already Alter-Igor (written earlier in this session as the default). Assignees: defaulted to Alter-Igor.
    • WT-PM-02 Target Date: defaulted to 2026-10-05, a review-by date, not a delivery promise.
    • Docs: alterspective/sandbox-worker/README.md § What protects what.

    Checkpoint (WT-PM-09):

  3. self-assigned this
    on Oct 4, 2026
  4. Alter-Igor commented on Oct 4, 2026

    @Alter-Igor
    OwnerAuthor

    Done (project-manager checkpoint). PR #103 merged as 581f17515b. The post-merge dev alterspective-fast-cycle run (37208019170): success, including full. The worktree is closed and the branch deleted. Status Done / Completed. Follow-on: #102 (PR #105) builds on this.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions