@polymorphism-tech/morph-spec 4.3.2 → 4.3.4
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/.morph/analytics/threads-log.jsonl +9 -0
- package/{stacks/blazor-azure/.morph → .morph}/config/config.json +9 -9
- package/.morph/state.json +48 -0
- package/bin/detect-agents.js +1 -2
- package/bin/morph-spec.js +2 -15
- package/{stacks/nextjs-supabase/.morph/config → framework}/agents.json +948 -948
- package/{stacks/nextjs-supabase/.claude → framework}/commands/morph-infra.md +1 -1
- package/framework/hooks/README.md +282 -0
- package/framework/hooks/agent-stop/validate-and-continue.js +96 -0
- package/framework/hooks/agent-stop/validate-checkpoints.js +101 -0
- package/framework/hooks/agent-stop/validate-tests.js +109 -0
- package/framework/hooks/agent-teams/dispatch.js +67 -0
- package/framework/hooks/agent-teams/phase-advanced.js +80 -0
- package/framework/hooks/agent-teams/task-completed.js +76 -0
- package/framework/hooks/agent-teams/teammate-idle.js +70 -0
- package/framework/hooks/commit-msg/conventional-commits.sh +33 -0
- package/framework/hooks/pre-commit/agents.sh +25 -0
- package/framework/hooks/pre-commit/orchestrator.sh +64 -0
- package/framework/hooks/pre-commit/specs.sh +50 -0
- package/framework/hooks/pre-push/run-tests.sh +44 -0
- package/framework/index/troubleshooting-index.json +184 -0
- package/framework/memory/patterns-learned.md +766 -0
- package/framework/skills/level-0-meta/README.md +7 -0
- package/framework/skills/level-0-meta/code-review.md +226 -0
- package/framework/skills/level-0-meta/morph-checklist.md +117 -0
- package/framework/skills/level-0-meta/simulation-checklist.md +77 -0
- package/framework/skills/level-1-workflows/README.md +7 -0
- package/framework/skills/level-1-workflows/morph-replicate.md +213 -0
- package/framework/skills/level-1-workflows/phase-clarify.md +131 -0
- package/framework/skills/level-1-workflows/phase-design.md +213 -0
- package/framework/skills/level-1-workflows/phase-setup.md +106 -0
- package/framework/skills/level-1-workflows/phase-tasks.md +164 -0
- package/framework/skills/level-1-workflows/phase-uiux.md +169 -0
- package/framework/skills/level-2-domains/README.md +14 -0
- package/framework/skills/level-2-domains/ai-agents/ai-system-architect.md +192 -0
- package/framework/skills/level-2-domains/architecture/po-pm-advisor.md +197 -0
- package/framework/skills/level-2-domains/architecture/prompt-engineer.md +189 -0
- package/framework/skills/level-2-domains/architecture/seo-growth-hacker.md +320 -0
- package/framework/skills/level-2-domains/architecture/standards-architect.md +156 -0
- package/framework/skills/level-2-domains/backend/api-designer.md +59 -0
- package/framework/skills/level-2-domains/backend/dotnet-senior.md +77 -0
- package/framework/skills/level-2-domains/backend/ef-modeler.md +58 -0
- package/framework/skills/level-2-domains/backend/hangfire-orchestrator.md +126 -0
- package/framework/skills/level-2-domains/backend/ms-agent-expert.md +45 -0
- package/framework/skills/level-2-domains/frontend/blazor-builder.md +210 -0
- package/framework/skills/level-2-domains/frontend/nextjs-expert.md +154 -0
- package/framework/skills/level-2-domains/frontend/ui-ux-designer.md +191 -0
- package/framework/skills/level-2-domains/infrastructure/azure-architect.md +142 -0
- package/framework/skills/level-2-domains/infrastructure/azure-deploy-specialist.md +699 -0
- package/framework/skills/level-2-domains/infrastructure/bicep-architect.md +126 -0
- package/framework/skills/level-2-domains/infrastructure/container-specialist.md +131 -0
- package/framework/skills/level-2-domains/infrastructure/devops-engineer.md +119 -0
- package/framework/skills/level-2-domains/integrations/asaas-financial.md +130 -0
- package/framework/skills/level-2-domains/integrations/azure-identity.md +142 -0
- package/framework/skills/level-2-domains/integrations/clerk-auth.md +108 -0
- package/framework/skills/level-2-domains/integrations/hangfire-orchestrator.md +64 -0
- package/framework/skills/level-2-domains/integrations/resend-email.md +119 -0
- package/framework/skills/level-2-domains/quality/code-analyzer.md +235 -0
- package/framework/skills/level-2-domains/quality/testing-specialist.md +126 -0
- package/framework/skills/level-3-technologies/README.md +7 -0
- package/framework/skills/level-4-patterns/README.md +7 -0
- package/framework/squad-templates/backend-only.json +34 -0
- package/framework/squad-templates/frontend-only.json +34 -0
- package/framework/squad-templates/full-stack.json +52 -0
- package/framework/templates/.idea/morph-templates.xml +92 -0
- package/framework/templates/.vscode/morph-templates.code-snippets +186 -0
- package/framework/templates/IDE-SNIPPETS.md +266 -0
- package/framework/templates/README.md +814 -0
- package/framework/templates/REGISTRY.json +1677 -0
- package/framework/templates/code/dotnet/backend/repository.cs +141 -0
- package/framework/templates/code/dotnet/backend/service.cs +139 -0
- package/framework/templates/code/dotnet/contracts/Commands.cs +74 -0
- package/framework/templates/code/dotnet/contracts/Entities.cs +25 -0
- package/framework/templates/code/dotnet/contracts/Queries.cs +74 -0
- package/framework/templates/code/dotnet/contracts/README.md +74 -0
- package/framework/templates/code/dotnet/contracts/api-contracts.cs +173 -0
- package/framework/templates/code/dotnet/contracts/contracts.cs +217 -0
- package/framework/templates/code/dotnet/database/migration.cs +83 -0
- package/framework/templates/code/dotnet/frontend/component.razor +239 -0
- package/framework/templates/code/dotnet/jobs/agent.cs +163 -0
- package/framework/templates/code/dotnet/jobs/job.cs +171 -0
- package/framework/templates/code/dotnet/test.cs +239 -0
- package/framework/templates/code/sql/rls-policy.sql +57 -0
- package/framework/templates/code/sql/supabase-migration.sql +100 -0
- package/framework/templates/code/sql/supabase-migration.template.sql +113 -0
- package/framework/templates/code/typescript/contracts.ts +168 -0
- package/framework/templates/context/CONTEXT-FEATURE.md +276 -0
- package/framework/templates/context/CONTEXT.md +181 -0
- package/framework/templates/docs/proposal.md +182 -0
- package/framework/templates/docs/spec.md +149 -0
- package/framework/templates/examples/design-system-examples.md +357 -0
- package/framework/templates/examples/spec-examples.md +90 -0
- package/framework/templates/feature/decisions.md +187 -0
- package/framework/templates/feature/recap.md +146 -0
- package/framework/templates/feature/tasks.md +199 -0
- package/framework/templates/infrastructure/azure/Dockerfile.example +82 -0
- package/framework/templates/infrastructure/azure/README.md +286 -0
- package/framework/templates/infrastructure/azure/app-insights.bicep +63 -0
- package/framework/templates/infrastructure/azure/app-service.bicep +164 -0
- package/framework/templates/infrastructure/azure/container-app-env.bicep +49 -0
- package/framework/templates/infrastructure/azure/container-app.bicep +156 -0
- package/framework/templates/infrastructure/azure/deploy-checklist.md +426 -0
- package/framework/templates/infrastructure/azure/deploy.ps1 +229 -0
- package/framework/templates/infrastructure/azure/deploy.sh +208 -0
- package/framework/templates/infrastructure/azure/key-vault.bicep +91 -0
- package/framework/templates/infrastructure/azure/main.bicep +189 -0
- package/framework/templates/infrastructure/azure/parameters.dev.json +29 -0
- package/framework/templates/infrastructure/azure/parameters.prod.json +29 -0
- package/framework/templates/infrastructure/azure/parameters.staging.json +29 -0
- package/framework/templates/infrastructure/azure/sql-database.bicep +103 -0
- package/framework/templates/infrastructure/azure/storage.bicep +106 -0
- package/framework/templates/infrastructure/docker/Dockerfile.template +58 -0
- package/framework/templates/infrastructure/docker/docker-compose.template.yml +67 -0
- package/framework/templates/infrastructure/docker/dockerfile-api.dockerfile +38 -0
- package/framework/templates/infrastructure/docker/dockerfile-web.dockerfile +48 -0
- package/framework/templates/infrastructure/docker/easypanel.template.json +54 -0
- package/framework/templates/infrastructure/github/README.md +593 -0
- package/framework/templates/infrastructure/github/actions/azure-auth/action.yml.hbs +22 -0
- package/framework/templates/infrastructure/github/actions/docker-build-push/action.yml.hbs +45 -0
- package/framework/templates/infrastructure/github/actions/health-check/action.yml.hbs +27 -0
- package/framework/templates/infrastructure/github/workflows/deploy-azure-app-service.yml.hbs +61 -0
- package/framework/templates/infrastructure/github/workflows/deploy-easypanel.yml.hbs +31 -0
- package/framework/templates/infrastructure/github/workflows/docker-build-push.yml.hbs +59 -0
- package/framework/templates/infrastructure/github/workflows/dotnet-build.yml.hbs +39 -0
- package/framework/templates/integrations/asaas-client.cs +387 -0
- package/framework/templates/integrations/asaas-webhook.cs +351 -0
- package/framework/templates/integrations/azure-identity-config.cs +288 -0
- package/framework/templates/integrations/clerk-config.cs +258 -0
- package/framework/templates/meta-prompts/fusion/fusion-agent.md +76 -0
- package/framework/templates/meta-prompts/fusion/fusion-aggregator.md +100 -0
- package/framework/templates/meta-prompts/hops/hop-retry.md +78 -0
- package/framework/templates/meta-prompts/hops/hop-validation.md +97 -0
- package/framework/templates/meta-prompts/hops/hop-wrapper.md +36 -0
- package/framework/templates/meta-prompts/parallel-workers/parallel-coordinator.md +113 -0
- package/framework/templates/meta-prompts/parallel-workers/parallel-worker.md +80 -0
- package/framework/templates/meta-prompts/squad-leaders/backend-squad.md +90 -0
- package/framework/templates/meta-prompts/squad-leaders/frontend-squad.md +126 -0
- package/framework/templates/meta-prompts/squad-leaders/squad-leader.md +43 -0
- package/framework/templates/meta-prompts/validators/checkpoint-validator.md +107 -0
- package/framework/templates/meta-prompts/validators/pre-commit-validator.md +95 -0
- package/framework/templates/saas/subscription.cs +347 -0
- package/framework/templates/saas/tenant.cs +338 -0
- package/framework/templates/state.template.json +17 -0
- package/framework/templates/ui/FluentDesignTheme.cs +149 -0
- package/framework/templates/ui/MudTheme.cs +281 -0
- package/framework/templates/ui/design-system.css +226 -0
- package/framework/workflows/README.md +1041 -0
- package/framework/workflows/configs/design-impl.json +49 -0
- package/framework/workflows/configs/fast-track.json +42 -0
- package/framework/workflows/configs/full-morph.json +79 -0
- package/framework/workflows/configs/fusion.json +39 -0
- package/framework/workflows/configs/long-running.json +33 -0
- package/framework/workflows/configs/standard.json +60 -0
- package/framework/workflows/configs/ui-refresh.json +49 -0
- package/framework/workflows/configs/zero-touch.json +75 -0
- package/framework/workflows/docs/STORY-DRIVEN-DEVELOPMENT.md +392 -0
- package/framework/workflows/docs/design-impl.md +37 -0
- package/framework/workflows/docs/enforcement-pipeline.md +668 -0
- package/framework/workflows/docs/fast-track.md +29 -0
- package/framework/workflows/docs/full-morph.md +76 -0
- package/framework/workflows/docs/standard.md +44 -0
- package/framework/workflows/docs/ui-refresh.md +39 -0
- package/package.json +3 -3
- package/src/commands/feature/create-story.js +11 -7
- package/src/commands/project/detect-agents.js +1 -2
- package/src/commands/project/init.js +78 -31
- package/src/commands/project/update.js +9 -5
- package/src/commands/templates/template-customize.js +3 -17
- package/src/commands/templates/template-list.js +1 -15
- package/src/commands/templates/template-render.js +2 -3
- package/src/commands/templates/template-show.js +3 -5
- package/src/core/templates/template-registry.js +9 -23
- package/src/lib/detectors/structure-detector.js +3 -3
- package/src/lib/generators/context-generator.js +18 -6
- package/src/lib/hooks/hook-executor.js +0 -2
- package/src/lib/orchestration/team-orchestrator.js +1 -2
- package/src/lib/standards/standards-context-injector.js +3 -4
- package/src/lib/troubleshooting/troubleshoot-grep.js +3 -9
- package/src/lib/validators/validation-runner.js +1 -2
- package/src/utils/file-copier.js +1 -2
- package/docs/README.md +0 -144
- package/docs/api/fonts/Montserrat/Montserrat-Bold.eot +0 -0
- package/docs/api/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
- package/docs/api/fonts/Montserrat/Montserrat-Bold.woff +0 -0
- package/docs/api/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
- package/docs/api/fonts/Montserrat/Montserrat-Regular.eot +0 -0
- package/docs/api/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
- package/docs/api/fonts/Montserrat/Montserrat-Regular.woff +0 -0
- package/docs/api/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
- package/docs/api/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
- package/docs/api/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +0 -978
- package/docs/api/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
- package/docs/api/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
- package/docs/api/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
- package/docs/api/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
- package/docs/api/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +0 -1049
- package/docs/api/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
- package/docs/api/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
- package/docs/api/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
- package/docs/api/scripts/collapse.js +0 -39
- package/docs/api/scripts/commonNav.js +0 -28
- package/docs/api/scripts/linenumber.js +0 -25
- package/docs/api/scripts/nav.js +0 -12
- package/docs/api/scripts/polyfill.js +0 -4
- package/docs/api/scripts/prettify/Apache-License-2.0.txt +0 -202
- package/docs/api/scripts/prettify/lang-css.js +0 -2
- package/docs/api/scripts/prettify/prettify.js +0 -28
- package/docs/api/scripts/search.js +0 -99
- package/docs/api/styles/jsdoc.css +0 -776
- package/docs/api/styles/prettify.css +0 -80
- package/docs/cli-auto-detection.md +0 -219
- package/docs/getting-started.md +0 -296
- package/docs/installation.md +0 -361
- package/docs/next-generation/AGENTS.md +0 -521
- package/docs/next-generation/ANALYSIS.md +0 -555
- package/docs/next-generation/ARCHITECTURE.md +0 -436
- package/docs/next-generation/CONTEXT-OPTIMIZATION.md +0 -267
- package/docs/next-generation/EXECUTION-FLOW.md +0 -274
- package/docs/next-generation/FEATURES.md +0 -688
- package/docs/next-generation/META-PROMPTS.md +0 -235
- package/docs/next-generation/MIGRATION-GUIDE.md +0 -253
- package/docs/next-generation/README.md +0 -231
- package/docs/next-generation/ROADMAP.md +0 -801
- package/docs/next-generation/THREAD-MANAGEMENT.md +0 -240
- package/docs/templates.md +0 -418
- package/docs/troubleshooting.md +0 -269
- package/docs/validation-checklist.md +0 -264
- package/scripts/postinstall.js +0 -132
- package/src/lib/stacks/index.js +0 -7
- package/src/lib/stacks/stack-resolver.js +0 -180
- package/stacks/blazor-azure/.claude/commands/morph-deploy.md +0 -529
- package/stacks/blazor-azure/.claude/commands/morph-infra.md +0 -209
- package/stacks/blazor-azure/.morph/.morphversion +0 -5
- package/stacks/blazor-azure/.morph/archive/.gitkeep +0 -25
- package/stacks/blazor-azure/.morph/config/agents.json +0 -948
- package/stacks/blazor-azure/.morph/config/config.template.json +0 -122
- package/stacks/blazor-azure/.morph/features/.gitkeep +0 -25
- package/stacks/blazor-azure/.morph/hooks/pre-commit/tests-csharp.sh +0 -61
- package/stacks/blazor-azure/.morph/project/context/README.md +0 -17
- package/stacks/blazor-azure/.morph/project.md +0 -160
- package/stacks/blazor-azure/.morph/schemas/agent.schema.json +0 -296
- package/stacks/blazor-azure/.morph/schemas/tasks.schema.json +0 -220
- package/stacks/blazor-azure/.morph/specs/.gitkeep +0 -20
- package/stacks/blazor-azure/.morph/state.json +0 -18
- package/stacks/blazor-azure/.morph/test-infra/example.bicep +0 -59
- package/stacks/blazor-azure/CLAUDE.md +0 -155
- package/stacks/blazor-azure/README.md +0 -79
- package/stacks/nextjs-supabase/.claude/commands/morph-apply.md +0 -221
- package/stacks/nextjs-supabase/.claude/commands/morph-archive.md +0 -79
- package/stacks/nextjs-supabase/.claude/commands/morph-deploy.md +0 -529
- package/stacks/nextjs-supabase/.claude/commands/morph-preflight.md +0 -227
- package/stacks/nextjs-supabase/.claude/commands/morph-proposal.md +0 -122
- package/stacks/nextjs-supabase/.claude/commands/morph-status.md +0 -86
- package/stacks/nextjs-supabase/.claude/commands/morph-troubleshoot.md +0 -122
- package/stacks/nextjs-supabase/.morph/.morphversion +0 -5
- package/stacks/nextjs-supabase/.morph/config/config.json +0 -9
- package/stacks/nextjs-supabase/.morph/config/config.template.json +0 -92
- package/stacks/nextjs-supabase/.morph/hooks/pre-commit/tests-typescript.sh +0 -61
- package/stacks/nextjs-supabase/.morph/project/context/README.md +0 -17
- package/stacks/nextjs-supabase/.morph/project.md +0 -168
- package/stacks/nextjs-supabase/.morph/standards/ai-agents/blazor-ui.md +0 -364
- package/stacks/nextjs-supabase/.morph/standards/ai-agents/production.md +0 -415
- package/stacks/nextjs-supabase/.morph/standards/ai-agents/setup.md +0 -418
- package/stacks/nextjs-supabase/.morph/standards/ai-agents/team-orchestration.md +0 -479
- package/stacks/nextjs-supabase/.morph/standards/ai-agents/workflows.md +0 -354
- package/stacks/nextjs-supabase/.morph/standards/architecture/ddd/aggregates.md +0 -120
- package/stacks/nextjs-supabase/.morph/standards/architecture/ddd/entities.md +0 -99
- package/stacks/nextjs-supabase/.morph/standards/architecture/ddd/value-objects.md +0 -124
- package/stacks/nextjs-supabase/.morph/standards/backend/api/minimal-api.md +0 -494
- package/stacks/nextjs-supabase/.morph/standards/backend/api/rest.md +0 -492
- package/stacks/nextjs-supabase/.morph/standards/backend/api/validation.md +0 -88
- package/stacks/nextjs-supabase/.morph/standards/backend/authentication/passkeys.md +0 -428
- package/stacks/nextjs-supabase/.morph/standards/backend/database/ef-core.md +0 -199
- package/stacks/nextjs-supabase/.morph/standards/backend/database/migrations.md +0 -393
- package/stacks/nextjs-supabase/.morph/standards/backend/database/postgresql/database.md +0 -352
- package/stacks/nextjs-supabase/.morph/standards/backend/database/repository-patterns.md +0 -528
- package/stacks/nextjs-supabase/.morph/standards/backend/database/vector-search-rag.md +0 -541
- package/stacks/nextjs-supabase/.morph/standards/backend/dotnet/async.md +0 -366
- package/stacks/nextjs-supabase/.morph/standards/backend/dotnet/core.md +0 -117
- package/stacks/nextjs-supabase/.morph/standards/backend/dotnet/di.md +0 -439
- package/stacks/nextjs-supabase/.morph/standards/backend/dotnet/program-cs-checklist.md +0 -92
- package/stacks/nextjs-supabase/.morph/standards/backend/integrations/asaas/asaas-api.md +0 -216
- package/stacks/nextjs-supabase/.morph/standards/backend/integrations/clerk/clerk-auth.md +0 -290
- package/stacks/nextjs-supabase/.morph/standards/backend/integrations/hangfire/hangfire-jobs.md +0 -350
- package/stacks/nextjs-supabase/.morph/standards/backend/integrations/resend/resend-email.md +0 -385
- package/stacks/nextjs-supabase/.morph/standards/context/analytics.md +0 -96
- package/stacks/nextjs-supabase/.morph/standards/context/bundles.md +0 -110
- package/stacks/nextjs-supabase/.morph/standards/context/priming.md +0 -78
- package/stacks/nextjs-supabase/.morph/standards/core/architecture.md +0 -185
- package/stacks/nextjs-supabase/.morph/standards/core/coding.md +0 -214
- package/stacks/nextjs-supabase/.morph/standards/core/git-branching-strategy.md +0 -403
- package/stacks/nextjs-supabase/.morph/standards/core/git.md +0 -185
- package/stacks/nextjs-supabase/.morph/standards/core/testing.md +0 -295
- package/stacks/nextjs-supabase/.morph/standards/data/nosql/blob-storage.md +0 -102
- package/stacks/nextjs-supabase/.morph/standards/data/nosql/cache/redis.md +0 -97
- package/stacks/nextjs-supabase/.morph/standards/data/nosql/cosmos-db.md +0 -118
- package/stacks/nextjs-supabase/.morph/standards/data/vector-search/azure-ai-search.md +0 -121
- package/stacks/nextjs-supabase/.morph/standards/data/vector-search/rag-chunking.md +0 -104
- package/stacks/nextjs-supabase/.morph/standards/frontend/blazor/design-checklist.md +0 -222
- package/stacks/nextjs-supabase/.morph/standards/frontend/blazor/fluent-ui-setup.md +0 -595
- package/stacks/nextjs-supabase/.morph/standards/frontend/blazor/fluent-ui.md +0 -137
- package/stacks/nextjs-supabase/.morph/standards/frontend/blazor/html-conversion.md +0 -184
- package/stacks/nextjs-supabase/.morph/standards/frontend/blazor/lifecycle.md +0 -195
- package/stacks/nextjs-supabase/.morph/standards/frontend/blazor/pitfalls.md +0 -198
- package/stacks/nextjs-supabase/.morph/standards/frontend/blazor/state.md +0 -191
- package/stacks/nextjs-supabase/.morph/standards/frontend/design-system/animations.md +0 -151
- package/stacks/nextjs-supabase/.morph/standards/frontend/design-system/naming.md +0 -64
- package/stacks/nextjs-supabase/.morph/standards/frontend/nextjs/nextjs-patterns.md +0 -198
- package/stacks/nextjs-supabase/.morph/standards/infrastructure/azure/azure.md +0 -624
- package/stacks/nextjs-supabase/.morph/standards/infrastructure/azure/bicep/bicep-patterns.md +0 -422
- package/stacks/nextjs-supabase/.morph/standards/infrastructure/azure/devops/azure-devops-setup.md +0 -516
- package/stacks/nextjs-supabase/.morph/standards/infrastructure/azure/devops/local-development.md +0 -520
- package/stacks/nextjs-supabase/.morph/standards/infrastructure/azure/services/functions.md +0 -486
- package/stacks/nextjs-supabase/.morph/standards/infrastructure/azure/services/service-bus.md +0 -459
- package/stacks/nextjs-supabase/.morph/standards/infrastructure/azure/services/storage.md +0 -407
- package/stacks/nextjs-supabase/.morph/standards/infrastructure/docker/easypanel-deploy.md +0 -196
- package/stacks/nextjs-supabase/.morph/standards/infrastructure/supabase/mcp-setup.md +0 -252
- package/stacks/nextjs-supabase/.morph/standards/infrastructure/supabase/supabase-auth.md +0 -176
- package/stacks/nextjs-supabase/.morph/standards/infrastructure/supabase/supabase-pgvector.md +0 -169
- package/stacks/nextjs-supabase/.morph/standards/infrastructure/supabase/supabase-rls.md +0 -184
- package/stacks/nextjs-supabase/.morph/standards/infrastructure/supabase/supabase-storage.md +0 -153
- package/stacks/nextjs-supabase/.morph/standards/integration/api/graphql.md +0 -91
- package/stacks/nextjs-supabase/.morph/standards/integration/api/grpc.md +0 -114
- package/stacks/nextjs-supabase/.morph/standards/integration/api/rest-design.md +0 -95
- package/stacks/nextjs-supabase/.morph/standards/integration/event-driven/cqrs.md +0 -101
- package/stacks/nextjs-supabase/.morph/standards/integration/event-driven/event-sourcing.md +0 -124
- package/stacks/nextjs-supabase/.morph/standards/integration/event-driven/service-bus.md +0 -95
- package/stacks/nextjs-supabase/.morph/standards/observability/logging.md +0 -131
- package/stacks/nextjs-supabase/.morph/standards/observability/metrics.md +0 -121
- package/stacks/nextjs-supabase/.morph/standards/observability/monitoring.md +0 -114
- package/stacks/nextjs-supabase/.morph/standards/observability/tracing.md +0 -132
- package/stacks/nextjs-supabase/.morph/standards/workflows/parallel-execution.md +0 -112
- package/stacks/nextjs-supabase/.morph/standards/workflows/thread-management.md +0 -113
- package/stacks/nextjs-supabase/CLAUDE.md +0 -155
- package/stacks/nextjs-supabase/README.md +0 -103
- /package/{stacks/blazor-azure/.claude → framework}/commands/morph-apply.md +0 -0
- /package/{stacks/blazor-azure/.claude → framework}/commands/morph-archive.md +0 -0
- /package/{stacks/blazor-azure/.claude → framework}/commands/morph-preflight.md +0 -0
- /package/{stacks/blazor-azure/.claude → framework}/commands/morph-proposal.md +0 -0
- /package/{stacks/blazor-azure/.claude → framework}/commands/morph-status.md +0 -0
- /package/{stacks/blazor-azure/.claude → framework}/commands/morph-troubleshoot.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/ai-agents/blazor-ui.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/ai-agents/production.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/ai-agents/setup.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/ai-agents/team-orchestration.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/ai-agents/workflows.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/architecture/ddd/aggregates.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/architecture/ddd/entities.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/architecture/ddd/value-objects.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/backend/api/minimal-api.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/backend/api/rest.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/backend/api/validation.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/backend/authentication/passkeys.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/backend/database/ef-core.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/backend/database/migrations.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/backend/database/postgresql/database.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/backend/database/repository-patterns.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/backend/database/vector-search-rag.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/backend/dotnet/async.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/backend/dotnet/core.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/backend/dotnet/di.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/backend/dotnet/program-cs-checklist.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/backend/integrations/asaas/asaas-api.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/backend/integrations/clerk/clerk-auth.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/backend/integrations/hangfire/hangfire-jobs.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/backend/integrations/resend/resend-email.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/context/analytics.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/context/bundles.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/context/priming.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/core/architecture.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/core/coding.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/core/git-branching-strategy.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/core/git.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/core/testing.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/data/nosql/blob-storage.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/data/nosql/cache/redis.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/data/nosql/cosmos-db.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/data/vector-search/azure-ai-search.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/data/vector-search/rag-chunking.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/frontend/blazor/design-checklist.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/frontend/blazor/fluent-ui-setup.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/frontend/blazor/fluent-ui.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/frontend/blazor/html-conversion.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/frontend/blazor/lifecycle.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/frontend/blazor/pitfalls.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/frontend/blazor/state.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/frontend/design-system/animations.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/frontend/design-system/naming.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/frontend/nextjs/nextjs-patterns.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/infrastructure/azure/azure.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/infrastructure/azure/bicep/bicep-patterns.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/infrastructure/azure/devops/azure-devops-setup.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/infrastructure/azure/devops/local-development.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/infrastructure/azure/services/functions.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/infrastructure/azure/services/service-bus.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/infrastructure/azure/services/storage.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/infrastructure/docker/easypanel-deploy.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/infrastructure/supabase/mcp-setup.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/infrastructure/supabase/supabase-auth.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/infrastructure/supabase/supabase-pgvector.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/infrastructure/supabase/supabase-rls.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/infrastructure/supabase/supabase-storage.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/integration/api/graphql.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/integration/api/grpc.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/integration/api/rest-design.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/integration/event-driven/cqrs.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/integration/event-driven/event-sourcing.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/integration/event-driven/service-bus.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/observability/logging.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/observability/metrics.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/observability/monitoring.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/observability/tracing.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/workflows/parallel-execution.md +0 -0
- /package/{stacks/blazor-azure/.morph → framework}/standards/workflows/thread-management.md +0 -0
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://morph-spec.dev/schemas/tasks.schema.json",
|
|
4
|
-
"title": "MORPH-SPEC Tasks Schema",
|
|
5
|
-
"description": "Schema for tasks.json files in MORPH-SPEC features",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["version", "feature", "tasks"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"version": {
|
|
10
|
-
"type": "string",
|
|
11
|
-
"description": "Schema version",
|
|
12
|
-
"pattern": "^\\d+\\.\\d+\\.\\d+$",
|
|
13
|
-
"examples": ["3.0.0"]
|
|
14
|
-
},
|
|
15
|
-
"feature": {
|
|
16
|
-
"type": "string",
|
|
17
|
-
"description": "Feature name (kebab-case)",
|
|
18
|
-
"pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
|
|
19
|
-
"examples": ["scheduled-reports", "user-auth"]
|
|
20
|
-
},
|
|
21
|
-
"createdAt": {
|
|
22
|
-
"type": "string",
|
|
23
|
-
"format": "date-time",
|
|
24
|
-
"description": "Creation timestamp"
|
|
25
|
-
},
|
|
26
|
-
"updatedAt": {
|
|
27
|
-
"type": "string",
|
|
28
|
-
"format": "date-time",
|
|
29
|
-
"description": "Last update timestamp"
|
|
30
|
-
},
|
|
31
|
-
"summary": {
|
|
32
|
-
"type": "object",
|
|
33
|
-
"description": "Task summary statistics",
|
|
34
|
-
"properties": {
|
|
35
|
-
"total": { "type": "integer", "minimum": 0 },
|
|
36
|
-
"completed": { "type": "integer", "minimum": 0 },
|
|
37
|
-
"inProgress": { "type": "integer", "minimum": 0 },
|
|
38
|
-
"pending": { "type": "integer", "minimum": 0 },
|
|
39
|
-
"blocked": { "type": "integer", "minimum": 0 }
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"tasks": {
|
|
43
|
-
"type": "array",
|
|
44
|
-
"description": "List of tasks",
|
|
45
|
-
"items": {
|
|
46
|
-
"$ref": "#/definitions/task"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"checkpoints": {
|
|
50
|
-
"type": "array",
|
|
51
|
-
"description": "Checkpoint definitions",
|
|
52
|
-
"items": {
|
|
53
|
-
"$ref": "#/definitions/checkpoint"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"definitions": {
|
|
58
|
-
"task": {
|
|
59
|
-
"type": "object",
|
|
60
|
-
"required": ["id", "title", "status"],
|
|
61
|
-
"properties": {
|
|
62
|
-
"id": {
|
|
63
|
-
"type": "string",
|
|
64
|
-
"description": "Task ID (format: T001, T002, etc.)",
|
|
65
|
-
"pattern": "^T\\d{3}$",
|
|
66
|
-
"examples": ["T001", "T002", "T010"]
|
|
67
|
-
},
|
|
68
|
-
"title": {
|
|
69
|
-
"type": "string",
|
|
70
|
-
"description": "Task title (short description)",
|
|
71
|
-
"maxLength": 100,
|
|
72
|
-
"examples": ["Create ScheduledReport entity"]
|
|
73
|
-
},
|
|
74
|
-
"description": {
|
|
75
|
-
"type": "string",
|
|
76
|
-
"description": "Detailed task description"
|
|
77
|
-
},
|
|
78
|
-
"status": {
|
|
79
|
-
"type": "string",
|
|
80
|
-
"enum": ["pending", "in_progress", "completed", "blocked", "skipped"],
|
|
81
|
-
"description": "Current task status"
|
|
82
|
-
},
|
|
83
|
-
"type": {
|
|
84
|
-
"type": "string",
|
|
85
|
-
"enum": ["entity", "command", "query", "handler", "service", "component", "page", "test", "migration", "config", "infra", "docs"],
|
|
86
|
-
"description": "Type of task"
|
|
87
|
-
},
|
|
88
|
-
"priority": {
|
|
89
|
-
"type": "string",
|
|
90
|
-
"enum": ["low", "medium", "high", "critical"],
|
|
91
|
-
"description": "Task priority"
|
|
92
|
-
},
|
|
93
|
-
"dependencies": {
|
|
94
|
-
"type": "array",
|
|
95
|
-
"description": "IDs of tasks that must be completed first",
|
|
96
|
-
"items": {
|
|
97
|
-
"type": "string",
|
|
98
|
-
"pattern": "^T\\d{3}$"
|
|
99
|
-
},
|
|
100
|
-
"examples": [["T001", "T002"]]
|
|
101
|
-
},
|
|
102
|
-
"files": {
|
|
103
|
-
"type": "array",
|
|
104
|
-
"description": "Files to be created or modified",
|
|
105
|
-
"items": {
|
|
106
|
-
"type": "string"
|
|
107
|
-
},
|
|
108
|
-
"examples": [["Domain/Entities/ScheduledReport.cs", "Infrastructure/Persistence/Config/ScheduledReportConfig.cs"]]
|
|
109
|
-
},
|
|
110
|
-
"checkpoint": {
|
|
111
|
-
"type": "string",
|
|
112
|
-
"description": "Checkpoint ID this task belongs to",
|
|
113
|
-
"pattern": "^CP\\d{3}$"
|
|
114
|
-
},
|
|
115
|
-
"estimatedLines": {
|
|
116
|
-
"type": "integer",
|
|
117
|
-
"description": "Estimated lines of code",
|
|
118
|
-
"minimum": 0
|
|
119
|
-
},
|
|
120
|
-
"actualLines": {
|
|
121
|
-
"type": "integer",
|
|
122
|
-
"description": "Actual lines of code (after completion)",
|
|
123
|
-
"minimum": 0
|
|
124
|
-
},
|
|
125
|
-
"completedAt": {
|
|
126
|
-
"type": "string",
|
|
127
|
-
"format": "date-time",
|
|
128
|
-
"description": "Completion timestamp"
|
|
129
|
-
},
|
|
130
|
-
"notes": {
|
|
131
|
-
"type": "string",
|
|
132
|
-
"description": "Additional notes or comments"
|
|
133
|
-
},
|
|
134
|
-
"blockedReason": {
|
|
135
|
-
"type": "string",
|
|
136
|
-
"description": "Reason for blocked status"
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
"checkpoint": {
|
|
141
|
-
"type": "object",
|
|
142
|
-
"required": ["id", "name"],
|
|
143
|
-
"properties": {
|
|
144
|
-
"id": {
|
|
145
|
-
"type": "string",
|
|
146
|
-
"description": "Checkpoint ID",
|
|
147
|
-
"pattern": "^CP\\d{3}$",
|
|
148
|
-
"examples": ["CP001", "CP002"]
|
|
149
|
-
},
|
|
150
|
-
"name": {
|
|
151
|
-
"type": "string",
|
|
152
|
-
"description": "Checkpoint name",
|
|
153
|
-
"examples": ["Entity Layer Complete", "Backend Complete"]
|
|
154
|
-
},
|
|
155
|
-
"afterTasks": {
|
|
156
|
-
"type": "array",
|
|
157
|
-
"description": "Task IDs after which this checkpoint triggers",
|
|
158
|
-
"items": {
|
|
159
|
-
"type": "string",
|
|
160
|
-
"pattern": "^T\\d{3}$"
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
"validation": {
|
|
164
|
-
"type": "array",
|
|
165
|
-
"description": "Validation steps for this checkpoint",
|
|
166
|
-
"items": {
|
|
167
|
-
"type": "string"
|
|
168
|
-
},
|
|
169
|
-
"examples": [["Run tests", "Build project", "Review code"]]
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
"examples": [
|
|
175
|
-
{
|
|
176
|
-
"version": "3.0.0",
|
|
177
|
-
"feature": "scheduled-reports",
|
|
178
|
-
"createdAt": "2024-01-15T10:00:00Z",
|
|
179
|
-
"summary": {
|
|
180
|
-
"total": 9,
|
|
181
|
-
"completed": 0,
|
|
182
|
-
"inProgress": 0,
|
|
183
|
-
"pending": 9,
|
|
184
|
-
"blocked": 0
|
|
185
|
-
},
|
|
186
|
-
"tasks": [
|
|
187
|
-
{
|
|
188
|
-
"id": "T001",
|
|
189
|
-
"title": "Create ScheduledReport entity",
|
|
190
|
-
"status": "pending",
|
|
191
|
-
"type": "entity",
|
|
192
|
-
"priority": "high",
|
|
193
|
-
"files": [
|
|
194
|
-
"Domain/Entities/ScheduledReport.cs",
|
|
195
|
-
"Infrastructure/Persistence/Config/ScheduledReportConfig.cs"
|
|
196
|
-
],
|
|
197
|
-
"estimatedLines": 100
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"id": "T002",
|
|
201
|
-
"title": "Create CreateReportCommand + Handler",
|
|
202
|
-
"status": "pending",
|
|
203
|
-
"type": "command",
|
|
204
|
-
"dependencies": ["T001"],
|
|
205
|
-
"files": [
|
|
206
|
-
"Application/Features/Reports/Commands/CreateReportCommand.cs"
|
|
207
|
-
]
|
|
208
|
-
}
|
|
209
|
-
],
|
|
210
|
-
"checkpoints": [
|
|
211
|
-
{
|
|
212
|
-
"id": "CP001",
|
|
213
|
-
"name": "Entity Layer Complete",
|
|
214
|
-
"afterTasks": ["T001", "T002", "T003"],
|
|
215
|
-
"validation": ["Build project", "Run unit tests"]
|
|
216
|
-
}
|
|
217
|
-
]
|
|
218
|
-
}
|
|
219
|
-
]
|
|
220
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# Specs Ativas
|
|
2
|
-
|
|
3
|
-
Esta pasta contém as especificações ATIVAS do projeto.
|
|
4
|
-
Specs são extraídas de features arquivadas e representam a "verdade atual" do sistema.
|
|
5
|
-
|
|
6
|
-
## Estrutura
|
|
7
|
-
|
|
8
|
-
```
|
|
9
|
-
specs/
|
|
10
|
-
└── {domain}/
|
|
11
|
-
└── spec.md
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
## Como usar
|
|
15
|
-
|
|
16
|
-
1. Quando uma feature é arquivada, specs relevantes são extraídas para cá
|
|
17
|
-
2. Specs aqui são a referência para comportamento do sistema
|
|
18
|
-
3. Novas features podem referenciar e modificar estas specs
|
|
19
|
-
|
|
20
|
-
*Gerado pelo MORPH Framework*
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "./templates/state.template.json",
|
|
3
|
-
"version": "2.1.1",
|
|
4
|
-
"project": {
|
|
5
|
-
"name": "{PROJECT_NAME}",
|
|
6
|
-
"type": "blazor-server",
|
|
7
|
-
"createdAt": null,
|
|
8
|
-
"updatedAt": null
|
|
9
|
-
},
|
|
10
|
-
"features": {},
|
|
11
|
-
"metadata": {
|
|
12
|
-
"totalFeatures": 0,
|
|
13
|
-
"completedFeatures": 0,
|
|
14
|
-
"totalCostEstimated": 0,
|
|
15
|
-
"totalTimeSpent": 0,
|
|
16
|
-
"lastUpdated": null
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
// Example Bicep file for testing cost calculator
|
|
2
|
-
|
|
3
|
-
param location string = 'eastus2'
|
|
4
|
-
param environment string = 'dev'
|
|
5
|
-
|
|
6
|
-
// Azure SQL Database - Basic tier ($4.99/month)
|
|
7
|
-
resource sqlDatabase 'Microsoft.Sql/servers/databases@2023-05-01-preview' = {
|
|
8
|
-
name: 'sqldb-myapp-${environment}'
|
|
9
|
-
location: location
|
|
10
|
-
sku: {
|
|
11
|
-
name: 'Basic'
|
|
12
|
-
tier: 'Basic'
|
|
13
|
-
}
|
|
14
|
-
properties: {
|
|
15
|
-
collation: 'SQL_Latin1_General_CP1_CI_AS'
|
|
16
|
-
maxSizeBytes: 2147483648 // 2 GB
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
// Container App - Scale-to-zero ($0/month)
|
|
21
|
-
resource containerApp 'Microsoft.App/containerApps@2023-05-01' = {
|
|
22
|
-
name: 'ca-myapp-${environment}'
|
|
23
|
-
location: location
|
|
24
|
-
properties: {
|
|
25
|
-
configuration: {
|
|
26
|
-
ingress: {
|
|
27
|
-
external: true
|
|
28
|
-
targetPort: 8080
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
template: {
|
|
32
|
-
containers: [
|
|
33
|
-
{
|
|
34
|
-
name: 'main'
|
|
35
|
-
image: 'mcr.microsoft.com/azuredocs/containerapps-helloworld:latest'
|
|
36
|
-
}
|
|
37
|
-
]
|
|
38
|
-
scale: {
|
|
39
|
-
minReplicas: 0 // Scale-to-zero = FREE
|
|
40
|
-
maxReplicas: 2
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// Application Insights - Free tier ($0/month)
|
|
47
|
-
resource appInsights 'Microsoft.Insights/components@2020-02-02' = {
|
|
48
|
-
name: 'appi-myapp-${environment}'
|
|
49
|
-
location: location
|
|
50
|
-
kind: 'web'
|
|
51
|
-
properties: {
|
|
52
|
-
Application_Type: 'web'
|
|
53
|
-
}
|
|
54
|
-
sku: {
|
|
55
|
-
name: 'Free'
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// Total: $4.99/month (within $10 limit)
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
# MORPH-SPEC - Claude Code Instructions
|
|
2
|
-
|
|
3
|
-
> by Polymorphism Tech
|
|
4
|
-
|
|
5
|
-
Spec-driven development system. Specialized agent hub for multi-stack projects with Infrastructure as Code.
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## CRITICAL RULES
|
|
10
|
-
|
|
11
|
-
### NEVER:
|
|
12
|
-
- Skip to code without a specification
|
|
13
|
-
- Implement without design approval
|
|
14
|
-
- Ignore standards in `.morph/standards/`
|
|
15
|
-
- Create infrastructure manually
|
|
16
|
-
- Generate code without defined contracts
|
|
17
|
-
|
|
18
|
-
### ALWAYS:
|
|
19
|
-
- Follow the 5 mandatory phases
|
|
20
|
-
- Generate outputs in `.morph/project/outputs/{feature}/`
|
|
21
|
-
- Document decisions in `decisions.md`
|
|
22
|
-
- Checkpoint every 3 implemented tasks
|
|
23
|
-
- Use Infrastructure as Code
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
## WORKFLOW (5 Phases)
|
|
28
|
-
|
|
29
|
-
| Phase | Trigger | Actions | Output | Pause? |
|
|
30
|
-
|-------|---------|---------|--------|--------|
|
|
31
|
-
| **1. SETUP** | Feature request | Read project context, identify stack, activate agents, create folder | proposal.md | No |
|
|
32
|
-
| **2. DESIGN** | Setup done | Spec + contracts + decisions + costs | spec.md, contracts, decisions.md | **Yes** |
|
|
33
|
-
| **3. CLARIFY** | Design approved | Ambiguities, questions, edge cases | Updated spec | No |
|
|
34
|
-
| **4. TASKS** | Clarifications resolved | Break into tasks, ordering, checkpoints, dependencies | tasks.md | **Yes** |
|
|
35
|
-
| **5. IMPLEMENT** | Tasks approved | Task by task, checkpoint every 3, recap | Code + recap.md | No |
|
|
36
|
-
|
|
37
|
-
---
|
|
38
|
-
|
|
39
|
-
## PROJECT STRUCTURE
|
|
40
|
-
|
|
41
|
-
```
|
|
42
|
-
project/
|
|
43
|
-
├── CLAUDE.md
|
|
44
|
-
├── .morph/
|
|
45
|
-
│ ├── config/ # config.json, agents.json
|
|
46
|
-
│ ├── standards/ # coding, architecture, stack-specific
|
|
47
|
-
│ ├── templates/ # Output templates
|
|
48
|
-
│ ├── project/
|
|
49
|
-
│ │ ├── context/ # detection-log.md, project.md
|
|
50
|
-
│ │ ├── standards/ # inferred.md, overrides.md
|
|
51
|
-
│ │ └── outputs/{feature}/ # Features in development
|
|
52
|
-
│ │ ├── proposal.md, spec.md, tasks.md
|
|
53
|
-
│ │ ├── contracts, decisions.md, recap.md
|
|
54
|
-
└── .claude/commands/ # Slash commands
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
---
|
|
58
|
-
|
|
59
|
-
## AGENTS
|
|
60
|
-
|
|
61
|
-
### Tier 1 — Orchestrators (Always Active)
|
|
62
|
-
|
|
63
|
-
| Agent | Responsibilities |
|
|
64
|
-
|-------|-----------------|
|
|
65
|
-
| **Standards Architect** | Standards, naming, review, cross-cutting concerns |
|
|
66
|
-
| **AI System Architect** | Agent systems, AI integrations, LLM orchestration |
|
|
67
|
-
| **Thread Orchestrator** | Parallel execution, thread management, context optimization |
|
|
68
|
-
|
|
69
|
-
### Tier 2 — Domain Leaders
|
|
70
|
-
|
|
71
|
-
| Agent | Responsibilities |
|
|
72
|
-
|-------|-----------------|
|
|
73
|
-
| **Tech Lead** | Architecture decisions, code quality, task breakdown |
|
|
74
|
-
| **DevOps Engineer** | CI/CD, deployment pipelines, infrastructure |
|
|
75
|
-
| **QA Lead** | Test strategies, validation, quality gates |
|
|
76
|
-
|
|
77
|
-
### Tier 3 — Specialists (Activated by keywords)
|
|
78
|
-
|
|
79
|
-
| Agent | Keywords |
|
|
80
|
-
|-------|---------|
|
|
81
|
-
| **Next.js Expert** | nextjs, react, frontend, app router, pages |
|
|
82
|
-
| **Blazor Builder** | blazor, razor, mudblazor, fluent ui |
|
|
83
|
-
| **API Designer** | api, endpoint, rest, openapi, swagger |
|
|
84
|
-
| **.NET Senior** | dotnet, csharp, minimal api, ef core |
|
|
85
|
-
| **EF Modeler** | entity framework, migrations, dbcontext |
|
|
86
|
-
| **Azure Architect** | azure, container apps, bicep, app service |
|
|
87
|
-
| **Bicep Architect** | bicep, iac, arm template, azure resources |
|
|
88
|
-
| **Azure Deploy Specialist** | deploy, ci/cd, github actions, azure devops |
|
|
89
|
-
| **Container Specialist** | docker, dockerfile, compose, kubernetes |
|
|
90
|
-
| **Supabase Expert** | supabase, postgresql, rls, realtime, pgvector |
|
|
91
|
-
| **Azure Identity** | auth, authentication, entra id, jwt, oauth |
|
|
92
|
-
| **Clerk Auth** | clerk, auth0, authentication, social login |
|
|
93
|
-
| **Asaas Financial** | payment, billing, subscription, asaas |
|
|
94
|
-
| **Resend Email** | email, resend, smtp, notifications |
|
|
95
|
-
| **Hangfire Orchestrator** | background jobs, queue, scheduling, hangfire |
|
|
96
|
-
| **MS Agent Expert** | semantic kernel, microsoft agents, ai pipeline |
|
|
97
|
-
| **UI/UX Designer** | design, ux, wireframe, mockup, figma |
|
|
98
|
-
| **SEO Growth Hacker** | seo, performance, analytics, lighthouse |
|
|
99
|
-
| **PO/PM Advisor** | product, roadmap, requirements, user stories |
|
|
100
|
-
| **Prompt Engineer** | prompts, system prompts, llm, few-shot |
|
|
101
|
-
| **Context Optimizer** | context window, token optimization, chunking |
|
|
102
|
-
| **Vector Search Expert** | vector db, embeddings, semantic search, rag |
|
|
103
|
-
| **Observability Expert** | logging, tracing, metrics, opentelemetry |
|
|
104
|
-
| **Code Analyzer** | refactor, analysis, code review, complexity |
|
|
105
|
-
| **Testing Specialist** | tests, coverage, tdd, bdd, vitest, jest, xunit |
|
|
106
|
-
|
|
107
|
-
### Tier 4 — Validators
|
|
108
|
-
|
|
109
|
-
| Agent | Responsibilities |
|
|
110
|
-
|-------|-----------------|
|
|
111
|
-
| **Contract Compliance Validator** | Ensures implementation matches spec contracts |
|
|
112
|
-
|
|
113
|
-
---
|
|
114
|
-
|
|
115
|
-
## TEMPLATES
|
|
116
|
-
|
|
117
|
-
> ALWAYS use `morph-spec template render` to render. NEVER fill placeholders manually.
|
|
118
|
-
|
|
119
|
-
### Placeholders: `{{PLACEHOLDER}}`
|
|
120
|
-
|
|
121
|
-
| Placeholder | Example |
|
|
122
|
-
|-------------|---------|
|
|
123
|
-
| `{{FEATURE_NAME}}` | `scheduled-reports` |
|
|
124
|
-
| `{{FEATURE_NAME_PASCAL}}` | `ScheduledReports` |
|
|
125
|
-
| `{{FEATURE_NAME_CAMEL}}` | `scheduledReports` |
|
|
126
|
-
| `{{STACK}}` | `blazor-azure` or `nextjs-supabase` |
|
|
127
|
-
| `{{DATE}}`, `{{AUTHOR}}`, `{{NAMESPACE}}` | Auto from config.json |
|
|
128
|
-
|
|
129
|
-
---
|
|
130
|
-
|
|
131
|
-
## COMMANDS
|
|
132
|
-
|
|
133
|
-
| Command | Action |
|
|
134
|
-
|---------|--------|
|
|
135
|
-
| `/morph-proposal {feature}` | Full spec pipeline (phases 1-4, auto-continuation with pauses) |
|
|
136
|
-
| `/morph-apply {feature}` | Implement feature (phase 5) |
|
|
137
|
-
| `/morph-status` | Dashboard |
|
|
138
|
-
| `/morph-archive {feature}` | Archive completed feature |
|
|
139
|
-
| `/morph-infra {action}` | Manage infrastructure |
|
|
140
|
-
| `/morph-preflight` | Pre-deploy validation |
|
|
141
|
-
| `/morph-troubleshoot {error}` | Error troubleshooting |
|
|
142
|
-
|
|
143
|
-
---
|
|
144
|
-
|
|
145
|
-
## REFERENCES
|
|
146
|
-
|
|
147
|
-
- `.morph/config/config.json` — Project configuration
|
|
148
|
-
- `.morph/config/agents.json` — Full agent definitions
|
|
149
|
-
- `.morph/standards/` — Coding, architecture, stack-specific standards
|
|
150
|
-
- `.morph/project/context/` — Detection log, project context
|
|
151
|
-
- `.morph/project/standards/inferred.md` — Auto-detected project standards
|
|
152
|
-
|
|
153
|
-
---
|
|
154
|
-
|
|
155
|
-
*MORPH-SPEC v4.3.0 by Polymorphism Tech*
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
# MORPH-SPEC Content - Projeto Exemplo
|
|
2
|
-
|
|
3
|
-
Este diretório contém um **projeto exemplo** mostrando como usar o framework MORPH-SPEC em um projeto .NET/Blazor.
|
|
4
|
-
|
|
5
|
-
> 📘 **Nota**: Este não é o código do framework, apenas um exemplo de uso.
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## 📁 Estrutura
|
|
10
|
-
|
|
11
|
-
```
|
|
12
|
-
content/
|
|
13
|
-
├── .morph/ # Configuração MORPH do projeto exemplo
|
|
14
|
-
│ ├── project/ # Context e outputs do projeto
|
|
15
|
-
│ │ ├── context/
|
|
16
|
-
│ │ ├── standards/
|
|
17
|
-
│ │ └── outputs/
|
|
18
|
-
│ └── config.json # Link para framework global
|
|
19
|
-
│
|
|
20
|
-
├── CLAUDE.md # Instruções para Claude Code
|
|
21
|
-
└── src/ # (futuro) Código exemplo
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
---
|
|
25
|
-
|
|
26
|
-
## 🎯 Objetivo
|
|
27
|
-
|
|
28
|
-
Este exemplo demonstra:
|
|
29
|
-
|
|
30
|
-
1. Como inicializar MORPH em um projeto
|
|
31
|
-
2. Estrutura de `.morph/project/`
|
|
32
|
-
3. Como Claude Code usa o framework
|
|
33
|
-
4. Exemplos de features implementadas com MORPH
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
## 🚀 Como Usar Este Exemplo
|
|
38
|
-
|
|
39
|
-
### 1. Instalar MORPH globalmente
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
npm install -g @polymorphism-tech/morph-spec
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
### 2. Ver estrutura detectada
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
cd content/
|
|
49
|
-
morph-spec detect --verbose
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
### 3. Inicializar em seu próprio projeto
|
|
53
|
-
|
|
54
|
-
```bash
|
|
55
|
-
cd seu-projeto/
|
|
56
|
-
morph-spec init
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
---
|
|
60
|
-
|
|
61
|
-
## 📚 Documentação
|
|
62
|
-
|
|
63
|
-
- **Framework**: Veja `../framework/` para standards e templates
|
|
64
|
-
- **Docs**: Veja `../docs/` para guias completos
|
|
65
|
-
- **CLI**: Execute `morph-spec --help`
|
|
66
|
-
|
|
67
|
-
---
|
|
68
|
-
|
|
69
|
-
## ⚠️ Importante
|
|
70
|
-
|
|
71
|
-
Este é um **exemplo read-only**. Para criar seu próprio projeto:
|
|
72
|
-
|
|
73
|
-
1. NÃO copie este diretório
|
|
74
|
-
2. Execute `morph-spec init` no seu projeto
|
|
75
|
-
3. O framework será linkado automaticamente
|
|
76
|
-
|
|
77
|
-
---
|
|
78
|
-
|
|
79
|
-
*MORPH-SPEC by Polymorphism Tech*
|