[Phase 2.1] Mesh-native provisioning via core intent protocol #37
Labels
No labels
blocked:children
blocked:commit-ready-failed
blocked:depends-231
blocked:depends-236
blocked:depends-237
blocked:depends-238
blocked:depends-239
blocked:gate-fetch
blocked:gate-fetch
blocked:gate-lint
blocked:gate-research
blocked:needs-attention
blocked:needs-decision
blocked:no-changes
blocked:no-procedure
blocked:preflight
blocked:verify-failed
bug
enhancement
feature-request
high-priority
in-progress
lint-cleanup
needs-decompose
needs-triage
ops-retry
ops-task
phase-5
quickfix
security/medium
self-building
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/mesh-seed#37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Decision Lock
Provisioning is a standard mesh workflow (intent/contract/claim/result), not a bespoke signal subsystem.
Architectural Decisions
intent.discovered,intent.claimed,result.committed)Scope
provision_workerintent typeOut of Scope
Acceptance Criteria
boundary.foundcan produceprovision_workerintentsRelated
Implementation Complete ✅
All Phase 2.1 tasks implemented:
Files Modified
schemas/intent.schema.json- Added provision_worker intent and contract schemassubstrate/ledger.py- Added WorkerInstance dataclass, worker_instances table, and CRUD methodssubstrate/bone.py- Addedprovision_reliability_guard_v1bone with idempotency, retry, deadline, and cooldown enforcementruntime/intent_router.py- Addedroute_with_instance_check()andcheck_ephemeral_instance_availability()for ephemeral worker routingNew Test File
tests/integration/test_phase2_1_provisioning.py- 17 integration tests covering:Test Results
Ready for Next Phase
Next: Capability implementation for provisioning worker that uses these primitives.
Implementation Complete ✅
All Phase 2.1 tasks implemented:
Files Modified
schemas/intent.schema.json- Added provision_worker intent and contract schemassubstrate/ledger.py- Added WorkerInstance dataclass, worker_instances table, and CRUD methodssubstrate/bone.py- Addedprovision_reliability_guard_v1bone with idempotency, retry, deadline, and cooldown enforcementruntime/intent_router.py- Addedroute_with_instance_check()andcheck_ephemeral_instance_availability()for ephemeral worker routingcapabilities/_muscle/worker_factory/template.yaml- Addedprovision_workerskillcapabilities/_muscle/worker_factory/run.py- Added_handle_provision_worker()for mesh-driven provisioningKey Design
provision_workerintent, creates worker registration + instance recordNew Test File
tests/integration/test_phase2_1_provisioning.py- 17 integration tests (all passing)Test Results
What's Working
provision_workerintentsNext: Node Provisioning (#44)
unstable.tail018ac4.ts.netas mesh nodeArchitecture correction note (prevent propagation):
Observed anti-patterns to avoid:
mesh-nodecount as worker countwriter,generic) directly to nodesdeployment-managersupernode modelValidation guidance:
This comment is to lock terminology and execution model consistency while implementation converges.