Skip to content

Latest commit

 

History

History
146 lines (117 loc) · 7.07 KB

File metadata and controls

146 lines (117 loc) · 7.07 KB

Developer Operating Model

Use this page as the working contract for reading and updating the documentation.

Reading Order

Read the documentation in this order when starting fresh:

  1. README.md
  • Canonical front door for the human-facing documentation tree.
  1. DEVELOPER-OPERATING-MODEL.md
  • This page.
  1. AI-OPERATING-MODEL.md
  • Open this when the task touches shared prompts, agents, instructions, AI validation, or deferrals.
  1. learning/curriculum/1_MASTER_CURRICULUM.md
  • Active execution source of truth.
  1. internal/AZURE-PROGRESS-EVALUATION.md
  • Milestone-level truth.
  1. learning/curriculum/README.md
  • Short learning-track navigation guide.
  1. reference/quick-command-reference.md
  • Daily command and validation surface.
  1. guides/deployment/README.md
  • Open this only when the task touches Azure bootstrap, workflows, IaC, secrets, or operations.

Daily Working Flow

Use this sequence when working on the project:

docs/README.md
  -> docs/DEVELOPER-OPERATING-MODEL.md
    -> if the task changes repo-shared AI assets, open docs/AI-OPERATING-MODEL.md
    -> docs/learning/curriculum/1_MASTER_CURRICULUM.md
      -> docs/internal/AZURE-PROGRESS-EVALUATION.md
        -> choose the current deliverable
          -> implement in code
          -> validate with docs/reference/quick-command-reference.md
          -> consult docs/guides/ only if the task involves Azure, workflows, Docker, or configuration
          -> record detailed evidence in docs/learning/implementation-notes/ when needed

Current State

  • Days 1-43 are complete.
  • Track U Phase U5 is complete: the React web cutover is live and the legacy MVC UI has been retired from the runtime and solution.
  • Backend Phase 8 is now the next active backend engineering phase.
  • Local and Docker UI validation for the React-first runtime are complete on the supported execution paths.
  • The canonical learning source of truth is docs/learning/curriculum/1_MASTER_CURRICULUM.md.
  • The canonical milestone tracker is docs/internal/AZURE-PROGRESS-EVALUATION.md.
  • Only the active docs/ tree remains.
  • The canonical UI planning pages are docs/guides/development/api-contract-audit.md and docs/guides/development/ui-modernization-plan.md.
  • The companion payment automation planning page is docs/guides/development/payment-journey-automation-blueprint.md.

Update Routing

  • learning/curriculum/1_MASTER_CURRICULUM.md — day or phase checklist status
  • internal/AZURE-PROGRESS-EVALUATION.md — phase-level status and Azure estate truth
  • learning/implementation-notes/ — detailed implementation evidence
  • architecture/decisions/ — non-trivial architectural decisions
  • guides/ — procedures and operator-facing workflows
  • AI-OPERATING-MODEL.md — shared AI customization protocol, validation path, and deferral rules
  • internal/DEFERRED-WORK-LOG.md — auditable record of justified deferrals
  • Delete stale notes after merging any still-useful guidance into the owning canonical page

Working Rules

  1. Freeze documentation rationalization unless a new inconsistency blocks real work.
  2. Treat docs/ as the only active human-facing documentation tree.
  3. Treat .github/ as the canonical home for workflow, prompt, and automation guidance.
  4. Prefer updating one canonical page instead of duplicating the same guidance in multiple places.
  5. Use reference/quick-command-reference.md before commits or deployments.
  6. Use architecture/decisions/ when changing architecture constraints, not ad hoc notes.
  7. Delete stale material once any remaining actionable guidance has been folded into the canonical page that owns it.

Lightweight Maintenance Cadence

Keep maintenance simple:

  • At the start of the day
    • Open README.md
    • Open learning/curriculum/1_MASTER_CURRICULUM.md
    • Open internal/AZURE-PROGRESS-EVALUATION.md
  • At the end of a meaningful task
    • Update the curriculum if checklist status changed
    • Update the progress tracker if a phase-level fact changed
    • Update a guide only if the actual procedure changed
    • If the task changed shared AI assets, run pwsh scripts/validate-ai-customization.ps1
    • Optional local shortcut: run the VS Code task Validate: AI governance bundle
    • If the task created a justified deferral, add it to docs/internal/DEFERRED-WORK-LOG.md
    • If the task closes or freezes an architecture phase: run /XYDataLabs-day-complete, then /XYDataLabs-completion-check, then /XYDataLabs-context-audit before committing
  • Once per week
    • Spend 10 minutes checking for obvious broken links, duplicate guidance, or stale navigation
    • Fix only real issues; do not restart broad cleanup work
    • If documentation changed materially, run node scripts/validate-doc-links.js
    • If prompts, agents, instructions, or major repo structure changed, run /XYDataLabs-context-audit

Definition Of Done For Normal Work

Before closing a feature, day, or infra task, use this short rule:

  1. The code, script, or workflow change is complete.
  2. The relevant validation or test path was run.
  3. The owning source-of-truth page was updated if needed.
  4. No duplicate or side-note document was introduced.
  5. If docs/ changed, node scripts/validate-doc-links.js passes.
  6. If shared AI assets changed, pwsh scripts/validate-ai-customization.ps1 passes.

Definition Of Done For Phase Freeze

Before committing a phase close/freeze:

  1. Run /XYDataLabs-day-complete to route curriculum, roadmap, implementation-note, and status-surface updates.
  2. Run /XYDataLabs-completion-check and resolve any non-deferred gaps.
  3. Run /XYDataLabs-context-audit and resolve any HIGH or MEDIUM roadmap/status drift.
  4. If docs/ changed, node scripts/validate-doc-links.js passes.
  5. If shared AI assets changed, pwsh scripts/validate-ai-customization.ps1 passes.

Change Routing Rule

If you are unsure where an update belongs, route it like this:

  • "What should I do next?"
    • learning/curriculum/1_MASTER_CURRICULUM.md
  • "What phase are we in, and what is complete?"
    • internal/AZURE-PROGRESS-EVALUATION.md
  • "How do I run, validate, deploy, or troubleshoot this?"
    • guides/ or reference/
  • "How do shared prompts, agents, instructions, and AI guardrails work here?"
    • AI-OPERATING-MODEL.md
  • "Did we make a decision future developers must not break?"
    • architecture/decisions/
  • "Is this just historical context?"
    • Do not keep it as a separate document unless it still changes future execution or constraints.

Practical Next Move

Documentation structure is stable enough to stop reorganizing and return to engineering work. Resume from Phase 8 using:

  1. docs/learning/curriculum/1_MASTER_CURRICULUM.md
  2. docs/internal/AZURE-PROGRESS-EVALUATION.md
  3. docs/reference/quick-command-reference.md
  4. docs/guides/development/payment-journey-automation-blueprint.md when the task touches payment UI automation, 3DS automation, or verification orchestration
  5. docs/AI-OPERATING-MODEL.md when the task changes repo-shared AI assets

If a task touches Azure bootstrap, workflows, or IaC, open docs/guides/deployment/README.md for the relevant branch of guidance.