Commit 02f3636
feat: add component filtering and increase ring buffer capacity
- Add `component` field to `LogQueryOptions` for per-component log filtering
- Apply component filter in `LogRingBuffer.since()` before pushing entries
- Bump `LOG_RING_BUFFER_CAPACITY` from 1000 to 5000 for increased log producers
- Map `category` query param to `component` in the logs API handler
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: enhance hook event logging with info and debug levels
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: enhance context injection logging with info and debug detail
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: route MCP tool activity logging through daemon
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
feat: add component filter chips and increase log capacity in viewer
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: add logging audit points across pipeline, consolidation, digest, and lifecycle
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
refactor: code review cleanup for logging enhancement
- Extract LOG_PROMPT_PREVIEW_CHARS and LOG_MESSAGE_PREVIEW_CHARS constants
- Merge duplicate log lines (consolidation, extraction, embedding)
- Deduplicate session register and stop event logs
- Cache daemon port in MCP server's postToDaemon (avoid fs reads per call)
- Add DaemonLogger.log() method to eliminate duplicated dispatch pattern
- Move LEVEL_ORDER/LOG_LEVELS to shared ui/src/lib/constants.ts
- Make availableCategories incremental instead of full-scan on every poll
- Move searchStart after early-return guard
- Use DAEMON_CLIENT_TIMEOUT_MS constant in MCP server
- Remove redundant inline comment in api/logs.ts
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
feat: enhance operation handling with force digest capability
- Added `onForceDigest` callback to `OperationHandlerDeps` to signal metabolism timer for bypassing substrate threshold.
- Updated `handleDigest` function to trigger full cycle processing when `options.full` is set and `onForceDigest` is provided, ensuring items are reset to pending status.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent eb41ade commit 02f3636
File tree
13 files changed
+352
-56
lines changed- src
- daemon
- api
- intelligence
- mcp
- tests/daemon
- ui/src
- lib
- pages
13 files changed
+352
-56
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
156 | 158 | | |
157 | 159 | | |
158 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
159 | 170 | | |
160 | 171 | | |
161 | 172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
229 | 233 | | |
230 | 234 | | |
231 | 235 | | |
| |||
319 | 323 | | |
320 | 324 | | |
321 | 325 | | |
322 | | - | |
| 326 | + | |
323 | 327 | | |
324 | 328 | | |
325 | 329 | | |
| 330 | + | |
326 | 331 | | |
327 | 332 | | |
328 | 333 | | |
| |||
334 | 339 | | |
335 | 340 | | |
336 | 341 | | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
337 | 346 | | |
338 | 347 | | |
339 | 348 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
342 | 350 | | |
343 | 351 | | |
344 | 352 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
68 | 75 | | |
69 | 76 | | |
70 | 77 | | |
| |||
0 commit comments