Repository navigation
docs: map agent definition warnings and worktree removal on archive in the pstack adapter - #145
Conversation
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 48007d590d
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ac7710fb5f
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
@codex review |
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Merge evidence for head
|
Part of #13 and #8.
Updates
docs/fork/pstack-adapter.mdfor #137 (agent definitions in the context popup) and #138 (subagent worktrees removed when their family is archived), and re-pins the citations that #119 and #125 moved. The page now says what forkmainat77b20734d2does.okdefinition's warnings under its name and the other files as issues, and that a definition with warnings turns the indicator to its warning color.HEADand branch reflogs reach a commit on no other branch or remote, and keeps them all when the workspace agent is unreachable or older than the server;ContextUsageIndicator.tsx,fork_family_lock.go,auto_archive.go,fork_isolation_cleanup.go, and the agent's delete checks infork_worktrees.go. feat: accept secret answers to descendant questions outside chat messages #119 and feat(coderd): expire chat secret answers after 24 hours #125 moved ranges infork_chat_questions.go,fork_chat_routes.go, andfork_descendant_questions.go, and they are updated. feat(coderd): expire chat secret answers after 24 hours #125 (secret answers expire after 24 hours) needs no prose, because the page doesn't cover secret answers yet. The header names77b20734d2.Validation
5a47dc7bedto77b20734d2: the moved ranges are updated, and the two changed ones (fork_chat_routes.go:53,fork_chat_questions.go:29-72) were re-read and re-cited.markdownlint-cli20.16.0 on the page: 0 errors. The added lines have no em dashes, en dashes, spaced double hyphens, or semicolons outside .77b20734d2, as a member, withfork-agent-definitions(feat(site/src): show agent definition warnings in the context popup #137) andfork-subagent-isolation(feat(coderd/x/chatd): remove subagent worktrees when their family is archived #138) enabled:w7-ok.md,w7-warn.md(no description and an unknownflavorkey), andw7-bad.md(nameW7_Bad) in~/.coder/agents, the context popup showed Agent definitions with the/home/coder/.coder/agentsdirectory,w7-ok, andw7-warnwithmissing description; unknown front-matter field "flavor" ignoredunder it, andw7-bad.mdunder Issues withagent name "W7_Bad" is not kebab-case.w7-ok.mdandw7-warn.md, the indicator had the warning color and its label ended withSome agent definitions have warnings.With onlyw7-ok.md, it had neither.worktreechildren in a scratch repo. One only ranpwd, the other wrote an untrackednote.txt. AfterPATCH /api/v2/chats/{root}witharchived: true, the clean child's worktree and branch were gone within 45 seconds, the dirty child's were kept, and the root chat got the noticeArchiving this chat kept 1 subagent git worktree(s)...naming the path, the branch, andhas 1 uncommitted or untracked changes; commit or discard them first.