Starter: inherit the reference doctor silences and packageManager; cookieCrawl active in the reference

Same reference/package.json, reference/ipal-doctor.json and ci.yml env lines as claude/ipal-doctor-build,
so the two branches merge cleanly there. ipal-doctor.json of a new site keeps i18n-literals (the /design
styleguide) and audit:collections-present only while posts/caseStudies are in.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-10-29 16:11:33 +01:00
co-authored by Claude Opus 5.5
parent 0dffb85ec1
commit 01afa6fab8
10 changed files with 59 additions and 12 deletions
+15 -2
View File
@@ -63,7 +63,20 @@ legacy-peer-deps=true
```json
{
"domain": "example-studio.pl",
"launched": false
"launched": false,
"rules": {
"audit:collections-present": {
"off": true,
"reason": "Project decisions: posts and caseStudies with archive pages; entryFields.ts is their shared field helper, not a collection"
},
"i18n-literals": {
"off": true,
"files": [
"src/components/design/**"
],
"reason": "Approved exception (AGENTS.md → Project decisions): the /design styleguide has its labels in code"
}
}
}
```
@@ -209,7 +222,7 @@ export function register() {
assertEnv(
ipalEnvRules({
// @starter:if crawl
//: cookieCrawl: true, // IPAL_COOKIE_SCAN_URL / IPAL_COOKIE_SCAN_TOKEN — the shared cookie-crawler service
cookieCrawl: true, // IPAL_COOKIE_SCAN_URL / IPAL_COOKIE_SCAN_TOKEN in production — the shared cookie-crawler service
// @starter:endif
databaseName: { domain: 'example-studio.pl' },
// @starter:if graph
+1 -1
View File
@@ -2,7 +2,7 @@
**Status:** built (revision 3) — the user guide is [docs/project-starter.md](../project-starter.md). Differences from
this design, found while building: the env rules stay inline in `instrumentation.ts` as in the reference site (no
`src/env.rules.ts`); no `packageManager` field (the reference site has none — add it there and the starter copies it);
`src/env.rules.ts`); `packageManager` comes from the reference site (added there for ipal-doctor's `pnpm-pinned`);
the command needs `--config.auto-install-peers=false` to keep `dlx` small (7 packages instead of 356); the templates
and the lockfile travel in one bundle (`dist/starter/template.json.gz`); the seed command is the reference's
`SEED_ONLY=… pnpm seed`; the language answers are limited to default `pl` + `en` (the base seed is Polish + English).
+3 -1
View File
@@ -109,7 +109,9 @@ pnpm exec ipal-kit create intecion.com --dir ../intecioncom-web --answers answer
The reference site's tree (AGENT.md §3) with: the plugin pinned to the exact released version, the database
names from `databaseNamesFor(domain)` (`intecion.com` → `intecioncom_dev` / `intecioncom_prod`; hyphens stay),
CSP in **report-only** (`ipal-doctor.json` silences the report-only finding for 28 days with the reason),
`packageManager` pinned (copied from the reference site), CSP in **report-only** (`ipal-doctor.json` silences the
report-only finding for 28 days with the reason, and carries the reference site's own reasoned silences —
`i18n-literals` for the `/design` styleguide, `audit:collections-present` only while `posts` / `caseStudies` are in),
`assertEnv(ipalEnvRules({ databaseName, ipHeader, storage, … }))` in `instrumentation.ts`, the blocks from the
block library (`libraryBlocks` + `createBlockRegistry(content, { Image, Link, … })`), the design-token standard
(`styles.css` imports only, the brand in `src/design/tokens.ts`, next/font `--font-family-body` /