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:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"updated_at": "2026-05-13T07:43:50.648Z",
|
||||
"updated_at": "2026-05-13T08:17:52.241Z",
|
||||
"epics": {
|
||||
"template-reset-v1": {
|
||||
"status": "in-progress",
|
||||
@@ -9,7 +9,7 @@
|
||||
"status": "in-progress",
|
||||
"title": "Strip setup refs + archive history + rename ADR-012",
|
||||
"ac_total": 12,
|
||||
"ac_completed": 0,
|
||||
"ac_completed": 9,
|
||||
"depends_on": [],
|
||||
"blocks": []
|
||||
}
|
||||
|
||||
@@ -11,15 +11,15 @@ blocks: []
|
||||
|
||||
## Tasks
|
||||
|
||||
- [ ] Story scaffold
|
||||
- [ ] Create .archive/ + .gitignore entry + README.md
|
||||
- [ ] Move docs/work/<epic-slug>/ (except \_templates, README, \_state.json, this epic) to .archive/work/
|
||||
- [ ] Move docs/superpowers/plans/ to .archive/plans/
|
||||
- [ ] Move docs/superpowers/refactor-logs/ to .archive/refactor-logs/ (if exists)
|
||||
- [ ] 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)
|
||||
- [ ] 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] Story scaffold
|
||||
- [x] Create .archive/ + .gitignore entry + README.md
|
||||
- [x] Move docs/work/<epic-slug>/ (except \_templates, README, \_state.json, this epic) to .archive/work/
|
||||
- [x] Move docs/superpowers/plans/ to .archive/plans/
|
||||
- [x] Move docs/superpowers/refactor-logs/ to .archive/refactor-logs/ (if exists)
|
||||
- [x] Move docs/superpowers/specs/ to .archive/specs/ (if exists)
|
||||
- [x] Strip Phase/Plan/R-number references from source comments (packages/**/src, apps/**/src, scripts/, turbo/generators)
|
||||
- [x] Strip Lazar references from source comments + docs (CLAUDE.md, AGENTS.md, README.md, runbook, guides, turbo/generators)
|
||||
- [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
|
||||
- [ ] Rebuild \_state.json
|
||||
- [ ] Final verification + closeout
|
||||
|
||||
@@ -81,31 +81,30 @@ export class AuthenticationService implements IAuthenticationService {
|
||||
);
|
||||
}
|
||||
|
||||
// TODO:Implement using Payload's local.login / JWT session issuance.
|
||||
// TODO: Implement using Payload's local.login / JWT session issuance.
|
||||
// Payload creates sessions via its REST auth endpoint; mapping that to a
|
||||
// generic { session: Session; cookie: Cookie } shape requires understanding
|
||||
// the JWT payload structure and the cookie name/attributes Payload uses.
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
async createSession(
|
||||
user: User,
|
||||
_user: User,
|
||||
): Promise<{ session: Session; cookie: Cookie }> {
|
||||
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.
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
async validateSession(
|
||||
sessionId: string,
|
||||
_sessionId: string,
|
||||
): Promise<{ user: User; session: Session }> {
|
||||
throw new NotImplementedError("validateSession");
|
||||
}
|
||||
|
||||
// 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
|
||||
// is typically done client-side by clearing the cookie.
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
async invalidateSession(sessionId: string): Promise<{ blankCookie: Cookie }> {
|
||||
async invalidateSession(
|
||||
_sessionId: string,
|
||||
): Promise<{ blankCookie: Cookie }> {
|
||||
throw new NotImplementedError("invalidateSession");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
},
|
||||
{
|
||||
"path": "src/di/bind-audit.ts",
|
||||
"sha256": "cecc80336488b7af62a915963e9fb4a2a6a0e0a31c5aa178150836b4cb504789"
|
||||
"sha256": "8f8ddad552e0ae8510b98f5e1d422045e7af56fefcc44312a95181481cb99cf1"
|
||||
},
|
||||
{
|
||||
"path": "src/di/symbols.ts",
|
||||
@@ -57,7 +57,7 @@
|
||||
},
|
||||
{
|
||||
"path": "src/index.ts",
|
||||
"sha256": "677726cbf5e1f17f0915e8141dbf158ecc87e12342dc188d68154496e333b06b"
|
||||
"sha256": "1fc3cc9a3c7d80ff5daf9ff9174a3b27a2b4fe8d8b775d73cf15585da0f30f60"
|
||||
},
|
||||
{
|
||||
"path": "src/integrations/api/procedures.ts",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
"path": "AGENTS.md",
|
||||
"sha256": "2a9e6bab1f14016d687c20ed4ec5087004cab2c5045aaf4bd0be84e0fe57da4d"
|
||||
"sha256": "a9b9527c327a4164ee4ffca81727118f3876711c1cf3f0b8f32542d08531ccc3"
|
||||
},
|
||||
{
|
||||
"path": "eslint.config.js",
|
||||
|
||||
Reference in New Issue
Block a user