Skip to content

refactor(policy)!: remove deprecated NetworkBinary.harness #3054

Description

@drew

Description

Remove the deprecated and ignored NetworkBinary.harness protobuf field during the coordinated 0.1.0 breaking-change window.

The field is declared as:

  • message: openshell.sandbox.v1.NetworkBinary
  • field: harness
  • tag: 2

Reserve both the numeric tag and field name after removal.

Context

The harness concept has been removed and the public protobuf comment says the field is ignored. Compatibility conversions and tests still carry the field through parts of the provider and policy code. Retaining an ignored security-policy field misleads clients and preserves dead generated SDK surface.

This is the field identified by the #2565 audit; it is NetworkBinary.harness, not a field directly on SandboxPolicy.

Related: #2565. Source audit: https://gist.github.com/mrunalp/e80942c1544a0225ee588796a41ab30b.

Definition of Done

  • Remove NetworkBinary.harness from proto/sandbox.proto.
  • Add reserved 2; and reserved "harness"; to NetworkBinary.
  • Remove provider-profile, policy-merge, serialization, conversion, and test logic that reads or writes the deprecated bit.
  • Regenerate or update all SDK bindings and fixtures.
  • Reject or clearly migrate any legacy user-facing YAML/profile representation that still supplies harness.
  • Confirm persisted records containing tag 2 continue to decode safely with the field ignored as unknown.
  • Document the removal in the 0.1.0 migration notes.
  • Run the relevant policy, provider, SDK, and compatibility tests.

Agent Investigation

The field remains at proto/sandbox.proto in NetworkBinary. References remain in provider-profile and policy merge/conversion code even though the proto documents the field as ignored.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions