docs: update OpenWiki - #1739
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a962ec2ecf
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| - Uploads workspace objects to `.media-scratch/` via the workspace broker (added to checkpoint exclusions in workspace-policy.json) | ||
| - Invokes the agent-media Lambda through the root-owned loopback relay | ||
| - Validates workspace-relative paths against traversal, backslashes, and control characters | ||
| - Removes scratch objects on all exit paths (important for transcription: the transport copy is someone's voice) |
There was a problem hiding this comment.
Do not claim scratch cleanup covers failures
When psd-media or psd-transcribe fails after uploading an input, their catch blocks call fail(), which invokes process.exit(1) before the surrounding finally can run (media.js:166-170, transcribe.js:126-131). The scratch object therefore remains as a current S3 object, and the workspace bucket has no current-version expiration rule for .media-scratch/. Correct the underlying cleanup flow and regenerate this passage, or stop promising removal on all exit paths—especially because this guarantee is presented as protecting voice recordings.
AGENTS.md reference: AGENTS.md:L418-L418
Useful? React with 👍 / 👎.
Automated OpenWiki documentation update via the org reusable
workflow (PSD401/.github → reusable-openwiki.yml, openwiki@0.3.3).
Scoped to
openwiki/only.