Skip to content

Agent execution packet: resolve runtime/model boundary and implement v0.1 policy core #9

Description

@hummbl-dev

Parent

Mission

Produce the first reviewable implementation packet for HUMMBL Model Market & Routing Control Plane v0.1 without creating a new repository or changing production routes.

Required sequence

  1. Resolve Scope decision: agent-runtime selection versus model routing #7 first using a layered shared envelope:
    • runtime/privacy/authority decision first;
    • model/provider/cost decision only inside the approved runtime envelope;
    • separate validation boundaries;
    • no cheaper model may bypass runtime, privacy, authority, or human-review gates.
  2. Record definitions for task, runtime, execution backend, provider, model, scaffold, reviewer, and human route.
  3. Implement the minimal v0.1 policy packet under Whole-codebase and corpus model routing policy v0.1 #8 only after the scope decision is reviewable.

Required artifacts

  • reviewed architecture decision for Scope decision: agent-runtime selection versus model routing #7;
  • task-runtime envelope schema;
  • provider/model capability registry schema;
  • workload/task-class schema;
  • model-route decision schema;
  • benchmark-result import schema;
  • promotion receipt schema;
  • price snapshot schema with provenance, currency, effective date, and verified-at;
  • deterministic validator;
  • valid fixtures;
  • invalid/adversarial fixtures;
  • five example route decisions using placeholder outcomes only.

Required invalid cases

  • missing privacy classification;
  • missing authority metadata;
  • stale benchmark evidence;
  • unresolved model alias;
  • price without provenance/effective date;
  • cheaper route selected despite a hard-gate failure;
  • unsafe runtime with eligible model;
  • missing fallback or expiry;
  • self-review where independent review is required.

Constraints

  • Do not encode unverified model rankings or prices.
  • Do not change any production/default route.
  • Do not add product-specific private state.
  • Do not canonize new HUMMBL/BaseN terminology.
  • Preserve backward compatibility or explicitly version any breaking schema change.
  • Stdlib-only validation is preferred unless the repo already establishes another dependency policy.

Validation receipt

Return:

  • branch and commit SHA;
  • exact changed paths;
  • commands executed and outputs;
  • valid fixture pass results;
  • expected invalid fixture failures;
  • unresolved design questions;
  • explicit statement that no production routing changed.

Acceptance criteria

  • Scope decision: agent-runtime selection versus model routing #7 has a reviewable written decision and rejected alternatives.
  • Runtime and model decisions cannot semantically collapse into one unsafe price-first route.
  • All required schemas and fixtures exist.
  • Validator deterministically accepts/rejects expected fixtures.
  • Benchmark scores are imported by reference, not manually embedded.
  • Every promotion/route carries scope, evidence date, expiry, fallback, and cheaper-route rejection rationale.
  • PR remains draft until independent review confirms boundary, validator, and fixtures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions