docs: mark P410-29 complete — log guild/user ID redaction
Document PEARCORD_LOG_INCLUDE_IDS and redaction behavior in LOGGING.md. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -28,6 +28,7 @@ The boot payload includes `logFile` so the UI can show the path on the diagnosti
|
|||||||
| Variable | Effect |
|
| Variable | Effect |
|
||||||
|----------|--------|
|
|----------|--------|
|
||||||
| `PEARCORD_LOG_LEVEL` | Minimum level: `trace`, `debug`, `info`, `warn`, `error`, `fatal` (default `info` in production paths, `debug` in worker/companion) |
|
| `PEARCORD_LOG_LEVEL` | Minimum level: `trace`, `debug`, `info`, `warn`, `error`, `fatal` (default `info` in production paths, `debug` in worker/companion) |
|
||||||
|
| `PEARCORD_LOG_INCLUDE_IDS` | `1` → log full guild/user IDs at info+; default redacts to `[id:prefix…suffix]` (Phase 410 P410-29) |
|
||||||
| `PEARCORD_LOG_JSON=1` | JSON lines instead of pretty ANSI console output |
|
| `PEARCORD_LOG_JSON=1` | JSON lines instead of pretty ANSI console output |
|
||||||
| `PEARCORD_GUILD_SWARM_FLUSH_MS` | Max wait for Hyperswarm `flush()` on guild join (default **2500**); continues in background if timed out |
|
| `PEARCORD_GUILD_SWARM_FLUSH_MS` | Max wait for Hyperswarm `flush()` on guild join (default **2500**); continues in background if timed out |
|
||||||
| `PEARCORD_SWARM_FLUSH_MS` | Fallback flush cap used by guild join when guild-specific var unset |
|
| `PEARCORD_SWARM_FLUSH_MS` | Fallback flush cap used by guild join when guild-specific var unset |
|
||||||
|
|||||||
+3
-2
@@ -5,7 +5,7 @@ Focused roadmap of unfinished items extracted from `PLATFORM_ROADMAP_v0.1-v0.8.6
|
|||||||
**Legend:** `[ ]` not started
|
**Legend:** `[ ]` not started
|
||||||
**Legend:** `[SKIP]` skip for now
|
**Legend:** `[SKIP]` skip for now
|
||||||
|
|
||||||
Unfinished items tracked: **327**
|
Unfinished items tracked: **326**
|
||||||
Skipped items tracked: **1**
|
Skipped items tracked: **1**
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -54,7 +54,7 @@ Primary in-flight work. Move completed items to `[x]` and add a changelog line.
|
|||||||
- [x] **P410-26 Accessibility:** Add ARIA audit for every toolbar/popover with roving focus implementation.
|
- [x] **P410-26 Accessibility:** Add ARIA audit for every toolbar/popover with roving focus implementation.
|
||||||
- [x] **P410-27 Accessibility:** Add dedicated reduced-motion verification suite for popovers, toasts, and hover previews.
|
- [x] **P410-27 Accessibility:** Add dedicated reduced-motion verification suite for popovers, toasts, and hover previews.
|
||||||
- [x] **P410-28 Accessibility:** Add keyboard-only navigation smoke for guild switch + message composer recovery.
|
- [x] **P410-28 Accessibility:** Add keyboard-only navigation smoke for guild switch + message composer recovery.
|
||||||
- [ ] **P410-29 Security/privacy:** Redact guild/user IDs from non-debug logs unless explicitly enabled.
|
- [x] **P410-29 Security/privacy:** Redact guild/user IDs from non-debug logs unless explicitly enabled.
|
||||||
- [ ] **P410-30 Security/privacy:** Add stricter validation for pasted invites/deep links before navigation dispatch.
|
- [ ] **P410-30 Security/privacy:** Add stricter validation for pasted invites/deep links before navigation dispatch.
|
||||||
- [ ] **P410-31 Security/privacy:** Add anti-spam guardrails for rapid webhook/slash invoke bursts.
|
- [ ] **P410-31 Security/privacy:** Add anti-spam guardrails for rapid webhook/slash invoke bursts.
|
||||||
- [ ] **P410-32 Security/privacy:** Add privacy mode toggle to suppress desktop notifications while screen sharing.
|
- [ ] **P410-32 Security/privacy:** Add privacy mode toggle to suppress desktop notifications while screen sharing.
|
||||||
@@ -511,6 +511,7 @@ For deferred items, use `[SKIP]` and include a brief reason inline.
|
|||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
- 2026-06-02 - Completed P410-29 with `pearcord-log` guild/user ID redaction at info+ (`redact-log-ids.js`, `PEARCORD_LOG_INCLUDE_IDS=1` opt-in); smoke: `npm run test:log-id-redaction`.
|
||||||
- 2026-06-02 - Completed P410-28 with keyboard guild switch (`activateGuildFromServerRail`, Enter/Space on server rail), composer recovery on guild load/`composer-focus-channel`/channel select, and `keyboard-guild-composer-audit.js`; smoke: `npm run test:keyboard-guild-composer-nav`.
|
- 2026-06-02 - Completed P410-28 with keyboard guild switch (`activateGuildFromServerRail`, Enter/Space on server rail), composer recovery on guild load/`composer-focus-channel`/channel select, and `keyboard-guild-composer-audit.js`; smoke: `npm run test:keyboard-guild-composer-nav`.
|
||||||
- 2026-06-02 - Completed P410-27 with `reduced-motion-audit.js` registry (8 surfaces), P410-27 CSS block for popovers/toasts/hover previews, `prefersReducedMotion()` toast fast-path; smoke: `npm run test:reduced-motion-popover-toast-hover`.
|
- 2026-06-02 - Completed P410-27 with `reduced-motion-audit.js` registry (8 surfaces), P410-27 CSS block for popovers/toasts/hover previews, `prefersReducedMotion()` toast fast-path; smoke: `npm run test:reduced-motion-popover-toast-hover`.
|
||||||
- 2026-06-02 - Completed P410-26 with `toolbar-popover-aria-audit.js` registry (18 surfaces), shared `toolbar-roving.js` chip/button roving, audit/role-filter/message-selection bar keyboard gaps closed; smoke: `npm run test:toolbar-popover-aria-audit`.
|
- 2026-06-02 - Completed P410-26 with `toolbar-popover-aria-audit.js` registry (18 surfaces), shared `toolbar-roving.js` chip/button roving, audit/role-filter/message-selection bar keyboard gaps closed; smoke: `npm run test:toolbar-popover-aria-audit`.
|
||||||
|
|||||||
Reference in New Issue
Block a user