Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/cmd/ao/agent_bundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func buildCodexNTMBundle(skills []string) agentBundle {
Runtime: "codex-ntm",
Instructions: stitchInstructions(skills),
Skills: skills,
Bootstrap: "ao session bootstrap && ao inject --bead \"$BEAD\"",
Bootstrap: "ao session bootstrap && ao inject --bead \"$BEAD\"",
Reference: "skills-codex/agent-native",
}
}
Expand Down
5 changes: 5 additions & 0 deletions cli/cmd/ao/agent_bundle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ func TestBuildAgentBundle_CodexNTM(t *testing.T) {
if b.Runtime != "codex-ntm" {
t.Errorf("Runtime = %q, want codex-ntm", b.Runtime)
}
// Exact Bootstrap value — guards the codex-ntm struct literal against
// silent edits/drift (the field was the site of an unformatted-source fix).
if want := `ao session bootstrap && ao inject --bead "$BEAD"`; b.Bootstrap != want {
t.Errorf("codex-ntm Bootstrap = %q, want exactly %q", b.Bootstrap, want)
}
if !strings.Contains(b.Bootstrap, "ao session bootstrap") {
t.Errorf("codex-ntm Bootstrap must run `ao session bootstrap`, got %q", b.Bootstrap)
}
Expand Down
Loading