refactor: strip Phase/Plan/R-number references from source comments
This commit is contained in:
@@ -26,7 +26,7 @@ export type BindAuditOpts = {
|
||||
* if not — better to refuse to start than to ship audit data with a dev-fallback
|
||||
* salt that an attacker could reverse.
|
||||
*
|
||||
* The returned auditLog is wrapped in TraceIdEnrichingAuditLog (Phase 4)
|
||||
* The returned auditLog is wrapped in TraceIdEnrichingAuditLog
|
||||
* so all sinks receive AuditEntry.correlationId auto-populated from the
|
||||
* active OTel span. The inner sink/fan-out is accessible via `.inner`.
|
||||
*/
|
||||
|
||||
@@ -8,13 +8,13 @@ export { auditLogsCollection } from "./audit-logs-collection";
|
||||
export { bindAudit, type BindAuditOpts } from "./di/bind-audit";
|
||||
export { TraceIdEnrichingAuditLog } from "./trace-id-enriching-audit-log";
|
||||
export { AUDIT_SYMBOLS } from "./di/symbols";
|
||||
// Phase 3 — GDPR erasure
|
||||
// GDPR erasure
|
||||
export { pseudonymize } from "./pseudonymize";
|
||||
export {
|
||||
createAuditErasureHook,
|
||||
type AuditErasureHookOpts,
|
||||
} from "./hooks/audit-erasure-hook";
|
||||
// Phase 5 — VIEW capture
|
||||
// VIEW capture
|
||||
export {
|
||||
createAuditAfterReadHook,
|
||||
type AuditAfterReadHookOpts,
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Vendor-isolated realtime abstractions over Socket.IO. Feature packages depend only on the interfaces; only this package imports `socket.io`.
|
||||
|
||||
See `docs/superpowers/specs/2026-05-08-realtime-design.md` for the full design. ADR-016 (`docs/decisions/adr-016-realtime-layer.md`) lands in Phase 10 — pending.
|
||||
ADR-016 (`docs/decisions/adr-016-realtime-layer.md`).
|
||||
|
||||
## Public exports
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ Feature package scaffolded by `turbo gen feature`. Provides domain logic, reposi
|
||||
| `./api` | `{{camelCase name}}Router` (tRPC router) |
|
||||
| `./di/bind-production` | `bindProduction{{pascalCase name}}(config, tracer, logger)` |
|
||||
| `./di/bind-dev-seed` | `bindDevSeed{{pascalCase name}}(tracer, logger)` |
|
||||
| `./ui` | (reserved — Phase 1 is empty) |
|
||||
| `./ui` | (reserved — empty barrel) |
|
||||
|
||||
## Tests
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import { describe, it, expect } from "vitest";
|
||||
import { RecordingTracer, RecordingLogger } from "@repo/core-testing/instrumentation";
|
||||
import { Mock{{pascalCase entity}}Repository } from "@/infrastructure/repositories/{{kebabCase entity}}.repository.mock";
|
||||
|
||||
// Mock repo also wraps in spans (R42).
|
||||
// Mock repo also wraps in spans.
|
||||
describe("Mock{{pascalCase entity}}Repository emits spans", () => {
|
||||
it("get{{pascalCase entity}} emits one span with op='repository'", async () => {
|
||||
const tracer = new RecordingTracer();
|
||||
|
||||
Reference in New Issue
Block a user