chore(work): tick task in 07-security-header-adapters
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"updated_at": "2026-05-20T09:35:47.087Z",
|
"updated_at": "2026-05-20T09:48:15.365Z",
|
||||||
"epics": {
|
"epics": {
|
||||||
"binder-wrap-helper": {
|
"binder-wrap-helper": {
|
||||||
"status": "done",
|
"status": "done",
|
||||||
@@ -634,10 +634,10 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"07-security-header-adapters": {
|
"07-security-header-adapters": {
|
||||||
"status": "todo",
|
"status": "in-progress",
|
||||||
"title": "Per-framework security header adapters",
|
"title": "Per-framework security header adapters",
|
||||||
"ac_total": 2,
|
"ac_total": 2,
|
||||||
"ac_completed": 0,
|
"ac_completed": 1,
|
||||||
"depends_on": [
|
"depends_on": [
|
||||||
"06-security-headers-core-module"
|
"06-security-headers-core-module"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -3,12 +3,12 @@ id: 07-security-header-adapters
|
|||||||
epic: security-headers-rate-limit-sbom
|
epic: security-headers-rate-limit-sbom
|
||||||
title: Per-framework security header adapters
|
title: Per-framework security header adapters
|
||||||
type: technical-story
|
type: technical-story
|
||||||
status: todo
|
status: in-progress
|
||||||
feature: core-shared
|
feature: core-shared
|
||||||
depends-on: [06-security-headers-core-module]
|
depends-on: [06-security-headers-core-module]
|
||||||
blocks: [08-app-wiring-web-next, 09-app-wiring-web-tanstack-and-cms]
|
blocks: [08-app-wiring-web-next, 09-app-wiring-web-tanstack-and-cms]
|
||||||
created: 2026-05-20T00:00:00Z
|
created: 2026-05-20T00:00:00Z
|
||||||
updated: 2026-05-20T08:14:55.907Z
|
updated: 2026-05-20T09:48:15.201Z
|
||||||
---
|
---
|
||||||
|
|
||||||
## Goal
|
## Goal
|
||||||
@@ -41,5 +41,5 @@ Adapters follow the `core-analytics/react` subpath pattern established in the co
|
|||||||
|
|
||||||
## Tasks
|
## Tasks
|
||||||
|
|
||||||
- [ ] Implement `packages/core-shared/src/security/next/index.ts`: Next.js middleware calling `generateNonce()` + `buildSecurityHeaders`, setting all six headers and `x-nonce` on the response, plus `getNonce()` helper reading `x-nonce` from Next.js `headers()`; add subpath to `package.json` exports; adapter tests asserting all headers present, nonce in response headers, `getNonce()` reads it; all gates pass.
|
- [x] Implement `packages/core-shared/src/security/next/index.ts`: Next.js middleware calling `generateNonce()` + `buildSecurityHeaders`, setting all six headers and `x-nonce` on the response, plus `getNonce()` helper reading `x-nonce` from Next.js `headers()`; add subpath to `package.json` exports; adapter tests asserting all headers present, nonce in response headers, `getNonce()` reads it; all gates pass.
|
||||||
- [ ] Implement `packages/core-shared/src/security/tanstack/index.ts`: TanStack Start server middleware equivalent (generate nonce, set headers + `x-nonce`) plus request-context nonce extractor; add subpath to `package.json` exports; adapter tests asserting equivalent header + nonce behaviour; all gates pass.
|
- [ ] Implement `packages/core-shared/src/security/tanstack/index.ts`: TanStack Start server middleware equivalent (generate nonce, set headers + `x-nonce`) plus request-context nonce extractor; add subpath to `package.json` exports; adapter tests asserting equivalent header + nonce behaviour; all gates pass.
|
||||||
|
|||||||
Reference in New Issue
Block a user