Skip to content

feat: Add opt-in redacted diagnostic logs - #141

Merged
hkwuks merged 7 commits into
mainfrom
feature/diagnostic-logs
Nov 13, 2026
Merged

hkwuks merged 7 commits into
mainfrom
feature/diagnostic-logs

Conversation

@hkwuks

@hkwuks hkwuks commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

Summary

Add opt-in TaskFlow diagnostic logging and local export so users can inspect host events without saving prompts, commands, paths, code, personal information, tool outputs or arbitrary capability names. Recording runs in a detached worker; exports are rebuilt from allowlisted fields. Include the Windows Codex hook launcher fix needed for the diagnostic hooks to run.

TaskFlow traceability

  • Task: TaskFlowDocs/achieved/2026-11-13-diagnostic-logs/
  • Scope: diagnostic controls, redacted events and export, host wiring, Windows launcher, documentation and tests. The separate capability-guidance task remains in progress on its own branch.
  • Base branch: main
  • Target repository: hkwuks/TaskFlow

Verification

  • Hooks workflow passed on Ubuntu, macOS and Windows for commit f89aab0.
  • git diff --check
  • Relevant Skill validation (quick_validate.py in WSL)
  • Results recorded in the TaskFlow Plan: Windows full smoke, WSL diagnostic tests, Linux full smoke before branch isolation, offline evals and a monitored real Codex session.

Review boundaries

  • No secrets or opaque remote payloads included; tests use synthetic strings.
  • No unrelated task or user files changed.
  • Remote/base assumptions are stated and origin/main was checked against GitHub.
  • Known limitations and follow-ups are documented: logging is best effort and stops near 1 MiB; export requires hard links; real tool-call events and other host sessions are not yet verified. A skill name mentioned in a shell command is not proof of a successful read.

@hkwuks
hkwuks marked this pull request as ready for review November 13, 2026 06:32
@hkwuks hkwuks changed the title Add opt-in redacted diagnostic logs feat: Add opt-in redacted diagnostic logs Nov 13, 2026
@hkwuks
hkwuks merged commit 7050a01 into main Nov 13, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant