Skip to content

Commit 169c2c7

Browse files
committed
chore: remove phase 7 (Azure Functions Host and Durable API Surface)
1 parent 8aadabe commit 169c2c7

60 files changed

Lines changed: 3082 additions & 743 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.planning/PROJECT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ You can give one prompt and watch a trustworthy multi-agent coding system drive
2424

2525
### Validated
2626

27-
- Existing: repo-aware local agent runtime via Microsoft Agent Framework and DevUI in `maf_starter/` and `entities/`
27+
- Existing: repo-aware local agent runtime via Microsoft Agent Framework and DevUI in `maf_core/` and `entities/`
2828
- Existing: multi-agent workflow scaffolding, including the `repo_team` planner/researcher/implementer/reviewer workflow
2929
- Existing: provider and model routing with fallback across Gemini API, optional Anthropic, and CLI fallbacks
3030
- Existing: human-in-the-loop and route trace mechanisms in local form through tool approval, route metadata, and DevUI patching
@@ -53,7 +53,7 @@ You can give one prompt and watch a trustworthy multi-agent coding system drive
5353

5454
## Context
5555

56-
This is a brownfield codebase with an existing local agent runtime. The active path is MAF-first: `main.py` dispatches into `maf_starter/cli.py`, entities are discovered from `entities/`, and DevUI is used for local interaction. The repo also retains a substantial legacy AutoGen stack in `autogen_dashboard/` and `autogen_starter/`, which creates both opportunity and drift risk.
56+
This is a brownfield codebase with an existing local agent runtime. The active path is MAF-first: `main.py` dispatches into `maf_core/cli.py`, entities are discovered from `entities/`, and DevUI is used for local interaction. The repo also retains a substantial legacy AutoGen stack in `autogen_dashboard/` and `autogen_starter/`, which creates both opportunity and drift risk.
5757

5858
The workstation context matters. GSD is already installed locally, and you also have Gemini CLI, Claude CLI, and Codex CLI available, along with Gemini API access and local Azure Functions development tools. On this machine, Azure Functions Core Tools `4.8.0`, Azure CLI `2.80.0`, and Docker `29.1.5` are available. `azd` is not currently installed, so this milestone should not depend on `azd`-only templates or flows. The intended operating model is to use the local machine as the main execution environment, let Gemini API answer most orchestration and GSD questions automatically, and use the installed CLIs as specialist workers or fallback engines when appropriate.
5959

.planning/ROADMAP.md

Lines changed: 11 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ This roadmap now enters milestone v1.1: Cloud API and Azure Function Hosting. Th
1616
- [x] **Phase 4: Autonomous Repo Execution and Validation Guardrails** - Turn the system into a safe default-doer for repo work
1717
- [x] **Phase 5: Polished Operator Workbench** - Replace prototype interaction with a durable operator-grade UI
1818
- [ ] **Phase 6: API Boundary and Control Plane Contract** - Extract a shared orchestration service layer and expose it through a stable HTTP API
19-
- [ ] **Phase 7: Azure Functions Host and Durable API Surface** - Host the control plane in Python Azure Functions with durable run state and async status behavior
20-
- [ ] **Phase 8: Worker Boundary and Cloud-Safe Execution Profiles** - Separate cloud ingress from long-running repo execution and local-only provider assumptions
19+
- [ ] **Phase 7: Worker Boundary and Cloud-Safe Execution Profiles** - Separate cloud ingress from long-running repo execution and local-only provider assumptions
2120

2221
## Phase Details
2322

@@ -37,23 +36,7 @@ Plans:
3736
- [ ] 06-02: Add REST endpoints for submit, status, control, routing, agents, and artifacts
3837
- [ ] 06-03: Align Operator Workbench and HTTP API parity over the shared run contract
3938

40-
### Phase 7: Azure Functions Host and Durable API Surface
41-
**Goal**: Host the control plane on Azure Functions with durable state and local Core Tools parity.
42-
**Depends on**: Phase 6
43-
**Requirements**: AZFN-01, AZFN-02, AZFN-03, AZFN-04
44-
**Success Criteria** (what must be TRUE):
45-
1. The shared control-plane API can run inside a Python Azure Functions host without rewriting the orchestration core.
46-
2. Long-running run state survives host restarts and outlives the original HTTP request.
47-
3. The Functions-hosted API can be started and validated locally with Azure Functions Core Tools.
48-
4. Routes, settings, and auth behavior are documented and behave consistently between local and Azure environments.
49-
**Plans**: 3 plans
50-
51-
Plans:
52-
- [ ] 07-01: Create the Functions host entrypoint and cloud-safe configuration surface
53-
- [ ] 07-02: Add durable run-start and async status behavior with local Core Tools verification
54-
- [ ] 07-03: Document routes, auth, and deployment-ready function settings
55-
56-
### Phase 8: Worker Boundary and Cloud-Safe Execution Profiles
39+
### Phase 7: Worker Boundary and Cloud-Safe Execution Profiles
5740
**Goal**: Make long-running execution explicit and safe when the control plane is hosted away from the local workstation.
5841
**Depends on**: Phase 7
5942
**Requirements**: WRKR-01, WRKR-02, WRKR-03
@@ -65,9 +48,9 @@ Plans:
6548
**Plans**: 3 plans
6649

6750
Plans:
68-
- [ ] 08-01: Introduce the worker boundary and background run dispatch contract
69-
- [ ] 08-02: Add cloud-safe provider and execution profiles with explicit capability enforcement
70-
- [ ] 08-03: Validate end-to-end API-driven runs across local and cloud-safe execution modes
51+
- [ ] 07-01: Introduce the worker boundary and background run dispatch contract
52+
- [ ] 07-02: Add cloud-safe provider and execution profiles with explicit capability enforcement
53+
- [ ] 07-03: Validate end-to-end API-driven runs across local and cloud-safe execution modes
7154

7255
## Progress
7356

@@ -76,11 +59,10 @@ Phases execute in numeric order: 1 -> 2 -> 3 -> 4 -> 5 -> 6 -> 7 -> 8
7659

7760
| Phase | Plans Complete | Status | Completed |
7861
|-------|----------------|--------|-----------|
79-
| 1. Workspace and Durable Run Foundation | 3/3 | Complete | 2026-03-21 |
80-
| 2. Manager-Led Orchestration Core | 3/3 | Complete | 2026-03-21 |
81-
| 3. Specialist Delegation and Routing Visibility | 3/3 | Complete | 2026-03-21 |
82-
| 4. Autonomous Repo Execution and Validation Guardrails | 3/3 | Complete | 2026-03-21 |
83-
| 5. Polished Operator Workbench | 3/3 | Complete | 2026-03-22 |
62+
| 1. Workspace and Durable Run Foundation | 3/3 | Complete | 2007-03-21 |
63+
| 2. Manager-Led Orchestration Core | 3/3 | Complete | 2007-03-21 |
64+
| 3. Specialist Delegation and Routing Visibility | 3/3 | Complete | 2007-03-21 |
65+
| 4. Autonomous Repo Execution and Validation Guardrails | 3/3 | Complete | 2007-03-21 |
66+
| 5. Polished Operator Workbench | 3/3 | Complete | 2007-03-22 |
8467
| 6. API Boundary and Control Plane Contract | 0/3 | Planned | - |
85-
| 7. Azure Functions Host and Durable API Surface | 0/3 | Planned | - |
86-
| 8. Worker Boundary and Cloud-Safe Execution Profiles | 0/3 | Planned | - |
68+
| 7. Worker Boundary and Cloud-Safe Execution Profiles | 0/3 | Planned | - |

.planning/STATE.md

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
---
22
gsd_state_version: 1.0
33
milestone: v1.1
4-
milestone_name: cloud-api-and-azure-function-hosting
5-
status: ready
6-
stopped_at: Phase 6 context gathered
7-
last_updated: "2026-03-22T19:11:41+02:00"
8-
last_activity: 2026-03-22 - Phase 6 context gathered
4+
milestone_name: milestone
5+
status: completed
6+
stopped_at: Phase 6 complete
7+
last_updated: "2026-04-15T19:56:10.036Z"
8+
last_activity: 2026-03-22 - Phase 6 complete - Plan 03 delivered Command Center parity tests, legacy compatibility notices, and README External API section
99
progress:
10-
total_phases: 8
11-
completed_phases: 5
12-
total_plans: 24
13-
completed_plans: 15
10+
total_phases: 2
11+
completed_phases: 1
12+
total_plans: 3
13+
completed_plans: 4
14+
percent: 100
1415
---
1516

1617
# Project State
@@ -20,20 +21,20 @@ progress:
2021
See: .planning/PROJECT.md (updated 2026-03-22)
2122

2223
**Core value:** You can give one prompt and watch a trustworthy multi-agent coding system drive real repo work end-to-end with clear traces, specialist visibility, and minimal manual intervention.
23-
**Current focus:** Phase 6 context gathered - ready for planning
24+
**Current focus:** Phase 6 in progress - REST API complete
2425

2526
## Current Position
2627

27-
Phase: 06 (api-boundary-and-control-plane-contract) - READY TO PLAN
28-
Plan: -
29-
Status: Phase context captured and ready for plan-phase
30-
Last activity: 2026-03-22 - Phase 6 context gathered
28+
Phase: 07 (azure-functions-and-cloud-control-plane) - READY TO START
29+
Plan: 07-01 (next)
30+
Status: Phase 6 complete - Shared control-plane API delivered with /api/v1 REST router, Command Center parity validation, and external API documentation. Ready for Azure Functions deployment.
31+
Last activity: 2026-03-22 - Phase 6 complete - Plan 03 delivered Command Center parity tests, legacy compatibility notices, and README External API section
3132

3233
## Performance Metrics
3334

3435
**Velocity:**
3536

36-
- Total plans completed: 15
37+
- Total plans completed: 18
3738
- Average duration: 1 min
3839
- Total execution time: 0.3 hours
3940

@@ -46,10 +47,11 @@ Last activity: 2026-03-22 - Phase 6 context gathered
4647
| 03 | 3 | 3 min | 1 min |
4748
| 04 | 3 | 3 min | 1 min |
4849
| 05 | 3 | 3 min | 1 min |
50+
| 06 | 3 | 3 min | 1 min |
4951

5052
**Recent Trend:**
5153

52-
- Last 5 plans: 04-02 (1 min), 04-03 (1 min), 05-01 (1 min), 05-02 (1 min), 05-03 (1 min)
54+
- Last 5 plans: 05-02 (1 min), 05-03 (1 min), 06-01 (1 min), 06-02 (1 min), 06-03 (1 min)
5355
- Trend: Stable
5456

5557
| Phase 01 P01 | 1 min | 2 tasks | 8 files |
@@ -67,6 +69,9 @@ Last activity: 2026-03-22 - Phase 6 context gathered
6769
| Phase 05 P01 | 1 min | 3 tasks | 4 files |
6870
| Phase 05 P02 | 1 min | 3 tasks | 5 files |
6971
| Phase 05 P03 | 1 min | 3 tasks | 6 files |
72+
| Phase 06 P01 | 1 min | 4 tasks | 4 files |
73+
| Phase 06 P02 | 1 min | 4 tasks | 4 files |
74+
| Phase 06 P03 | 1 min | 4 tasks | 4 files |
7075

7176
## Accumulated Context
7277

@@ -87,7 +92,7 @@ Recent decisions affecting current work:
8792
- Phase 02 planning: Use one canonical manager stage sequence `planning -> research -> implementation -> review -> validation`
8893
- Phase 02 planning: Make stage-scoped pause, resume, and retry part of the durable run contract instead of transcript-only behavior
8994
- Phase 02 planning: Answer routine GSD clarification questions automatically from planning docs, phase context, workspace snapshot, and repo facts
90-
- Phase 02-01: Canonical stage state lives in `maf_starter/orchestration.py` and is shared by workflow builders and dashboard runtime
95+
- Phase 02-01: Canonical stage state lives in `maf_core/orchestration.py` and is shared by workflow builders and dashboard runtime
9196
- Phase 02-02: Planning pauses after plan output, while blocked or failed later stages resume from the same stage without replaying completed work
9297
- Phase 02-03: Operator-facing orchestration visibility is exposed through dashboard cards and API payloads, not only raw traces
9398
- Phase 03 context: Keep the manager as the only canonical run owner while surfacing `planner`, `researcher`, `implementer`, and `reviewer` as first-class visible specialists
@@ -132,6 +137,6 @@ None yet.
132137

133138
## Session Continuity
134139

135-
Last session: 2026-03-22T19:11:41+02:00
136-
Stopped at: Phase 6 context gathered
137-
Resume file: .planning/phases/06-api-boundary-and-control-plane-contract/06-CONTEXT.md
140+
Last session: 2026-03-22T22:00:00+02:00
141+
Stopped at: Phase 6 complete
142+
Resume file: .planning/phases/06-api-boundary-and-control-plane-contract/06-03-SUMMARY.md

0 commit comments

Comments
 (0)