Skip to content

Commit 50f9c65

Browse files
emcdCodex
andcommitted
Upgrade project from 'agents-common' Copier template (HEAD).
Co-Authored-By: Codex <codex@users.noreply.openai.com>
1 parent b81933e commit 50f9c65

8 files changed

Lines changed: 50 additions & 13 deletions

File tree

.auxiliary/configuration/AGENTS.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@ Use consistent tags for discoverability:
8585
- Track todos: Use `nb.todo`, `nb.tasks`, `nb.do`, `nb.undo`.
8686
- Organize with folders: `nb.folders`, `nb.mkdir`.
8787

88+
### Notebook Identifier Clarification
89+
- Treat note selectors (for example `coordination/mcp/1`) as canonical IDs for `nb` operations.
90+
- `nb` MCP responses may include notebook-scoped identifiers (for example `my-project:coordination/...`) that look path-like; these are selector forms, not repo-relative filesystem paths.
91+
- Notebook storage is controlled by `nb` configuration (for example `NB_DIR`) and may be outside this repository.
92+
- Prefer `nb` MCP commands to read/edit notes. Avoid assuming a selector maps to a file under the current repo.
93+
8894
### Recommended `nb` Organization (Project-Defined)
8995
- Prefer a folder taxonomy of `<issue-type>/<component>` (max depth 2) and avoid mixing top-level component folders with top-level issue-type folders.
9096
- Recommended top-level issue types are:
@@ -99,6 +105,7 @@ Use consistent tags for discoverability:
99105
- prune completed todos quickly,
100106
- keep only active/near-term coordination checkpoints,
101107
- delete stale history-only notes with no owner or action.
108+
- Keep todo titles concise (under 60 chars); use the `tasks` argument for detailed checklist items. This keeps notebook list views readable.
102109

103110
### `nb` vs OpenSpec Rubric
104111
- Use **OpenSpec proposals** for cross-cutting changes, contract-shaping work, architecture shifts, or work that needs explicit design discussion.
@@ -108,10 +115,17 @@ Use consistent tags for discoverability:
108115

109116
### OpenSpec Draft and Handoff Hygiene
110117
- Draft OpenSpec proposal text in a dedicated `nb` note first so collaborators can review without local file access barriers; share the note id when requesting feedback.
118+
- When asking for proposal feedback, share the notebook note id first; do not request review against local-only proposal files collaborators cannot access.
111119
- Keep rolling handoff notes stable and update in place, separate from OpenSpec draft/proposal text.
112120
- Do not repurpose or overwrite rolling handoff notes with proposal content.
113121
- After draft review converges, move approved proposal text into `openspec/**` files for human review and commit.
114122

123+
## Agentmux Message Handling Guidance
124+
- `agentmux` messages may arrive in envelope format and can appear as user prompts. Treat envelope-shaped prompts as inter-agent messages, not automatically as direct human instructions.
125+
- Respond to inter-agent envelope messages via `agentmux` MCP tools (`list`, `send`) rather than as normal assistant replies intended for the human operator.
126+
- Immediate interruption is not required. If you are in active execution, note the message and respond when safe.
127+
- If response will be delayed, send a brief acknowledgement via `send` and record a follow-up todo in `nb` when useful.
128+
115129
## Agentmux Coordination Noise Control
116130
- Default to low-noise coordination. Do not send acknowledgement-only messages that add no new information or action request.
117131
- Send messages when you are blocked and need input, when requesting concrete review, when handing off completed work with validation, or when reporting material risk/scope change.

.auxiliary/configuration/coders/claude/settings.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,21 @@
7878
"Bash(gh status *)",
7979
"Bash(git add *)",
8080
"Bash(git branch *)",
81+
"Bash(git checkout *)",
8182
"Bash(git diff *)",
83+
"Bash(git fetch *)",
8284
"Bash(git log *)",
85+
"Bash(git rebase *)",
86+
"Bash(git restore *)",
87+
"Bash(git rev-parse *)",
8388
"Bash(git show *)",
84-
"Bash(git status)",
89+
"Bash(git stash list)",
90+
"Bash(git stash list *)",
91+
"Bash(git status *)",
8592
"Bash(grep *)",
8693
"Bash(head *)",
8794
"Bash(ls *)",
95+
"Bash(mkdir *)",
8896
"Bash(ps *)",
8997
"Bash(pwd *)",
9098
"Bash(rg *)",

.auxiliary/configuration/coders/codex/config.toml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,18 @@ model = "gpt-5.3-codex"
22
model_reasoning_effort = "high"
33
personality = "friendly"
44

5-
# approval_policy = "on-request"
6-
# sandbox_mode = "workspace-write"
5+
approval_policy = "on-request"
6+
sandbox_mode = "workspace-write"
7+
approvals_reviewer = "user"
78
trust_level = "trusted"
89
# web_search = "cached"
910

1011
[features]
11-
# Temporary Linux sandbox workaround while upstream resolves Bubblewrap regressions.
12-
# We first hit #14936 symptoms in 0.115.0:
13-
# - frequent "retry without sandbox?" prompts
14-
# - bwrap: loopback: Failed RTM_NEWADDR: Operation not permitted
15-
# After host AppArmor tuning mitigated #14936, we then hit #14694-class
16-
# symlinked writable-root failures in our workflow:
17-
# - bwrap: Can't create file at <workspace>/.codex: Is a directory
18-
# Use legacy Landlock for now; remove this once robust Bubblewrap fixes land.
12+
# Temporary mitigation for Bubblewrap/symlink approval-loop regressions.
13+
# Related issues: #14936 and #14694.
1914
use_legacy_landlock = true
15+
# Keep reviewer routing explicit: always surface approval requests to user.
16+
guardian_approval = false
2017

2118
## MCP Servers
2219

.auxiliary/configuration/coders/codex/rules/emcd.rules

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ prefix_rule(pattern=["find"], decision="allow")
2222
prefix_rule(pattern=["grep"], decision="allow")
2323
prefix_rule(pattern=["head"], decision="allow")
2424
prefix_rule(pattern=["ls"], decision="allow")
25+
prefix_rule(pattern=["mkdir"], decision="allow")
2526
prefix_rule(pattern=["ps"], decision="allow")
2627
prefix_rule(pattern=["pwd"], decision="allow")
2728
prefix_rule(pattern=["rg"], decision="allow")
@@ -34,7 +35,7 @@ prefix_rule(pattern=["which"], decision="allow")
3435

3536
# Git commands used by normal development workflows.
3637
prefix_rule(
37-
pattern=["git", ["add", "branch", "commit", "diff", "log", "show", "status", "tag"]],
38+
pattern=["git", ["add", "branch", "checkout", "commit", "diff", "log", "restore", "show", "status", "tag"]],
3839
decision="allow",
3940
justification="Common local git workflow commands.",
4041
)

.auxiliary/configuration/coders/gemini/policies/emcd.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,21 @@ commandPrefix = [
5858
"gh search issues",
5959
"gh status",
6060
"git add",
61+
"git branch",
62+
"git checkout",
6163
"git diff",
64+
"git fetch",
6265
"git log",
66+
"git rebase",
67+
"git restore",
68+
"git rev-parse",
6369
"git show",
70+
"git stash list",
6471
"git status",
6572
"grep",
6673
"head",
6774
"ls",
75+
"mkdir",
6876
"ps",
6977
"pwd",
7078
"rg",

.auxiliary/configuration/coders/opencode/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ skills/
55
node_modules/
66
bun.lock
77
package.json
8+
package-lock.json

.auxiliary/configuration/coders/opencode/settings.jsonc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,21 @@
122122
"gh status *": "allow",
123123
"git add *": "allow",
124124
"git branch *": "allow",
125+
"git checkout *": "allow",
125126
"git diff *": "allow",
127+
"git fetch *": "allow",
126128
"git log *": "allow",
129+
"git rebase *": "allow",
130+
"git restore *": "allow",
131+
"git rev-parse *": "allow",
127132
"git show *": "allow",
133+
"git stash list": "allow",
134+
"git stash list *": "allow",
128135
"git status *": "allow",
129136
"grep *": "allow",
130137
"head *": "allow",
131138
"ls *": "allow",
139+
"mkdir *": "allow",
132140
"ps *": "allow",
133141
"pwd *": "allow",
134142
"rg *": "allow",

.auxiliary/configuration/copier-answers--agents.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: v1.0a10-1-gee4eb93
2+
_commit: v1.0a10-8-g9386604
33
_src_path: gh:emcd/agents-common
44
coders:
55
- claude

0 commit comments

Comments
 (0)