Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -40,7 +40,7 @@ When a manifest change affects UI text, tenant data, or deploy behavior, include
|
||||
- `product-core.json`: versioned CRM SaaS Product Core blueprint and access-gating contract.
|
||||
- `auth-tenancy.json`: authentication, accounts, tenants, roles, invitations.
|
||||
- `rows-entities-runtime.json`: Prisma/DB, rows, entity runtime foundations.
|
||||
- `billing.json`: Stripe-backed subscription and pricing foundation.
|
||||
- `billing.json`: Lago-backed subscription, invoice, and Mollie payment foundation.
|
||||
- `transactional-mail.json`: password reset, invitation, and system mail.
|
||||
- `admin-app-shell.json`: admin and tenant app shells, dashboards, settings.
|
||||
- `plugin-candidates.json`: feature groups to package or make optional.
|
||||
|
||||
+2
-2
@@ -95,8 +95,8 @@
|
||||
"workers": {
|
||||
"required": true,
|
||||
"queues": [
|
||||
"toolctrl.ai-chatbot",
|
||||
"toolctrl.browser-automation"
|
||||
"hivegrid.ai-chatbot",
|
||||
"hivegrid.browser-automation"
|
||||
],
|
||||
"jobs": [
|
||||
"chat-completion",
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"classification": "core",
|
||||
"status": "proposed",
|
||||
"owner": "core-pruning",
|
||||
"description": "Minimal Stripe-backed subscription, pricing settings, subscription settings, and webhook handling.",
|
||||
"description": "Minimal Lago-backed subscription, Mollie payment, pricing settings, subscription settings, and webhook handling.",
|
||||
"rationale": [
|
||||
"A SaaS boilerplate usually needs billing as a default capability.",
|
||||
"The retained surface should be minimal and separate from marketing pricing presentation."
|
||||
@@ -15,11 +15,12 @@
|
||||
"apps/web/app/routes/app.$tenant/settings/subscription.tsx",
|
||||
"apps/web/app/routes/admin/settings/pricing*",
|
||||
"apps/api/src/app.ts",
|
||||
"/v1/billing/stripe/webhooks",
|
||||
"/v1/billing/mollie/webhooks",
|
||||
"apps/web/app/application/pricing (admin billing-plan metadata, not public marketing pricing)",
|
||||
"apps/web/app/components/core/pricing (admin billing-plan configuration)",
|
||||
"apps/web/app/components/core/settings/subscription",
|
||||
"stripe"
|
||||
"lago",
|
||||
"mollie"
|
||||
],
|
||||
"dependencies": [
|
||||
"auth-tenancy",
|
||||
@@ -42,7 +43,7 @@
|
||||
"publicRoutes": [],
|
||||
"apiRoutes": [
|
||||
"apps/api/src/app.ts",
|
||||
"/v1/billing/stripe/webhooks"
|
||||
"/v1/billing/mollie/webhooks"
|
||||
]
|
||||
},
|
||||
"configuration": {
|
||||
@@ -53,12 +54,16 @@
|
||||
"Subscription selection and billing portal actions"
|
||||
],
|
||||
"environment": [
|
||||
"STRIPE_SK",
|
||||
"STRIPE_WEBHOOK_SIGNING_SECRET",
|
||||
"STRIPE_ACCOUNT_COUNTRY"
|
||||
"LAGO_API_URL",
|
||||
"LAGO_API_KEY",
|
||||
"LAGO_WEBHOOK_SECRET",
|
||||
"LAGO_TIMEOUT_MS",
|
||||
"MOLLIE_API_KEY",
|
||||
"MOLLIE_PROFILE_ID",
|
||||
"MOLLIE_TIMEOUT_MS"
|
||||
],
|
||||
"secrets": [
|
||||
"Stripe keys are platform/admin-owned, never tenant-owned."
|
||||
"Lago and Mollie keys are platform/admin-owned, never tenant-owned."
|
||||
]
|
||||
},
|
||||
"workers": {
|
||||
@@ -70,7 +75,8 @@
|
||||
]
|
||||
},
|
||||
"externalProviders": [
|
||||
"stripe"
|
||||
"lago",
|
||||
"mollie"
|
||||
],
|
||||
"permissions": [
|
||||
"admin.pricing.*",
|
||||
@@ -87,18 +93,20 @@
|
||||
"uat": [
|
||||
"Admin can configure pricing.",
|
||||
"Tenant can view/update subscription.",
|
||||
"Stripe webhook updates subscription state."
|
||||
"Mollie webhook updates payment state and HiveGrid billing status.",
|
||||
"Lago remains the billing source for customers, plans, subscriptions, and invoices."
|
||||
]
|
||||
},
|
||||
"boundaries": {
|
||||
"mustKeep": [
|
||||
"Stripe subscription and webhook foundation",
|
||||
"Lago subscription and invoice foundation",
|
||||
"Mollie payment webhook foundation",
|
||||
"Admin pricing configuration",
|
||||
"Tenant subscription settings"
|
||||
],
|
||||
"mayMoveToPlugin": [
|
||||
"Portal-oriented pricing flows not required by the app shell",
|
||||
"Provider-specific billing extensions beyond Stripe",
|
||||
"Provider-specific billing extensions beyond Lago/Mollie",
|
||||
"Advanced billing analytics beyond subscription state"
|
||||
],
|
||||
"mustNotTouch": [
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"classification": "core",
|
||||
"status": "proposed",
|
||||
"owner": "core-pruning",
|
||||
"description": "Umbrella manifest for features that remain in the default ToolCTRL boilerplate after pruning.",
|
||||
"description": "Umbrella manifest for features that remain in the default HiveGrid runtime after pruning.",
|
||||
"rationale": [
|
||||
"The boilerplate must support authenticated SaaS operation without marketing, CRM, AI, or support-product assumptions.",
|
||||
"Core should preserve web app and admin shells, auth, tenant membership, database/runtime primitives, transactional email, and minimal billing."
|
||||
@@ -18,7 +18,6 @@
|
||||
"apps/web/app/modules/users",
|
||||
"apps/web/app/modules/rows",
|
||||
"packages/db",
|
||||
"packages/create-toolctrl",
|
||||
"server/server.ts",
|
||||
"prisma",
|
||||
"prisma/migrations/20260527035000_04_api_key_log_tenant_scope",
|
||||
@@ -151,7 +150,6 @@
|
||||
"source": [
|
||||
"docs/feature-inventory.md",
|
||||
"docs/architecture-migration-status.md",
|
||||
"BOILERPLATE-PLAN.md",
|
||||
"prisma/schema/core.prisma",
|
||||
"prisma/schema/outbox.prisma",
|
||||
"prisma/schema/plugins.prisma",
|
||||
|
||||
+4
-10
@@ -56,7 +56,6 @@
|
||||
"rationale": "Email Marketing is an extract-plugin CRM-contact campaign plugin candidate, not Core and not the Email Sequences foundation: campaigns, sender secrets, CRM-contact audience selection, tracking, and consent are product-specific. Current audiences depend on CRM contacts, so extraction must bundle CRM, declare a CRM plugin dependency, or introduce a plugin-owned audience/list abstraction while keeping transactional mail and the separate email-sequences admin-preview foundation separate.",
|
||||
"codeAreas": [
|
||||
"apps/web/app/modules/emailMarketing",
|
||||
"apps/web/app/modules/emailMarketing/services/EmailMarketingService.ts",
|
||||
"apps/web/app/modules/emailMarketing/db/emailSender.ts",
|
||||
"apps/web/app/modules/emailMarketing/db/campaigns.db.server.ts",
|
||||
"apps/web/app/modules/emailMarketing/db/outboundEmails.db.server.ts",
|
||||
@@ -68,11 +67,10 @@
|
||||
{
|
||||
"id": "portals-sites",
|
||||
"title": "Portals and Sites",
|
||||
"rationale": "D007 canonical report: docs/feature-decisions/portals-sites-decision-report.md. Action: extract-plugin. Product-platform tenant/admin surfaces with Stripe portal billing, analytics, domains, and module-owned persistence that should not remain default Boilerplate Core.",
|
||||
"rationale": "D007 canonical report: docs/feature-decisions/portals-sites-decision-report.md. Action: extract-plugin. Product-platform tenant/admin surfaces with Legacy-Provider portal billing, analytics, domains, and module-owned persistence that should not remain default Boilerplate Core.",
|
||||
"codeAreas": [
|
||||
"apps/web/app/modules/portals",
|
||||
"apps/web/app/modules/sites",
|
||||
"apps/web/app/routes/admin/portals.tsx",
|
||||
"apps/web/app/routes/app.$tenant/__portals/*",
|
||||
"apps/web/app/routes/app.$tenant/sites/*",
|
||||
"prisma/schema/portals.prisma",
|
||||
@@ -98,8 +96,6 @@
|
||||
"codeAreas": [
|
||||
"apps/web/app/modules/analytics",
|
||||
"apps/web/app/modules/metrics",
|
||||
"apps/web/app/routes/admin/analytics*",
|
||||
"apps/web/app/routes/admin/metrics*",
|
||||
"apps/api/src/app.ts",
|
||||
"/v1/analytics/*"
|
||||
]
|
||||
@@ -149,7 +145,6 @@
|
||||
"rationale": "Useful for some SaaS products but not part of the minimum boilerplate.",
|
||||
"codeAreas": [
|
||||
"apps/web/app/modules/onboarding",
|
||||
"apps/web/app/routes/admin/onboarding*",
|
||||
"apps/web/app/routes/onboarding.$id.tsx"
|
||||
]
|
||||
},
|
||||
@@ -179,7 +174,6 @@
|
||||
"rationale": "D009 canonical report: docs/feature-decisions/kb-widgets-workflow-marketing-decision-report.md. Action: extract-plugin. Automation/workflow orchestration is a product-specific capability layered on core events, not a minimum SaaS boilerplate requirement.",
|
||||
"codeAreas": [
|
||||
"apps/web/app/modules/workflowEngine",
|
||||
"apps/web/app/routes/admin/__workflows/*",
|
||||
"apps/web/app/routes/app.$tenant/__workflows/*",
|
||||
"apps/web/app/routes/internal/api/__workflows/*",
|
||||
"prisma/schema/workflows.prisma"
|
||||
@@ -249,7 +243,7 @@
|
||||
"outbox.workflow",
|
||||
"outbox.plugin-hook",
|
||||
"outbox.plugin-capability-use",
|
||||
"toolctrl.plugin-invoke"
|
||||
"hivegrid.plugin-invoke"
|
||||
],
|
||||
"jobs": [
|
||||
"plugin-specific jobs when needed",
|
||||
@@ -265,7 +259,7 @@
|
||||
"Each extracted plugin must declare whether it is worker-backed and which queue group owns its jobs.",
|
||||
"Email-sequence trigger/scheduler/producers are not plugin-candidate jobs in this manifest; they are tracked in docs/features/email-sequences.md as foundation/admin-preview work gated by MARKETING_SEQUENCES_ENABLED and remaining production follow-ups. Signed Mailjet bounce webhook ingestion is API-owned, not a plugin worker job.",
|
||||
"The generic marketing-outbound handler foundation is documented in docs/features/marketing-funnel.md and must not be inferred as bootstrapped plugin delivery until apps/worker/src/index.ts wires a general subscriber.",
|
||||
"Workflow trigger fanout producers should use the shared @toolctrl/queue outbox payload builder instead of hand-writing workflow.trigger.event envelopes.",
|
||||
"Workflow trigger fanout producers should use the shared @hivegrid/queue outbox payload builder instead of hand-writing workflow.trigger.event envelopes.",
|
||||
"Manual workflow runs publish workflow.execution.requested through the transactional outbox before worker-general starts the existing execution via the signed internal bridge or native executor; queued waitForInput continuations can resume natively when that wait boundary is the only native preflight gap.",
|
||||
"Default outbox queue delivery must include receiver-level BullMQ attempts/backoff and deterministic jobId=outbox:<eventId> before marking the Postgres outbox row DONE, so transient subscriber failures are retried by the target queue and dispatcher redelivery does not create duplicate receiver jobs.",
|
||||
"Plugin capability-use batches are produced by worker-owned plugin invocation and drained by worker-general through outbox.plugin-capability-use; receiver inserts must be idempotent with duplicate row ids ignored on outbox redelivery.",
|
||||
@@ -311,7 +305,7 @@
|
||||
"Production install, grant, and enable paths must reject capabilities without reviewed host bindings; currently only log and audit are production-available plugin sandbox host capabilities.",
|
||||
"Worker plugin invocations must enforce current TenantPluginCapabilityGrant rows before loading binaries, consuming rate-limit budget, or entering the sandbox; manifest-declared capabilities alone are not sufficient runtime authorization.",
|
||||
"Plugin invocation verifies stored install metadata (Plugin.wasmSha256 and Plugin.signaturePublicKey) still matches the manifest before signature verification, capability checks, or sandbox entry.",
|
||||
"Plugin signatures cover the canonical manifest payload plus wasmSha256 through the shared @toolctrl/plugin-runtime signing helper so manifest capability, hook, or allowedHost changes require re-signing.",
|
||||
"Plugin signatures cover the canonical manifest payload plus wasmSha256 through the shared @hivegrid/plugin-runtime signing helper so manifest capability, hook, or allowedHost changes require re-signing.",
|
||||
"Plugin invocation must run inside the worker-owned sandbox boundary with memory, host-fn fuel and PLUGIN_MAX_WALL_CLOCK_MS limits; true per-instruction fuel remains a Wasmtime/runtime-upgrade concern."
|
||||
]
|
||||
},
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
]
|
||||
},
|
||||
"externalProviders": [
|
||||
"stripe",
|
||||
"legacyProvider",
|
||||
"deployment-region-ai-provider",
|
||||
"s3-compatible-storage"
|
||||
],
|
||||
|
||||
@@ -152,7 +152,6 @@
|
||||
"source": [
|
||||
"docs/feature-inventory.md",
|
||||
"docs/architecture-migration-status.md",
|
||||
"BOILERPLATE-PLAN.md",
|
||||
"docs/feature-decisions/kb-widgets-workflow-marketing-decision-report.md"
|
||||
],
|
||||
"lastReviewed": "2026-05-13"
|
||||
|
||||
+5
-5
@@ -5,7 +5,7 @@
|
||||
"classification": "mixed",
|
||||
"status": "review-needed",
|
||||
"owner": "core-pruning",
|
||||
"description": "Prisma, database access, rows, entity data structures, and minimal runtime pieces that other features build on.",
|
||||
"description": "REMOVED in R-P6B-β (AD-2, 2026-06-30): the generic entity-builder (Entity/Row/RowValue, modules/rows, utils/db/entities, the *Api.server entity layer, admin/entities + settings/entities routes, the /v1/entities + /v1/relationships API, codeGenerator + formulas, and entityBuilder.prisma) was deleted; HiveGrid fachentities are typed Prisma tables (CRM Kontakt etc.). This manifest is retained as a historical record. Prisma + packages/db remain core.",
|
||||
"rationale": [
|
||||
"Many features depend on Prisma, entities, and rows as data foundations.",
|
||||
"The runtime foundation is core, while no-code builders and code generation are candidates for extraction."
|
||||
@@ -122,16 +122,16 @@
|
||||
},
|
||||
"pruning": {
|
||||
"phase": "1",
|
||||
"action": "review",
|
||||
"action": "remove",
|
||||
"notes": [
|
||||
"Split core runtime from no-code product surfaces before deleting any rows or entity code.",
|
||||
"Audit CRM and email marketing coupling before changing default entity templates."
|
||||
"DONE (R-P6B-β, 2026-06-30): generic entity-builder fully removed; fachentities are typed Prisma tables.",
|
||||
"Prisma + packages/db foundation retained as core."
|
||||
]
|
||||
},
|
||||
"validation": {
|
||||
"source": [
|
||||
"docs/feature-inventory.md"
|
||||
],
|
||||
"lastReviewed": "2026-05-16"
|
||||
"lastReviewed": "2026-06-30"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://toolctrl.local/docs/feature-manifests/schema.json",
|
||||
"title": "ToolCTRL Feature Manifest",
|
||||
"$id": "https://hivegrid.local/docs/feature-manifests/schema.json",
|
||||
"title": "HiveGrid Feature Manifest",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
|
||||
+4
-4
@@ -20,7 +20,7 @@
|
||||
"apps/worker/src/handlers.ts",
|
||||
"packages/queue",
|
||||
"packages/mail",
|
||||
"@toolctrl/mail"
|
||||
"@hivegrid/mail"
|
||||
],
|
||||
"dependencies": [],
|
||||
"consumers": [
|
||||
@@ -58,7 +58,7 @@
|
||||
"required": true,
|
||||
"queues": [
|
||||
"outbox.mail",
|
||||
"toolctrl.email"
|
||||
"hivegrid.email"
|
||||
],
|
||||
"jobs": [
|
||||
"mail.transactional.* outbox bridge",
|
||||
@@ -71,7 +71,7 @@
|
||||
"This manifest records the runtime requirement; it is not live-environment proof that any specific Coolify target currently has worker-mail deployed or healthy.",
|
||||
"Web and API containers either enqueue direct transactional mail jobs or publish mail.* outbox events; they must not be treated as mail consumers. The mail worker must run as a separate worker resource alongside worker-general, worker-import, worker-webhook, and worker-plugin.",
|
||||
"Worker-native workflow email blocks publish mail.transactional.send outbox events; worker-general handles workflow execution while worker-mail remains the only transactional mail consumer.",
|
||||
"Dependent manifests must declare any additional queue use beyond the core toolctrl.email send-transactional-email job."
|
||||
"Dependent manifests must declare any additional queue use beyond the core hivegrid.email send-transactional-email job."
|
||||
]
|
||||
},
|
||||
"externalProviders": [
|
||||
@@ -116,7 +116,7 @@
|
||||
"source": [
|
||||
"docs/feature-inventory.md",
|
||||
"docs/ops/worker-queues.md",
|
||||
"docs/improvement-plan/OPERATOR-CHECKLIST.md"
|
||||
"docs/deployment.md"
|
||||
],
|
||||
"lastReviewed": "2026-05-28"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user