Proposed decisions and review questions
Status: Proposals only. Do not treat these as approved until a review records the decision in review-log.md.
Proposed architecture decisions
| ID | Proposal | Reason | Review status |
|---|---|---|---|
| P-01 | Use the current interactive Copilot agent console as the initial build/deploy interface; defer a hosted chat service. | Avoid building a multi-user service before the identity, isolation and deployment gates are reviewed. | Agreed for initial phase |
| P-02 | Use Entra ID for workforce sign-in and a server-owned tenant registry for tenant membership. | Email/domain-based tenancy is not a reliable security boundary. | Open |
| P-03 | Use per-service AKS Workload Identity and least-privilege RBAC. | Avoid long-lived Azure client secrets and reduce blast radius. | Open |
| P-04 | Use explicit Copilot SDK tools in mode: "empty"; no arbitrary shell in the hosted agent. |
Keep model capabilities reviewable and bounded. | Open |
| P-05 | Require deterministic validation and human approval bound to an immutable plan/artifact digest. | Prevent model output from becoming deployment authority. | Open |
| P-06 | Use Azure Lighthouse or a customer-operated runner for future customer resources. | Keep customer consent and resource scope explicit. | Open |
| P-07 | Keep the current platform demo-only with synthetic data; do not host production or customer data. | This is an explicit platform constraint. | Agreed |
| P-08 | Publish only sanitized design content on a public static site. | The review pack is public by request; it must not expose secrets or internal-only information. | Agreed |
| P-09 | Use the signed-in operator's Azure CLI session for initial demo changes, with per-operation review; do not create an unattended deployment identity yet. | Keep authorization human-delegated while the deployment trust model is being reviewed. | Proposed; approval control open |
Questions for review cycle 1
- When should the platform move from this operator console to a hosted multi-user chat/API service?
- Should the initial agent have read/write access to one private GitHub repository, or should it work only from an uploaded/local sample?
- Should deployment target only the platform's demo resource group, with no customer tenant access at all in the first release?
- What evidence should the operator review before approving each demo deployment?
- What is the acceptable lifetime for conversation history and workspaces? The proposal is ephemeral by default.
- Is Azure Lighthouse the preferred future customer delegation mechanism, or should customers run their own deployment worker?
- Which roles should be allowed to approve deployments, and should approval require step-up MFA?
Provisional walkthrough — cycle 1
These are recommended defaults to keep the design moving. Except where marked Agreed in the decision table, they are not user-approved decisions.
| Question | Recommended default | Why |
|---|---|---|
| 1. When to add a hosted chat/API? | Stay console-first through the first end-to-end demo deployment. Revisit after that milestone, or earlier if independent concurrent operators, persistent sessions, or customer sign-in become necessary. | Matches the current console-first direction and avoids building a hosted identity surface before it is needed. |
| 2. Repository access? | Allow one explicitly selected private repository. Use a repository-scoped GitHub App or the operator's current console session; work on a branch and submit a reviewable change. Avoid broad PATs and unrelated repositories. | Keeps source access narrow while still enabling the requested build workflow. |
| 3. Deployment scope? | Demo resource group only. No customer tenant access and no production/customer data. | Consistent with the explicit demo-only boundary. |
| 4. Approval evidence? | Show the diff, exact target scope/environment, deployment/ARM what-if output, test and security-scan results, artifact digest, expected impact and rollback path. Require explicit operator approval before a cloud write. | Lets the operator approve a specific, inspectable change rather than free-form model intent. |
| 5. Retention? | For the console phase, avoid copying prompts/transcripts into platform storage; remove temporary workspaces when work ends. For a future hosted service, propose workspace deletion within 24 hours, no prompt retention by default, and 90-day metadata-only audit retention, pending policy review. | Minimizes sensitive data while preserving a short operational audit trail. |
| 6. Customer deployment model? | No customer access now. For a future pilot, prefer a customer-operated deployment runner; consider Azure Lighthouse only when the customer wants central operation and approves an exact least-privilege scope. | Keeps customer credentials and authority in the customer's boundary by default. |
| 7. Approval roles/MFA? | Current single-operator demo: explicit confirmation for every Azure write and workforce MFA. Future multi-user service: separate Developer and Reviewer roles, no self-approval, approval bound to digest/scope/expiry, with MFA at approval. | Adds a proportionate gate now and a two-person control before multi-user deployment. |
Questions for review cycle 2
- What data, if any, may be retained for troubleshooting and how long?
- What dependency, IaC and container policies must pass before approval?
- Which environments are in scope? The current proposal has demo only;
qa/finalare names, not production authorization. - What network egress must code workers have? Default proposal: deny except explicitly required GitHub/model endpoints.
- What are the required audit export, alerting and incident-response ownership?
- Is customer identity federation handled by Entra B2B or a separate customer identity product?
Review acceptance checklist
- Tenant source of truth and onboarding proof are agreed.
- User, agent, model, GitHub and deployment identities are separated and scoped.
- Customer-data and production exclusions are explicit and enforced.
- The deployment approval object binds the exact artifact, scope, actor and expiry.
- Session isolation, retention, logging and deletion are agreed.
- Public site has been reviewed for secrets and internal-only content.
- Any changed proposal is recorded in the review log and architecture docs.