Skip to content

extract reusable command contract helpers for sibling products #368

@autholykos

Description

@autholykos

Context

rlm-tender should follow the same automation posture as Pituitary:

  • machine-readable JSON;
  • --request-file PATH|-;
  • command schemas;
  • normalized request/result/issue envelopes;
  • stale-state preflight;
  • content-trust metadata.

Pituitary already has these patterns, but much of the implementation lives under internal/.

Proposed Capability

Extract a small public package for command/operation contract helpers that sibling products can reuse.

Candidate contents:

  • Response[Req, Res];
  • Issue;
  • request-file parsing helpers;
  • JSON Schema registry helpers;
  • format negotiation helpers;
  • timing/content-trust metadata helpers, if appropriately generic.

Non-Goals

  • No spec/doc semantics.
  • No Pituitary-specific commands.
  • No dependency on Pituitary config.

Acceptance Criteria

  • A sibling product can import the package without importing Pituitary internals.
  • Existing Pituitary commands continue to use the extracted helpers.
  • The package has tests independent of spec/doc analysis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:coreCore source, config, and model capabilitiesccd/priority:parkedCCD: on holdneed:specsCall for participation: specs are requested to fix this issuetype:enhancementIssues concerning code or feature improvement (performance, refactoring, etc)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions