Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,12 @@ review/CI/user-path evidence. Never use an admin merge bypass or request Copilot
- `docs/README.md` contains the editorial, localization, catalogue and feature-flag standards.
- `server/` contains the default-off Go/PostgreSQL browser identity boundary. Read
`server/AGENTS.md` before changing it. The platform runtime ships its handlers default-off;
production authentication, customer intake and payments remain disabled.
Customer identity source preparation uses dedicated customer Dex and self-hosted
production sign-in is switched on, invite-only, by the platform's `business-site-runtime`
portal settings (#302, devantler-tech/platform#6389), while customer intake and payments
remain disabled. Customer identity uses dedicated customer Dex and self-hosted
ZITADEL; read `server/CUSTOMER-IDENTITY.md`. The explicit offline preparer has no
deployment, user-provisioning or portal-activation authority. Social logins are deferred.
deployment, user-provisioning or portal-activation authority. Customers sign in with a
ZITADEL password plus MFA or, optionally, GitHub through ZITADEL; other social logins are deferred.
- ZITADEL is never built, patched or redistributed here. When the portal is activated, #305
runs the official upstream image unmodified, pinned by digest and branded only through its
native Label Policy. Upstream does not sign its images, so no signature is verified. Read ADR 0031.
Expand Down Expand Up @@ -154,11 +156,13 @@ production-template packager explicitly enables the footer, email route and requ
whose address the runtime reads from its private projected file.
The same release enables the EN/DA privacy notice and customer terms (`/privacy/`, `/terms/`),
whose copy lives in `src/components/business/legal-copy.ts`. The privacy notice's portal
section stays behind the default-off `FEATURE_PORTAL_PRIVACY`, and the standard add-ons list on the
home page behind the default-off `FEATURE_ADDONS`, until the portal is activated;
the activation flips their `false` pins in `scripts/package-runtime.sh` and
`scripts/vat-activation.test.mjs`. They link to the address rather
than repeat it. Change them with any change to hosting, providers, retention, prices or terms
section is behind `FEATURE_PORTAL_PRIVACY`, off by default and on in the production-template
packager. That release goes out together with the platform switching portal sign-in on,
invite-only (#302, devantler-tech/platform#6389), so the notice and the processing it describes
start together; `scripts/vat-activation.test.mjs` pins it there. The standard add-ons list on the
home page stays behind the default-off `FEATURE_ADDONS` until portal ordering is activated, which
flips its `false` pin in `scripts/package-runtime.sh` and `scripts/vat-activation.test.mjs`.
They link to the address rather than repeat it. Change them with any change to hosting, providers, retention, prices or terms
(#19); never call the business compliant.
Publish the maintainer's fixed VAT-inclusive prices (15 November 2026): DKK 6,000 plus optional
hosting 300/month for a website, 15,000 plus 800/month for a focused first app version, and
Expand Down
2 changes: 1 addition & 1 deletion scripts/package-runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ build_env+=("PUBLIC_CONTENT_PROFILE=$profile" "FEATURE_COMPANY_IDENTITY=false" "
if [[ "$profile" == production-template ]]; then
inputs="$(mktemp -d "$output/public-inputs.XXXXXX")"
bash scripts/refresh-public-stars.sh "$inputs/stars.json"
build_env+=("PUBLIC_CONTENT_PROFILE=production-template" "FEATURE_COMPANY_IDENTITY=true" "PUBLIC_STARS_SNAPSHOT=$PWD/$inputs/stars.json")
build_env+=("PUBLIC_CONTENT_PROFILE=production-template" "FEATURE_COMPANY_IDENTITY=true" "FEATURE_PORTAL_PRIVACY=true" "PUBLIC_STARS_SNAPSHOT=$PWD/$inputs/stars.json")
fi
"${build_env[@]}" npm run build
bash scripts/check-portal-artifacts.sh dist
Expand Down
7 changes: 4 additions & 3 deletions scripts/vat-activation.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const currentRuntimeCI = workflow => {
return packages.length === 1 && [workflow.env, runtimeJob(workflow)?.env, packages[0].env]
.every(env => presentation.every(flag => !Object.hasOwn(env ?? {}, flag)));
};
const current = state => state.FEATURE_COMPANY_IDENTITY === 'true' && state.FEATURE_OFFER_COPY === 'false' && state.FEATURE_PORTAL_PRIVACY === 'false' && state.FEATURE_ADDONS === 'false' &&
const current = state => state.FEATURE_COMPANY_IDENTITY === 'true' && state.FEATURE_OFFER_COPY === 'false' && state.FEATURE_PORTAL_PRIVACY === 'true' && state.FEATURE_ADDONS === 'false' &&
!Object.hasOwn(state, 'FEATURE_VAT_PRICES') && !Object.hasOwn(state, 'FEATURE_CUSTOMER_SCOPE');
const packagerSource = readFileSync('scripts/package-runtime.sh', 'utf8');
/** Run the actual (or a changed) packager; the build double records every FEATURE_ setting it receives. */
Expand Down Expand Up @@ -150,8 +150,9 @@ for (const [mode, from, to] of [
['offer removed', ' "FEATURE_OFFER_COPY=false"', ''],
['revised offer', '"FEATURE_OFFER_COPY=false"', '"FEATURE_OFFER_COPY=true"'],
['ambiguous offer', '"FEATURE_OFFER_COPY=false"', '"FEATURE_OFFER_COPY=ambiguous"'],
['portal privacy unpinned', ' "FEATURE_PORTAL_PRIVACY=false"', ''],
['portal privacy released', '"FEATURE_PORTAL_PRIVACY=false"', '"FEATURE_PORTAL_PRIVACY=true"'],
['portal privacy unpinned', ' "FEATURE_PORTAL_PRIVACY=true"', ''],
['portal privacy withdrawn', '"FEATURE_PORTAL_PRIVACY=true"', '"FEATURE_PORTAL_PRIVACY=false"'],
['ambiguous portal privacy', '"FEATURE_PORTAL_PRIVACY=true"', '"FEATURE_PORTAL_PRIVACY=ambiguous"'],
['add-ons unpinned', ' "FEATURE_ADDONS=false"', ''],
['add-ons released', '"FEATURE_ADDONS=false"', '"FEATURE_ADDONS=true"'],
['legacy VAT', production, `${production} "FEATURE_VAT_PRICES=false"`],
Expand Down
Loading