chore(template-reset): update snapshots, fix lint, rebuild state

- Regenerate audit + realtime core-package e2e snapshots (template
  Phase-label changes altered file hashes)
- Fix pre-existing lint error in auth authentication.service.ts:
  rename unused params to _user / _sessionId, drop stale eslint-disable
  comments that were on wrong lines
- Mark story tasks 1-9 done; rebuild _state.json

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-13 10:17:50 +02:00
parent 841655573b
commit 2ceaa08944
5 changed files with 22 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
{ {
"updated_at": "2026-05-13T07:43:50.648Z", "updated_at": "2026-05-13T08:17:52.241Z",
"epics": { "epics": {
"template-reset-v1": { "template-reset-v1": {
"status": "in-progress", "status": "in-progress",
@@ -9,7 +9,7 @@
"status": "in-progress", "status": "in-progress",
"title": "Strip setup refs + archive history + rename ADR-012", "title": "Strip setup refs + archive history + rename ADR-012",
"ac_total": 12, "ac_total": 12,
"ac_completed": 0, "ac_completed": 9,
"depends_on": [], "depends_on": [],
"blocks": [] "blocks": []
} }

View File

@@ -11,15 +11,15 @@ blocks: []
## Tasks ## Tasks
- [ ] Story scaffold - [x] Story scaffold
- [ ] Create .archive/ + .gitignore entry + README.md - [x] Create .archive/ + .gitignore entry + README.md
- [ ] Move docs/work/<epic-slug>/ (except \_templates, README, \_state.json, this epic) to .archive/work/ - [x] Move docs/work/<epic-slug>/ (except \_templates, README, \_state.json, this epic) to .archive/work/
- [ ] Move docs/superpowers/plans/ to .archive/plans/ - [x] Move docs/superpowers/plans/ to .archive/plans/
- [ ] Move docs/superpowers/refactor-logs/ to .archive/refactor-logs/ (if exists) - [x] Move docs/superpowers/refactor-logs/ to .archive/refactor-logs/ (if exists)
- [ ] Move docs/superpowers/specs/ to .archive/specs/ (if exists) - [x] Move docs/superpowers/specs/ to .archive/specs/ (if exists)
- [ ] Strip Phase/Plan/R-number references from source comments (packages/**/src, apps/**/src, scripts/, turbo/generators) - [x] Strip Phase/Plan/R-number references from source comments (packages/**/src, apps/**/src, scripts/, turbo/generators)
- [ ] Strip Lazar references from source comments + docs (CLAUDE.md, AGENTS.md, README.md, runbook, guides, turbo/generators) - [x] Strip Lazar references from source comments + docs (CLAUDE.md, AGENTS.md, README.md, runbook, guides, turbo/generators)
- [ ] Rename docs/decisions/adr-012-lazar-conformance.md → adr-012-feature-conventions.md; update content + cross-references - [x] Rename docs/decisions/adr-012-lazar-conformance.md → adr-012-feature-conventions.md; update content + cross-references
- [ ] Update cli.test.mjs to accept empty docs/work/ state - [ ] Update cli.test.mjs to accept empty docs/work/ state
- [ ] Rebuild \_state.json - [ ] Rebuild \_state.json
- [ ] Final verification + closeout - [ ] Final verification + closeout

View File

@@ -85,18 +85,16 @@ export class AuthenticationService implements IAuthenticationService {
// Payload creates sessions via its REST auth endpoint; mapping that to a // Payload creates sessions via its REST auth endpoint; mapping that to a
// generic { session: Session; cookie: Cookie } shape requires understanding // generic { session: Session; cookie: Cookie } shape requires understanding
// the JWT payload structure and the cookie name/attributes Payload uses. // the JWT payload structure and the cookie name/attributes Payload uses.
// eslint-disable-next-line @typescript-eslint/no-unused-vars
async createSession( async createSession(
user: User, _user: User,
): Promise<{ session: Session; cookie: Cookie }> { ): Promise<{ session: Session; cookie: Cookie }> {
throw new NotImplementedError("createSession"); throw new NotImplementedError("createSession");
} }
// TODO: Implement using Payload's JWT verify mechanism. // TODO: Implement using Payload's JWT verify mechanism.
// Need to call Payload's local API to verify the token and retrieve the user. // Need to call Payload's local API to verify the token and retrieve the user.
// eslint-disable-next-line @typescript-eslint/no-unused-vars
async validateSession( async validateSession(
sessionId: string, _sessionId: string,
): Promise<{ user: User; session: Session }> { ): Promise<{ user: User; session: Session }> {
throw new NotImplementedError("validateSession"); throw new NotImplementedError("validateSession");
} }
@@ -104,8 +102,9 @@ export class AuthenticationService implements IAuthenticationService {
// TODO: Implement by clearing the session token. // TODO: Implement by clearing the session token.
// Payload does not have a server-side session store by default; invalidation // Payload does not have a server-side session store by default; invalidation
// is typically done client-side by clearing the cookie. // is typically done client-side by clearing the cookie.
// eslint-disable-next-line @typescript-eslint/no-unused-vars async invalidateSession(
async invalidateSession(sessionId: string): Promise<{ blankCookie: Cookie }> { _sessionId: string,
): Promise<{ blankCookie: Cookie }> {
throw new NotImplementedError("invalidateSession"); throw new NotImplementedError("invalidateSession");
} }
} }

View File

@@ -29,7 +29,7 @@
}, },
{ {
"path": "src/di/bind-audit.ts", "path": "src/di/bind-audit.ts",
"sha256": "cecc80336488b7af62a915963e9fb4a2a6a0e0a31c5aa178150836b4cb504789" "sha256": "8f8ddad552e0ae8510b98f5e1d422045e7af56fefcc44312a95181481cb99cf1"
}, },
{ {
"path": "src/di/symbols.ts", "path": "src/di/symbols.ts",
@@ -57,7 +57,7 @@
}, },
{ {
"path": "src/index.ts", "path": "src/index.ts",
"sha256": "677726cbf5e1f17f0915e8141dbf158ecc87e12342dc188d68154496e333b06b" "sha256": "1fc3cc9a3c7d80ff5daf9ff9174a3b27a2b4fe8d8b775d73cf15585da0f30f60"
}, },
{ {
"path": "src/integrations/api/procedures.ts", "path": "src/integrations/api/procedures.ts",

View File

@@ -1,7 +1,7 @@
[ [
{ {
"path": "AGENTS.md", "path": "AGENTS.md",
"sha256": "2a9e6bab1f14016d687c20ed4ec5087004cab2c5045aaf4bd0be84e0fe57da4d" "sha256": "a9b9527c327a4164ee4ffca81727118f3876711c1cf3f0b8f32542d08531ccc3"
}, },
{ {
"path": "eslint.config.js", "path": "eslint.config.js",