Skip to content

Agent Task Matrix

Phase: 1 Agent Plan Status: initial assignment matrix

Canonical Service Task Packs

Per-service task packs live under docs/agents/service-tasks/. Use these canonical service-owner packs as the first handoff unit when spawning one agent per service. Feature, cutover, and alias packs are listed separately below so they are not mistaken for independent service agents.

For workflow/test dispatch, pair each row with the machine-readable docs/agents/service-agent-manifest.json, docs/agents/service-agent-proof-ledger.json, docs/agents/service-agent-execution-queue.json, docs/agents/service-agent-dispatch-roster.md, and docs/agents/service-workflow-test-matrix.md; the roster fixes the spawn unit and first verification command, the execution queue fixes the first concrete taskId, the proof ledger records the not-complete closeout gates, and the workflow matrix records route/default cutover status expected from each service agent. Use the stable Dispatch ID as the task-id prefix in prompts and handoffs.

Dispatch IDCanonical service ownerTask pack
SVC-001api-gatewaydocs/agents/service-tasks/api-gateway.md
SVC-002bff-servicedocs/agents/service-tasks/bff-service.md
SVC-003iam-servicedocs/agents/service-tasks/iam-service.md
SVC-004profile-servicedocs/agents/service-tasks/profile-service.md
SVC-005organization-servicedocs/agents/service-tasks/organization-service.md
SVC-006classroom-servicedocs/agents/service-tasks/classroom-service.md
SVC-007course-servicedocs/agents/service-tasks/course-service.md
SVC-008question-servicedocs/agents/service-tasks/question-service.md
SVC-009exam-servicedocs/agents/service-tasks/exam-service.md
SVC-010attempt-servicedocs/agents/service-tasks/attempt-service.md
SVC-011file-servicedocs/agents/service-tasks/file-service.md
SVC-012import-servicedocs/agents/service-tasks/import-service.md
SVC-013formula-docx-service runtime adapter, not deployable servicedocs/agents/service-tasks/formula-docx-service.md
SVC-014search-servicedocs/agents/service-tasks/search-service.md
SVC-015ai-servicedocs/agents/service-tasks/ai-service.md
SVC-016billing-servicedocs/agents/service-tasks/billing-service.md
SVC-017wallet-servicedocs/agents/service-tasks/wallet-service.md
SVC-018usage-servicedocs/agents/service-tasks/usage-service.md
SVC-019payment-servicedocs/agents/service-tasks/payment-service.md
SVC-020notification-servicedocs/agents/service-tasks/notification-service.md
SVC-021audit-servicedocs/agents/service-tasks/audit-service.md
SVC-022analytics-servicedocs/agents/service-tasks/analytics-service.md
SVC-023admin-servicedocs/agents/service-tasks/admin-service.md

Orchestrator, Alias, And Cutover Packs

These packs coordinate service owners or route compatibility. They are not independent service-agent rows unless a later architecture decision promotes them to canonical services.

PackTask packRouted owner
IAM Org Membership Canonicaldocs/agents/service-tasks/iam-org-membership-canonical.mdIAM plus Organization coordination
IAM Invitesdocs/agents/service-tasks/iam-invites.mdIAM feature slice
Profile Gateway Adapterdocs/agents/service-tasks/profile-gateway-adapter.mdProfile plus Gateway coordination
IAM/Profile Cutover Hardeningdocs/agents/service-tasks/iam-profile-cutover-hardening.mdOrchestrator cutover
IAM/Profile Backfill Loaderdocs/agents/service-tasks/iam-profile-backfill-loader.mdOrchestrator with IAM/Profile migration owners
IAM/Profile Default Cutover Proofdocs/agents/service-tasks/iam-profile-default-cutover-proof.mdOrchestrator with gateway/browser/migration owners
User Service Retirementdocs/agents/service-tasks/user-service-retirement.mdOrchestrator retirement only
Classroom Public Adapter Preflightdocs/agents/service-tasks/classroom-public-adapter-preflight.mdClassroom plus Gateway coordination
Course Workflow Hardeningdocs/agents/service-tasks/course-workflow-hardening.mdCourse feature slice
Course Learning Projection Contractdocs/agents/service-tasks/analytics-course-learning-projection.mdCourse, Attempt, and Analytics coordination
Question Write Paritydocs/agents/service-tasks/question-write-parity.mdQuestion feature slice
Exam Runtime Accessdocs/agents/service-tasks/exam-runtime-access.mdExam plus Attempt coordination
Exam Start Adapterdocs/agents/service-tasks/exam-start-adapter.mdExam plus Attempt plus Gateway/BFF coordination
Attempt Public Surfacesdocs/agents/service-tasks/attempt-public-surfaces.mdAttempt feature slice
Learning Public Gateway Cutoverdocs/agents/service-tasks/learning-public-gateway-cutover.mdOrchestrator cutover
Import PDF/OCR Boundarydocs/agents/service-tasks/import-pdf-ocr-boundary.mdImport plus Usage/Wallet coordination
Import MathType Conversion Boundarydocs/agents/service-tasks/import-mathtype-conversion-boundary.mdImport plus Formula runtime adapter coordination
Operational Producer Eventsdocs/agents/service-tasks/operational-producer-events.mdProducer plus operational consumer coordination
Entitlement Aliasdocs/agents/service-tasks/entitlement-service.mdUsage-service alias only
Monetization Scaffold Wavedocs/agents/service-tasks/monetization-scaffold-wave.mdBilling/Wallet/Usage/Payment coordination
Monetization Broker Transportdocs/agents/service-tasks/monetization-broker-transport.mdBilling/Wallet/Usage/Payment transport coordination

Agent Streams

Agent/StreamOwnsMust Read FirstInitial TasksMust Not Do
Platform Agentshared Go packages, compose, CI scriptstarget architecture, database strategyP2-001 to P2-005, P2-008domain business logic
Gateway Agentapi-gateway, route table, proxy, adaptersAPI contract strategy, legacy API mapP2-006, P2-007, P3-004hide domain rules in gateway
BFF Agentbff-service screen aggregationresponsibility matrix, API guide, frontend route docsowner-service read adapters and gateway rehearsalcanonical domain writes or a primary business DB
IAM Agentiam-service auth/access boundaryIAM task pack, legacy auth inventorycredential/session/permission workflowsprofile, wallet, billing, or learning data
Profile Agentprofile-service education profilesprofile task pack, legacy auth/profile routesrole-profile and public/internal profile paritylogin, passwords, JWTs, roles, permissions, payment
IAM/Profile Cutover AgentIAM/Profile hardening and cutover blockersIAM/Profile cutover task pack, IAM/Profile default cutover proof pack, IAM/Profile implementation reportUUID migration plan, make test-iam-profile-backfill-report, write-side backfill loader, run-report validation, browser proof, route rollback proofrecreate auth-service, add broad user-service work, or bypass gateway
Organization Agentschool-service as organization-service aliasorganization task pack, IAM membership tasktenant validation and org metadata parityprofile details or IAM role policy
Classroom Agentclassroom-serviceclassroom task pack, organization boundaryclass/member workflow parityaccount creation or exam grading
Course Agentcourse-servicecourse task pack, file/question/exam boundariescourse content/enrollment/progress parityfile bytes, payment logic, live question rows
Contract AgentOpenAPI snapshots, fixtures, parity toolslegacy API map, business rulesP3-001, examples for auth/import/questions/examschange frontend or backend legacy
Migration Agentextract/backfill/validation toolingdatabase inventory, database mapping, validation planread-only source connection, count reportswrite to legacy DB
File Agentdocument-service/file-service, storage metadataservice boundaries, storage audit notesmedia read parity, presigned upload contractmigrate wallet purchase logic without approval
Import Agentdocx-import-service/import-serviceDOCX import audit, migration risksjob model, SSE model, Go Formula wrapper, PDF/OCR/MathType status and download sliceschange question type inference without evidence
Formula DOCX Runtime Adapter Agentgo-formula-docx runtime behind docx-import-service; not a deployable services/formula-docx-serviceformula task pack, parser handoffsparser determinism, metrics, corpus/benchmark coverage, adapter evidenceimport approval, frontend routes, or creating a duplicate service directory
Question Agentquestion-bank-service/question-servicequestion rules, database mappingquestion type list, question read paritynormalize scoring/rich content prematurely
Exam Agentexam-serviceexam rules, attempt rulesexam read parity, publish snapshot contractstart attempts directly
Attempt Agentattempt-serviceattempt rules, rollback planattempt snapshot model, answer save paritycut over production attempts early
AI Agentai-classifier-service as ai-service aliasAI task pack, provider/settings evidenceprovider/job/context/apply plus generate/explain/grade contract slicesquota decisions or wallet debits
Monetization Agentbilling, wallet, usage, payment foundationsresponsibility matrix, legacy wallet/payment evidence, monetization broker transport packevent integration, broker transport proof, gateway rehearsal, cutover tasksadd credits/subscriptions to IAM/Profile
Billing Agentbilling-servicebilling task pack, legacy AZ plan/subscription evidenceplan seeds, payment event consumers, entitlement eventsprovider webhook ingestion or wallet ledger
Wallet Agentwallet-servicewallet task pack, legacy wallet evidencetop-up/withdrawal/admin-review state machinessubscriptions or provider reconciliation
Usage Agentusage-service; entitlement alias onlyusage and entitlement task packsfeature gates, check/consume, billing syncmoney movement or workload execution
Payment Agentpayment-servicepayment task pack, SePay evidencewebhook auth, payment events, reconciliationsubscription activation or wallet balances
Notification Agentnotification-servicenotification task pack, parent/profile boundariesinbox/preferences/fanout producer contracts and delivery metadatauser lookup or audit logs
Search Agentsearch-servicesearch task pack, owner-service indexing planrebuildable indexes and sync checkpointscanonical business data
Audit Agentaudit-serviceaudit task pack, admin audit compatibility notesappend-only producer adapters, replay, backfill, and query paritydomain decisions or feature maintenance
Admin Agentadmin-servicefeature maintenance rules, risk registerfeature maintenance guard, support/admin inbox, and dashboard read-model sliceschange Vietnamese labels or own source-service data

Handoff Requirements

Every agent handoff must include:

  • task ID
  • docs read
  • legacy files read
  • files changed
  • tests run
  • open risks
  • rollback notes
  • next recommended task

Use agent-handoff-format.md.

Go-platform documentation is generated from repository Markdown.