Starter: refuse single-language and non-pl-default sites explicitly (later); docs and tests
ipal-kit create stops before writing anything and points to the manual ipal-setup path; project-starter.md, AGENT.md, ipal-setup, ipal-site and the CHANGELOG say the same. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
0170419473
commit
0dffb85ec1
@@ -42,9 +42,15 @@ Every answer is written into `AGENTS.md` → **Project decisions** (one line per
|
||||
`.ipal/starter.json`. A module the owner turns off needs the owner's reason, which goes into
|
||||
`ipal-audit-skip:` and `ipal-doctor.json` (`"rules": { "2fa": { "off": true, "reason": "…" } }`).
|
||||
|
||||
**Limits of this version** (the generator refuses, the manual `ipal-setup` path covers them): the default
|
||||
language must be `pl` and `en` must be one of the locales (the base seed is Polish + English, with Polish
|
||||
default-locale slugs); every language gets a URL prefix; MongoDB only.
|
||||
**Not supported yet — the command stops before writing anything** and points to the manual path (the
|
||||
`ipal-setup` skill, stages 1–11), which covers them:
|
||||
- **single-language sites** (owner's decision: later);
|
||||
- **a default language other than `pl`**, and sites without `en` — the base seed is Polish + English with Polish
|
||||
default-locale slugs;
|
||||
- URLs without a language prefix; Postgres (MongoDB only).
|
||||
|
||||
Check: `ipal-kit create acme.pl --answers single.json` with one locale exits 1 with "a single-language site is not
|
||||
supported by `ipal-kit create` yet — set the site up by hand with the ipal-setup skill", and the folder is not created.
|
||||
|
||||
For agents and CI, the same answers as JSON (shape: `StarterAnswers`, `@intecion/ipal-kit/starter`):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user