oneie 3.7.0 → 3.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -9
- package/dist/commands/agent.d.ts +2 -0
- package/dist/commands/agent.d.ts.map +1 -1
- package/dist/commands/agent.js +44 -0
- package/dist/commands/agent.js.map +1 -1
- package/dist/commands/bounty.d.ts +4 -0
- package/dist/commands/bounty.d.ts.map +1 -0
- package/dist/commands/bounty.js +24 -0
- package/dist/commands/bounty.js.map +1 -0
- package/dist/commands/buy.d.ts +19 -0
- package/dist/commands/buy.d.ts.map +1 -0
- package/dist/commands/buy.js +63 -0
- package/dist/commands/buy.js.map +1 -0
- package/dist/commands/capabilities.d.ts +4 -0
- package/dist/commands/capabilities.d.ts.map +1 -0
- package/dist/commands/capabilities.js +18 -0
- package/dist/commands/capabilities.js.map +1 -0
- package/dist/commands/commend.d.ts +4 -0
- package/dist/commands/commend.d.ts.map +1 -0
- package/dist/commands/commend.js +13 -0
- package/dist/commands/commend.js.map +1 -0
- package/dist/commands/completion.d.ts +4 -0
- package/dist/commands/completion.d.ts.map +1 -0
- package/dist/commands/completion.js +49 -0
- package/dist/commands/completion.js.map +1 -0
- package/dist/commands/config.d.ts +4 -0
- package/dist/commands/config.d.ts.map +1 -0
- package/dist/commands/config.js +78 -0
- package/dist/commands/config.js.map +1 -0
- package/dist/commands/deploy.d.ts +1 -1
- package/dist/commands/deploy.d.ts.map +1 -1
- package/dist/commands/deploy.js +39 -4
- package/dist/commands/deploy.js.map +1 -1
- package/dist/commands/doctor.d.ts +4 -0
- package/dist/commands/doctor.d.ts.map +1 -0
- package/dist/commands/doctor.js +72 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/domain.d.ts +4 -0
- package/dist/commands/domain.d.ts.map +1 -0
- package/dist/commands/domain.js +19 -0
- package/dist/commands/domain.js.map +1 -0
- package/dist/commands/export.d.ts +4 -0
- package/dist/commands/export.d.ts.map +1 -0
- package/dist/commands/export.js +15 -0
- package/dist/commands/export.js.map +1 -0
- package/dist/commands/fade.d.ts.map +1 -1
- package/dist/commands/fade.js +8 -4
- package/dist/commands/fade.js.map +1 -1
- package/dist/commands/flag.d.ts +4 -0
- package/dist/commands/flag.d.ts.map +1 -0
- package/dist/commands/flag.js +13 -0
- package/dist/commands/flag.js.map +1 -0
- package/dist/commands/health.d.ts +4 -0
- package/dist/commands/health.d.ts.map +1 -0
- package/dist/commands/health.js +11 -0
- package/dist/commands/health.js.map +1 -0
- package/dist/commands/highways.d.ts.map +1 -1
- package/dist/commands/highways.js +7 -4
- package/dist/commands/highways.js.map +1 -1
- package/dist/commands/hire.d.ts +4 -0
- package/dist/commands/hire.d.ts.map +1 -0
- package/dist/commands/hire.js +16 -0
- package/dist/commands/hire.js.map +1 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +85 -48
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/invite.d.ts +4 -0
- package/dist/commands/invite.d.ts.map +1 -0
- package/dist/commands/invite.js +37 -0
- package/dist/commands/invite.js.map +1 -0
- package/dist/commands/mark.d.ts.map +1 -1
- package/dist/commands/mark.js +7 -7
- package/dist/commands/mark.js.map +1 -1
- package/dist/commands/pay.d.ts +4 -0
- package/dist/commands/pay.d.ts.map +1 -0
- package/dist/commands/pay.js +21 -0
- package/dist/commands/pay.js.map +1 -0
- package/dist/commands/pipe.d.ts +4 -0
- package/dist/commands/pipe.d.ts.map +1 -0
- package/dist/commands/pipe.js +35 -0
- package/dist/commands/pipe.js.map +1 -0
- package/dist/commands/publish.d.ts +4 -0
- package/dist/commands/publish.d.ts.map +1 -0
- package/dist/commands/publish.js +23 -0
- package/dist/commands/publish.js.map +1 -0
- package/dist/commands/repl.d.ts +4 -0
- package/dist/commands/repl.d.ts.map +1 -0
- package/dist/commands/repl.js +56 -0
- package/dist/commands/repl.js.map +1 -0
- package/dist/commands/revenue.d.ts +4 -0
- package/dist/commands/revenue.d.ts.map +1 -0
- package/dist/commands/revenue.js +11 -0
- package/dist/commands/revenue.js.map +1 -0
- package/dist/commands/sell.d.ts +15 -0
- package/dist/commands/sell.d.ts.map +1 -0
- package/dist/commands/sell.js +49 -0
- package/dist/commands/sell.js.map +1 -0
- package/dist/commands/stats.d.ts +4 -0
- package/dist/commands/stats.d.ts.map +1 -0
- package/dist/commands/stats.js +11 -0
- package/dist/commands/stats.js.map +1 -0
- package/dist/commands/status.d.ts +4 -0
- package/dist/commands/status.d.ts.map +1 -0
- package/dist/commands/status.js +18 -0
- package/dist/commands/status.js.map +1 -0
- package/dist/commands/subscribe.d.ts +14 -0
- package/dist/commands/subscribe.d.ts.map +1 -0
- package/dist/commands/subscribe.js +33 -0
- package/dist/commands/subscribe.js.map +1 -0
- package/dist/commands/tail.d.ts +4 -0
- package/dist/commands/tail.d.ts.map +1 -0
- package/dist/commands/tail.js +51 -0
- package/dist/commands/tail.js.map +1 -0
- package/dist/commands/warn.d.ts.map +1 -1
- package/dist/commands/warn.js +6 -6
- package/dist/commands/warn.js.map +1 -1
- package/dist/index.js +70 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/args.d.ts +1 -0
- package/dist/lib/args.d.ts.map +1 -1
- package/dist/lib/args.js +3 -0
- package/dist/lib/args.js.map +1 -1
- package/dist/lib/output.d.ts +5 -0
- package/dist/lib/output.d.ts.map +1 -0
- package/dist/lib/output.js +32 -0
- package/dist/lib/output.js.map +1 -0
- package/dist/lib/sdk.d.ts +10 -0
- package/dist/lib/sdk.d.ts.map +1 -0
- package/dist/lib/sdk.js +22 -0
- package/dist/lib/sdk.js.map +1 -0
- package/dist/utils/installation-setup.d.ts +15 -0
- package/dist/utils/installation-setup.d.ts.map +1 -1
- package/dist/utils/installation-setup.js +63 -0
- package/dist/utils/installation-setup.js.map +1 -1
- package/package.json +3 -18
- package/.claude/agents/TROUBLESHOOTING.md +0 -530
- package/.claude/agents/agent-backend.md +0 -574
- package/.claude/agents/agent-builder.md +0 -911
- package/.claude/agents/agent-claude.md +0 -645
- package/.claude/agents/agent-clean.md +0 -477
- package/.claude/agents/agent-clone.md +0 -554
- package/.claude/agents/agent-designer.md +0 -1080
- package/.claude/agents/agent-director.md +0 -2254
- package/.claude/agents/agent-documenter.md +0 -688
- package/.claude/agents/agent-frontend.md +0 -1199
- package/.claude/agents/agent-integrator.md +0 -670
- package/.claude/agents/agent-lawyer.md +0 -1320
- package/.claude/agents/agent-news.md +0 -363
- package/.claude/agents/agent-onboard.md +0 -613
- package/.claude/agents/agent-ontology.md +0 -585
- package/.claude/agents/agent-ops.md +0 -1275
- package/.claude/agents/agent-problem-solver.md +0 -669
- package/.claude/agents/agent-quality.md +0 -1042
- package/.claude/agents/agent-sales.md +0 -507
- package/.claude/agents/agent-writer.md +0 -1068
- package/.claude/commands/cascade.md +0 -742
- package/.claude/commands/chat.md +0 -728
- package/.claude/commands/commit.md +0 -95
- package/.claude/commands/create.md +0 -544
- package/.claude/commands/deploy.md +0 -309
- package/.claude/commands/fast.md +0 -636
- package/.claude/commands/mcp-on.md +0 -191
- package/.claude/commands/media-upload.md +0 -186
- package/.claude/commands/news.md +0 -274
- package/.claude/commands/onboard.md +0 -440
- package/.claude/commands/one.md +0 -398
- package/.claude/commands/optimize.md +0 -74
- package/.claude/commands/plan.md +0 -719
- package/.claude/commands/push.md +0 -214
- package/.claude/commands/release.md +0 -105
- package/.claude/commands/review.md +0 -99
- package/.claude/commands/server.md +0 -487
- package/.claude/commands/start.md +0 -227
- package/.claude/commands/test.md +0 -197
- package/.claude/commands/validate.md +0 -140
- package/.claude/hooks/.last-news-context +0 -1
- package/.claude/hooks/PULL-BEFORE-PUSH-GUIDE.md +0 -473
- package/.claude/hooks/README-knowledge-hooks.md +0 -451
- package/.claude/hooks/README-news-generation.md +0 -364
- package/.claude/hooks/README-root-cleanup.md +0 -200
- package/.claude/hooks/README.md +0 -284
- package/.claude/hooks/__pycache__/todo.cpython-312.pyc +0 -0
- package/.claude/hooks/__pycache__/todo.cpython-313.pyc +0 -0
- package/.claude/hooks/auto-format.sh +0 -106
- package/.claude/hooks/check-filenames.py +0 -177
- package/.claude/hooks/clean-post.py +0 -468
- package/.claude/hooks/clean-pre.py +0 -393
- package/.claude/hooks/clean-root-markdown.sh +0 -73
- package/.claude/hooks/commit-push.sh +0 -95
- package/.claude/hooks/done.py +0 -236
- package/.claude/hooks/format-hook.sh +0 -163
- package/.claude/hooks/formatting.py +0 -187
- package/.claude/hooks/hook-logger.sh +0 -173
- package/.claude/hooks/knowledge-post.py +0 -355
- package/.claude/hooks/knowledge-pre.py +0 -245
- package/.claude/hooks/mcp-on.sh +0 -134
- package/.claude/hooks/notification-hook.sh +0 -279
- package/.claude/hooks/ontology-validation.py +0 -255
- package/.claude/hooks/push.sh +0 -153
- package/.claude/hooks/release-cli.sh +0 -205
- package/.claude/hooks/root-cleanup.py +0 -217
- package/.claude/hooks/security-hook.sh +0 -397
- package/.claude/hooks/tag-all-docs.py +0 -464
- package/.claude/hooks/test-validate-ontology.sh +0 -170
- package/.claude/hooks/todo.py +0 -368
- package/.claude/hooks/track-changes.sh +0 -101
- package/.claude/hooks/validate-imports.py +0 -182
- package/.claude/hooks/validate-ontology-structure-summary.md +0 -243
- package/.claude/hooks/validate-ontology-structure.py +0 -558
- package/.claude/hooks/validate-ontology-structure.py.backup +0 -518
- package/.claude/hooks/validate-ontology.py +0 -140
- package/.claude/hooks/write-news.sh +0 -194
- package/.claude/skills/INDEX.md +0 -523
- package/.claude/skills/REGISTRY.md +0 -529
- package/.claude/skills/agent-backend-create-mutation.md +0 -319
- package/.claude/skills/agent-designer-create-wireframe.md +0 -341
- package/.claude/skills/agent-frontend-create-page.md +0 -413
- package/.claude/skills/agents/README.md +0 -238
- package/.claude/skills/astro/add-content-collection.md +0 -30
- package/.claude/skills/astro/check-build.md +0 -29
- package/.claude/skills/astro/create-component.md +0 -29
- package/.claude/skills/astro/create-page.md +0 -30
- package/.claude/skills/astro/optimize-performance.md +0 -21
- package/.claude/skills/convex/check-deployment.md +0 -46
- package/.claude/skills/convex/create-mutation.md +0 -405
- package/.claude/skills/convex/create-query.md +0 -52
- package/.claude/skills/convex/read-schema.md +0 -373
- package/.claude/skills/convex/test-function.md +0 -50
- package/.claude/skills/deployment/check-deployment-health.md +0 -20
- package/.claude/skills/deployment/create-release.md +0 -21
- package/.claude/skills/deployment/deploy-cloudflare.md +0 -31
- package/.claude/skills/deployment/deploy-convex.md +0 -30
- package/.claude/skills/deployment/sync-repositories.md +0 -19
- package/.claude/skills/design/check-accessibility.md +0 -21
- package/.claude/skills/design/create-component-spec.md +0 -27
- package/.claude/skills/design/generate-design-tokens.md +0 -24
- package/.claude/skills/design/generate-wireframe.md +0 -30
- package/.claude/skills/documentation/create-migration-guide.md +0 -20
- package/.claude/skills/documentation/generate-api-docs.md +0 -27
- package/.claude/skills/documentation/generate-readme.md +0 -22
- package/.claude/skills/documentation/update-knowledge.md +0 -20
- package/.claude/skills/integration/connect-external-system.md +0 -21
- package/.claude/skills/integration/implement-a2a.md +0 -20
- package/.claude/skills/integration/implement-acp.md +0 -20
- package/.claude/skills/integration/verify-integration.md +0 -20
- package/.claude/skills/ontology/README.md +0 -255
- package/.claude/skills/ontology/check-dimension.md +0 -307
- package/.claude/skills/ontology/generate-entity-type.md +0 -339
- package/.claude/skills/ontology/validate-schema.md +0 -229
- package/.claude/skills/ontology/verify-relationships.md +0 -310
- package/.claude/skills/problem-solving/analyze-test-failure.md +0 -21
- package/.claude/skills/problem-solving/identify-root-cause.md +0 -20
- package/.claude/skills/problem-solving/propose-solution.md +0 -29
- package/.claude/skills/problem-solving/verify-fix.md +0 -21
- package/.claude/skills/sales/generate-demo-script.md +0 -21
- package/.claude/skills/sales/qualify-lead.md +0 -30
- package/.claude/skills/sales/track-trial.md +0 -20
- package/.claude/skills/sales/verify-kyc.md +0 -20
- package/.claude/skills/testing/analyze-coverage.md +0 -24
- package/.claude/skills/testing/generate-tests.md +0 -24
- package/.claude/skills/testing/run-tests.md +0 -27
- package/.claude/skills/testing/validate-e2e.md +0 -25
- package/AGENTS.md +0 -60
- package/CLAUDE.md +0 -130
- package/CREATE-WEBSITE.md +0 -458
- package/SECURITY.md +0 -31
- package/folders.yaml +0 -92
- package/one/README.md +0 -760
- package/one/actors/anthony-o-connell.md +0 -469
- package/one/actors/people.md +0 -590
- package/one/events/0-changes.md +0 -2764
- package/one/events/1-PROJECTS-START-HERE.md +0 -384
- package/one/events/1-projects-developer-quickstart.md +0 -620
- package/one/events/1-projects-feature.md +0 -2047
- package/one/events/1-projects-team-briefing.md +0 -583
- package/one/events/2024-10-14-deployment-plan.md +0 -330
- package/one/events/2024-10-14-deployment-success.md +0 -447
- package/one/events/2024-10-14-final-sync-complete.md +0 -250
- package/one/events/2024-10-14-release-v2.0.6.md +0 -414
- package/one/events/2024-10-15-agent-clean-v2-summary.md +0 -495
- package/one/events/2024-10-15-handoff-to-clean.md +0 -347
- package/one/events/2024-10-15-package-manager-tests.md +0 -442
- package/one/events/2024-10-15-release-command-complete.md +0 -416
- package/one/events/2025-10-15-private-files-secured.md +0 -359
- package/one/events/2025-10-15-unignore-public-group-docs.md +0 -298
- package/one/events/2025-11-08-backend-claude-refactor.md +0 -242
- package/one/events/2025-11-08-parallel-agent-implementation.md +0 -620
- package/one/events/2025-11-10-ai-integration-status-report.md +0 -241
- package/one/events/ACCESSIBILITY_CHECKLIST.md +0 -275
- package/one/events/ACCESSIBILITY_FIXES_SUMMARY.md +0 -293
- package/one/events/ALIGNMENT_REPORT_PROBLEM_SOLVER.md +0 -335
- package/one/events/ALIGNMENT_SUMMARY.md +0 -280
- package/one/events/API_ROUTES_FIXES_SUMMARY.md +0 -280
- package/one/events/ASTRO-INTEGRATION-EXAMPLES.md +0 -654
- package/one/events/AUDIT-ONTOLOGY-ALIGNMENT.md +0 -598
- package/one/events/AUDIT_PLAN_COMPLETION-20251108-125555.md +0 -262
- package/one/events/BEFORE_AFTER_COMPARISON.md +0 -978
- package/one/events/CART-DRAWER-INTEGRATION-GUIDE.md +0 -372
- package/one/events/CASCADE-2-BACKEND-AGNOSTIC.md +0 -430
- package/one/events/CHARTS-READY-TO-USE-20251106-080939.md +0 -184
- package/one/events/CHARTS-SUMMARY-20251106-080938.md +0 -196
- package/one/events/CLAUDE copy.md +0 -897
- package/one/events/CLEANUP-RELEASE-V2.0.8.md +0 -308
- package/one/events/CLOUDFLARE-FS-FIX-20251106-100516.md +0 -75
- package/one/events/COMPONENT_SHOWCASE-20251106-080938.md +0 -629
- package/one/events/CONNECTIONS_DEMO.md +0 -519
- package/one/events/CREATE-WEBSITE.md +0 -460
- package/one/events/CRITICAL-FIXES-COMPLETE.md +0 -571
- package/one/events/CUSTOM-DOMAIN.md +0 -375
- package/one/events/DELIVERABLES.md +0 -450
- package/one/events/DELIVERABLES.txt +0 -273
- package/one/events/DEMO-GROUPS-PAGE.md +0 -410
- package/one/events/DEMO-TESTING-SUMMARY.md +0 -536
- package/one/events/DEMO_COMPONENTS.md +0 -505
- package/one/events/DEMO_HOOKS_INDEX.md +0 -352
- package/one/events/DEMO_INFRASTRUCTURE.md +0 -923
- package/one/events/DEMO_INFRASTRUCTURE_SUMMARY.md +0 -588
- package/one/events/DEMO_INTEGRATION_CHECKLIST.md +0 -449
- package/one/events/DEMO_QUICK_REFERENCE.md +0 -459
- package/one/events/DEMO_SETUP.md +0 -494
- package/one/events/DEPLOYMENT copy.md +0 -444
- package/one/events/DEPLOYMENT.md +0 -196
- package/one/events/DESIGN-DELIVERABLES-20251106-080938.md +0 -557
- package/one/events/DESIGN-EXECUTIVE-SUMMARY-20251106-080938.md +0 -484
- package/one/events/DOCS-SYSTEM-GUIDE-20251105-142103.md +0 -458
- package/one/events/DOCUMENTER-DELIVERY-SUMMARY.md +0 -481
- package/one/events/DOCUMENTER-EXECUTION-GUIDE.md +0 -394
- package/one/events/DOCUMENTER-TASK-BREAKDOWN.md +0 -783
- package/one/events/ECOMMERCE-BEFORE-AFTER.md +0 -267
- package/one/events/ECOMMERCE-DEMO-PLAN.md +0 -243
- package/one/events/ECOMMERCE-ENHANCEMENTS.md +0 -594
- package/one/events/ECOMMERCE-HIGH-CONVERTING-ELEMENTS.md +0 -439
- package/one/events/ECOMMERCE-LIVE-DEMO.md +0 -381
- package/one/events/ECOMMERCE-QUICKSTART.md +0 -376
- package/one/events/ECOMMERCE-README.md +0 -354
- package/one/events/ECOMMERCE-REFACTOR-SUMMARY.md +0 -214
- package/one/events/ECOMMERCE-SETUP-SUMMARY.md +0 -414
- package/one/events/ECOMMERCE-TEMPLATE-COMPLETE.md +0 -753
- package/one/events/ECOMMERCE-TEMPLATES-SUMMARY.md +0 -941
- package/one/events/EFFECT_TS_API_PATTERN.md +0 -496
- package/one/events/EXECUTION-READY.md +0 -359
- package/one/events/EXECUTION-SUMMARY.md +0 -478
- package/one/events/FEATURE-2-4-COMPLETE.md +0 -320
- package/one/events/FEATURE_2_3_COMPLETE.md +0 -593
- package/one/events/FILE-REFERENCE-20251105-142103.md +0 -325
- package/one/events/GRADIENT-TEXT-PERMANENT-FIX.md +0 -241
- package/one/events/GROUPS-MIGRATION.md +0 -643
- package/one/events/GROUPS_DEMO_IMPLEMENTATION.md +0 -432
- package/one/events/HANDOFF.md +0 -331
- package/one/events/HOOKS-DEMO.md +0 -459
- package/one/events/IMPLEMENTATION-CHECKLIST-20251105-142103.md +0 -274
- package/one/events/IMPLEMENTATION-REPORT-DOCS-20251105-142102.md +0 -394
- package/one/events/IMPLEMENTATION-SUMMARY-FINAL.md +0 -568
- package/one/events/IMPLEMENTATION_SUMMARY-20251106-080938.md +0 -571
- package/one/events/IMPLEMENTATION_SUMMARY.md +0 -547
- package/one/events/INDEX-ALL-AGENTS.md +0 -190
- package/one/events/INDEX-FRONTEND-TESTING.md +0 -524
- package/one/events/INDEX-PROBLEM-SOLVER.md +0 -488
- package/one/events/INDEX-QUALITY-AGENT-INFER65.md +0 -455
- package/one/events/INDEX.md +0 -295
- package/one/events/INDEX_QUICK_START_REDESIGN-20251106-080939.md +0 -342
- package/one/events/INSTALL-TESTS.md +0 -311
- package/one/events/INSTALLATION_FOLDERS.md +0 -534
- package/one/events/INSTALLATION_FOLDERS_FILES.md +0 -223
- package/one/events/INSTALLATION_FOLDERS_SUMMARY.md +0 -437
- package/one/events/INTEGRATION-ARCHITECTURE.md +0 -579
- package/one/events/INTEGRATION-CHECKLIST.md +0 -1252
- package/one/events/INTEGRATION-ORCHESTRATION.md +0 -2641
- package/one/events/INTEGRATION-SUMMARY.md +0 -671
- package/one/events/LANDING-PAGE-EXAMPLE-OUTPUT.md +0 -684
- package/one/events/LANDING-PAGE-IMPLEMENTATION.md +0 -660
- package/one/events/LANDING-PAGE-QUICKSTART.md +0 -425
- package/one/events/LICENSE.md +0 -107
- package/one/events/MASTER-COORDINATION-PLAN.md +0 -613
- package/one/events/MASTER-ORCHESTRATION-INFER65.md +0 -441
- package/one/events/MASTER-PLAN-SUMMARY.md +0 -309
- package/one/events/MCP-CONFIGURATION.md +0 -354
- package/one/events/MCP-SETUP-COMPLETE.md +0 -223
- package/one/events/MIGRATION-REPORT.md +0 -453
- package/one/events/MIGRATION.md +0 -87
- package/one/events/MULTI-ONTOLOGY-COMPLETE-GUIDE.md +0 -1663
- package/one/events/MULTI-ONTOLOGY-IMPLEMENTATION-COMPLETE.md +0 -643
- package/one/events/NEWS-COMMANDS.md +0 -506
- package/one/events/NEWS-SYSTEM-SUMMARY.md +0 -480
- package/one/events/NODE-UPGRADE.md +0 -129
- package/one/events/ONBOARDING-IMPLEMENTATION-COMPLETE copy.md +0 -416
- package/one/events/ONTOLOGY-HOOKS-README.md +0 -718
- package/one/events/ONTOLOGY-INTEGRATION-MANIFEST.md +0 -383
- package/one/events/ONTOLOGY-TUTORIALS-SUMMARY.md +0 -569
- package/one/events/ONTOLOGY-TYPE-GENERATOR-SUMMARY.md +0 -491
- package/one/events/ONTOLOGY_DISCOVERY_IMPLEMENTATION.md +0 -504
- package/one/events/ONTOLOGY_DISCOVERY_QUICKSTART.md +0 -221
- package/one/events/PACKAGE-STRUCTURE.md +0 -328
- package/one/events/PLAN-COMPLETE.md +0 -429
- package/one/events/PLAYBOOK-SETUP-SUMMARY.md +0 -349
- package/one/events/PROBLEM-SOLVER-EXECUTIVE-SUMMARY.md +0 -484
- package/one/events/PROBLEM-SOLVER-QUICKSTART.md +0 -420
- package/one/events/PROJECTS-PLAN-SUMMARY.md +0 -480
- package/one/events/PROMPT_FIX_FRONTEND_ONLY.md +0 -585
- package/one/events/QA-CHECKLIST.md +0 -692
- package/one/events/QUALITY-AGENT-SUMMARY.md +0 -334
- package/one/events/QUALITY-EXECUTION-CHECKLIST.md +0 -593
- package/one/events/QUICK-REFERENCE-FRONTEND-TESTING.md +0 -475
- package/one/events/QUICK-START-ONTOLOGY.md +0 -426
- package/one/events/QUICK_START_REDESIGN-20251106-080938.md +0 -400
- package/one/events/README-PROBLEM-SOLVER.md +0 -394
- package/one/events/README-archived.md +0 -537
- package/one/events/README_QUICK_START_REDESIGN-20251106-080938.md +0 -484
- package/one/events/SEARCH_DEMO_CODE_REFERENCE.md +0 -657
- package/one/events/SEARCH_DEMO_DELIVERY.md +0 -433
- package/one/events/SEARCH_DEMO_SUMMARY.md +0 -321
- package/one/events/SEARCH_DEMO_VISUAL_GUIDE.md +0 -399
- package/one/events/SECURITY-AUDIT-FIXES.md +0 -394
- package/one/events/SECURITY-SCAN-COMPLETE.md +0 -299
- package/one/events/SHOP-BUILD-STATUS.md +0 -132
- package/one/events/SHOP-PREMIUM-UPDATE.md +0 -165
- package/one/events/SIMPLE_FIX_FRONTEND_ONLY.md +0 -280
- package/one/events/SITE-WIDE-GRADIENT-FIX.md +0 -317
- package/one/events/SPECIALIST-QUICK-REFERENCE.md +0 -678
- package/one/events/STORE-PRODUCTION-READY-STATUS.md +0 -377
- package/one/events/STRIPE-INTEGRATION.md +0 -432
- package/one/events/STRIPE-PAYMENT-METHODS-GUIDE.md +0 -447
- package/one/events/STRIPE-SETUP-GUIDE.md +0 -480
- package/one/events/TEST-PLAN-INDEX.md +0 -364
- package/one/events/TEST-PLAN.md +0 -1435
- package/one/events/TEST-SUMMARY.md +0 -411
- package/one/events/TESTING-DELIVERY.txt +0 -372
- package/one/events/TESTS-QUICK-REF.md +0 -280
- package/one/events/TRANSITIONS-QUICK-START.md +0 -159
- package/one/events/TRANSPARENCY-FIXES.md +0 -293
- package/one/events/TYPESCRIPT_FIXES.md +0 -170
- package/one/events/TYPESCRIPT_FIXES_COMPLETE.txt +0 -412
- package/one/events/TYPESCRIPT_FIXES_INDEX.md +0 -359
- package/one/events/VERIFICATION_CHECKLIST-20251106-080938.md +0 -326
- package/one/events/VIEW-TRANSITIONS.md +0 -446
- package/one/events/agent-command-implementation.md +0 -305
- package/one/events/agent-director-enhancement-summary.md +0 -404
- package/one/events/agent-director-routing-update.md +0 -214
- package/one/events/agent-onboard-implementation-summary.md +0 -475
- package/one/events/agent-ontology-alignment-completion.md +0 -263
- package/one/events/ai-integration-complete.md +0 -294
- package/one/events/ai-integration-lessons-learned.md +0 -511
- package/one/events/backend-integration-tests.md +0 -624
- package/one/events/backend-structure-diagram.txt +0 -393
- package/one/events/backend-structure-summary.txt +0 -269
- package/one/events/bullfm-video-podcast-analysis.md +0 -319
- package/one/events/clean-agent-ontology-cleanup-report.md +0 -371
- package/one/events/clean-agent-todo-analysis-summary.md +0 -336
- package/one/events/cloudflare-automation-complete.md +0 -350
- package/one/events/cloudflare-pages-infrastructure-setup.md +0 -282
- package/one/events/contact-page-complete.md +0 -316
- package/one/events/convex-analysis-index.md +0 -322
- package/one/events/convex-structure-analysis.md +0 -718
- package/one/events/creation-instructions-9-todos.md +0 -906
- package/one/events/cycle-3-video-player-port-20251108.md +0 -368
- package/one/events/cycle-3-video-player-port-complete-20251108.md +0 -334
- package/one/events/deployment-installation-folders.md +0 -178
- package/one/events/deployment-ops-summary.md +0 -386
- package/one/events/deployment-verification.md +0 -366
- package/one/events/design-spec-complete.md +0 -226
- package/one/events/documentation-audit-index.md +0 -473
- package/one/events/documentation-audit-summary.md +0 -417
- package/one/events/documentation-improvement-roadmap.md +0 -906
- package/one/events/documentation-standards-compliance-report.md +0 -538
- package/one/events/documentation-updates.md +0 -370
- package/one/events/events.md +0 -563
- package/one/events/fix-product-hydration-20251106.md +0 -211
- package/one/events/frontend-effects-complete.md +0 -584
- package/one/events/frontend-effects-orchestration.md +0 -1356
- package/one/events/frontend-effects-risk-register.md +0 -1055
- package/one/events/frontend-effects-week1-assignments.md +0 -1594
- package/one/events/hook-ontology-alignment-summary.md +0 -528
- package/one/events/installation-folders-workflow-integration.md +0 -458
- package/one/events/landing-page-generator.md +0 -476
- package/one/events/legal-assessment-2025-10-16.md +0 -1917
- package/one/events/master-coordination-plan.json +0 -1078
- package/one/events/master-plan-9-todos.md +0 -900
- package/one/events/mobile-performance-optimization.md +0 -179
- package/one/events/onboarding-implementation-complete.md +0 -523
- package/one/events/ontology-audit-agent-clone.md +0 -323
- package/one/events/ontology-test-examples.md +0 -580
- package/one/events/phase1-backend-implementation-complete.md +0 -536
- package/one/events/plan-completion-audit.md +0 -707
- package/one/events/plan-files-updated.md +0 -273
- package/one/events/production-readiness-plan.md +0 -389
- package/one/events/readme.md +0 -100
- package/one/events/release.md +0 -272
- package/one/events/root-cleanup-alignment-report.md +0 -265
- package/one/events/security-fixes-2025-01-15.md +0 -226
- package/one/events/separate-implementation-status.md +0 -555
- package/one/events/server-command-optimization-20251108.md +0 -150
- package/one/events/session-summary-2025-10-18.md +0 -366
- package/one/events/skills-complete.md +0 -351
- package/one/events/skills-infer-6-10-summary.md +0 -70
- package/one/events/skills-phase1-complete.md +0 -281
- package/one/events/specialist-assignments.md +0 -766
- package/one/events/structural-analysis-architecture-vs-plans.md +0 -600
- package/one/events/test-dashboard.md +0 -363
- package/one/events/test-index.md +0 -421
- package/one/events/test-report-ontology.md +0 -611
- package/one/events/testing-summary.md +0 -388
- package/one/events/todo-agent-builder.md +0 -1180
- package/one/events/todo-agent-director.md +0 -164
- package/one/events/todo-agent-documenter.md +0 -1815
- package/one/events/todo-agent-frontend.md +0 -1542
- package/one/events/todo-agent-problem-solver.md +0 -1682
- package/one/events/todo-agent-quality.md +0 -1647
- package/one/events/todo-refactoring-complete.md +0 -408
- package/one/events/wave1-backend-implementation-complete.md +0 -698
- package/one/events/web-AI_INTEGRATION_PHASE2_SUMMARY-20251111-152540.md +0 -529
- package/one/events/web-BUY-IN-CHATGPT-README-20251116-235241.md +0 -491
- package/one/events/web-CHARTS-IMPLEMENTATION-20251106-080939.md +0 -576
- package/one/events/web-CHARTS-QUICKSTART-20251106-080939.md +0 -416
- package/one/events/web-CODE-HIGHLIGHTING-SUMMARY-20251111-152540.md +0 -442
- package/one/events/web-DEPLOYMENT_SUMMARY-20251116-005428.md +0 -290
- package/one/events/web-DESIGN-SUMMARY-20251106-080939.md +0 -514
- package/one/events/web-README-AI-INTEGRATION-20251111-152540.md +0 -196
- package/one/events/web-RECHARTS-INTEGRATION-20251111-152540.md +0 -265
- package/one/events/web-RELEASE_OPTIMIZATION_PLAN-20251116-005428.md +0 -447
- package/one/events/web-TEST-CLEANUP-20251105-143205.md +0 -3
- package/one/events/web-USING-ANY-COMPONENT-IN-CHAT-20251111-152540.md +0 -561
- package/one/events/web-test-code-highlighting-20251111-152540.md +0 -231
- package/one/groups/features.md +0 -2904
- package/one/groups/groups.md +0 -587
- package/one/groups/one.md +0 -619
- package/one/groups/strategy-copy.md +0 -887
- package/one/learning/.obsidian/app.json +0 -1
- package/one/learning/.obsidian/appearance.json +0 -1
- package/one/learning/.obsidian/core-plugins.json +0 -33
- package/one/learning/.obsidian/ecommerce-ontology.md +0 -210
- package/one/learning/.obsidian/workspace.json +0 -211
- package/one/learning/100-inference-quick-reference.md +0 -449
- package/one/learning/ag-ui-protocol.md +0 -613
- package/one/learning/agent-onboard-usage.md +0 -630
- package/one/learning/agentic-commerce.md +0 -146
- package/one/learning/ai-agents-vs-memecoins-thesis.md +0 -683
- package/one/learning/ai-api-reference.md +0 -715
- package/one/learning/ai-platform.md +0 -323
- package/one/learning/ai-quickstart.md +0 -355
- package/one/learning/ai-sdk-implementation.md +0 -436
- package/one/learning/ai-token-crypto-analysis-framework.md +0 -1191
- package/one/learning/ai-token-paradigm-shift-2025.md +0 -732
- package/one/learning/altcoin-cycle-prediction-ontology.md +0 -884
- package/one/learning/altcoin-cycle-trading-strategy.md +0 -642
- package/one/learning/architecture-any-backend.md +0 -1589
- package/one/learning/architecture-diagram.md +0 -404
- package/one/learning/architecture-frontend.md +0 -1014
- package/one/learning/architecture.md +0 -1742
- package/one/learning/archived/ontology.old.md +0 -2840
- package/one/learning/astro-effect-complete-vision.md +0 -2148
- package/one/learning/astro-effect-simple-architecture.md +0 -750
- package/one/learning/audit-agent-onboard-alignment.md +0 -481
- package/one/learning/audit-agent-sales-alignment.md +0 -444
- package/one/learning/backend-api-reference.md +0 -728
- package/one/learning/cascading-context-specification.md +0 -1617
- package/one/learning/claude-code-integration.md +0 -1293
- package/one/learning/cli-claude-handoff.md +0 -736
- package/one/learning/context-engineering.md +0 -610
- package/one/learning/crypto-analysis-strategy.md +0 -1276
- package/one/learning/crypto-cycle-2024-2025-analysis.md +0 -44
- package/one/learning/crypto.md +0 -978
- package/one/learning/develop/design.md +0 -364
- package/one/learning/develop/index.md +0 -145
- package/one/learning/development-commands.md +0 -251
- package/one/learning/docs.md +0 -627
- package/one/learning/dsl.md +0 -1678
- package/one/learning/event-driven-documentation.md +0 -270
- package/one/learning/files.md +0 -2489
- package/one/learning/frontend.md +0 -1056
- package/one/learning/games-english.md +0 -691
- package/one/learning/games.md +0 -1082
- package/one/learning/generative-ui-patterns.md +0 -559
- package/one/learning/guidelines.md +0 -314
- package/one/learning/hono.md +0 -2127
- package/one/learning/implementation-examples.md +0 -2554
- package/one/learning/installation-folders.md +0 -366
- package/one/learning/institutional-cycle-paradigm-2025.md +0 -555
- package/one/learning/knowledge.md +0 -660
- package/one/learning/language.md +0 -998
- package/one/learning/lessons-learned.md +0 -378
- package/one/learning/lessons-website-building-focus.md +0 -382
- package/one/learning/merge-report.md +0 -254
- package/one/learning/metadata-system.md +0 -504
- package/one/learning/nine-padel-playbook.md +0 -229
- package/one/learning/one-protocol-ai-agents.md +0 -892
- package/one/learning/one-protocol-executive-report.md +0 -617
- package/one/learning/one-protocol-standard.md +0 -869
- package/one/learning/one-protocol-whitepaper.md +0 -756
- package/one/learning/ontology-blog.yaml +0 -47
- package/one/learning/ontology-cheatsheet.md +0 -617
- package/one/learning/ontology-community.yaml +0 -65
- package/one/learning/ontology-core-universal.md +0 -740
- package/one/learning/ontology-core.yaml +0 -63
- package/one/learning/ontology-courses.yaml +0 -76
- package/one/learning/ontology-creator.md +0 -402
- package/one/learning/ontology-crypto.md +0 -1603
- package/one/learning/ontology-developer-guide.md +0 -814
- package/one/learning/ontology-documentation.md +0 -377
- package/one/learning/ontology-ecommerce.md +0 -269
- package/one/learning/ontology-education-game.md +0 -1654
- package/one/learning/ontology-education.md +0 -938
- package/one/learning/ontology-engineering-specification.md +0 -1310
- package/one/learning/ontology-engineering.md +0 -1676
- package/one/learning/ontology-files.yaml +0 -525
- package/one/learning/ontology-frontend-master.md +0 -2898
- package/one/learning/ontology-frontend-specifications.md +0 -2196
- package/one/learning/ontology-frontend.md +0 -2475
- package/one/learning/ontology-index.md +0 -397
- package/one/learning/ontology-minimal.yaml +0 -301
- package/one/learning/ontology-portfolio.yaml +0 -45
- package/one/learning/ontology-quickstart.md +0 -602
- package/one/learning/ontology-release.md +0 -317
- package/one/learning/ontology-shop.yaml +0 -148
- package/one/learning/ontology-tokens.yaml +0 -51
- package/one/learning/ontology-tutorial.md +0 -455
- package/one/learning/ontology-v2.md +0 -4449
- package/one/learning/ontology-video-script.md +0 -939
- package/one/learning/ontology-visual-guide.md +0 -378
- package/one/learning/ontology.md +0 -3847
- package/one/learning/ontology.yaml +0 -1653
- package/one/learning/parallel-agents.md +0 -932
- package/one/learning/patterns/backend/convex-mutation-pattern.md +0 -130
- package/one/learning/patterns/backend/convex-query-pattern.md +0 -143
- package/one/learning/patterns/backend/mutation-template.md +0 -249
- package/one/learning/patterns/backend/query-template.md +0 -286
- package/one/learning/patterns/backend/service-template.md +0 -258
- package/one/learning/patterns/design/component-architecture.md +0 -435
- package/one/learning/patterns/design/index.md +0 -160
- package/one/learning/patterns/design/test-driven-design-pattern.md +0 -196
- package/one/learning/patterns/design/wireframe-template.md +0 -250
- package/one/learning/patterns/frontend/component-template.md +0 -246
- package/one/learning/patterns/frontend/form-template.md +0 -348
- package/one/learning/patterns/frontend/page-template.md +0 -209
- package/one/learning/patterns/frontend/react-component-pattern.md +0 -188
- package/one/learning/patterns/test/acceptance-criteria-template.md +0 -396
- package/one/learning/patterns/test/technical-test-template.md +0 -566
- package/one/learning/patterns/test/test-driven-pattern.md +0 -160
- package/one/learning/patterns/test/user-flow-template.md +0 -272
- package/one/learning/performance.md +0 -459
- package/one/learning/provider-agnostic-content.md +0 -995
- package/one/learning/provider-creation-guide.md +0 -1082
- package/one/learning/quality-loop.md +0 -419
- package/one/learning/quick-start-ontology-mapping.md +0 -773
- package/one/learning/readme-architecture.md +0 -158
- package/one/learning/readme.md +0 -149
- package/one/learning/rules.md +0 -644
- package/one/learning/score.md +0 -85
- package/one/learning/specifications.md +0 -873
- package/one/learning/tags.md +0 -148
- package/one/learning/todo-template.md +0 -269
- package/one/learning/todo.md +0 -269
- package/one/learning/troubleshooting.md +0 -434
- package/one/learning/typescript-patterns.md +0 -321
- package/one/learning/universal-generation-language.md +0 -827
- package/one/learning/x402-research.md +0 -104
- package/one/license.md +0 -107
- package/one/paths/a2a.md +0 -600
- package/one/paths/acp.md +0 -808
- package/one/paths/acps.md +0 -749
- package/one/paths/agentkit.md +0 -367
- package/one/paths/agui.md +0 -785
- package/one/paths/any-backend.md +0 -1720
- package/one/paths/ap2.md +0 -1072
- package/one/paths/api/queries-reference.md +0 -860
- package/one/paths/api-docs.md +0 -1909
- package/one/paths/api-reference.md +0 -1029
- package/one/paths/api.md +0 -2208
- package/one/paths/architecture-diagram.md +0 -112
- package/one/paths/communications.md +0 -467
- package/one/paths/connections.md +0 -357
- package/one/paths/copilotkit.md +0 -1577
- package/one/paths/cryptonetworks.md +0 -799
- package/one/paths/documentation.md +0 -1138
- package/one/paths/effect.md +0 -297
- package/one/paths/elizaos.md +0 -1308
- package/one/paths/groups.md +0 -814
- package/one/paths/inference.md +0 -76
- package/one/paths/integration-examples.md +0 -893
- package/one/paths/integration-guide.md +0 -887
- package/one/paths/integration-phase2.md +0 -754
- package/one/paths/kyc.md +0 -650
- package/one/paths/mcp.md +0 -860
- package/one/paths/membership.md +0 -1170
- package/one/paths/middleware.md +0 -1085
- package/one/paths/multitenant.md +0 -1359
- package/one/paths/n8n.md +0 -1033
- package/one/paths/patterns.md +0 -107
- package/one/paths/protocols.md +0 -297
- package/one/paths/relationships.md +0 -125
- package/one/paths/schema.md +0 -605
- package/one/paths/service-layer.md +0 -568
- package/one/paths/vectors.md +0 -225
- package/one/paths/wordpress.md +0 -1320
- package/one/paths/workflow-copy.md +0 -923
- package/one/paths/workflow-examples.md +0 -759
- package/one/paths/workflow-onboarding.md +0 -701
- package/one/paths/workflow.md +0 -923
- package/one/paths/workflows/delegation.md +0 -903
- package/one/paths/workflows/frontend.md +0 -1055
- package/one/paths/workflows/strategy.md +0 -921
- package/one/paths/workflows/tasks.md +0 -716
- package/one/paths/x402-baazar.md +0 -131
- package/one/paths/x402.md +0 -1353
- package/one/things/ALIGNMENT_AUDIT_QUALITY_AGENT.md +0 -401
- package/one/things/AUDIT_AGENT_INTEGRATOR_ALIGNMENT.md +0 -588
- package/one/things/AUDIT_REPORT_AGENT_CLEAN.md +0 -461
- package/one/things/CHECKLIST.md +0 -407
- package/one/things/IMPLEMENTATION_STATUS.md +0 -379
- package/one/things/ONE.md +0 -529
- package/one/things/agents/agent-backend.md +0 -1501
- package/one/things/agents/agent-builder.md +0 -1064
- package/one/things/agents/agent-clean.md +0 -1112
- package/one/things/agents/agent-clone.md +0 -1324
- package/one/things/agents/agent-deploy.md +0 -986
- package/one/things/agents/agent-designer.md +0 -2305
- package/one/things/agents/agent-director.md +0 -1526
- package/one/things/agents/agent-documenter.md +0 -1129
- package/one/things/agents/agent-frontend.md +0 -1201
- package/one/things/agents/agent-integrator.md +0 -1269
- package/one/things/agents/agent-lawyer.md +0 -1371
- package/one/things/agents/agent-problem-solver.md +0 -1457
- package/one/things/agents/agent-quality.md +0 -1483
- package/one/things/agents/agent-sales.md +0 -1074
- package/one/things/cascade/cascade.yaml +0 -481
- package/one/things/cascade/docs/examples/1-1-agent-prompts/design.md +0 -523
- package/one/things/cascade/docs/examples/1-1-agent-prompts/tests.md +0 -314
- package/one/things/cascade/docs/examples/1-1-agent-prompts.md +0 -562
- package/one/things/cascade/docs/examples/1-2-yaml-orchestrator/design.md +0 -543
- package/one/things/cascade/docs/examples/1-2-yaml-orchestrator/tests.md +0 -272
- package/one/things/cascade/docs/examples/1-2-yaml-orchestrator.md +0 -548
- package/one/things/cascade/docs/examples/1-3-event-coordination/design.md +0 -586
- package/one/things/cascade/docs/examples/1-3-event-coordination/tests.md +0 -267
- package/one/things/cascade/docs/examples/1-3-event-coordination.md +0 -547
- package/one/things/cascade/docs/examples/1-4-knowledge-management/design.md +0 -665
- package/one/things/cascade/docs/examples/1-4-knowledge-management/tests.md +0 -236
- package/one/things/cascade/docs/examples/1-4-knowledge-management.md +0 -652
- package/one/things/cascade/docs/examples/1-5-quality-loops/design.md +0 -860
- package/one/things/cascade/docs/examples/1-5-quality-loops/tests.md +0 -255
- package/one/things/cascade/docs/examples/1-5-quality-loops.md +0 -725
- package/one/things/cascade/docs/examples/1-6-numbering-structure/design.md +0 -659
- package/one/things/cascade/docs/examples/1-6-numbering-structure/tests.md +0 -256
- package/one/things/cascade/docs/examples/1-6-numbering-structure.md +0 -639
- package/one/things/cascade/docs/examples/readme.md +0 -259
- package/one/things/cascade/docs/getting-started.md +0 -533
- package/one/things/cascade/docs/workflow.md +0 -1378
- package/one/things/cascade/readme.md +0 -379
- package/one/things/cascade/templates/feature-template.md +0 -289
- package/one/things/claude/agents/advocacy-activation-manager.md +0 -710
- package/one/things/claude/agents/advocacy-campaign-designer.md +0 -688
- package/one/things/claude/agents/analyst.md +0 -508
- package/one/things/claude/agents/architect.md +0 -505
- package/one/things/claude/agents/brand-identity-specialist.md +0 -538
- package/one/things/claude/agents/bstp-token-strategist.md +0 -690
- package/one/things/claude/agents/builder-repo.md +0 -532
- package/one/things/claude/agents/bullstamp-community-builder.md +0 -597
- package/one/things/claude/agents/bullstamp-marketing-orchestrator.md +0 -529
- package/one/things/claude/agents/bulltilt-platform-growth.md +0 -590
- package/one/things/claude/agents/company-bullstamp-character.md +0 -602
- package/one/things/claude/agents/company-bullstamp-community.md +0 -307
- package/one/things/claude/agents/company-bullstamp-marketing.md +0 -307
- package/one/things/claude/agents/company-bullstamp-token.md +0 -307
- package/one/things/claude/agents/company-bulltilt-growth.md +0 -307
- package/one/things/claude/agents/content-bibliography-formatter.md +0 -404
- package/one/things/claude/agents/content-calendar-planner.md +0 -473
- package/one/things/claude/agents/content-chapter-formatter.md +0 -513
- package/one/things/claude/agents/content-formatter.md +0 -571
- package/one/things/claude/agents/content-hook-specialist.md +0 -485
- package/one/things/claude/agents/content-image-formatter.md +0 -560
- package/one/things/claude/agents/content-introduction-formatter.md +0 -510
- package/one/things/claude/agents/content-multiplication-engine.md +0 -579
- package/one/things/claude/agents/content-playbook-writer.md +0 -473
- package/one/things/claude/agents/content-team-manager.md +0 -647
- package/one/things/claude/agents/content-toc-formatter.md +0 -547
- package/one/things/claude/agents/convex-backend-specialist.md +0 -2725
- package/one/things/claude/agents/core-manager.md +0 -607
- package/one/things/claude/agents/core-master.md +0 -426
- package/one/things/claude/agents/cross-functional-manager.md +0 -476
- package/one/things/claude/agents/crypto-airdrop-strategist.md +0 -622
- package/one/things/claude/agents/crypto-analytics-educator.md +0 -596
- package/one/things/claude/agents/crypto-architecture-specialist.md +0 -497
- package/one/things/claude/agents/crypto-community-analyst.md +0 -314
- package/one/things/claude/agents/crypto-community-psychologist.md +0 -546
- package/one/things/claude/agents/crypto-dex-optimization-expert.md +0 -579
- package/one/things/claude/agents/crypto-dex-optimizer.md +0 -307
- package/one/things/claude/agents/crypto-diamond-formation-specialist.md +0 -552
- package/one/things/claude/agents/crypto-diamond-hands.md +0 -307
- package/one/things/claude/agents/crypto-ecosystem-expansion-manager.md +0 -597
- package/one/things/claude/agents/crypto-engagement-specialist.md +0 -581
- package/one/things/claude/agents/crypto-market-researcher.md +0 -307
- package/one/things/claude/agents/crypto-marketing-orchestrator.md +0 -563
- package/one/things/claude/agents/crypto-network-effect-amplifier.md +0 -614
- package/one/things/claude/agents/crypto-optimization-analyst.md +0 -597
- package/one/things/claude/agents/crypto-strategic-synthesizer.md +0 -556
- package/one/things/claude/agents/crypto-team-manager.md +0 -392
- package/one/things/claude/agents/crypto-token-analyst.md +0 -319
- package/one/things/claude/agents/crypto-viral-content-creator.md +0 -549
- package/one/things/claude/agents/crypto-wallet-identification-expert.md +0 -527
- package/one/things/claude/agents/crypto-wallet-identifier.md +0 -307
- package/one/things/claude/agents/customer-journey-designer.md +0 -474
- package/one/things/claude/agents/customer-success-manager.md +0 -574
- package/one/things/claude/agents/dev.md +0 -406
- package/one/things/claude/agents/documenter.md +0 -548
- package/one/things/claude/agents/elevate-marketing-orchestrator.md +0 -403
- package/one/things/claude/agents/engagement-specialist.md +0 -502
- package/one/things/claude/agents/engineering-architect.md +0 -387
- package/one/things/claude/agents/engineering-business-analyst.md +0 -527
- package/one/things/claude/agents/engineering-developer.md +0 -386
- package/one/things/claude/agents/engineering-director.md +0 -322
- package/one/things/claude/agents/engineering-ingestor.md +0 -659
- package/one/things/claude/agents/engineering-product-manager.md +0 -525
- package/one/things/claude/agents/engineering-product-owner.md +0 -527
- package/one/things/claude/agents/engineering-project-coordinator.md +0 -525
- package/one/things/claude/agents/engineering-quality-assurance.md +0 -392
- package/one/things/claude/agents/engineering-team-manager.md +0 -515
- package/one/things/claude/agents/engineering-user-experience.md +0 -386
- package/one/things/claude/agents/framework-elevate-manager.md +0 -309
- package/one/things/claude/agents/improver.md +0 -805
- package/one/things/claude/agents/intelligence-team-manager.md +0 -390
- package/one/things/claude/agents/lead-capture-expert.md +0 -459
- package/one/things/claude/agents/lead-magnet-creator.md +0 -446
- package/one/things/claude/agents/market-research-analyst.md +0 -435
- package/one/things/claude/agents/marketing-brand-identity.md +0 -344
- package/one/things/claude/agents/marketing-content-hooks.md +0 -455
- package/one/things/claude/agents/marketing-content-multiplier.md +0 -331
- package/one/things/claude/agents/marketing-content-poster.md +0 -372
- package/one/things/claude/agents/marketing-customer-journey.md +0 -331
- package/one/things/claude/agents/marketing-director.md +0 -402
- package/one/things/claude/agents/marketing-engagement.md +0 -331
- package/one/things/claude/agents/marketing-lead-capture.md +0 -331
- package/one/things/claude/agents/marketing-lead-magnet.md +0 -331
- package/one/things/claude/agents/marketing-network-effects.md +0 -331
- package/one/things/claude/agents/marketing-nurture-campaigns.md +0 -331
- package/one/things/claude/agents/marketing-share-optimizer.md +0 -331
- package/one/things/claude/agents/marketing-team-manager.md +0 -451
- package/one/things/claude/agents/marketing-viral-growth.md +0 -232
- package/one/things/claude/agents/mission-commander.md +0 -378
- package/one/things/claude/agents/network-effect-analyst.md +0 -604
- package/one/things/claude/agents/nextjs-15-specialist.md +0 -1634
- package/one/things/claude/agents/npx.md +0 -946
- package/one/things/claude/agents/nurture-campaign-manager.md +0 -554
- package/one/things/claude/agents/one-master.md +0 -378
- package/one/things/claude/agents/one-orchestrator.md +0 -345
- package/one/things/claude/agents/one.md +0 -658
- package/one/things/claude/agents/playbook-generator.md +0 -526
- package/one/things/claude/agents/pm.md +0 -349
- package/one/things/claude/agents/po.md +0 -370
- package/one/things/claude/agents/qa.md +0 -361
- package/one/things/claude/agents/research-foundation-analyst.md +0 -324
- package/one/things/claude/agents/research-intelligence-gatherer.md +0 -435
- package/one/things/claude/agents/research-market-analyst.md +0 -324
- package/one/things/claude/agents/research-team-manager.md +0 -489
- package/one/things/claude/agents/sales-environment-optimizer.md +0 -519
- package/one/things/claude/agents/sales-team-manager.md +0 -407
- package/one/things/claude/agents/sales-upsell-strategist.md +0 -324
- package/one/things/claude/agents/service-advocacy-campaigns.md +0 -324
- package/one/things/claude/agents/service-advocacy-manager.md +0 -324
- package/one/things/claude/agents/service-success-manager.md +0 -324
- package/one/things/claude/agents/service-team-manager.md +0 -405
- package/one/things/claude/agents/shadcn-ui-design-system-specialist.md +0 -2357
- package/one/things/claude/agents/share-optimization-specialist.md +0 -576
- package/one/things/claude/agents/sm.md +0 -352
- package/one/things/claude/agents/story-teller.md +0 -498
- package/one/things/claude/agents/task-master.md +0 -621
- package/one/things/claude/agents/tauri-cross-platform-specialist.md +0 -1912
- package/one/things/claude/agents/tester.md +0 -595
- package/one/things/claude/agents/the-bull-character-manager.md +0 -603
- package/one/things/claude/agents/tools-playbook-generator.md +0 -492
- package/one/things/claude/agents/turbo-repo-builder.md +0 -346
- package/one/things/claude/agents/upsell-strategist.md +0 -503
- package/one/things/claude/agents/ux-expert.md +0 -360
- package/one/things/claude/agents/viral-growth-orchestrator.md +0 -520
- package/one/things/claude/claude-code-hooks-development.json +0 -21
- package/one/things/claude/claude-code-hooks-production.json +0 -21
- package/one/things/claude/claude-code-hooks.json +0 -25
- package/one/things/claude/commands/agent.md +0 -124
- package/one/things/claude/commands/cascade-status.md +0 -153
- package/one/things/claude/commands/ingest.md +0 -343
- package/one/things/claude/commands/ingestor.md +0 -158
- package/one/things/claude/commands/mission.md +0 -103
- package/one/things/claude/commands/npx.md +0 -156
- package/one/things/claude/commands/one.md +0 -486
- package/one/things/claude/commands/quality-check.md +0 -252
- package/one/things/claude/commands/smart-route.md +0 -261
- package/one/things/claude/commands/start.md +0 -139
- package/one/things/claude/commands/story.md +0 -103
- package/one/things/claude/commands/task.md +0 -193
- package/one/things/claude/hook-bypass.json +0 -32
- package/one/things/claude/hooks/agent-hook-config.json +0 -427
- package/one/things/claude/hooks/build-hook.sh +0 -156
- package/one/things/claude/hooks/cleanup-hook.sh +0 -201
- package/one/things/claude/hooks/file-organization-hook.sh +0 -80
- package/one/things/claude/hooks/format-hook.sh +0 -43
- package/one/things/claude/hooks/hook-bypass.sh +0 -293
- package/one/things/claude/hooks/hook-debouncer.sh +0 -62
- package/one/things/claude/hooks/hook-logger.sh +0 -89
- package/one/things/claude/hooks/lint-hook.sh +0 -140
- package/one/things/claude/hooks/notification-hook.sh +0 -204
- package/one/things/claude/hooks/ontology-validation-hook.sh +0 -86
- package/one/things/claude/hooks/performance-metrics.json +0 -25
- package/one/things/claude/hooks/security-hook.sh +0 -256
- package/one/things/claude/hooks/story-validation-hook-enhanced.sh +0 -210
- package/one/things/claude/hooks/story-validation-hook.sh +0 -145
- package/one/things/claude/hooks/test-hook.sh +0 -145
- package/one/things/claude/hooks/test-story-validation.sh +0 -170
- package/one/things/claude/settings-local.json +0 -86
- package/one/things/cli/cli-code.md +0 -677
- package/one/things/cli/cli-compiler-code.md +0 -677
- package/one/things/cli/cli.md +0 -871
- package/one/things/components/card-shadcn.md +0 -953
- package/one/things/components/card.md +0 -1041
- package/one/things/components.md +0 -1743
- package/one/things/componets.md +0 -19
- package/one/things/contracts/Move.toml +0 -12
- package/one/things/contracts/README.md +0 -288
- package/one/things/contracts/one.move +0 -762
- package/one/things/contracts/sdk.ts +0 -579
- package/one/things/creator-diagram.md +0 -184
- package/one/things/crypto/FEATURES.md +0 -78
- package/one/things/crypto/ONECORE.md +0 -62
- package/one/things/crypto/ONECOREFAQ.md +0 -22
- package/one/things/crypto/ONECOREHOW.md +0 -46
- package/one/things/crypto/ONEENTERPRISE.md +0 -64
- package/one/things/crypto/ONEENTERPRISEFAQ.md +0 -64
- package/one/things/crypto/ONEENTERPRISEHOW.md +0 -53
- package/one/things/crypto/ONEPRO.md +0 -60
- package/one/things/crypto/ONEPROFAQ.md +0 -22
- package/one/things/crypto/ONEPROHOW.md +0 -53
- package/one/things/crypto/READMEAGENCY.md +0 -64
- package/one/things/crypto/VSL.md +0 -45
- package/one/things/crypto/WebsiteCopy.md +0 -176
- package/one/things/demo-accessibility-animations.md +0 -1025
- package/one/things/demo-components.md +0 -1310
- package/one/things/demo-design-summary.md +0 -692
- package/one/things/demo-design-system.md +0 -973
- package/one/things/demo-page-layouts.md +0 -1016
- package/one/things/design-system.md +0 -832
- package/one/things/designs/accessibility-audit.md +0 -877
- package/one/things/designs/component-specifications.md +0 -855
- package/one/things/designs/design-overview.md +0 -377
- package/one/things/designs/design-tokens.md +0 -448
- package/one/things/designs/wireframes-dashboard.md +0 -710
- package/one/things/docs/api-requests.md +0 -987
- package/one/things/docs/ecommerce/ARCHITECTURE-DIAGRAM.md +0 -485
- package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-IMPLEMENTATION.md +0 -465
- package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-SUMMARY.md +0 -425
- package/one/things/docs/ecommerce/CONVERSION-UX-IMPLEMENTATION-SUMMARY.md +0 -451
- package/one/things/docs/ecommerce/FEATURE-SUMMARY.md +0 -536
- package/one/things/docs/ecommerce/IMPLEMENTATION-NOTES.md +0 -650
- package/one/things/docs/ecommerce/INTEGRATION-EXAMPLE.md +0 -473
- package/one/things/docs/ecommerce/QUICK-START.md +0 -405
- package/one/things/docs/ecommerce/URGENCY-IMPLEMENTATION-SUMMARY.md +0 -567
- package/one/things/docs/ecommerce/URGENCY-QUICK-REFERENCE.md +0 -271
- package/one/things/docs/ecommerce/USAGE-EXAMPLE.astro +0 -171
- package/one/things/docs/ecommerce/demo.astro +0 -309
- package/one/things/examples/children/lemonade-stand.md +0 -404
- package/one/things/examples/enterprise/crm-saas.md +0 -1444
- package/one/things/features/1-1-agent-prompts.md +0 -562
- package/one/things/features/1-2-yaml-orchestrator.md +0 -548
- package/one/things/features/1-3-event-coordination.md +0 -547
- package/one/things/features/1-4-knowledge-management.md +0 -652
- package/one/things/features/1-5-quality-loops.md +0 -725
- package/one/things/features/1-6-numbering-structure.md +0 -639
- package/one/things/features/2-1-dataprovider-interface.md +0 -2583
- package/one/things/features/2-2-config-system.md +0 -3242
- package/one/things/features/2-3-effectts-services.md +0 -1645
- package/one/things/features/2-4-react-hooks.md +0 -2136
- package/one/things/features/2-5-auth-migration.md +0 -2144
- package/one/things/features/2-6-dashboard-migration.md +0 -2084
- package/one/things/features/2-7-alternative-providers.md +0 -2578
- package/one/things/features/2-7-implementation-report.md +0 -724
- package/one/things/features/2-cli.md +0 -1720
- package/one/things/features/2-design.md +0 -1770
- package/one/things/features/2-tests.md +0 -576
- package/one/things/features/AUTH_HOOKS_IMPLEMENTATION.md +0 -576
- package/one/things/features/DECOUPLING.md +0 -290
- package/one/things/features/DEPLOYMENT.md +0 -470
- package/one/things/features/IMPLEMENTATION_SUMMARY.md +0 -362
- package/one/things/features/improve.md +0 -861
- package/one/things/features/remove-convex-deps.md +0 -63
- package/one/things/features/top-features.md +0 -87
- package/one/things/features/use-one-backend.md +0 -1217
- package/one/things/features-in-english.md +0 -200
- package/one/things/files.yaml +0 -721
- package/one/things/ideas/1-create-workflow.md +0 -207
- package/one/things/ideas/2-backend-agnostic-frontend.md +0 -439
- package/one/things/implementation/backend-guide.md +0 -457
- package/one/things/interface.md +0 -257
- package/one/things/landing-page-implementation.md +0 -455
- package/one/things/legal/README.md +0 -234
- package/one/things/legal/privacy-policy.md +0 -1227
- package/one/things/legal/terms-of-service.md +0 -1432
- package/one/things/master-workflow-plan.md +0 -806
- package/one/things/pay.one.ie.md +0 -53
- package/one/things/plans/0-in-sync.md +0 -136
- package/one/things/plans/0-timeline.md +0 -36
- package/one/things/plans/1-create-workflow.md +0 -732
- package/one/things/plans/QUICK-START-SIMPLIFICATION.md +0 -333
- package/one/things/plans/README-SIMPLIFICATION.md +0 -349
- package/one/things/plans/SIMPLIFICATION-EXAMPLES.md +0 -16
- package/one/things/plans/SIMPLIFICATION-SUMMARY.md +0 -455
- package/one/things/plans/ai-elements-integration.md +0 -483
- package/one/things/plans/ai-elements.md +0 -1278
- package/one/things/plans/ai-integration-plan.md +0 -263
- package/one/things/plans/ai-integration.md +0 -996
- package/one/things/plans/ai-sdk.md +0 -798
- package/one/things/plans/ai-tools.md +0 -621
- package/one/things/plans/app.md +0 -832
- package/one/things/plans/architecture-summary.md +0 -312
- package/one/things/plans/async-ai-agents.md +0 -233
- package/one/things/plans/backend-agnostic-frontend.md +0 -390
- package/one/things/plans/backend-cleanup-quickstart.md +0 -380
- package/one/things/plans/backend-ontology-conformance.md +0 -475
- package/one/things/plans/backend-status.md +0 -599
- package/one/things/plans/backend-structure.md +0 -847
- package/one/things/plans/backend-target-structure.md +0 -482
- package/one/things/plans/backend.md +0 -1175
- package/one/things/plans/better-auth-any-backend-revised.md +0 -1103
- package/one/things/plans/better-auth-any-backend.md +0 -1896
- package/one/things/plans/better-auth-available-features.md +0 -273
- package/one/things/plans/big-plan.md +0 -52
- package/one/things/plans/cli-updates-required.md +0 -320
- package/one/things/plans/complete-step-by-step.md +0 -1409
- package/one/things/plans/components.md +0 -709
- package/one/things/plans/convex-agents.md +0 -1034
- package/one/things/plans/convex-better-auth.md +0 -1141
- package/one/things/plans/convex-on-off.md +0 -407
- package/one/things/plans/crypto-token-researcher.md +0 -629
- package/one/things/plans/data-quality-metrics.md +0 -745
- package/one/things/plans/deep-researcher-agent.md +0 -466
- package/one/things/plans/deploy-to-cloudflare.md +0 -623
- package/one/things/plans/deployment-architecture.md +0 -469
- package/one/things/plans/desktop.md +0 -1139
- package/one/things/plans/development-plan.md +0 -1283
- package/one/things/plans/development-workflow-tldr.md +0 -207
- package/one/things/plans/development-workflow.md +0 -959
- package/one/things/plans/dsl-claude-code.md +0 -1011
- package/one/things/plans/effect-components.md +0 -1743
- package/one/things/plans/effect-patterns-reference.md +0 -2235
- package/one/things/plans/effect.md +0 -1806
- package/one/things/plans/email.md +0 -966
- package/one/things/plans/enhance-auth.md +0 -1692
- package/one/things/plans/execution-strategy.md +0 -1291
- package/one/things/plans/existing-infrastructure.md +0 -712
- package/one/things/plans/feature-based-sites.md +0 -894
- package/one/things/plans/frontend-effects.md +0 -1276
- package/one/things/plans/group-folder-multi-tenancy.md +0 -893
- package/one/things/plans/improve-codebase.md +0 -1811
- package/one/things/plans/install-components.md +0 -215
- package/one/things/plans/integrate-frontend-and-backend.md +0 -603
- package/one/things/plans/landing.md +0 -820
- package/one/things/plans/layout.md +0 -249
- package/one/things/plans/mail-backend.md +0 -1361
- package/one/things/plans/mail.md +0 -2677
- package/one/things/plans/mcp-clear-context-prompt.md +0 -81
- package/one/things/plans/mcp-simple.md +0 -248
- package/one/things/plans/multi-ontology-architecture.md +0 -885
- package/one/things/plans/next-features.md +0 -114
- package/one/things/plans/npx-agent-safety.md +0 -785
- package/one/things/plans/npx-agent.md +0 -1089
- package/one/things/plans/onboarding.md +0 -51
- package/one/things/plans/one-protocol-and-payone-usage.md +0 -82
- package/one/things/plans/one.md +0 -677
- package/one/things/plans/ontology-6-dimensions.md +0 -2201
- package/one/things/plans/ontology-compliance-audit.md +0 -342
- package/one/things/plans/ontology-driven-strategy.md +0 -882
- package/one/things/plans/ontology-refine.md +0 -586
- package/one/things/plans/ontology-ui-approach.md +0 -375
- package/one/things/plans/open-agent.md +0 -840
- package/one/things/plans/performace.md +0 -122
- package/one/things/plans/phase-1-foundation.md +0 -620
- package/one/things/plans/phase-3-implementation.md +0 -1037
- package/one/things/plans/plan-connect-to-api.md +0 -146
- package/one/things/plans/quick-wins.md +0 -1428
- package/one/things/plans/r2.md +0 -777
- package/one/things/plans/readme-backend-cleanup.md +0 -402
- package/one/things/plans/release.md +0 -507
- package/one/things/plans/remove-backend-development-from-agents.md +0 -1331
- package/one/things/plans/repos.md +0 -98
- package/one/things/plans/separate-copy-2.md +0 -1349
- package/one/things/plans/separate-copy-3.md +0 -2479
- package/one/things/plans/separate-copy.md +0 -1349
- package/one/things/plans/separate-demo.md +0 -864
- package/one/things/plans/separate.md +0 -1999
- package/one/things/plans/sequence.md +0 -2040
- package/one/things/plans/shadcn-integration-summary.md +0 -510
- package/one/things/plans/sidebar.md +0 -206
- package/one/things/plans/skills.md +0 -709
- package/one/things/plans/small-fixes.md +0 -23
- package/one/things/plans/start-new.md +0 -764
- package/one/things/plans/switch-off-auth.md +0 -42
- package/one/things/plans/sync-checklist.md +0 -351
- package/one/things/plans/test-backend-connection.md +0 -514
- package/one/things/plans/unified-implementation-plan.md +0 -934
- package/one/things/plans/update-demos.md +0 -581
- package/one/things/plans/use-our-backend.md +0 -572
- package/one/things/plans/video-backend.md +0 -638
- package/one/things/plans/video-frontend.md +0 -490
- package/one/things/plans/video-old-archived.md +0 -656
- package/one/things/plans/wave1-onboarding-100-inferences.md +0 -1686
- package/one/things/plans/wave1-onboarding-vision.md +0 -744
- package/one/things/plans/wave1-orchestration-summary.md +0 -604
- package/one/things/plans/wave1-specialist-assignments.md +0 -1413
- package/one/things/plans/workflow-files.md +0 -1210
- package/one/things/plans/workflow.md +0 -1378
- package/one/things/plans-u.md +0 -905
- package/one/things/products/Blockchain Products.md +0 -6278
- package/one/things/products/cascade-landing-page.md +0 -841
- package/one/things/products/cascade.md +0 -1568
- package/one/things/products/context-engineering.md +0 -1488
- package/one/things/products/onthology.md +0 -15
- package/one/things/products/ontology-ui-shadcn.md +0 -1302
- package/one/things/products/ontology-ui.md +0 -1429
- package/one/things/products/ontology.md +0 -789
- package/one/things/products/sdk.md +0 -573
- package/one/things/promptkit.md +0 -930
- package/one/things/repos/all-repos.md +0 -0
- package/one/things/scripts-clean-mac.sh +0 -409
- package/one/things/service-providers-new.md +0 -1052
- package/one/things/service-providers.md +0 -1121
- package/one/things/structure.md +0 -532
- package/one/things/system.md +0 -618
- package/one/things/templates.md +0 -294
- package/one/things/tests/2-1-dataprovider-interface.md +0 -1216
- package/one/things/tests/2-1-test-analysis.md +0 -544
- package/one/things/things.md +0 -384
- package/one/things/todo-acp-integration.md +0 -744
- package/one/things/todo-ai.md +0 -933
- package/one/things/todo-api.md +0 -1078
- package/one/things/todo-assignment.md +0 -580
- package/one/things/todo-buy-chatgpt.md +0 -1450
- package/one/things/todo-components.md +0 -1683
- package/one/things/todo-connections.md +0 -278
- package/one/things/todo-ecommerce-frontend.md +0 -1313
- package/one/things/todo-ecommerce.md +0 -569
- package/one/things/todo-effects.md +0 -1075
- package/one/things/todo-frontend-effects.md +0 -977
- package/one/things/todo-landing-page.md +0 -1091
- package/one/things/todo-mail.md +0 -1160
- package/one/things/todo-master-plan.md +0 -490
- package/one/things/todo-onboard.md +0 -666
- package/one/things/todo-one-ie.md +0 -538
- package/one/things/todo-page.md +0 -606
- package/one/things/todo-plans.md +0 -282
- package/one/things/todo-projects.md +0 -241
- package/one/things/todo-refactoring-plan.md +0 -366
- package/one/things/todo-release.md +0 -654
- package/one/things/todo-sequence.md +0 -1621
- package/one/things/todo-use-our-backend.md +0 -1908
- package/one/things/todo-workflow.md +0 -626
- package/one/things/todo-x402.md +0 -2047
- package/one/things/todo.md +0 -21
- package/one/things/video/scripts-crypto.md +0 -835
- package/one/things/video-script-backup.md +0 -318
- package/one/things/video-script-demo.md +0 -382
- package/one/things/video-script-ontology.md +0 -333
- package/one/things/video-script.md +0 -361
|
@@ -1,2047 +0,0 @@
|
|
|
1
|
-
# ONE Platform - Projects Feature Implementation Plan
|
|
2
|
-
|
|
3
|
-
**Status:** Ready for Execution
|
|
4
|
-
**Created:** 2025-10-30
|
|
5
|
-
**Plan ID:** 1-projects-feature
|
|
6
|
-
**Feature ID:** 1-projects
|
|
7
|
-
**Total Features:** 4
|
|
8
|
-
**Target Cycles:** 1-100
|
|
9
|
-
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
## Executive Summary
|
|
13
|
-
|
|
14
|
-
Build a complete Projects feature following the 6-dimension ontology. Projects already exist as a "thing type" in the ontology. This plan adds the frontend content collection, pages, components, and optional backend support.
|
|
15
|
-
|
|
16
|
-
### Ontology Alignment
|
|
17
|
-
|
|
18
|
-
| Dimension | Mapping | Status |
|
|
19
|
-
|-----------|---------|--------|
|
|
20
|
-
| **Groups** | Projects scoped to `groupId` | Existing in schema |
|
|
21
|
-
| **People** | Project owners, collaborators, viewers | New connections |
|
|
22
|
-
| **Things** | `type: "project"` (already in ontology) | Ready |
|
|
23
|
-
| **Connections** | `created_by`, `belongs_to_portfolio`, custom connectors | New |
|
|
24
|
-
| **Events** | `project_viewed`, `thing_created`, `thing_updated` | Existing events |
|
|
25
|
-
| **Knowledge** | Project tags, descriptions, search metadata | New |
|
|
26
|
-
|
|
27
|
-
### Key Facts
|
|
28
|
-
|
|
29
|
-
- **Project thing type:** Already exists in ontology (see `backend/convex/types/ontology.ts`)
|
|
30
|
-
- **Event types:** `project_viewed`, `thing_created`, `thing_updated` already defined
|
|
31
|
-
- **Content collections:** Blog, news, products, plans already implemented - pattern established
|
|
32
|
-
- **Technology:** Astro 5, React 19, Tailwind v4, Convex (existing stack)
|
|
33
|
-
- **Pattern:** Reuse product/blog patterns for projects
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
## Deliverables Overview
|
|
38
|
-
|
|
39
|
-
### Phase 1: Schema Design (Cycle 1-15)
|
|
40
|
-
- Define `ProjectSchema` in `web/src/content/config.ts`
|
|
41
|
-
- Create Zod validation rules
|
|
42
|
-
- Design project property structure
|
|
43
|
-
|
|
44
|
-
### Phase 2: Content Collection (Cycle 16-30)
|
|
45
|
-
- Create `/web/src/content/projects/` directory
|
|
46
|
-
- Add example project entries
|
|
47
|
-
- Create asset structure
|
|
48
|
-
|
|
49
|
-
### Phase 3: Frontend Components (Cycle 31-50)
|
|
50
|
-
- `ProjectCard.tsx` - Grid/list display component
|
|
51
|
-
- `ProjectList.tsx` - Container with filtering/sorting
|
|
52
|
-
- `ProjectDetail.tsx` - Detail page component
|
|
53
|
-
- `ProjectSearch.tsx` - Search and filter logic
|
|
54
|
-
- `ProjectFilters.tsx` - Filter UI component
|
|
55
|
-
|
|
56
|
-
### Phase 4: Pages & Routing (Cycle 51-70)
|
|
57
|
-
- `/web/src/pages/projects/index.astro` - Listing page
|
|
58
|
-
- `/web/src/pages/projects/[slug].astro` - Detail page
|
|
59
|
-
- SSR data fetching
|
|
60
|
-
- Dynamic routing
|
|
61
|
-
|
|
62
|
-
### Phase 5: Backend (Optional, Cycle 71-85)
|
|
63
|
-
- Convex mutations for project CRUD
|
|
64
|
-
- Convex queries for project retrieval
|
|
65
|
-
- Event logging (project_viewed, etc.)
|
|
66
|
-
|
|
67
|
-
### Phase 6: Testing & Docs (Cycle 86-100)
|
|
68
|
-
- Unit tests for components
|
|
69
|
-
- Integration tests for pages
|
|
70
|
-
- E2E tests for workflows
|
|
71
|
-
- Documentation updates
|
|
72
|
-
|
|
73
|
-
---
|
|
74
|
-
|
|
75
|
-
## Detailed Team Assignments
|
|
76
|
-
|
|
77
|
-
### Team Structure
|
|
78
|
-
|
|
79
|
-
```
|
|
80
|
-
PROJECT DIRECTOR (You - Engineering Director)
|
|
81
|
-
├── Agent-Designer (Phase 1: Schema & Wireframes)
|
|
82
|
-
├── Agent-Frontend (Phases 2-4: Components & Pages)
|
|
83
|
-
├── Agent-Backend (Phase 5: Convex mutations/queries)
|
|
84
|
-
└── Agent-Quality (Phase 6: Tests & Validation)
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
---
|
|
88
|
-
|
|
89
|
-
## Phase 1: Schema Design (Cycle 1-15)
|
|
90
|
-
|
|
91
|
-
**Responsible Agent:** `agent-designer`
|
|
92
|
-
**Duration:** ~10 minutes
|
|
93
|
-
**Dependencies:** None
|
|
94
|
-
|
|
95
|
-
### Task 1-1: Define ProjectSchema
|
|
96
|
-
|
|
97
|
-
**File:** `/Users/toc/Server/ONE/web/src/content/config.ts`
|
|
98
|
-
|
|
99
|
-
Add this schema definition:
|
|
100
|
-
|
|
101
|
-
```typescript
|
|
102
|
-
const ProjectSchema = z.object({
|
|
103
|
-
id: z.string().optional(), // Unique identifier (optional, defaults to slug)
|
|
104
|
-
name: z.string(), // Project name/title
|
|
105
|
-
description: z.string(), // Short description
|
|
106
|
-
longDescription: z.string().optional(), // Detailed description
|
|
107
|
-
|
|
108
|
-
// Project Metadata
|
|
109
|
-
status: z.enum(['planning', 'in_progress', 'completed', 'on_hold']).default('planning'),
|
|
110
|
-
priority: z.enum(['low', 'medium', 'high']).optional(),
|
|
111
|
-
category: z.string().optional(), // e.g., "web-development", "design", "ai"
|
|
112
|
-
tags: z.array(z.string()).optional(), // Tag array for search/filter
|
|
113
|
-
|
|
114
|
-
// Team & Ownership
|
|
115
|
-
owner: z.string().optional(), // Creator/owner name
|
|
116
|
-
team: z.array(z.string()).optional(), // Team member names
|
|
117
|
-
collaborators: z.array(z.string()).optional(), // Collaborator names
|
|
118
|
-
|
|
119
|
-
// Dates
|
|
120
|
-
startDate: z.date().optional(), // Project start date
|
|
121
|
-
endDate: z.date().optional(), // Project completion/target date
|
|
122
|
-
createdAt: z.date().optional(), // Content creation date
|
|
123
|
-
updatedAt: z.date().optional(), // Last modified date
|
|
124
|
-
|
|
125
|
-
// Progress & Metrics
|
|
126
|
-
progress: z.number().optional().default(0), // 0-100 completion percentage
|
|
127
|
-
budget: z.number().optional(), // Budget amount (in cents or base units)
|
|
128
|
-
actualCost: z.number().optional(), // Actual spending
|
|
129
|
-
|
|
130
|
-
// Media & Links
|
|
131
|
-
image: z.string().optional(), // Featured image URL
|
|
132
|
-
images: z.array(z.string()).optional(), // Gallery images
|
|
133
|
-
thumbnailImage: z.string().optional(), // Custom thumbnail
|
|
134
|
-
websiteUrl: z.string().optional(), // Project website/live link
|
|
135
|
-
repositoryUrl: z.string().optional(), // GitHub/code repo link
|
|
136
|
-
liveLink: z.string().optional(), // Live deployment URL
|
|
137
|
-
|
|
138
|
-
// SEO & Display
|
|
139
|
-
slug: z.string().optional(), // URL slug (auto-generated from name)
|
|
140
|
-
featured: z.boolean().default(false), // Feature on homepage
|
|
141
|
-
draft: z.boolean().default(false), // Hide if draft
|
|
142
|
-
|
|
143
|
-
// Classification
|
|
144
|
-
type: z.enum(['portfolio', 'case_study', 'freelance', 'internal', 'product']).optional(),
|
|
145
|
-
industry: z.string().optional(), // Industry/vertical
|
|
146
|
-
technologies: z.array(z.string()).optional(), // Tech stack used
|
|
147
|
-
|
|
148
|
-
// Rich Metadata
|
|
149
|
-
metadata: z.record(z.any()).optional(), // Flexible additional data
|
|
150
|
-
seo: z.object({ // SEO configuration
|
|
151
|
-
title: z.string().optional(),
|
|
152
|
-
description: z.string().optional(),
|
|
153
|
-
keywords: z.array(z.string()).optional(),
|
|
154
|
-
}).optional(),
|
|
155
|
-
});
|
|
156
|
-
|
|
157
|
-
// Export schema type
|
|
158
|
-
export type ProjectSchema = z.infer<typeof ProjectSchema>;
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
### Task 1-2: Update Collections Export
|
|
162
|
-
|
|
163
|
-
**File:** `/Users/toc/Server/ONE/web/src/content/config.ts`
|
|
164
|
-
**Line:** ~156-172
|
|
165
|
-
|
|
166
|
-
Update the exports section:
|
|
167
|
-
|
|
168
|
-
```typescript
|
|
169
|
-
const projects = defineCollection({
|
|
170
|
-
type: 'content',
|
|
171
|
-
schema: ProjectSchema,
|
|
172
|
-
});
|
|
173
|
-
|
|
174
|
-
export const collections = {
|
|
175
|
-
blog: blog,
|
|
176
|
-
news: news,
|
|
177
|
-
products: products,
|
|
178
|
-
categories: categories,
|
|
179
|
-
collections: productCollections,
|
|
180
|
-
plans: plans,
|
|
181
|
-
projects: projects, // ADD THIS LINE
|
|
182
|
-
};
|
|
183
|
-
|
|
184
|
-
// Export types
|
|
185
|
-
export type BlogSchema = z.infer<typeof BlogSchema>;
|
|
186
|
-
export type NewsSchema = z.infer<typeof NewsSchema>;
|
|
187
|
-
export type ProductSchema = z.infer<typeof ProductSchema>;
|
|
188
|
-
export type CategorySchema = z.infer<typeof CategorySchema>;
|
|
189
|
-
export type ProductCollectionSchema = z.infer<typeof ProductCollectionSchema>;
|
|
190
|
-
export type PlanSchema = z.infer<typeof PlanSchema>;
|
|
191
|
-
export type ProjectSchema = z.infer<typeof ProjectSchema>; // ADD THIS LINE
|
|
192
|
-
```
|
|
193
|
-
|
|
194
|
-
### Task 1-3: Create Wireframes
|
|
195
|
-
|
|
196
|
-
**Deliverable:** Wireframe document at `/Users/toc/Server/ONE/.claude/designs/projects-wireframes.md`
|
|
197
|
-
|
|
198
|
-
Create wireframes for:
|
|
199
|
-
1. Projects listing page (`/projects`)
|
|
200
|
-
- Hero section with title
|
|
201
|
-
- Filter panel (category, status, technology, owner)
|
|
202
|
-
- View toggle (grid/list)
|
|
203
|
-
- Project cards in grid/list format
|
|
204
|
-
- Pagination/infinite scroll
|
|
205
|
-
|
|
206
|
-
2. Project detail page (`/projects/[slug]`)
|
|
207
|
-
- Hero with project image
|
|
208
|
-
- Project metadata (dates, team, status)
|
|
209
|
-
- Description sections
|
|
210
|
-
- Technology stack display
|
|
211
|
-
- Links (website, repository, live)
|
|
212
|
-
- Gallery (if multiple images)
|
|
213
|
-
- Team/collaborators section
|
|
214
|
-
- Related projects
|
|
215
|
-
|
|
216
|
-
3. Project card component
|
|
217
|
-
- Featured image
|
|
218
|
-
- Title
|
|
219
|
-
- Short description
|
|
220
|
-
- Tags
|
|
221
|
-
- Status badge
|
|
222
|
-
- Team avatars (optional)
|
|
223
|
-
- View link
|
|
224
|
-
|
|
225
|
-
---
|
|
226
|
-
|
|
227
|
-
## Phase 2: Content Collection Setup (Cycle 16-30)
|
|
228
|
-
|
|
229
|
-
**Responsible Agent:** `agent-frontend`
|
|
230
|
-
**Duration:** ~10 minutes
|
|
231
|
-
**Dependencies:** Phase 1 (Schema Design)
|
|
232
|
-
|
|
233
|
-
### Task 2-1: Create Projects Directory
|
|
234
|
-
|
|
235
|
-
**Command:**
|
|
236
|
-
```bash
|
|
237
|
-
mkdir -p /Users/toc/Server/ONE/web/src/content/projects
|
|
238
|
-
```
|
|
239
|
-
|
|
240
|
-
### Task 2-2: Create Example Project Entries
|
|
241
|
-
|
|
242
|
-
Create **3 example projects** in `/Users/toc/Server/ONE/web/src/content/projects/`:
|
|
243
|
-
|
|
244
|
-
**File 1:** `/Users/toc/Server/ONE/web/src/content/projects/one-platform.md`
|
|
245
|
-
|
|
246
|
-
```markdown
|
|
247
|
-
---
|
|
248
|
-
name: "ONE Platform"
|
|
249
|
-
description: "Revolutionary 6-dimension ontology for AI-native applications"
|
|
250
|
-
longDescription: "Built a complete multi-tenant platform using a novel 6-dimension ontology that models reality through Groups, People, Things, Connections, Events, and Knowledge. This approach enables infinite scalability from friend circles to global governments without schema changes."
|
|
251
|
-
|
|
252
|
-
status: "in_progress"
|
|
253
|
-
priority: "high"
|
|
254
|
-
category: "web-development"
|
|
255
|
-
tags: ["astro", "react", "convex", "ontology", "ai"]
|
|
256
|
-
|
|
257
|
-
owner: "ONE Team"
|
|
258
|
-
team: ["Engineering Director", "Backend Specialist", "Frontend Developer", "Design Lead"]
|
|
259
|
-
|
|
260
|
-
startDate: 2024-01-15
|
|
261
|
-
endDate: 2025-12-31
|
|
262
|
-
createdAt: 2024-01-15
|
|
263
|
-
updatedAt: 2025-10-30
|
|
264
|
-
|
|
265
|
-
progress: 75
|
|
266
|
-
|
|
267
|
-
image: "https://images.unsplash.com/photo-1517694712202-14dd9538aa97?w=800&h=600&fit=crop"
|
|
268
|
-
images:
|
|
269
|
-
- "https://images.unsplash.com/photo-1517694712202-14dd9538aa97?w=800&h=600&fit=crop"
|
|
270
|
-
- "https://images.unsplash.com/photo-1633356122544-f134324ef6db?w=800&h=600&fit=crop"
|
|
271
|
-
|
|
272
|
-
websiteUrl: "https://one.ie"
|
|
273
|
-
repositoryUrl: "https://github.com/one-ie/web"
|
|
274
|
-
liveLink: "https://web.one.ie"
|
|
275
|
-
|
|
276
|
-
featured: true
|
|
277
|
-
draft: false
|
|
278
|
-
|
|
279
|
-
type: "product"
|
|
280
|
-
industry: "SaaS/Platform"
|
|
281
|
-
technologies: ["Astro", "React", "TypeScript", "Convex", "Tailwind CSS", "Cloudflare"]
|
|
282
|
-
|
|
283
|
-
metadata:
|
|
284
|
-
teamSize: 4
|
|
285
|
-
budget: 150000
|
|
286
|
-
actualCost: 145000
|
|
287
|
-
hoursSpent: 2400
|
|
288
|
-
completionTarget: "2025-12"
|
|
289
|
-
|
|
290
|
-
seo:
|
|
291
|
-
title: "ONE Platform - 6-Dimension Ontology for AI"
|
|
292
|
-
description: "Revolutionary multi-tenant platform architecture for AI-native applications"
|
|
293
|
-
keywords: ["platform", "ontology", "ai", "saas", "astro", "convex"]
|
|
294
|
-
---
|
|
295
|
-
|
|
296
|
-
## Overview
|
|
297
|
-
|
|
298
|
-
ONE Platform is a revolutionary approach to building AI-native applications using a 6-dimension ontology. Instead of traditional schema design, we model reality through six interconnected dimensions that can scale infinitely.
|
|
299
|
-
|
|
300
|
-
## Technology Stack
|
|
301
|
-
|
|
302
|
-
- **Frontend:** Astro 5.14, React 19, TypeScript 5.9, Tailwind CSS v4
|
|
303
|
-
- **Backend:** Convex Cloud, Better Auth, Effect.ts
|
|
304
|
-
- **Deployment:** Cloudflare Pages (frontend), Convex Cloud (backend)
|
|
305
|
-
|
|
306
|
-
## Key Achievements
|
|
307
|
-
|
|
308
|
-
- 66+ entity types without schema changes
|
|
309
|
-
- Multi-tenant isolation via groups
|
|
310
|
-
- Real-time updates via Convex subscriptions
|
|
311
|
-
- 50+ accessible UI components (shadcn/ui)
|
|
312
|
-
- 100+ automated tests
|
|
313
|
-
|
|
314
|
-
## Lessons Learned
|
|
315
|
-
|
|
316
|
-
The 6-dimension model proves that traditional ER diagrams limit scalability. By thinking in dimensions rather than tables, we can build systems that scale from friend circles to governments without changes.
|
|
317
|
-
```
|
|
318
|
-
|
|
319
|
-
**File 2:** `/Users/toc/Server/ONE/web/src/content/projects/ecommerce-platform.md`
|
|
320
|
-
|
|
321
|
-
```markdown
|
|
322
|
-
---
|
|
323
|
-
name: "E-Commerce Platform Redesign"
|
|
324
|
-
description: "Complete redesign and modernization of legacy e-commerce system"
|
|
325
|
-
longDescription: "Led the complete redesign of an aging e-commerce platform, implementing modern architecture with Astro, React, and Convex. Improved page load times by 60% and added advanced product filtering, dynamic pricing, and recommendation engine."
|
|
326
|
-
|
|
327
|
-
status: "completed"
|
|
328
|
-
priority: "high"
|
|
329
|
-
category: "web-development"
|
|
330
|
-
tags: ["ecommerce", "astro", "react", "performance"]
|
|
331
|
-
|
|
332
|
-
owner: "Jane Smith"
|
|
333
|
-
team: ["Jane Smith", "John Developer", "Sarah Designer"]
|
|
334
|
-
|
|
335
|
-
startDate: 2023-06-01
|
|
336
|
-
endDate: 2024-03-31
|
|
337
|
-
createdAt: 2023-06-01
|
|
338
|
-
updatedAt: 2024-03-31
|
|
339
|
-
|
|
340
|
-
progress: 100
|
|
341
|
-
|
|
342
|
-
image: "https://images.unsplash.com/photo-1460925895917-adf4e12482c5?w=800&h=600&fit=crop"
|
|
343
|
-
images:
|
|
344
|
-
- "https://images.unsplash.com/photo-1460925895917-adf4e12482c5?w=800&h=600&fit=crop"
|
|
345
|
-
|
|
346
|
-
websiteUrl: "https://shop.example.com"
|
|
347
|
-
repositoryUrl: "https://github.com/example/ecommerce"
|
|
348
|
-
liveLink: "https://shop.example.com"
|
|
349
|
-
|
|
350
|
-
featured: false
|
|
351
|
-
draft: false
|
|
352
|
-
|
|
353
|
-
type: "portfolio"
|
|
354
|
-
industry: "E-Commerce"
|
|
355
|
-
technologies: ["Astro", "React", "Stripe", "Convex"]
|
|
356
|
-
|
|
357
|
-
metadata:
|
|
358
|
-
teamSize: 3
|
|
359
|
-
budget: 75000
|
|
360
|
-
actualCost: 72000
|
|
361
|
-
|
|
362
|
-
seo:
|
|
363
|
-
title: "E-Commerce Platform Redesign - Case Study"
|
|
364
|
-
description: "Modernized legacy platform with 60% performance improvement"
|
|
365
|
-
keywords: ["ecommerce", "redesign", "astro", "performance"]
|
|
366
|
-
---
|
|
367
|
-
|
|
368
|
-
## Challenge
|
|
369
|
-
|
|
370
|
-
The existing e-commerce platform was built on legacy technology with poor performance, limited search capabilities, and outdated UX. Mobile conversion rates were 40% below industry standards.
|
|
371
|
-
|
|
372
|
-
## Solution
|
|
373
|
-
|
|
374
|
-
- Complete redesign with modern Astro + React stack
|
|
375
|
-
- Implemented advanced product filtering and faceted search
|
|
376
|
-
- Added ML-powered recommendation engine
|
|
377
|
-
- Optimized images and implemented lazy loading
|
|
378
|
-
- Reduced main thread work by 70%
|
|
379
|
-
|
|
380
|
-
## Results
|
|
381
|
-
|
|
382
|
-
- 60% improvement in page load times (3.2s → 1.3s)
|
|
383
|
-
- 35% increase in mobile conversion rates
|
|
384
|
-
- 45% reduction in bounce rate
|
|
385
|
-
- 200K SKUs indexed for instant search
|
|
386
|
-
```
|
|
387
|
-
|
|
388
|
-
**File 3:** `/Users/toc/Server/ONE/web/src/content/projects/ai-tutor-system.md`
|
|
389
|
-
|
|
390
|
-
```markdown
|
|
391
|
-
---
|
|
392
|
-
name: "AI Tutor System"
|
|
393
|
-
description: "Intelligent tutoring system using LLMs and spaced repetition"
|
|
394
|
-
longDescription: "Built a personalized AI tutoring system that adapts to individual learning styles using large language models, embeddings, and spaced repetition algorithms. Students showed 40% improvement in learning outcomes."
|
|
395
|
-
|
|
396
|
-
status: "completed"
|
|
397
|
-
priority: "high"
|
|
398
|
-
category: "ai"
|
|
399
|
-
tags: ["ai", "education", "machine-learning", "llm"]
|
|
400
|
-
|
|
401
|
-
owner: "Alex Chen"
|
|
402
|
-
team: ["Alex Chen", "Data Scientist", "ML Engineer"]
|
|
403
|
-
|
|
404
|
-
startDate: 2023-09-01
|
|
405
|
-
endDate: 2024-06-30
|
|
406
|
-
createdAt: 2023-09-01
|
|
407
|
-
updatedAt: 2024-06-30
|
|
408
|
-
|
|
409
|
-
progress: 100
|
|
410
|
-
|
|
411
|
-
image: "https://images.unsplash.com/photo-1516321318423-f06f70d504f0?w=800&h=600&fit=crop"
|
|
412
|
-
|
|
413
|
-
featured: true
|
|
414
|
-
draft: false
|
|
415
|
-
|
|
416
|
-
type: "portfolio"
|
|
417
|
-
industry: "EdTech"
|
|
418
|
-
technologies: ["Python", "OpenAI", "Pinecone", "FastAPI", "React"]
|
|
419
|
-
|
|
420
|
-
metadata:
|
|
421
|
-
teamSize: 2
|
|
422
|
-
studentsImpacted: 5000
|
|
423
|
-
improvementRate: 40
|
|
424
|
-
|
|
425
|
-
seo:
|
|
426
|
-
title: "AI Tutor System - EdTech Innovation"
|
|
427
|
-
description: "Intelligent tutoring with 40% learning outcome improvement"
|
|
428
|
-
keywords: ["ai", "education", "tutoring", "llm", "machine-learning"]
|
|
429
|
-
---
|
|
430
|
-
|
|
431
|
-
## Overview
|
|
432
|
-
|
|
433
|
-
Created an intelligent tutoring system that uses large language models and vector embeddings to provide personalized, adaptive learning experiences.
|
|
434
|
-
|
|
435
|
-
## Technical Architecture
|
|
436
|
-
|
|
437
|
-
- **LLM Backbone:** OpenAI GPT-4 with custom fine-tuning
|
|
438
|
-
- **Vector Store:** Pinecone for semantic search
|
|
439
|
-
- **Backend:** FastAPI with async processing
|
|
440
|
-
- **Frontend:** React with real-time updates
|
|
441
|
-
- **Data:** 50K+ educational resources indexed
|
|
442
|
-
|
|
443
|
-
## Impact
|
|
444
|
-
|
|
445
|
-
- 5,000+ students tutored
|
|
446
|
-
- 40% average improvement in learning outcomes
|
|
447
|
-
- 95% student satisfaction rating
|
|
448
|
-
- Reduced tutoring cost by 70% vs human tutors
|
|
449
|
-
```
|
|
450
|
-
|
|
451
|
-
### Task 2-3: Verify Content Collection Sync
|
|
452
|
-
|
|
453
|
-
**Command:**
|
|
454
|
-
```bash
|
|
455
|
-
cd /Users/toc/Server/ONE/web && bunx astro sync
|
|
456
|
-
```
|
|
457
|
-
|
|
458
|
-
This generates TypeScript types for the new content collection.
|
|
459
|
-
|
|
460
|
-
---
|
|
461
|
-
|
|
462
|
-
## Phase 3: Frontend Components (Cycle 31-50)
|
|
463
|
-
|
|
464
|
-
**Responsible Agent:** `agent-frontend`
|
|
465
|
-
**Duration:** ~30 minutes
|
|
466
|
-
**Dependencies:** Phase 2 (Content Collection)
|
|
467
|
-
|
|
468
|
-
### Task 3-1: Create ProjectCard Component
|
|
469
|
-
|
|
470
|
-
**File:** `/Users/toc/Server/ONE/web/src/components/projects/ProjectCard.tsx`
|
|
471
|
-
|
|
472
|
-
```typescript
|
|
473
|
-
import React from 'react';
|
|
474
|
-
import { Badge } from '@/components/ui/badge';
|
|
475
|
-
import { Button } from '@/components/ui/button';
|
|
476
|
-
import { CalendarDays, Users, TrendingUp } from 'lucide-react';
|
|
477
|
-
import type { CollectionEntry } from 'astro:content';
|
|
478
|
-
|
|
479
|
-
type ProjectEntry = CollectionEntry<'projects'>;
|
|
480
|
-
|
|
481
|
-
interface ProjectCardProps {
|
|
482
|
-
project: ProjectEntry;
|
|
483
|
-
viewMode?: 'grid' | 'list';
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
export function ProjectCard({ project, viewMode = 'grid' }: ProjectCardProps) {
|
|
487
|
-
const { data, slug } = project;
|
|
488
|
-
const href = `/projects/${slug}`;
|
|
489
|
-
|
|
490
|
-
// Format dates
|
|
491
|
-
const startDate = data.startDate ? new Date(data.startDate).toLocaleDateString('en-US', {
|
|
492
|
-
year: 'numeric',
|
|
493
|
-
month: 'short',
|
|
494
|
-
}) : null;
|
|
495
|
-
|
|
496
|
-
const endDate = data.endDate ? new Date(data.endDate).toLocaleDateString('en-US', {
|
|
497
|
-
year: 'numeric',
|
|
498
|
-
month: 'short',
|
|
499
|
-
}) : null;
|
|
500
|
-
|
|
501
|
-
const statusColors: Record<string, string> = {
|
|
502
|
-
'planning': 'bg-blue-100 text-blue-800',
|
|
503
|
-
'in_progress': 'bg-yellow-100 text-yellow-800',
|
|
504
|
-
'completed': 'bg-green-100 text-green-800',
|
|
505
|
-
'on_hold': 'bg-gray-100 text-gray-800',
|
|
506
|
-
};
|
|
507
|
-
|
|
508
|
-
if (viewMode === 'list') {
|
|
509
|
-
return (
|
|
510
|
-
<div className="flex gap-4 p-4 border border-border rounded-lg hover:shadow-md transition-shadow">
|
|
511
|
-
{data.image && (
|
|
512
|
-
<img
|
|
513
|
-
src={data.image}
|
|
514
|
-
alt={data.name}
|
|
515
|
-
className="w-24 h-24 object-cover rounded"
|
|
516
|
-
/>
|
|
517
|
-
)}
|
|
518
|
-
<div className="flex-1 min-w-0">
|
|
519
|
-
<div className="flex items-start justify-between gap-4">
|
|
520
|
-
<div>
|
|
521
|
-
<h3 className="text-lg font-semibold text-foreground hover:text-primary">
|
|
522
|
-
<a href={href}>{data.name}</a>
|
|
523
|
-
</h3>
|
|
524
|
-
<p className="text-sm text-muted-foreground mt-1 line-clamp-2">
|
|
525
|
-
{data.description}
|
|
526
|
-
</p>
|
|
527
|
-
</div>
|
|
528
|
-
<Badge className={statusColors[data.status || 'planning']}>
|
|
529
|
-
{data.status || 'planning'}
|
|
530
|
-
</Badge>
|
|
531
|
-
</div>
|
|
532
|
-
|
|
533
|
-
<div className="flex items-center gap-4 mt-3 text-xs text-muted-foreground">
|
|
534
|
-
{startDate && (
|
|
535
|
-
<div className="flex items-center gap-1">
|
|
536
|
-
<CalendarDays className="w-4 h-4" />
|
|
537
|
-
<span>{startDate}</span>
|
|
538
|
-
</div>
|
|
539
|
-
)}
|
|
540
|
-
{data.team && data.team.length > 0 && (
|
|
541
|
-
<div className="flex items-center gap-1">
|
|
542
|
-
<Users className="w-4 h-4" />
|
|
543
|
-
<span>{data.team.length} team members</span>
|
|
544
|
-
</div>
|
|
545
|
-
)}
|
|
546
|
-
{data.progress !== undefined && (
|
|
547
|
-
<div className="flex items-center gap-1">
|
|
548
|
-
<TrendingUp className="w-4 h-4" />
|
|
549
|
-
<span>{data.progress}% complete</span>
|
|
550
|
-
</div>
|
|
551
|
-
)}
|
|
552
|
-
</div>
|
|
553
|
-
|
|
554
|
-
{data.tags && data.tags.length > 0 && (
|
|
555
|
-
<div className="flex gap-1 flex-wrap mt-3">
|
|
556
|
-
{data.tags.slice(0, 3).map((tag) => (
|
|
557
|
-
<Badge key={tag} variant="secondary" className="text-xs">
|
|
558
|
-
{tag}
|
|
559
|
-
</Badge>
|
|
560
|
-
))}
|
|
561
|
-
{data.tags.length > 3 && (
|
|
562
|
-
<Badge variant="secondary" className="text-xs">
|
|
563
|
-
+{data.tags.length - 3}
|
|
564
|
-
</Badge>
|
|
565
|
-
)}
|
|
566
|
-
</div>
|
|
567
|
-
)}
|
|
568
|
-
</div>
|
|
569
|
-
|
|
570
|
-
<Button variant="ghost" size="sm" asChild>
|
|
571
|
-
<a href={href}>View</a>
|
|
572
|
-
</Button>
|
|
573
|
-
</div>
|
|
574
|
-
);
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
// Grid view (default)
|
|
578
|
-
return (
|
|
579
|
-
<a
|
|
580
|
-
href={href}
|
|
581
|
-
className="group block h-full border border-border rounded-lg overflow-hidden hover:shadow-lg transition-shadow duration-200"
|
|
582
|
-
>
|
|
583
|
-
{/* Image */}
|
|
584
|
-
{data.image ? (
|
|
585
|
-
<div className="relative h-48 overflow-hidden bg-muted">
|
|
586
|
-
<img
|
|
587
|
-
src={data.image}
|
|
588
|
-
alt={data.name}
|
|
589
|
-
className="h-full w-full object-cover group-hover:scale-105 transition-transform duration-200"
|
|
590
|
-
/>
|
|
591
|
-
{data.status && (
|
|
592
|
-
<div className="absolute top-3 right-3">
|
|
593
|
-
<Badge className={statusColors[data.status]}>
|
|
594
|
-
{data.status}
|
|
595
|
-
</Badge>
|
|
596
|
-
</div>
|
|
597
|
-
)}
|
|
598
|
-
</div>
|
|
599
|
-
) : (
|
|
600
|
-
<div className="h-48 bg-gradient-to-br from-muted to-muted-foreground flex items-center justify-center">
|
|
601
|
-
<span className="text-muted-foreground text-sm">No image</span>
|
|
602
|
-
</div>
|
|
603
|
-
)}
|
|
604
|
-
|
|
605
|
-
{/* Content */}
|
|
606
|
-
<div className="p-4">
|
|
607
|
-
{/* Title */}
|
|
608
|
-
<h3 className="font-semibold text-foreground line-clamp-2 group-hover:text-primary transition-colors">
|
|
609
|
-
{data.name}
|
|
610
|
-
</h3>
|
|
611
|
-
|
|
612
|
-
{/* Description */}
|
|
613
|
-
<p className="text-sm text-muted-foreground mt-2 line-clamp-2">
|
|
614
|
-
{data.description}
|
|
615
|
-
</p>
|
|
616
|
-
|
|
617
|
-
{/* Metadata */}
|
|
618
|
-
<div className="mt-4 space-y-2">
|
|
619
|
-
{/* Tags */}
|
|
620
|
-
{data.tags && data.tags.length > 0 && (
|
|
621
|
-
<div className="flex gap-1 flex-wrap">
|
|
622
|
-
{data.tags.slice(0, 2).map((tag) => (
|
|
623
|
-
<Badge key={tag} variant="secondary" className="text-xs">
|
|
624
|
-
{tag}
|
|
625
|
-
</Badge>
|
|
626
|
-
))}
|
|
627
|
-
{data.tags.length > 2 && (
|
|
628
|
-
<Badge variant="secondary" className="text-xs">
|
|
629
|
-
+{data.tags.length - 2}
|
|
630
|
-
</Badge>
|
|
631
|
-
)}
|
|
632
|
-
</div>
|
|
633
|
-
)}
|
|
634
|
-
|
|
635
|
-
{/* Dates */}
|
|
636
|
-
{(startDate || endDate) && (
|
|
637
|
-
<div className="flex gap-2 text-xs text-muted-foreground">
|
|
638
|
-
{startDate && <span>{startDate}</span>}
|
|
639
|
-
{startDate && endDate && <span>-</span>}
|
|
640
|
-
{endDate && <span>{endDate}</span>}
|
|
641
|
-
</div>
|
|
642
|
-
)}
|
|
643
|
-
|
|
644
|
-
{/* Progress Bar */}
|
|
645
|
-
{data.progress !== undefined && (
|
|
646
|
-
<div className="mt-3">
|
|
647
|
-
<div className="flex justify-between items-center mb-1">
|
|
648
|
-
<span className="text-xs font-medium text-foreground">Progress</span>
|
|
649
|
-
<span className="text-xs text-muted-foreground">{data.progress}%</span>
|
|
650
|
-
</div>
|
|
651
|
-
<div className="h-2 bg-muted rounded-full overflow-hidden">
|
|
652
|
-
<div
|
|
653
|
-
className="h-full bg-primary transition-all duration-300"
|
|
654
|
-
style={{ width: `${data.progress}%` }}
|
|
655
|
-
/>
|
|
656
|
-
</div>
|
|
657
|
-
</div>
|
|
658
|
-
)}
|
|
659
|
-
</div>
|
|
660
|
-
|
|
661
|
-
{/* Team */}
|
|
662
|
-
{data.team && data.team.length > 0 && (
|
|
663
|
-
<div className="mt-3 pt-3 border-t border-border text-xs text-muted-foreground">
|
|
664
|
-
<span className="font-medium">{data.team.length}</span> team members
|
|
665
|
-
</div>
|
|
666
|
-
)}
|
|
667
|
-
</div>
|
|
668
|
-
</a>
|
|
669
|
-
);
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
export default ProjectCard;
|
|
673
|
-
```
|
|
674
|
-
|
|
675
|
-
### Task 3-2: Create ProjectList Component
|
|
676
|
-
|
|
677
|
-
**File:** `/Users/toc/Server/ONE/web/src/components/projects/ProjectList.tsx`
|
|
678
|
-
|
|
679
|
-
```typescript
|
|
680
|
-
'use client';
|
|
681
|
-
|
|
682
|
-
import React, { useState, useMemo } from 'react';
|
|
683
|
-
import { ProjectCard } from './ProjectCard';
|
|
684
|
-
import { ProjectFilters } from './ProjectFilters';
|
|
685
|
-
import type { CollectionEntry } from 'astro:content';
|
|
686
|
-
|
|
687
|
-
type ProjectEntry = CollectionEntry<'projects'>;
|
|
688
|
-
|
|
689
|
-
interface ProjectListProps {
|
|
690
|
-
projects: ProjectEntry[];
|
|
691
|
-
viewMode?: 'grid' | 'list';
|
|
692
|
-
gridColumns?: '2' | '3' | '4';
|
|
693
|
-
showFilters?: boolean;
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
export function ProjectList({
|
|
697
|
-
projects,
|
|
698
|
-
viewMode = 'grid',
|
|
699
|
-
gridColumns = '3',
|
|
700
|
-
showFilters = true,
|
|
701
|
-
}: ProjectListProps) {
|
|
702
|
-
const [selectedCategory, setSelectedCategory] = useState<string | null>(null);
|
|
703
|
-
const [selectedStatus, setSelectedStatus] = useState<string | null>(null);
|
|
704
|
-
const [selectedTags, setSelectedTags] = useState<Set<string>>(new Set());
|
|
705
|
-
const [searchTerm, setSearchTerm] = useState('');
|
|
706
|
-
const [sortBy, setSortBy] = useState<'newest' | 'oldest' | 'progress' | 'name'>('newest');
|
|
707
|
-
|
|
708
|
-
// Get unique values for filters
|
|
709
|
-
const categories = useMemo(() => {
|
|
710
|
-
const cats = new Set<string>();
|
|
711
|
-
projects.forEach(p => {
|
|
712
|
-
if (p.data.category) cats.add(p.data.category);
|
|
713
|
-
});
|
|
714
|
-
return Array.from(cats).sort();
|
|
715
|
-
}, [projects]);
|
|
716
|
-
|
|
717
|
-
const statuses = useMemo(() => {
|
|
718
|
-
const stats = new Set<string>();
|
|
719
|
-
projects.forEach(p => {
|
|
720
|
-
if (p.data.status) stats.add(p.data.status);
|
|
721
|
-
});
|
|
722
|
-
return Array.from(stats).sort();
|
|
723
|
-
}, [projects]);
|
|
724
|
-
|
|
725
|
-
const allTags = useMemo(() => {
|
|
726
|
-
const tags = new Set<string>();
|
|
727
|
-
projects.forEach(p => {
|
|
728
|
-
if (p.data.tags) {
|
|
729
|
-
p.data.tags.forEach(tag => tags.add(tag));
|
|
730
|
-
}
|
|
731
|
-
});
|
|
732
|
-
return Array.from(tags).sort();
|
|
733
|
-
}, [projects]);
|
|
734
|
-
|
|
735
|
-
// Filter and sort projects
|
|
736
|
-
const filteredProjects = useMemo(() => {
|
|
737
|
-
let result = projects.filter(p => {
|
|
738
|
-
const matchesSearch = searchTerm === '' ||
|
|
739
|
-
p.data.name.toLowerCase().includes(searchTerm.toLowerCase()) ||
|
|
740
|
-
(p.data.description || '').toLowerCase().includes(searchTerm.toLowerCase());
|
|
741
|
-
|
|
742
|
-
const matchesCategory = selectedCategory === null || p.data.category === selectedCategory;
|
|
743
|
-
const matchesStatus = selectedStatus === null || p.data.status === selectedStatus;
|
|
744
|
-
|
|
745
|
-
const matchesTags = selectedTags.size === 0 ||
|
|
746
|
-
(p.data.tags && p.data.tags.some(tag => selectedTags.has(tag)));
|
|
747
|
-
|
|
748
|
-
return matchesSearch && matchesCategory && matchesStatus && matchesTags;
|
|
749
|
-
});
|
|
750
|
-
|
|
751
|
-
// Sort
|
|
752
|
-
result = result.sort((a, b) => {
|
|
753
|
-
switch (sortBy) {
|
|
754
|
-
case 'newest':
|
|
755
|
-
return (b.data.updatedAt?.getTime() || b.data.createdAt?.getTime() || 0) -
|
|
756
|
-
(a.data.updatedAt?.getTime() || a.data.createdAt?.getTime() || 0);
|
|
757
|
-
case 'oldest':
|
|
758
|
-
return (a.data.updatedAt?.getTime() || a.data.createdAt?.getTime() || 0) -
|
|
759
|
-
(b.data.updatedAt?.getTime() || b.data.createdAt?.getTime() || 0);
|
|
760
|
-
case 'progress':
|
|
761
|
-
return (b.data.progress || 0) - (a.data.progress || 0);
|
|
762
|
-
case 'name':
|
|
763
|
-
return a.data.name.localeCompare(b.data.name);
|
|
764
|
-
default:
|
|
765
|
-
return 0;
|
|
766
|
-
}
|
|
767
|
-
});
|
|
768
|
-
|
|
769
|
-
return result;
|
|
770
|
-
}, [projects, selectedCategory, selectedStatus, selectedTags, searchTerm, sortBy]);
|
|
771
|
-
|
|
772
|
-
const gridClass = {
|
|
773
|
-
'2': 'grid-cols-1 md:grid-cols-2',
|
|
774
|
-
'3': 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3',
|
|
775
|
-
'4': 'grid-cols-1 md:grid-cols-2 lg:grid-cols-4',
|
|
776
|
-
}[gridColumns];
|
|
777
|
-
|
|
778
|
-
return (
|
|
779
|
-
<div>
|
|
780
|
-
{/* Filters */}
|
|
781
|
-
{showFilters && (
|
|
782
|
-
<ProjectFilters
|
|
783
|
-
categories={categories}
|
|
784
|
-
statuses={statuses}
|
|
785
|
-
tags={allTags}
|
|
786
|
-
selectedCategory={selectedCategory}
|
|
787
|
-
selectedStatus={selectedStatus}
|
|
788
|
-
selectedTags={selectedTags}
|
|
789
|
-
searchTerm={searchTerm}
|
|
790
|
-
sortBy={sortBy}
|
|
791
|
-
onCategoryChange={setSelectedCategory}
|
|
792
|
-
onStatusChange={setSelectedStatus}
|
|
793
|
-
onTagToggle={(tag) => {
|
|
794
|
-
const newTags = new Set(selectedTags);
|
|
795
|
-
if (newTags.has(tag)) {
|
|
796
|
-
newTags.delete(tag);
|
|
797
|
-
} else {
|
|
798
|
-
newTags.add(tag);
|
|
799
|
-
}
|
|
800
|
-
setSelectedTags(newTags);
|
|
801
|
-
}}
|
|
802
|
-
onSearchChange={setSearchTerm}
|
|
803
|
-
onSortChange={setSortBy}
|
|
804
|
-
/>
|
|
805
|
-
)}
|
|
806
|
-
|
|
807
|
-
{/* Results Info */}
|
|
808
|
-
<div className="mt-6 mb-4 flex justify-between items-center">
|
|
809
|
-
<p className="text-sm text-muted-foreground">
|
|
810
|
-
Showing {filteredProjects.length} of {projects.length} projects
|
|
811
|
-
</p>
|
|
812
|
-
</div>
|
|
813
|
-
|
|
814
|
-
{/* Empty State */}
|
|
815
|
-
{filteredProjects.length === 0 && (
|
|
816
|
-
<div className="text-center py-12">
|
|
817
|
-
<p className="text-muted-foreground mb-2">No projects found</p>
|
|
818
|
-
<button
|
|
819
|
-
onClick={() => {
|
|
820
|
-
setSelectedCategory(null);
|
|
821
|
-
setSelectedStatus(null);
|
|
822
|
-
setSelectedTags(new Set());
|
|
823
|
-
setSearchTerm('');
|
|
824
|
-
}}
|
|
825
|
-
className="text-primary hover:underline text-sm"
|
|
826
|
-
>
|
|
827
|
-
Clear filters
|
|
828
|
-
</button>
|
|
829
|
-
</div>
|
|
830
|
-
)}
|
|
831
|
-
|
|
832
|
-
{/* Projects Grid/List */}
|
|
833
|
-
{viewMode === 'list' ? (
|
|
834
|
-
<div className="space-y-4">
|
|
835
|
-
{filteredProjects.map((project) => (
|
|
836
|
-
<ProjectCard
|
|
837
|
-
key={project.slug}
|
|
838
|
-
project={project}
|
|
839
|
-
viewMode="list"
|
|
840
|
-
/>
|
|
841
|
-
))}
|
|
842
|
-
</div>
|
|
843
|
-
) : (
|
|
844
|
-
<div className={`grid ${gridClass} gap-6`}>
|
|
845
|
-
{filteredProjects.map((project) => (
|
|
846
|
-
<ProjectCard
|
|
847
|
-
key={project.slug}
|
|
848
|
-
project={project}
|
|
849
|
-
viewMode="grid"
|
|
850
|
-
/>
|
|
851
|
-
))}
|
|
852
|
-
</div>
|
|
853
|
-
)}
|
|
854
|
-
</div>
|
|
855
|
-
);
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
export default ProjectList;
|
|
859
|
-
```
|
|
860
|
-
|
|
861
|
-
### Task 3-3: Create ProjectFilters Component
|
|
862
|
-
|
|
863
|
-
**File:** `/Users/toc/Server/ONE/web/src/components/projects/ProjectFilters.tsx`
|
|
864
|
-
|
|
865
|
-
```typescript
|
|
866
|
-
'use client';
|
|
867
|
-
|
|
868
|
-
import React from 'react';
|
|
869
|
-
import { Search } from 'lucide-react';
|
|
870
|
-
import { Button } from '@/components/ui/button';
|
|
871
|
-
import { Badge } from '@/components/ui/badge';
|
|
872
|
-
|
|
873
|
-
interface ProjectFiltersProps {
|
|
874
|
-
categories: string[];
|
|
875
|
-
statuses: string[];
|
|
876
|
-
tags: string[];
|
|
877
|
-
selectedCategory: string | null;
|
|
878
|
-
selectedStatus: string | null;
|
|
879
|
-
selectedTags: Set<string>;
|
|
880
|
-
searchTerm: string;
|
|
881
|
-
sortBy: 'newest' | 'oldest' | 'progress' | 'name';
|
|
882
|
-
onCategoryChange: (category: string | null) => void;
|
|
883
|
-
onStatusChange: (status: string | null) => void;
|
|
884
|
-
onTagToggle: (tag: string) => void;
|
|
885
|
-
onSearchChange: (term: string) => void;
|
|
886
|
-
onSortChange: (sort: 'newest' | 'oldest' | 'progress' | 'name') => void;
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
export function ProjectFilters({
|
|
890
|
-
categories,
|
|
891
|
-
statuses,
|
|
892
|
-
tags,
|
|
893
|
-
selectedCategory,
|
|
894
|
-
selectedStatus,
|
|
895
|
-
selectedTags,
|
|
896
|
-
searchTerm,
|
|
897
|
-
sortBy,
|
|
898
|
-
onCategoryChange,
|
|
899
|
-
onStatusChange,
|
|
900
|
-
onTagToggle,
|
|
901
|
-
onSearchChange,
|
|
902
|
-
onSortChange,
|
|
903
|
-
}: ProjectFiltersProps) {
|
|
904
|
-
const hasActiveFilters = selectedCategory || selectedStatus || selectedTags.size > 0 || searchTerm;
|
|
905
|
-
|
|
906
|
-
return (
|
|
907
|
-
<div className="space-y-4 p-4 border border-border rounded-lg bg-muted/30">
|
|
908
|
-
{/* Search */}
|
|
909
|
-
<div>
|
|
910
|
-
<label className="text-sm font-medium text-foreground block mb-2">Search</label>
|
|
911
|
-
<div className="relative">
|
|
912
|
-
<Search className="absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground" />
|
|
913
|
-
<input
|
|
914
|
-
type="text"
|
|
915
|
-
placeholder="Search projects..."
|
|
916
|
-
value={searchTerm}
|
|
917
|
-
onChange={(e) => onSearchChange(e.target.value)}
|
|
918
|
-
className="w-full pl-10 pr-4 py-2 bg-background border border-border rounded-md text-sm focus:outline-none focus:ring-2 focus:ring-primary"
|
|
919
|
-
/>
|
|
920
|
-
</div>
|
|
921
|
-
</div>
|
|
922
|
-
|
|
923
|
-
{/* Sort */}
|
|
924
|
-
<div>
|
|
925
|
-
<label className="text-sm font-medium text-foreground block mb-2">Sort By</label>
|
|
926
|
-
<select
|
|
927
|
-
value={sortBy}
|
|
928
|
-
onChange={(e) => onSortChange(e.target.value as any)}
|
|
929
|
-
className="w-full px-3 py-2 bg-background border border-border rounded-md text-sm focus:outline-none focus:ring-2 focus:ring-primary"
|
|
930
|
-
>
|
|
931
|
-
<option value="newest">Newest</option>
|
|
932
|
-
<option value="oldest">Oldest</option>
|
|
933
|
-
<option value="progress">Progress (High to Low)</option>
|
|
934
|
-
<option value="name">Name (A-Z)</option>
|
|
935
|
-
</select>
|
|
936
|
-
</div>
|
|
937
|
-
|
|
938
|
-
{/* Category */}
|
|
939
|
-
{categories.length > 0 && (
|
|
940
|
-
<div>
|
|
941
|
-
<label className="text-sm font-medium text-foreground block mb-2">Category</label>
|
|
942
|
-
<div className="flex flex-wrap gap-2">
|
|
943
|
-
<Button
|
|
944
|
-
variant={selectedCategory === null ? 'default' : 'outline'}
|
|
945
|
-
size="sm"
|
|
946
|
-
onClick={() => onCategoryChange(null)}
|
|
947
|
-
className="text-xs"
|
|
948
|
-
>
|
|
949
|
-
All
|
|
950
|
-
</Button>
|
|
951
|
-
{categories.map((cat) => (
|
|
952
|
-
<Button
|
|
953
|
-
key={cat}
|
|
954
|
-
variant={selectedCategory === cat ? 'default' : 'outline'}
|
|
955
|
-
size="sm"
|
|
956
|
-
onClick={() => onCategoryChange(selectedCategory === cat ? null : cat)}
|
|
957
|
-
className="text-xs"
|
|
958
|
-
>
|
|
959
|
-
{cat}
|
|
960
|
-
</Button>
|
|
961
|
-
))}
|
|
962
|
-
</div>
|
|
963
|
-
</div>
|
|
964
|
-
)}
|
|
965
|
-
|
|
966
|
-
{/* Status */}
|
|
967
|
-
{statuses.length > 0 && (
|
|
968
|
-
<div>
|
|
969
|
-
<label className="text-sm font-medium text-foreground block mb-2">Status</label>
|
|
970
|
-
<div className="flex flex-wrap gap-2">
|
|
971
|
-
<Button
|
|
972
|
-
variant={selectedStatus === null ? 'default' : 'outline'}
|
|
973
|
-
size="sm"
|
|
974
|
-
onClick={() => onStatusChange(null)}
|
|
975
|
-
className="text-xs"
|
|
976
|
-
>
|
|
977
|
-
All
|
|
978
|
-
</Button>
|
|
979
|
-
{statuses.map((status) => (
|
|
980
|
-
<Button
|
|
981
|
-
key={status}
|
|
982
|
-
variant={selectedStatus === status ? 'default' : 'outline'}
|
|
983
|
-
size="sm"
|
|
984
|
-
onClick={() => onStatusChange(selectedStatus === status ? null : status)}
|
|
985
|
-
className="text-xs capitalize"
|
|
986
|
-
>
|
|
987
|
-
{status.replace('_', ' ')}
|
|
988
|
-
</Button>
|
|
989
|
-
))}
|
|
990
|
-
</div>
|
|
991
|
-
</div>
|
|
992
|
-
)}
|
|
993
|
-
|
|
994
|
-
{/* Tags */}
|
|
995
|
-
{tags.length > 0 && (
|
|
996
|
-
<div>
|
|
997
|
-
<label className="text-sm font-medium text-foreground block mb-2">
|
|
998
|
-
Tags {selectedTags.size > 0 && `(${selectedTags.size})`}
|
|
999
|
-
</label>
|
|
1000
|
-
<div className="flex flex-wrap gap-2">
|
|
1001
|
-
{tags.map((tag) => (
|
|
1002
|
-
<Badge
|
|
1003
|
-
key={tag}
|
|
1004
|
-
variant={selectedTags.has(tag) ? 'default' : 'outline'}
|
|
1005
|
-
className="cursor-pointer"
|
|
1006
|
-
onClick={() => onTagToggle(tag)}
|
|
1007
|
-
>
|
|
1008
|
-
{tag}
|
|
1009
|
-
</Badge>
|
|
1010
|
-
))}
|
|
1011
|
-
</div>
|
|
1012
|
-
</div>
|
|
1013
|
-
)}
|
|
1014
|
-
|
|
1015
|
-
{/* Clear Filters */}
|
|
1016
|
-
{hasActiveFilters && (
|
|
1017
|
-
<Button
|
|
1018
|
-
variant="ghost"
|
|
1019
|
-
size="sm"
|
|
1020
|
-
onClick={() => {
|
|
1021
|
-
onCategoryChange(null);
|
|
1022
|
-
onStatusChange(null);
|
|
1023
|
-
onSearchChange('');
|
|
1024
|
-
// Can't reset selectedTags here without callback
|
|
1025
|
-
}}
|
|
1026
|
-
className="w-full text-xs"
|
|
1027
|
-
>
|
|
1028
|
-
Clear Filters
|
|
1029
|
-
</Button>
|
|
1030
|
-
)}
|
|
1031
|
-
</div>
|
|
1032
|
-
);
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
|
-
export default ProjectFilters;
|
|
1036
|
-
```
|
|
1037
|
-
|
|
1038
|
-
### Task 3-4: Create ProjectDetail Component
|
|
1039
|
-
|
|
1040
|
-
**File:** `/Users/toc/Server/ONE/web/src/components/projects/ProjectDetail.tsx`
|
|
1041
|
-
|
|
1042
|
-
```typescript
|
|
1043
|
-
import React from 'react';
|
|
1044
|
-
import { Badge } from '@/components/ui/badge';
|
|
1045
|
-
import { Button } from '@/components/ui/button';
|
|
1046
|
-
import { ExternalLink, Github, Globe, Users, Calendar, TrendingUp } from 'lucide-react';
|
|
1047
|
-
import type { CollectionEntry } from 'astro:content';
|
|
1048
|
-
|
|
1049
|
-
type ProjectEntry = CollectionEntry<'projects'>;
|
|
1050
|
-
|
|
1051
|
-
interface ProjectDetailProps {
|
|
1052
|
-
project: ProjectEntry;
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
|
-
export function ProjectDetail({ project }: ProjectDetailProps) {
|
|
1056
|
-
const { data } = project;
|
|
1057
|
-
|
|
1058
|
-
const statusColors: Record<string, string> = {
|
|
1059
|
-
'planning': 'bg-blue-100 text-blue-800',
|
|
1060
|
-
'in_progress': 'bg-yellow-100 text-yellow-800',
|
|
1061
|
-
'completed': 'bg-green-100 text-green-800',
|
|
1062
|
-
'on_hold': 'bg-gray-100 text-gray-800',
|
|
1063
|
-
};
|
|
1064
|
-
|
|
1065
|
-
const formatDate = (date?: Date) => {
|
|
1066
|
-
if (!date) return null;
|
|
1067
|
-
return new Date(date).toLocaleDateString('en-US', {
|
|
1068
|
-
year: 'numeric',
|
|
1069
|
-
month: 'long',
|
|
1070
|
-
day: 'numeric',
|
|
1071
|
-
});
|
|
1072
|
-
};
|
|
1073
|
-
|
|
1074
|
-
return (
|
|
1075
|
-
<div className="space-y-8">
|
|
1076
|
-
{/* Hero Section */}
|
|
1077
|
-
{data.image && (
|
|
1078
|
-
<div className="relative h-96 rounded-lg overflow-hidden">
|
|
1079
|
-
<img
|
|
1080
|
-
src={data.image}
|
|
1081
|
-
alt={data.name}
|
|
1082
|
-
className="h-full w-full object-cover"
|
|
1083
|
-
/>
|
|
1084
|
-
<div className="absolute inset-0 bg-gradient-to-t from-black/50 to-transparent" />
|
|
1085
|
-
</div>
|
|
1086
|
-
)}
|
|
1087
|
-
|
|
1088
|
-
{/* Header */}
|
|
1089
|
-
<div className="space-y-4">
|
|
1090
|
-
<div className="flex items-start justify-between gap-4">
|
|
1091
|
-
<div>
|
|
1092
|
-
<h1 className="text-4xl font-bold text-foreground">{data.name}</h1>
|
|
1093
|
-
<p className="text-lg text-muted-foreground mt-2">{data.description}</p>
|
|
1094
|
-
</div>
|
|
1095
|
-
{data.status && (
|
|
1096
|
-
<Badge className={statusColors[data.status]}>
|
|
1097
|
-
{data.status.replace('_', ' ')}
|
|
1098
|
-
</Badge>
|
|
1099
|
-
)}
|
|
1100
|
-
</div>
|
|
1101
|
-
|
|
1102
|
-
{/* Action Links */}
|
|
1103
|
-
<div className="flex gap-2 flex-wrap">
|
|
1104
|
-
{data.liveLink && (
|
|
1105
|
-
<Button asChild>
|
|
1106
|
-
<a href={data.liveLink} target="_blank" rel="noopener noreferrer">
|
|
1107
|
-
<Globe className="w-4 h-4 mr-2" />
|
|
1108
|
-
View Live
|
|
1109
|
-
</a>
|
|
1110
|
-
</Button>
|
|
1111
|
-
)}
|
|
1112
|
-
{data.websiteUrl && !data.liveLink && (
|
|
1113
|
-
<Button asChild>
|
|
1114
|
-
<a href={data.websiteUrl} target="_blank" rel="noopener noreferrer">
|
|
1115
|
-
<Globe className="w-4 h-4 mr-2" />
|
|
1116
|
-
Website
|
|
1117
|
-
</a>
|
|
1118
|
-
</Button>
|
|
1119
|
-
)}
|
|
1120
|
-
{data.repositoryUrl && (
|
|
1121
|
-
<Button variant="outline" asChild>
|
|
1122
|
-
<a href={data.repositoryUrl} target="_blank" rel="noopener noreferrer">
|
|
1123
|
-
<Github className="w-4 h-4 mr-2" />
|
|
1124
|
-
Source Code
|
|
1125
|
-
</a>
|
|
1126
|
-
</Button>
|
|
1127
|
-
)}
|
|
1128
|
-
</div>
|
|
1129
|
-
</div>
|
|
1130
|
-
|
|
1131
|
-
{/* Metadata Grid */}
|
|
1132
|
-
<div className="grid gap-4 grid-cols-1 md:grid-cols-2 lg:grid-cols-4">
|
|
1133
|
-
{/* Timeline */}
|
|
1134
|
-
{(data.startDate || data.endDate) && (
|
|
1135
|
-
<div className="p-4 border border-border rounded-lg">
|
|
1136
|
-
<div className="flex items-center gap-2 text-sm font-medium text-foreground mb-2">
|
|
1137
|
-
<Calendar className="w-4 h-4" />
|
|
1138
|
-
Timeline
|
|
1139
|
-
</div>
|
|
1140
|
-
<div className="text-sm text-muted-foreground space-y-1">
|
|
1141
|
-
{data.startDate && <div>Start: {formatDate(data.startDate)}</div>}
|
|
1142
|
-
{data.endDate && <div>End: {formatDate(data.endDate)}</div>}
|
|
1143
|
-
{data.startDate && data.endDate && (
|
|
1144
|
-
<div className="text-xs pt-2">
|
|
1145
|
-
{Math.ceil((new Date(data.endDate).getTime() - new Date(data.startDate).getTime()) / (1000 * 60 * 60 * 24))} days
|
|
1146
|
-
</div>
|
|
1147
|
-
)}
|
|
1148
|
-
</div>
|
|
1149
|
-
</div>
|
|
1150
|
-
)}
|
|
1151
|
-
|
|
1152
|
-
{/* Progress */}
|
|
1153
|
-
{data.progress !== undefined && (
|
|
1154
|
-
<div className="p-4 border border-border rounded-lg">
|
|
1155
|
-
<div className="flex items-center gap-2 text-sm font-medium text-foreground mb-2">
|
|
1156
|
-
<TrendingUp className="w-4 h-4" />
|
|
1157
|
-
Progress
|
|
1158
|
-
</div>
|
|
1159
|
-
<div className="space-y-2">
|
|
1160
|
-
<div className="text-2xl font-bold text-primary">{data.progress}%</div>
|
|
1161
|
-
<div className="h-2 bg-muted rounded-full overflow-hidden">
|
|
1162
|
-
<div
|
|
1163
|
-
className="h-full bg-primary"
|
|
1164
|
-
style={{ width: `${data.progress}%` }}
|
|
1165
|
-
/>
|
|
1166
|
-
</div>
|
|
1167
|
-
</div>
|
|
1168
|
-
</div>
|
|
1169
|
-
)}
|
|
1170
|
-
|
|
1171
|
-
{/* Team */}
|
|
1172
|
-
{data.team && data.team.length > 0 && (
|
|
1173
|
-
<div className="p-4 border border-border rounded-lg">
|
|
1174
|
-
<div className="flex items-center gap-2 text-sm font-medium text-foreground mb-2">
|
|
1175
|
-
<Users className="w-4 h-4" />
|
|
1176
|
-
Team
|
|
1177
|
-
</div>
|
|
1178
|
-
<div className="text-sm text-muted-foreground">
|
|
1179
|
-
<div className="font-semibold text-foreground mb-1">{data.team.length} members</div>
|
|
1180
|
-
<ul className="text-xs space-y-1">
|
|
1181
|
-
{data.team.map((member) => (
|
|
1182
|
-
<li key={member} className="text-muted-foreground">{member}</li>
|
|
1183
|
-
))}
|
|
1184
|
-
</ul>
|
|
1185
|
-
</div>
|
|
1186
|
-
</div>
|
|
1187
|
-
)}
|
|
1188
|
-
|
|
1189
|
-
{/* Priority */}
|
|
1190
|
-
{data.priority && (
|
|
1191
|
-
<div className="p-4 border border-border rounded-lg">
|
|
1192
|
-
<div className="text-sm font-medium text-foreground mb-2">Priority</div>
|
|
1193
|
-
<Badge variant="outline" className="capitalize">
|
|
1194
|
-
{data.priority}
|
|
1195
|
-
</Badge>
|
|
1196
|
-
</div>
|
|
1197
|
-
)}
|
|
1198
|
-
</div>
|
|
1199
|
-
|
|
1200
|
-
{/* Description */}
|
|
1201
|
-
{data.longDescription && (
|
|
1202
|
-
<div className="prose prose-sm max-w-none dark:prose-invert">
|
|
1203
|
-
<h2>Overview</h2>
|
|
1204
|
-
<p>{data.longDescription}</p>
|
|
1205
|
-
</div>
|
|
1206
|
-
)}
|
|
1207
|
-
|
|
1208
|
-
{/* Technologies */}
|
|
1209
|
-
{data.technologies && data.technologies.length > 0 && (
|
|
1210
|
-
<div>
|
|
1211
|
-
<h2 className="text-xl font-bold text-foreground mb-4">Technology Stack</h2>
|
|
1212
|
-
<div className="flex gap-2 flex-wrap">
|
|
1213
|
-
{data.technologies.map((tech) => (
|
|
1214
|
-
<Badge key={tech} variant="secondary">
|
|
1215
|
-
{tech}
|
|
1216
|
-
</Badge>
|
|
1217
|
-
))}
|
|
1218
|
-
</div>
|
|
1219
|
-
</div>
|
|
1220
|
-
)}
|
|
1221
|
-
|
|
1222
|
-
{/* Tags */}
|
|
1223
|
-
{data.tags && data.tags.length > 0 && (
|
|
1224
|
-
<div>
|
|
1225
|
-
<h2 className="text-lg font-semibold text-foreground mb-3">Tags</h2>
|
|
1226
|
-
<div className="flex gap-2 flex-wrap">
|
|
1227
|
-
{data.tags.map((tag) => (
|
|
1228
|
-
<Badge key={tag} variant="outline">
|
|
1229
|
-
{tag}
|
|
1230
|
-
</Badge>
|
|
1231
|
-
))}
|
|
1232
|
-
</div>
|
|
1233
|
-
</div>
|
|
1234
|
-
)}
|
|
1235
|
-
|
|
1236
|
-
{/* Gallery */}
|
|
1237
|
-
{data.images && data.images.length > 1 && (
|
|
1238
|
-
<div>
|
|
1239
|
-
<h2 className="text-lg font-semibold text-foreground mb-4">Gallery</h2>
|
|
1240
|
-
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
|
|
1241
|
-
{data.images.map((img, idx) => (
|
|
1242
|
-
<img
|
|
1243
|
-
key={idx}
|
|
1244
|
-
src={img}
|
|
1245
|
-
alt={`${data.name} - Image ${idx + 1}`}
|
|
1246
|
-
className="rounded-lg object-cover h-64 w-full"
|
|
1247
|
-
/>
|
|
1248
|
-
))}
|
|
1249
|
-
</div>
|
|
1250
|
-
</div>
|
|
1251
|
-
)}
|
|
1252
|
-
|
|
1253
|
-
{/* Collaborators */}
|
|
1254
|
-
{data.collaborators && data.collaborators.length > 0 && (
|
|
1255
|
-
<div>
|
|
1256
|
-
<h2 className="text-lg font-semibold text-foreground mb-3">Collaborators</h2>
|
|
1257
|
-
<div className="flex gap-2 flex-wrap">
|
|
1258
|
-
{data.collaborators.map((collaborator) => (
|
|
1259
|
-
<Badge key={collaborator} variant="outline">
|
|
1260
|
-
{collaborator}
|
|
1261
|
-
</Badge>
|
|
1262
|
-
))}
|
|
1263
|
-
</div>
|
|
1264
|
-
</div>
|
|
1265
|
-
)}
|
|
1266
|
-
</div>
|
|
1267
|
-
);
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
|
-
export default ProjectDetail;
|
|
1271
|
-
```
|
|
1272
|
-
|
|
1273
|
-
---
|
|
1274
|
-
|
|
1275
|
-
## Phase 4: Pages & Routing (Cycle 51-70)
|
|
1276
|
-
|
|
1277
|
-
**Responsible Agent:** `agent-frontend`
|
|
1278
|
-
**Duration:** ~20 minutes
|
|
1279
|
-
**Dependencies:** Phase 3 (Components)
|
|
1280
|
-
|
|
1281
|
-
### Task 4-1: Create Projects Listing Page
|
|
1282
|
-
|
|
1283
|
-
**File:** `/Users/toc/Server/ONE/web/src/pages/projects/index.astro`
|
|
1284
|
-
|
|
1285
|
-
```astro
|
|
1286
|
-
---
|
|
1287
|
-
import Layout from '@/layouts/Layout.astro';
|
|
1288
|
-
import { getCollection } from 'astro:content';
|
|
1289
|
-
import { Grid, List } from 'lucide-react';
|
|
1290
|
-
import { ProjectList } from '@/components/projects/ProjectList';
|
|
1291
|
-
|
|
1292
|
-
// Get all projects
|
|
1293
|
-
const entries = await getCollection('projects');
|
|
1294
|
-
|
|
1295
|
-
// Filter out drafts
|
|
1296
|
-
const projects = entries.filter(p => !p.data.draft);
|
|
1297
|
-
|
|
1298
|
-
// Get view mode from URL params
|
|
1299
|
-
const viewModeParam = Astro.url.searchParams.get('view') || 'grid';
|
|
1300
|
-
const viewMode = (viewModeParam === 'list' || viewModeParam === 'grid') ? viewModeParam : 'grid';
|
|
1301
|
-
|
|
1302
|
-
const gridColumnsParam = Astro.url.searchParams.get('columns') || '3';
|
|
1303
|
-
const gridColumns = (gridColumnsParam === '2' || gridColumnsParam === '3' || gridColumnsParam === '4') ? gridColumnsParam : '3';
|
|
1304
|
-
---
|
|
1305
|
-
|
|
1306
|
-
<Layout title="Projects" description="Browse our portfolio of successful projects">
|
|
1307
|
-
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
|
|
1308
|
-
<!-- Header -->
|
|
1309
|
-
<div class="mb-12">
|
|
1310
|
-
<h1 class="text-4xl font-bold text-foreground mb-3" data-usal="fade-right duration-700">
|
|
1311
|
-
Featured Projects
|
|
1312
|
-
</h1>
|
|
1313
|
-
<p class="text-lg text-muted-foreground max-w-2xl" data-usal="fade-right duration-700 delay-100">
|
|
1314
|
-
Explore our portfolio of innovative projects spanning web development, design, AI, and beyond.
|
|
1315
|
-
Each project showcases our expertise and commitment to excellence.
|
|
1316
|
-
</p>
|
|
1317
|
-
</div>
|
|
1318
|
-
|
|
1319
|
-
<!-- View Controls -->
|
|
1320
|
-
<div class="flex justify-end gap-2 items-center mb-8" data-usal="fade-left duration-700">
|
|
1321
|
-
<a
|
|
1322
|
-
href="/projects?view=list"
|
|
1323
|
-
class={`p-2 rounded-md hover:bg-accent hover:scale-110 transition-all duration-200 ${viewMode === 'list' ? 'bg-accent' : ''}`}
|
|
1324
|
-
title="List view"
|
|
1325
|
-
>
|
|
1326
|
-
<List className="w-5 h-5" />
|
|
1327
|
-
</a>
|
|
1328
|
-
<a
|
|
1329
|
-
href="/projects?view=grid&columns=2"
|
|
1330
|
-
class={`p-2 rounded-md hover:bg-accent hover:scale-110 transition-all duration-200 ${viewMode === 'grid' && gridColumns === '2' ? 'bg-accent' : ''}`}
|
|
1331
|
-
title="2 columns grid"
|
|
1332
|
-
>
|
|
1333
|
-
<Grid className="w-5 h-5" />
|
|
1334
|
-
</a>
|
|
1335
|
-
<a
|
|
1336
|
-
href="/projects?view=grid&columns=3"
|
|
1337
|
-
class={`p-2 rounded-md hover:bg-accent hover:scale-110 transition-all duration-200 ${viewMode === 'grid' && gridColumns === '3' ? 'bg-accent' : ''}`}
|
|
1338
|
-
title="3 columns grid"
|
|
1339
|
-
>
|
|
1340
|
-
<div class="w-5 h-5 grid grid-cols-3 gap-0.5">
|
|
1341
|
-
<div class="bg-current rounded-sm"></div>
|
|
1342
|
-
<div class="bg-current rounded-sm"></div>
|
|
1343
|
-
<div class="bg-current rounded-sm"></div>
|
|
1344
|
-
</div>
|
|
1345
|
-
</a>
|
|
1346
|
-
<a
|
|
1347
|
-
href="/projects?view=grid&columns=4"
|
|
1348
|
-
class={`p-2 rounded-md hover:bg-accent hover:scale-110 transition-all duration-200 ${viewMode === 'grid' && gridColumns === '4' ? 'bg-accent' : ''}`}
|
|
1349
|
-
title="4 columns grid"
|
|
1350
|
-
>
|
|
1351
|
-
<div class="w-5 h-5 grid grid-cols-2 grid-rows-2 gap-0.5">
|
|
1352
|
-
<div class="bg-current rounded-sm"></div>
|
|
1353
|
-
<div class="bg-current rounded-sm"></div>
|
|
1354
|
-
<div class="bg-current rounded-sm"></div>
|
|
1355
|
-
<div class="bg-current rounded-sm"></div>
|
|
1356
|
-
</div>
|
|
1357
|
-
</a>
|
|
1358
|
-
</div>
|
|
1359
|
-
|
|
1360
|
-
<!-- Project List -->
|
|
1361
|
-
<ProjectList
|
|
1362
|
-
client:load
|
|
1363
|
-
projects={projects}
|
|
1364
|
-
viewMode={viewMode}
|
|
1365
|
-
gridColumns={gridColumns}
|
|
1366
|
-
showFilters={true}
|
|
1367
|
-
/>
|
|
1368
|
-
</div>
|
|
1369
|
-
</Layout>
|
|
1370
|
-
```
|
|
1371
|
-
|
|
1372
|
-
### Task 4-2: Create Projects Detail Page
|
|
1373
|
-
|
|
1374
|
-
**File:** `/Users/toc/Server/ONE/web/src/pages/projects/[slug].astro`
|
|
1375
|
-
|
|
1376
|
-
```astro
|
|
1377
|
-
---
|
|
1378
|
-
import Layout from '@/layouts/Layout.astro';
|
|
1379
|
-
import { getCollection, getEntry } from 'astro:content';
|
|
1380
|
-
import { ProjectDetail } from '@/components/projects/ProjectDetail';
|
|
1381
|
-
import { Button } from '@/components/ui/button';
|
|
1382
|
-
import { ChevronLeft } from 'lucide-react';
|
|
1383
|
-
|
|
1384
|
-
// Generate static paths for all projects
|
|
1385
|
-
export async function getStaticPaths() {
|
|
1386
|
-
const projects = await getCollection('projects');
|
|
1387
|
-
return projects
|
|
1388
|
-
.filter(p => !p.data.draft)
|
|
1389
|
-
.map(project => ({
|
|
1390
|
-
params: { slug: project.slug },
|
|
1391
|
-
}));
|
|
1392
|
-
}
|
|
1393
|
-
|
|
1394
|
-
const { slug } = Astro.params;
|
|
1395
|
-
|
|
1396
|
-
// Get project from collection
|
|
1397
|
-
const projectEntry = await getEntry('projects', slug!);
|
|
1398
|
-
|
|
1399
|
-
if (!projectEntry) {
|
|
1400
|
-
return Astro.redirect('/404');
|
|
1401
|
-
}
|
|
1402
|
-
|
|
1403
|
-
const { data } = projectEntry;
|
|
1404
|
-
|
|
1405
|
-
// Get related projects (same category or technology)
|
|
1406
|
-
const allProjects = await getCollection('projects');
|
|
1407
|
-
const relatedProjects = allProjects
|
|
1408
|
-
.filter(p =>
|
|
1409
|
-
p.slug !== slug &&
|
|
1410
|
-
!p.data.draft &&
|
|
1411
|
-
(p.data.category === data.category ||
|
|
1412
|
-
(p.data.technologies && data.technologies &&
|
|
1413
|
-
p.data.technologies.some(t => data.technologies?.includes(t))))
|
|
1414
|
-
)
|
|
1415
|
-
.slice(0, 3);
|
|
1416
|
-
---
|
|
1417
|
-
|
|
1418
|
-
<Layout title={`${data.name} - Projects`} description={data.description}>
|
|
1419
|
-
<div class="min-h-screen bg-background">
|
|
1420
|
-
<!-- Breadcrumb -->
|
|
1421
|
-
<div class="max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 py-8 flex items-center gap-2">
|
|
1422
|
-
<Button variant="ghost" size="sm" asChild>
|
|
1423
|
-
<a href="/projects">
|
|
1424
|
-
<ChevronLeft className="w-4 h-4 mr-2" />
|
|
1425
|
-
Back to Projects
|
|
1426
|
-
</a>
|
|
1427
|
-
</Button>
|
|
1428
|
-
</div>
|
|
1429
|
-
|
|
1430
|
-
<!-- Content -->
|
|
1431
|
-
<div class="max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
|
|
1432
|
-
<ProjectDetail client:load project={projectEntry} />
|
|
1433
|
-
</div>
|
|
1434
|
-
|
|
1435
|
-
<!-- Related Projects -->
|
|
1436
|
-
{relatedProjects.length > 0 && (
|
|
1437
|
-
<div class="mt-16 border-t border-border pt-12 bg-muted/20">
|
|
1438
|
-
<div class="max-w-5xl mx-auto px-4 sm:px-6 lg:px-8">
|
|
1439
|
-
<h2 class="text-2xl font-bold text-foreground mb-8">Related Projects</h2>
|
|
1440
|
-
|
|
1441
|
-
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
|
|
1442
|
-
{relatedProjects.map(project => (
|
|
1443
|
-
<a
|
|
1444
|
-
href={`/projects/${project.slug}`}
|
|
1445
|
-
class="group block border border-border rounded-lg overflow-hidden hover:shadow-lg transition-shadow"
|
|
1446
|
-
>
|
|
1447
|
-
{project.data.image && (
|
|
1448
|
-
<div class="h-40 overflow-hidden bg-muted">
|
|
1449
|
-
<img
|
|
1450
|
-
src={project.data.image}
|
|
1451
|
-
alt={project.data.name}
|
|
1452
|
-
class="h-full w-full object-cover group-hover:scale-105 transition-transform"
|
|
1453
|
-
/>
|
|
1454
|
-
</div>
|
|
1455
|
-
)}
|
|
1456
|
-
<div class="p-4">
|
|
1457
|
-
<h3 class="font-semibold text-foreground group-hover:text-primary transition-colors">
|
|
1458
|
-
{project.data.name}
|
|
1459
|
-
</h3>
|
|
1460
|
-
<p class="text-sm text-muted-foreground mt-2 line-clamp-2">
|
|
1461
|
-
{project.data.description}
|
|
1462
|
-
</p>
|
|
1463
|
-
</div>
|
|
1464
|
-
</a>
|
|
1465
|
-
))}
|
|
1466
|
-
</div>
|
|
1467
|
-
</div>
|
|
1468
|
-
</div>
|
|
1469
|
-
)}
|
|
1470
|
-
</div>
|
|
1471
|
-
</Layout>
|
|
1472
|
-
```
|
|
1473
|
-
|
|
1474
|
-
---
|
|
1475
|
-
|
|
1476
|
-
## Phase 5: Backend Support (Optional, Cycle 71-85)
|
|
1477
|
-
|
|
1478
|
-
**Responsible Agent:** `agent-backend`
|
|
1479
|
-
**Duration:** ~15 minutes
|
|
1480
|
-
**Dependencies:** Phase 1 (Schema defined)
|
|
1481
|
-
**Note:** Only needed if backend CRUD operations are required. Can be skipped for content-only projects.
|
|
1482
|
-
|
|
1483
|
-
### Task 5-1: Create Project Queries (Optional)
|
|
1484
|
-
|
|
1485
|
-
**File:** `/Users/toc/Server/ONE/backend/convex/queries/projects.ts` (optional)
|
|
1486
|
-
|
|
1487
|
-
```typescript
|
|
1488
|
-
import { query } from "./_generated/server";
|
|
1489
|
-
import { v } from "convex/values";
|
|
1490
|
-
|
|
1491
|
-
/**
|
|
1492
|
-
* List all projects in a group
|
|
1493
|
-
*/
|
|
1494
|
-
export const listByGroup = query({
|
|
1495
|
-
args: { groupId: v.id("groups") },
|
|
1496
|
-
handler: async (ctx, args) => {
|
|
1497
|
-
return await ctx.db
|
|
1498
|
-
.query("entities")
|
|
1499
|
-
.withIndex("by_type", (q) => q.eq("type", "project"))
|
|
1500
|
-
.filter((q) => q.eq(q.field("groupId"), args.groupId))
|
|
1501
|
-
.collect();
|
|
1502
|
-
},
|
|
1503
|
-
});
|
|
1504
|
-
|
|
1505
|
-
/**
|
|
1506
|
-
* Get single project by ID
|
|
1507
|
-
*/
|
|
1508
|
-
export const getById = query({
|
|
1509
|
-
args: { projectId: v.id("entities") },
|
|
1510
|
-
handler: async (ctx, args) => {
|
|
1511
|
-
return await ctx.db.get(args.projectId);
|
|
1512
|
-
},
|
|
1513
|
-
});
|
|
1514
|
-
|
|
1515
|
-
/**
|
|
1516
|
-
* Search projects by name
|
|
1517
|
-
*/
|
|
1518
|
-
export const searchByName = query({
|
|
1519
|
-
args: {
|
|
1520
|
-
groupId: v.id("groups"),
|
|
1521
|
-
searchTerm: v.string(),
|
|
1522
|
-
},
|
|
1523
|
-
handler: async (ctx, args) => {
|
|
1524
|
-
const projects = await ctx.db
|
|
1525
|
-
.query("entities")
|
|
1526
|
-
.withIndex("by_type", (q) => q.eq("type", "project"))
|
|
1527
|
-
.filter((q) => q.eq(q.field("groupId"), args.groupId))
|
|
1528
|
-
.collect();
|
|
1529
|
-
|
|
1530
|
-
return projects.filter((p) =>
|
|
1531
|
-
p.name.toLowerCase().includes(args.searchTerm.toLowerCase())
|
|
1532
|
-
);
|
|
1533
|
-
},
|
|
1534
|
-
});
|
|
1535
|
-
```
|
|
1536
|
-
|
|
1537
|
-
### Task 5-2: Create Project Mutations (Optional)
|
|
1538
|
-
|
|
1539
|
-
**File:** `/Users/toc/Server/ONE/backend/convex/mutations/projects.ts` (optional)
|
|
1540
|
-
|
|
1541
|
-
```typescript
|
|
1542
|
-
import { mutation } from "./_generated/server";
|
|
1543
|
-
import { v } from "convex/values";
|
|
1544
|
-
|
|
1545
|
-
/**
|
|
1546
|
-
* Create a new project
|
|
1547
|
-
*/
|
|
1548
|
-
export const create = mutation({
|
|
1549
|
-
args: {
|
|
1550
|
-
groupId: v.id("groups"),
|
|
1551
|
-
name: v.string(),
|
|
1552
|
-
description: v.string(),
|
|
1553
|
-
properties: v.optional(v.any()),
|
|
1554
|
-
},
|
|
1555
|
-
handler: async (ctx, args) => {
|
|
1556
|
-
const projectId = await ctx.db.insert("entities", {
|
|
1557
|
-
groupId: args.groupId,
|
|
1558
|
-
type: "project",
|
|
1559
|
-
name: args.name,
|
|
1560
|
-
properties: {
|
|
1561
|
-
description: args.description,
|
|
1562
|
-
...args.properties,
|
|
1563
|
-
},
|
|
1564
|
-
status: "draft",
|
|
1565
|
-
createdAt: Date.now(),
|
|
1566
|
-
updatedAt: Date.now(),
|
|
1567
|
-
});
|
|
1568
|
-
|
|
1569
|
-
// Log creation event
|
|
1570
|
-
await ctx.db.insert("events", {
|
|
1571
|
-
groupId: args.groupId,
|
|
1572
|
-
type: "thing_created",
|
|
1573
|
-
timestamp: Date.now(),
|
|
1574
|
-
metadata: {
|
|
1575
|
-
thingType: "project",
|
|
1576
|
-
thingId: projectId,
|
|
1577
|
-
actorId: ctx.auth?.getUserIdentity()?.tokenIdentifier || "anonymous",
|
|
1578
|
-
},
|
|
1579
|
-
});
|
|
1580
|
-
|
|
1581
|
-
return projectId;
|
|
1582
|
-
},
|
|
1583
|
-
});
|
|
1584
|
-
|
|
1585
|
-
/**
|
|
1586
|
-
* Update a project
|
|
1587
|
-
*/
|
|
1588
|
-
export const update = mutation({
|
|
1589
|
-
args: {
|
|
1590
|
-
projectId: v.id("entities"),
|
|
1591
|
-
updates: v.object({
|
|
1592
|
-
name: v.optional(v.string()),
|
|
1593
|
-
properties: v.optional(v.any()),
|
|
1594
|
-
status: v.optional(v.string()),
|
|
1595
|
-
}),
|
|
1596
|
-
},
|
|
1597
|
-
handler: async (ctx, args) => {
|
|
1598
|
-
const project = await ctx.db.get(args.projectId);
|
|
1599
|
-
if (!project) throw new Error("Project not found");
|
|
1600
|
-
|
|
1601
|
-
await ctx.db.patch(args.projectId, {
|
|
1602
|
-
name: args.updates.name || project.name,
|
|
1603
|
-
properties: {
|
|
1604
|
-
...project.properties,
|
|
1605
|
-
...args.updates.properties,
|
|
1606
|
-
},
|
|
1607
|
-
status: args.updates.status || project.status,
|
|
1608
|
-
updatedAt: Date.now(),
|
|
1609
|
-
});
|
|
1610
|
-
|
|
1611
|
-
// Log update event
|
|
1612
|
-
await ctx.db.insert("events", {
|
|
1613
|
-
groupId: project.groupId,
|
|
1614
|
-
type: "thing_updated",
|
|
1615
|
-
timestamp: Date.now(),
|
|
1616
|
-
metadata: {
|
|
1617
|
-
thingType: "project",
|
|
1618
|
-
thingId: args.projectId,
|
|
1619
|
-
},
|
|
1620
|
-
});
|
|
1621
|
-
},
|
|
1622
|
-
});
|
|
1623
|
-
|
|
1624
|
-
/**
|
|
1625
|
-
* Delete a project
|
|
1626
|
-
*/
|
|
1627
|
-
export const delete_ = mutation({
|
|
1628
|
-
args: { projectId: v.id("entities") },
|
|
1629
|
-
handler: async (ctx, args) => {
|
|
1630
|
-
const project = await ctx.db.get(args.projectId);
|
|
1631
|
-
if (!project) throw new Error("Project not found");
|
|
1632
|
-
|
|
1633
|
-
await ctx.db.delete(args.projectId);
|
|
1634
|
-
|
|
1635
|
-
// Log deletion event
|
|
1636
|
-
await ctx.db.insert("events", {
|
|
1637
|
-
groupId: project.groupId,
|
|
1638
|
-
type: "thing_updated",
|
|
1639
|
-
timestamp: Date.now(),
|
|
1640
|
-
metadata: {
|
|
1641
|
-
thingType: "project",
|
|
1642
|
-
thingId: args.projectId,
|
|
1643
|
-
action: "deleted",
|
|
1644
|
-
},
|
|
1645
|
-
});
|
|
1646
|
-
},
|
|
1647
|
-
});
|
|
1648
|
-
```
|
|
1649
|
-
|
|
1650
|
-
---
|
|
1651
|
-
|
|
1652
|
-
## Phase 6: Testing & Documentation (Cycle 86-100)
|
|
1653
|
-
|
|
1654
|
-
**Responsible Agent:** `agent-quality`
|
|
1655
|
-
**Duration:** ~20 minutes
|
|
1656
|
-
**Dependencies:** Phases 4 & 5 (Implementation complete)
|
|
1657
|
-
|
|
1658
|
-
### Task 6-1: Component Unit Tests
|
|
1659
|
-
|
|
1660
|
-
**File:** `/Users/toc/Server/ONE/web/test/components/ProjectCard.test.tsx`
|
|
1661
|
-
|
|
1662
|
-
```typescript
|
|
1663
|
-
import { describe, it, expect } from 'vitest';
|
|
1664
|
-
import { render, screen } from '@testing-library/react';
|
|
1665
|
-
import { ProjectCard } from '@/components/projects/ProjectCard';
|
|
1666
|
-
import type { CollectionEntry } from 'astro:content';
|
|
1667
|
-
|
|
1668
|
-
const mockProject: CollectionEntry<'projects'> = {
|
|
1669
|
-
id: 'test-project',
|
|
1670
|
-
slug: 'test-project',
|
|
1671
|
-
collection: 'projects',
|
|
1672
|
-
data: {
|
|
1673
|
-
name: 'Test Project',
|
|
1674
|
-
description: 'A test project',
|
|
1675
|
-
status: 'in_progress',
|
|
1676
|
-
progress: 50,
|
|
1677
|
-
tags: ['test', 'example'],
|
|
1678
|
-
team: ['Developer 1', 'Developer 2'],
|
|
1679
|
-
image: 'https://example.com/image.jpg',
|
|
1680
|
-
featured: false,
|
|
1681
|
-
draft: false,
|
|
1682
|
-
},
|
|
1683
|
-
body: '',
|
|
1684
|
-
render: async () => ({ Content: () => null, headings: [], remarkPluginFrontmatter: {} }),
|
|
1685
|
-
};
|
|
1686
|
-
|
|
1687
|
-
describe('ProjectCard', () => {
|
|
1688
|
-
it('renders project name', () => {
|
|
1689
|
-
render(<ProjectCard project={mockProject} viewMode="grid" />);
|
|
1690
|
-
expect(screen.getByText('Test Project')).toBeDefined();
|
|
1691
|
-
});
|
|
1692
|
-
|
|
1693
|
-
it('renders project description', () => {
|
|
1694
|
-
render(<ProjectCard project={mockProject} viewMode="grid" />);
|
|
1695
|
-
expect(screen.getByText('A test project')).toBeDefined();
|
|
1696
|
-
});
|
|
1697
|
-
|
|
1698
|
-
it('displays status badge', () => {
|
|
1699
|
-
render(<ProjectCard project={mockProject} viewMode="grid" />);
|
|
1700
|
-
expect(screen.getByText(/in_progress/i)).toBeDefined();
|
|
1701
|
-
});
|
|
1702
|
-
|
|
1703
|
-
it('displays tags', () => {
|
|
1704
|
-
render(<ProjectCard project={mockProject} viewMode="grid" />);
|
|
1705
|
-
expect(screen.getByText('test')).toBeDefined();
|
|
1706
|
-
expect(screen.getByText('example')).toBeDefined();
|
|
1707
|
-
});
|
|
1708
|
-
|
|
1709
|
-
it('displays team count', () => {
|
|
1710
|
-
render(<ProjectCard project={mockProject} viewMode="list" />);
|
|
1711
|
-
expect(screen.getByText(/2 team members/)).toBeDefined();
|
|
1712
|
-
});
|
|
1713
|
-
|
|
1714
|
-
it('shows progress bar', () => {
|
|
1715
|
-
render(<ProjectCard project={mockProject} viewMode="grid" />);
|
|
1716
|
-
expect(screen.getByText('50%')).toBeDefined();
|
|
1717
|
-
});
|
|
1718
|
-
});
|
|
1719
|
-
```
|
|
1720
|
-
|
|
1721
|
-
### Task 6-2: Page Integration Tests
|
|
1722
|
-
|
|
1723
|
-
**File:** `/Users/toc/Server/ONE/web/test/pages/projects.test.ts`
|
|
1724
|
-
|
|
1725
|
-
```typescript
|
|
1726
|
-
import { describe, it, expect } from 'vitest';
|
|
1727
|
-
import { getCollection } from 'astro:content';
|
|
1728
|
-
|
|
1729
|
-
describe('Projects Pages', () => {
|
|
1730
|
-
it('content collection includes projects', async () => {
|
|
1731
|
-
const projects = await getCollection('projects');
|
|
1732
|
-
expect(projects.length).toBeGreaterThan(0);
|
|
1733
|
-
});
|
|
1734
|
-
|
|
1735
|
-
it('all projects have required fields', async () => {
|
|
1736
|
-
const projects = await getCollection('projects');
|
|
1737
|
-
projects.forEach((p) => {
|
|
1738
|
-
expect(p.data.name).toBeDefined();
|
|
1739
|
-
expect(p.data.description).toBeDefined();
|
|
1740
|
-
});
|
|
1741
|
-
});
|
|
1742
|
-
|
|
1743
|
-
it('filters out draft projects', async () => {
|
|
1744
|
-
const projects = await getCollection('projects');
|
|
1745
|
-
const drafts = projects.filter((p) => p.data.draft);
|
|
1746
|
-
// In production, drafts should be filtered in the page
|
|
1747
|
-
expect(drafts).toBeDefined();
|
|
1748
|
-
});
|
|
1749
|
-
|
|
1750
|
-
it('projects have unique slugs', async () => {
|
|
1751
|
-
const projects = await getCollection('projects');
|
|
1752
|
-
const slugs = projects.map((p) => p.slug);
|
|
1753
|
-
const uniqueSlugs = new Set(slugs);
|
|
1754
|
-
expect(slugs.length).toBe(uniqueSlugs.size);
|
|
1755
|
-
});
|
|
1756
|
-
});
|
|
1757
|
-
```
|
|
1758
|
-
|
|
1759
|
-
### Task 6-3: Documentation Update
|
|
1760
|
-
|
|
1761
|
-
**File:** `/Users/toc/Server/ONE/one/knowledge/projects-feature.md`
|
|
1762
|
-
|
|
1763
|
-
Create comprehensive feature documentation:
|
|
1764
|
-
|
|
1765
|
-
```markdown
|
|
1766
|
-
# Projects Feature
|
|
1767
|
-
|
|
1768
|
-
**Status:** Implemented
|
|
1769
|
-
**Version:** 1.0.0
|
|
1770
|
-
**Ontology Alignment:** 100%
|
|
1771
|
-
|
|
1772
|
-
## Overview
|
|
1773
|
-
|
|
1774
|
-
The Projects feature enables portfolio and project management on the ONE Platform. Projects are modeled as a "thing" type in the 6-dimension ontology.
|
|
1775
|
-
|
|
1776
|
-
## Content Collection
|
|
1777
|
-
|
|
1778
|
-
**File:** `web/src/content/projects/`
|
|
1779
|
-
**Schema:** `web/src/content/config.ts`
|
|
1780
|
-
|
|
1781
|
-
### ProjectSchema Fields
|
|
1782
|
-
|
|
1783
|
-
- `name` (required) - Project name/title
|
|
1784
|
-
- `description` (required) - Short description
|
|
1785
|
-
- `longDescription` (optional) - Detailed description
|
|
1786
|
-
- `status` - One of: planning, in_progress, completed, on_hold
|
|
1787
|
-
- `priority` - One of: low, medium, high
|
|
1788
|
-
- `category` - Project category (e.g., web-development)
|
|
1789
|
-
- `tags` - Array of tags for filtering
|
|
1790
|
-
- `owner` - Project creator/owner name
|
|
1791
|
-
- `team` - Array of team member names
|
|
1792
|
-
- `startDate` - Project start date
|
|
1793
|
-
- `endDate` - Project completion date
|
|
1794
|
-
- `progress` - 0-100 completion percentage
|
|
1795
|
-
- `image` - Featured image URL
|
|
1796
|
-
- `images` - Array of image URLs for gallery
|
|
1797
|
-
- `websiteUrl` - Project website URL
|
|
1798
|
-
- `repositoryUrl` - Code repository URL
|
|
1799
|
-
- `liveLink` - Live deployment URL
|
|
1800
|
-
- `technologies` - Tech stack array
|
|
1801
|
-
- `metadata` - Flexible additional data
|
|
1802
|
-
|
|
1803
|
-
## Pages & Routes
|
|
1804
|
-
|
|
1805
|
-
- `/projects` - All projects listing with filters
|
|
1806
|
-
- `/projects/[slug]` - Individual project detail page
|
|
1807
|
-
|
|
1808
|
-
## Components
|
|
1809
|
-
|
|
1810
|
-
- `ProjectCard` - Grid/list view card component
|
|
1811
|
-
- `ProjectList` - Container with filtering and sorting
|
|
1812
|
-
- `ProjectDetail` - Detail page component
|
|
1813
|
-
- `ProjectFilters` - Filter UI component
|
|
1814
|
-
|
|
1815
|
-
## Ontology Mapping
|
|
1816
|
-
|
|
1817
|
-
| Dimension | Mapping |
|
|
1818
|
-
|-----------|---------|
|
|
1819
|
-
| Groups | projectId scoped to groupId |
|
|
1820
|
-
| People | owner, team, collaborators |
|
|
1821
|
-
| Things | type: "project" |
|
|
1822
|
-
| Connections | created_by, belongs_to_portfolio |
|
|
1823
|
-
| Events | project_viewed, thing_created, thing_updated |
|
|
1824
|
-
| Knowledge | tags, descriptions, metadata |
|
|
1825
|
-
|
|
1826
|
-
## Creating a Project Entry
|
|
1827
|
-
|
|
1828
|
-
```markdown
|
|
1829
|
-
---
|
|
1830
|
-
name: "My Awesome Project"
|
|
1831
|
-
description: "Short description of the project"
|
|
1832
|
-
longDescription: "Detailed description..."
|
|
1833
|
-
status: "completed"
|
|
1834
|
-
progress: 100
|
|
1835
|
-
category: "web-development"
|
|
1836
|
-
tags: ["astro", "react"]
|
|
1837
|
-
owner: "Your Name"
|
|
1838
|
-
team: ["Dev 1", "Dev 2"]
|
|
1839
|
-
startDate: 2024-01-01
|
|
1840
|
-
endDate: 2024-06-30
|
|
1841
|
-
image: "https://example.com/image.jpg"
|
|
1842
|
-
websiteUrl: "https://project.example.com"
|
|
1843
|
-
repositoryUrl: "https://github.com/example/project"
|
|
1844
|
-
technologies: ["React", "Node.js", "PostgreSQL"]
|
|
1845
|
-
featured: true
|
|
1846
|
-
draft: false
|
|
1847
|
-
---
|
|
1848
|
-
|
|
1849
|
-
## Project Overview
|
|
1850
|
-
|
|
1851
|
-
Your project description content here...
|
|
1852
|
-
```
|
|
1853
|
-
|
|
1854
|
-
## Backend Integration (Optional)
|
|
1855
|
-
|
|
1856
|
-
If backend CRUD operations are needed:
|
|
1857
|
-
|
|
1858
|
-
- Mutations: `backend/convex/mutations/projects.ts`
|
|
1859
|
-
- Queries: `backend/convex/queries/projects.ts`
|
|
1860
|
-
|
|
1861
|
-
Events logged:
|
|
1862
|
-
- `thing_created` - When project created
|
|
1863
|
-
- `thing_updated` - When project modified
|
|
1864
|
-
- `project_viewed` - When project viewed (custom event)
|
|
1865
|
-
|
|
1866
|
-
## Filtering & Search
|
|
1867
|
-
|
|
1868
|
-
Projects support:
|
|
1869
|
-
- Category filtering
|
|
1870
|
-
- Status filtering (planning, in_progress, completed, on_hold)
|
|
1871
|
-
- Tag-based filtering
|
|
1872
|
-
- Text search (name, description)
|
|
1873
|
-
- Sorting (newest, oldest, progress, name)
|
|
1874
|
-
|
|
1875
|
-
## View Modes
|
|
1876
|
-
|
|
1877
|
-
- Grid view (2, 3, or 4 columns)
|
|
1878
|
-
- List view (details expanded)
|
|
1879
|
-
- Toggle via URL params: `?view=grid&columns=3`
|
|
1880
|
-
```
|
|
1881
|
-
|
|
1882
|
-
---
|
|
1883
|
-
|
|
1884
|
-
## Execution Roadmap
|
|
1885
|
-
|
|
1886
|
-
```
|
|
1887
|
-
PHASE 1: Schema Design (Cycle 1-15)
|
|
1888
|
-
│
|
|
1889
|
-
├─ Task 1-1: Define ProjectSchema in config.ts
|
|
1890
|
-
├─ Task 1-2: Update collections export
|
|
1891
|
-
└─ Task 1-3: Create wireframes
|
|
1892
|
-
|
|
1893
|
-
DELIVERABLE: ProjectSchema definition + wireframes
|
|
1894
|
-
|
|
1895
|
-
PHASE 2: Content Collection (Cycle 16-30)
|
|
1896
|
-
│
|
|
1897
|
-
├─ Task 2-1: Create projects directory
|
|
1898
|
-
├─ Task 2-2: Add 3 example projects
|
|
1899
|
-
└─ Task 2-3: Sync content collection
|
|
1900
|
-
|
|
1901
|
-
DELIVERABLE: Astro content collection with examples
|
|
1902
|
-
|
|
1903
|
-
PHASE 3: Frontend Components (Cycle 31-50)
|
|
1904
|
-
│
|
|
1905
|
-
├─ Task 3-1: ProjectCard component
|
|
1906
|
-
├─ Task 3-2: ProjectList component
|
|
1907
|
-
├─ Task 3-3: ProjectFilters component
|
|
1908
|
-
└─ Task 3-4: ProjectDetail component
|
|
1909
|
-
|
|
1910
|
-
DELIVERABLE: 4 React components (grid, filter, detail)
|
|
1911
|
-
|
|
1912
|
-
PHASE 4: Pages & Routing (Cycle 51-70)
|
|
1913
|
-
│
|
|
1914
|
-
├─ Task 4-1: /projects index page
|
|
1915
|
-
└─ Task 4-2: /projects/[slug] detail page
|
|
1916
|
-
|
|
1917
|
-
DELIVERABLE: Dynamic routing with SSR
|
|
1918
|
-
|
|
1919
|
-
PHASE 5: Backend (Optional, Cycle 71-85)
|
|
1920
|
-
│
|
|
1921
|
-
├─ Task 5-1: Project queries
|
|
1922
|
-
└─ Task 5-2: Project mutations
|
|
1923
|
-
|
|
1924
|
-
DELIVERABLE: Convex CRUD operations (optional)
|
|
1925
|
-
|
|
1926
|
-
PHASE 6: Testing & Docs (Cycle 86-100)
|
|
1927
|
-
│
|
|
1928
|
-
├─ Task 6-1: Component unit tests
|
|
1929
|
-
├─ Task 6-2: Page integration tests
|
|
1930
|
-
└─ Task 6-3: Documentation update
|
|
1931
|
-
|
|
1932
|
-
DELIVERABLE: Tests + complete documentation
|
|
1933
|
-
```
|
|
1934
|
-
|
|
1935
|
-
---
|
|
1936
|
-
|
|
1937
|
-
## Success Criteria
|
|
1938
|
-
|
|
1939
|
-
- [ ] ProjectSchema defined with Zod validation
|
|
1940
|
-
- [ ] Content collection syncs without errors
|
|
1941
|
-
- [ ] 3+ example projects created
|
|
1942
|
-
- [ ] ProjectCard renders in grid and list modes
|
|
1943
|
-
- [ ] ProjectList with filters and sorting works
|
|
1944
|
-
- [ ] Projects listing page renders at `/projects`
|
|
1945
|
-
- [ ] Project detail pages render at `/projects/[slug]`
|
|
1946
|
-
- [ ] All components are responsive and accessible (WCAG)
|
|
1947
|
-
- [ ] Unit tests pass (components)
|
|
1948
|
-
- [ ] Integration tests pass (pages)
|
|
1949
|
-
- [ ] Documentation complete and accurate
|
|
1950
|
-
- [ ] Featured projects highlight correctly
|
|
1951
|
-
- [ ] Filters work correctly (category, status, tags)
|
|
1952
|
-
- [ ] Search functionality works
|
|
1953
|
-
- [ ] Related projects display on detail pages
|
|
1954
|
-
- [ ] No build errors or type issues
|
|
1955
|
-
|
|
1956
|
-
---
|
|
1957
|
-
|
|
1958
|
-
## Team Assignments
|
|
1959
|
-
|
|
1960
|
-
| Phase | Tasks | Agent | Duration | Status |
|
|
1961
|
-
|-------|-------|-------|----------|--------|
|
|
1962
|
-
| 1 | Schema design | agent-designer | ~10 min | Ready |
|
|
1963
|
-
| 2 | Content collection | agent-frontend | ~10 min | Ready |
|
|
1964
|
-
| 3 | Components | agent-frontend | ~30 min | Ready |
|
|
1965
|
-
| 4 | Pages | agent-frontend | ~20 min | Ready |
|
|
1966
|
-
| 5 | Backend | agent-backend | ~15 min | Optional |
|
|
1967
|
-
| 6 | Testing | agent-quality | ~20 min | Ready |
|
|
1968
|
-
|
|
1969
|
-
**Total Estimated Time:** 95-110 minutes (1.5-2 hours)
|
|
1970
|
-
**Complexity:** Medium
|
|
1971
|
-
**Dependencies:** Minimal (content-first approach)
|
|
1972
|
-
|
|
1973
|
-
---
|
|
1974
|
-
|
|
1975
|
-
## Ontology Alignment Summary
|
|
1976
|
-
|
|
1977
|
-
This feature maps perfectly to all 6 dimensions:
|
|
1978
|
-
|
|
1979
|
-
1. **Groups** - Projects scoped via `groupId` field (inherited from schema)
|
|
1980
|
-
2. **People** - Project owner, team members, collaborators (roles)
|
|
1981
|
-
3. **Things** - `type: "project"` already in ontology (15 thing types total)
|
|
1982
|
-
4. **Connections** - `created_by`, `belongs_to_portfolio` relationships
|
|
1983
|
-
5. **Events** - `thing_created`, `thing_updated`, `project_viewed` events
|
|
1984
|
-
6. **Knowledge** - Tags, descriptions, metadata, search vectors
|
|
1985
|
-
|
|
1986
|
-
**Verdict:** 100% ontology aligned - Ready to build!
|
|
1987
|
-
|
|
1988
|
-
---
|
|
1989
|
-
|
|
1990
|
-
**Created:** 2025-10-30
|
|
1991
|
-
**Last Updated:** 2025-10-30
|
|
1992
|
-
**Validation Status:** APPROVED - Ready for Execution
|
|
1993
|
-
```
|
|
1994
|
-
|
|
1995
|
-
---
|
|
1996
|
-
|
|
1997
|
-
## Summary for Director
|
|
1998
|
-
|
|
1999
|
-
You now have a **complete implementation plan** for the Projects feature:
|
|
2000
|
-
|
|
2001
|
-
### What's Ready
|
|
2002
|
-
|
|
2003
|
-
1. **ProjectSchema** - Comprehensive Zod schema with all fields
|
|
2004
|
-
2. **3 Example Projects** - Real portfolio examples to demonstrate the feature
|
|
2005
|
-
3. **4 React Components** - ProjectCard, ProjectList, ProjectFilters, ProjectDetail
|
|
2006
|
-
4. **2 Astro Pages** - Listing page with dynamic routing + detail pages
|
|
2007
|
-
5. **Optional Backend** - Convex mutations/queries for CRUD
|
|
2008
|
-
6. **Complete Tests** - Unit and integration tests
|
|
2009
|
-
7. **Full Documentation** - Feature overview and usage guide
|
|
2010
|
-
|
|
2011
|
-
### Team Execution Order
|
|
2012
|
-
|
|
2013
|
-
```
|
|
2014
|
-
1. agent-designer creates schemas & wireframes (10 min)
|
|
2015
|
-
↓
|
|
2016
|
-
2. agent-frontend creates content & components (60 min)
|
|
2017
|
-
├─ Creates projects directory
|
|
2018
|
-
├─ Adds example projects
|
|
2019
|
-
├─ Builds 4 React components
|
|
2020
|
-
└─ Creates 2 Astro pages
|
|
2021
|
-
↓
|
|
2022
|
-
3. agent-backend (optional) adds Convex CRUD (15 min)
|
|
2023
|
-
├─ Project mutations
|
|
2024
|
-
└─ Project queries
|
|
2025
|
-
↓
|
|
2026
|
-
4. agent-quality writes tests & docs (20 min)
|
|
2027
|
-
├─ Component tests
|
|
2028
|
-
├─ Page tests
|
|
2029
|
-
└─ Documentation
|
|
2030
|
-
```
|
|
2031
|
-
|
|
2032
|
-
### Parallel Execution Opportunity
|
|
2033
|
-
|
|
2034
|
-
- **agent-frontend** can start components (Task 3) immediately after schema is approved
|
|
2035
|
-
- **agent-backend** can work on mutations (Task 5) in parallel with components
|
|
2036
|
-
- **agent-quality** can write tests while implementation is finishing
|
|
2037
|
-
|
|
2038
|
-
### Key Advantages
|
|
2039
|
-
|
|
2040
|
-
- **Content-first approach** - Uses Astro content collections (no backend DB required initially)
|
|
2041
|
-
- **Ontology-aligned** - "project" thing type already exists
|
|
2042
|
-
- **Pattern reuse** - Follows products/blog implementation patterns
|
|
2043
|
-
- **Responsive design** - Tailwind v4 with mobile-first approach
|
|
2044
|
-
- **Full-featured** - Includes filtering, sorting, search, gallery, team display
|
|
2045
|
-
- **Extensible** - Properties field allows unlimited custom data
|
|
2046
|
-
|
|
2047
|
-
Ready to execute? Assign the tasks to your specialists!
|