Peter Steinberger
c500e8704f
fix(gateway): recover stale session lanes
2026-04-28 20:37:29 +01:00
Peter Steinberger
df4d3fa5a9
fix(logging): redact subsystem console output before colorizing
2026-04-28 07:36:50 +01:00
edwin-rivera-dev
f2df49ab4b
fix(logging): redact secrets at subsystem console sink ( #73284 )
...
createSubsystemLogger writes through writeConsoleLine, which intentionally
bypasses the patched console.* capture handler in src/logging/console.ts to
avoid recursion. That bypass also skipped the sink-boundary
redactSensitiveText() gate, so secrets reaching subsystem loggers as
message strings or formatted meta could appear verbatim on the terminal —
a follow-up to the file-transport redaction landed in #67953 , tracked
under #64046 .
Apply redactSensitiveText() at the writeConsoleLine() exit, immediately
after the existing Windows surrogate sanitization and before dispatching
to the rawConsole sink. This covers all subsystem console paths
(trace/debug/info/warn/error/fatal and .raw) because they share the same
writeConsoleLine() exit, matching the redact-at-sink-boundary pattern
already used in console.ts and the file transport.
Closes #73284
2026-04-28 07:36:50 +01:00
Peter Steinberger
738f5f7508
fix: prevent channel login exec wedges
2026-04-28 05:16:43 +01:00
Peter Steinberger
e1acb61317
refactor: expose SDK test helper subpaths
2026-04-28 03:28:17 +01:00
EVA
1adaa28dc8
[plugin sdk] Add generic plugin host-hook contracts ( #72287 )
...
Merged via squash.
Prepared head SHA: 68e5f2ce19
Co-authored-by: 100yenadmin <239388517+100yenadmin@users.noreply.github.com >
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com >
Reviewed-by: @jalehman
2026-04-27 17:07:02 -07:00
volcano303
f3e8c50df3
fix(agents): redact Control UI tool payload secrets ( #72319 )
...
Fixes #72283 .
- Redacts Control UI tool start args, partial/final result payloads, derived exec output, and patch summaries before event emission.
- Forces tool/UI payload redaction to include built-in patterns plus configured custom `logging.redactPatterns`.
- Covers object, details-only, primitive string, and top-level array tool-result shapes.
Tests:
- `pnpm test src/agents/pi-embedded-subscribe.tools.test.ts src/agents/pi-embedded-subscribe.handlers.tools.test.ts`
- `pnpm check:changed`
Co-authored-by: volcano303 <75143900+volcano303@users.noreply.github.com >
Co-authored-by: Val Alexander <bunsthedev@gmail.com >
2026-04-27 23:30:50 +01:00
Peter Steinberger
6a55a00da4
fix(agents): scope loop detection to runs
2026-04-27 12:59:54 +01:00
Peter Steinberger
7f3f108521
refactor(config): migrate plugin config access
2026-04-27 12:35:58 +01:00
Peter Steinberger
a4b97075ae
fix: align support URL redaction
2026-04-27 11:00:42 +01:00
Peter Steinberger
a0023f4978
fix(logging): redact URL query secrets
2026-04-27 10:56:47 +01:00
Peter Steinberger
e7432ae01d
fix: redact URL query credentials in diagnostics
2026-04-27 10:55:22 +01:00
Peter Steinberger
531a0ddfe4
fix(config): repair retired llm timeout key
2026-04-27 10:39:56 +01:00
Peter Steinberger
a95da5b52d
fix(models): enrich local transport failure diagnostics
2026-04-27 09:25:38 +01:00
Vincent Koc
d9e9e61e77
fix(logging): skip unserializable file log message parts
2026-04-26 15:01:19 -07:00
Vincent Koc
e8df081a1f
feat(logging): add file log correlation fields
2026-04-26 15:01:19 -07:00
Vincent Koc
3ae6f01d61
feat(logging): propagate request trace scopes
2026-04-26 14:13:14 -07:00
Vincent Koc
c6e9849351
feat(diagnostics): capture model call size timing
2026-04-26 13:43:22 -07:00
Vincent Koc
df542f75a9
fix(logging): expose trace fields in file logs
2026-04-26 12:52:04 -07:00
Vincent Koc
406ae72fd2
fix(logging): redact persisted transcript text
2026-04-26 12:12:44 -07:00
Vincent Koc
82ddcf24f5
feat(diagnostics): add harness lifecycle telemetry
2026-04-25 23:34:34 -07:00
Vincent Koc
cd89adf0ac
fix(logging): rotate file logs instead of suppressing
2026-04-25 22:55:33 -07:00
Vincent Koc
5d3168c343
fix(logging): read config path in bundled runtime
2026-04-25 22:21:15 -07:00
Vincent Koc
4cba24a4c3
fix(logging): redact console and file sinks
2026-04-25 21:50:00 -07:00
Peter Steinberger
27aedcfd56
style: format repository
2026-04-26 05:47:12 +01:00
Vincent Koc
2495585a32
feat(diagnostics-otel): add exporter health diagnostics
...
Adds diagnostics-otel exporter health events and signal-specific endpoint wiring, with docs and config schema coverage.
2026-04-25 18:34:44 -07:00
Peter Steinberger
03fd7df929
fix: remove duplicate diagnostic stability case
2026-04-25 20:21:39 +01:00
Peter Steinberger
47a63f7acf
fix(logging): merge duplicate context diagnostic case
2026-04-25 20:11:08 +01:00
Peter Steinberger
e9d9726f2d
fix: handle context assembled diagnostics
2026-04-25 19:54:28 +01:00
Peter Steinberger
cd8cb8254a
fix(logging): remove duplicate context diagnostic case
2026-04-25 19:39:20 +01:00
Peter Steinberger
2055e6ceba
fix(logging): include context assembly diagnostics in stability log
2026-04-25 19:39:20 +01:00
Peter Steinberger
0bf4876add
fix: sanitize assembled diagnostic context
2026-04-25 19:23:51 +01:00
Peter Steinberger
2b8105598e
perf: lazy load support bundle zip
2026-04-25 12:52:27 +01:00
Vincent Koc
bd32b1a906
feat(diagnostics): add outbound delivery lifecycle events
...
Add bounded outbound message delivery lifecycle diagnostics and OTEL export without message body, recipient, room, media path, or raw channel result data.
2026-04-25 01:26:34 -07:00
Vincent Koc
3e3bba4f30
feat(diagnostics): emit exec process telemetry ( #71451 )
2026-04-25 00:12:58 -07:00
Vincent Koc
3d554aefdf
fix(logging): keep log transport internals private ( #71322 )
...
* fix(logging): share transports across module instances
* fix(logging): share transports across module instances
* fix(logging): share transports across module instances
* fix(logging): remove global log transport hooks
* test(agents): capture diagnostic logs after module reset
2026-04-24 23:36:57 -07:00
Vincent Koc
139dfd97bb
fix(diagnostics-otel): export logs from diagnostic events
...
Export diagnostics OTEL logs through bounded diagnostic log events while keeping core log records off the public plugin diagnostic stream.\n\nIncludes security hardening for log payload redaction, bounded attributes, prototype-pollution keys, OTEL export failure reporting, and extension SDK seam usage.
2026-04-24 14:51:45 -07:00
Vincent Koc
7ba13fbc2b
fix(diagnostics): harden event emission ( #71164 )
2026-04-24 09:02:14 -07:00
Vincent Koc
0e7250f37b
feat(diagnostics): emit model call events
...
Emit structured diagnostic events for embedded run and model-call lifecycle with trace context, duration, and safe error categories.
2026-04-24 02:17:07 -07:00
Vincent Koc
cead2ea4b1
feat(diagnostics): emit tool execution events
...
Emit structured diagnostic events for tool execution lifecycle, with trace context, safe parameter summaries, and non-message error metadata.
2026-04-24 01:16:13 -07:00
Deepak Jain
a63939d295
fix(logging): tolerate malformed subsystem labels ( #70502 ) ( #70535 )
...
* fix(logging): tolerate malformed subsystem labels
Guard console subsystem filtering and probe suppression against malformed subsystem labels, and normalize bad subsystem names to a stable fallback during console emission.
Fixes #70502
* test(plugins): ignore extension test-support helpers in seam guardrail
Exclude extension files named *.test-support.ts from the plugin sdk seam guardrail so test-only helpers do not trip public seam enforcement on unrelated PRs.
2026-04-23 11:51:54 -07:00
scoootscooob
a3d9c53db2
feat: add trajectory bundle export and default-on runtime capture ( #70291 )
...
* Trajectory: export session bundles by default
* Harden trajectory export diagnostics integration
* Address trajectory export review feedback
* Share diagnostics and trajectory bundle plumbing
* Harden trajectory recording and export
* Confine trajectory export outputs
* Document trajectory export command
* Harden trajectory export bundle privacy
* Redact trajectory sidecar paths
* Fix plugin install checks after rebase
* Keep queued writers working without O_NOFOLLOW
* Keep Codex trajectory writes without O_NOFOLLOW
* Harden trajectory export path handling
* Redact mixed trajectory export paths
2026-04-22 23:29:01 -07:00
Peter Steinberger
596b88986d
chore: apply core lint cleanups
2026-04-23 05:30:49 +01:00
Peter Steinberger
9937452405
build: enable more zero-baseline oxlint rules
2026-04-23 05:03:58 +01:00
Peter Steinberger
2e40ca2c15
build: enable additional oxlint rules
2026-04-23 04:42:54 +01:00
Gustavo Madeira Santana
c992a8e5d8
Harden diagnostic stability bundle imports
2026-04-22 21:47:23 -04:00
Gustavo Madeira Santana
28818f9140
Improve gateway diagnostics export for support reports ( #70324 )
...
Merged via squash.
Prepared head SHA: 3d6ee85993
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com >
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com >
Reviewed-by: @gumadeiras
2026-04-22 20:47:14 -04:00
Peter Steinberger
053147451b
docs: generalize plugin runtime comments
2026-04-22 07:13:15 +01:00
Peter Steinberger
b70531bf24
docs: generalize core channel examples
2026-04-22 06:47:41 +01:00
Peter Steinberger
ef98bcf630
fix(discord): raise carbon slow listener threshold
2026-04-15 06:40:14 -07:00