Skip to content

feat: add pane pid session evidence - #85

Merged
dapi merged 1 commit into
mainfrom
feature/issue-84-ft-046-pane-pid-codex-session-evidence
Jul 8, 2026
Merged

feat: add pane pid session evidence#85
dapi merged 1 commit into
mainfrom
feature/issue-84-ft-046-pane-pid-codex-session-evidence

Conversation

@dapi

@dapi dapi commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add optional PID-correlated Codex session evidence as a final sessions detect fallback after command evidence and indexed session_meta lookup fail.
  • Parse transient pane PID fields from zellij JSON and pass them through a resolver boundary without persisting PID/raw argv/env/process details.
  • Extend sessions detect --explain with redacted PID fallback verdict/source/reason fields while keeping default output unchanged.
  • Document the selected FT-046 adapter boundary and privacy rules.

Fixes #84

Checks

  • rg --files memory-bank
  • python3 scripts/check_memory_bank_index.py
  • git diff --check
  • rg -n "zelima|Zelima" . (only existing instruction/glossary references)
  • docker run --rm -v "$PWD:/work" -w /work golang:1.25 sh -lc '/usr/local/go/bin/gofmt -w internal/codex/session_evidence.go internal/codex/session_evidence_test.go internal/zellij/parse.go internal/zellij/parse_test.go internal/detection/detect.go internal/detection/detect_test.go internal/cli/cli.go internal/cli/cli_test.go && /usr/local/go/bin/go test ./internal/codex ./internal/zellij ./internal/detection ./internal/cli'\n- docker run --rm -v "$PWD:/work" -w /work golang:1.25 sh -lc '/usr/local/go/bin/go test ./...'\n\n## Notes\n\nLocal host PATH does not include Go; Go checks were run in the golang:1.25 Docker image with /usr/local/go/bin/go and /usr/local/go/bin/gofmt.\n

@dapi
dapi marked this pull request as ready for review July 8, 2026 19:14
@dapi
dapi merged commit 7da0527 into main Jul 8, 2026
2 checks passed
@dapi
dapi deleted the feature/issue-84-ft-046-pane-pid-codex-session-evidence branch July 8, 2026 19:14
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.

FT-046: Pane PID Codex Session Evidence

1 participant