IAPL rename, scripted: preferred names in src, bin, scripts, services, tests; bin files and skill folders moved
Replaced by an explicit list of forms only (ten exported names, runtime env names, project file names and marks, commands, skill names, the log prefix, the brand in prose). Package name, import paths, routes, CSS tokens, data attributes, custom keys, context flags, the cookie and kv keys are not touched. package.json keeps the five old bin names beside the five new ones. The old names stop working in this commit and come back as aliases in the next; docs follow. Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.2
parent
414a4702df
commit
0a4f001797
@@ -15,7 +15,7 @@ import { CONSENT_CATEGORY_LABELS } from './categoryLabels.js'
|
||||
* the time. NO IP address, user agent or other personal data — the id alone
|
||||
* links a record to the browser that holds the cookie.
|
||||
*
|
||||
* Opt-in: `ipalKit({ consentLog: true })` adds the collection and the endpoint
|
||||
* Opt-in: `iapl({ consentLog: true })` adds the collection and the endpoint
|
||||
* POST /api/ipal/consent; the layout passes `<ConsentProvider logEndpoint="/api/ipal/consent">`.
|
||||
* Records older than `retentionDays` (default 3 years) are purged automatically.
|
||||
*/
|
||||
@@ -110,7 +110,7 @@ export function buildConsentLogEndpoint({ retentionDays = 1095 }: ConsentLogOpti
|
||||
purge(req.payload, { createdAt: { less_than: new Date(Date.now() - retentionDays * 86_400_000).toISOString() } })
|
||||
return Response.json({ ok: true }, { status: 201 })
|
||||
} catch (err) {
|
||||
req.payload.logger.error(`[ipal] consent log write failed: ${err instanceof Error ? err.message : String(err)}`)
|
||||
req.payload.logger.error(`[iapl] consent log write failed: ${err instanceof Error ? err.message : String(err)}`)
|
||||
return Response.json({ ok: false }, { status: 500 })
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user