- packages/domain: AwardNotice, DISPATCH_PLAN proposal payload, ExecutionReport, MeteringRecord, potential-assessment and dispatch-optimization contracts, ReviewFinding (+ typed writebacks), SemanticMemoryEntry, EnvelopeChangeRequest, InsightCard — exported with fixtures on both sides. - skills-py: potential-assessment (certified × rolling fulfilment, evidence days) and dispatch-optimization (per-interval LP on HiGHS, shortfall reported) skills + routes + tests. - packages/services: dispatch rules in the policy pack (over-allocation, award anchor, lineage integrity for allocations); PowerBalanceSimulator; SimulationGateway (permit-only, idempotent, seeded execute → ExecutionReports); envelope deviation-streak suspension + apply(); ReviewService (attribution, reliability EWMA writeback, semantic memory, envelope recommendations as change requests); dispatch assembler; skill client methods. - packages/runtime: resource agent; award-decomposition, review and envelope-review workflows; lifecycle selects simulator/gateway by proposal type; trigger hooks for awards, execution reports, metering; decide() resumes either lifecycle or envelope-review runs; insight cards API. - Tests: docs/07 D-1 16:00 and D+1 end to end; reliability score 0.9 → 0.880 and the next assessment de-rates capacity; envelope suspension on a seeded 3-day streak; WIDEN request applied only by a human. 184 TS + 80 Python. - docs/open-questions: B10 (reliability/potential parameters). README and CLAUDE.md status → M4 done, M5 next. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UoYoGYzHkFyv3ALenkRPhA
245 lines
4.6 KiB
JSON
245 lines
4.6 KiB
JSON
{
|
|
"id": "prop-002",
|
|
"type": "DISPATCH_PLAN",
|
|
"timescale": "DAY_AHEAD",
|
|
"originator": {
|
|
"agent": "resource-agent",
|
|
"trigger": "EVENT",
|
|
"task_id": "task-002"
|
|
},
|
|
"payload": {
|
|
"kind": "DISPATCH_PLAN",
|
|
"market_date": "2026-03-15",
|
|
"award_ref": "award-2026-03-15",
|
|
"total_target_mw": {
|
|
"interval_minutes": 15,
|
|
"date": "2026-03-15",
|
|
"values": [
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0"
|
|
]
|
|
},
|
|
"allocations": [
|
|
{
|
|
"unit_id": "agg-unit-wuhan-01",
|
|
"target_mw": {
|
|
"interval_minutes": 15,
|
|
"date": "2026-03-15",
|
|
"values": [
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0",
|
|
"48.0"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"lineage": {
|
|
"tool_calls": [
|
|
{
|
|
"tool_call_id": "tc-002",
|
|
"tool": "dispatch-optimization",
|
|
"version": "1.0.0",
|
|
"inputs_ref": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"outputs_ref": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
|
|
}
|
|
],
|
|
"data_refs": [
|
|
"cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
|
|
],
|
|
"ledger_version": 43,
|
|
"policy_pack_version": "2026.03"
|
|
},
|
|
"envelope_ref": null,
|
|
"digest": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
|
|
"status": "DRAFT",
|
|
"created_at": "2026-03-14T08:30:00Z"
|
|
}
|