canina/.ai_agency/memory/state.json
parsa aghaei f437f46e2e feat: AI Software Agency v3 — complete overhaul
- Add AGENCY.md: master orchestration protocol (universal AI editor entry point)
- Add 00_intake.md: user requirements & intent detection agent
- Add 10_deploy.md: production deployment agent
- Add 11_seo_content.md: SEO specialist & content writer agent (dual mode)
- Add specs/reviews/: directory for specialist review reports

REVIEW PIPELINE (new):
- Each specialist reviews ONLY their own domain:
  - 04_dev_backend: API, services, DB, auth, DTOs
  - 05_dev_frontend: components, state, UX code, performance
  - 07_visual_qa: UX patterns, a11y, responsive, design system
  - 08_devops_security: secrets, Docker, CVEs, CI/CD
  - 11_seo_content: meta tags, content quality, structured data
- 02_product_manager: synthesis mode reads all findings, deduplicates,
  creates unified prioritized backlog

All agents now support dual modes (REVIEW + IMPLEMENT/ENFORCE/CREATE/INSPECT)
state.json v3: adds project_intent, review_phase tracking, resume_context
backlog.json: fixed structure {tasks: [...]}, added sub_steps per task
orchestrate.py: simplified to state management utility (no fake AI calls)
2026-07-26 17:30:05 +03:30

57 lines
2.0 KiB
JSON

{
"schema_version": "2.0",
"project_name": "Canina Veterinary E-Commerce System",
"project_root": ".",
"project_mode": "BROWNFIELD",
"status": "IN_PROGRESS",
"checkpoint": {
"active_agent": "04_dev_backend",
"current_ticket_id": "TASK-102",
"sub_step": {
"index": 1,
"total": 3,
"name": "analyze_existing_seed",
"description": "Read existing Prisma schema and understand current seed structure"
}
},
"resume_context": {
"last_completed_action": "TASK-101 completed: Prisma schema optimized with indexes on categorySlug, suitableFor, and B2B fields",
"next_action": "Start TASK-102: Write backend/prisma/seed.ts with 30 Canina catalog products including retail and wholesale prices",
"files_modified_this_session": [],
"files_pending": [
"backend/prisma/seed.ts"
],
"notes": "TASK-101 is done. TASK-102 is about seeding 30 Canina German catalog products. Seed must run without error via 'npx prisma db seed'. Check schema.prisma for Product model fields before writing seed data."
},
"tech_stack": {
"language": "TypeScript",
"backend_framework": "NestJS",
"frontend_framework": "Next.js",
"database": "PostgreSQL",
"orm": "Prisma",
"test_runner": "Jest",
"deployment": "Docker + VPS",
"css_approach": "Tailwind CSS",
"api_style": "REST"
},
"execution_guards": {
"retry_count": 0,
"max_retry_attempts": 3,
"blocking_reason": null,
"agent_visit_counts": {
"00_intake": 1,
"00_auditor": 1,
"01_ceo": 1,
"02_product_manager": 1,
"03_architect": 1,
"04_dev_backend": 1
}
},
"agent_call_log": [
{ "agent": "00_auditor", "result": "health_score_audited", "timestamp": "2026-07-26T13:10:00Z" },
{ "agent": "02_product_manager", "result": "backlog_generated_8_tasks", "timestamp": "2026-07-26T13:15:00Z" },
{ "agent": "04_dev_backend", "result": "TASK-101_completed", "timestamp": "2026-07-26T16:20:00Z" }
],
"last_updated": "2026-07-26T16:47:00Z"
}