Skip to content

feat: Codex harness in the kit with its harness doc (15.5.0) - #327

Merged
xjacka merged 1 commit into
mainfrom
claude/model-harness-cg-kit-653f86
Dec 3, 2026
Merged

xjacka merged 1 commit into
mainfrom
claude/model-harness-cg-kit-653f86

Conversation

@xjacka

@xjacka xjacka commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

What and why

DAM offers six harnesses. The kit declared four: codex and hermes were missing. This PR adds codex to the kit and gives it a harness doc, as copilot got in 15.2.3. hermes stays out for now.

Reviewer guide

  • Codex is a harness without an adapter, the same as Bob and Copilot. Tool failures are logged by hand. Tokens and effort are not measured.
  • Run id stays a manual export CG_RUN_ID=<id>; (open). Codex sets CODEX_THREAD_ID in each shell, but a subagent thread has its own id. So log.sh and review-pr.sh do not read it.
  • Version comes from codex --version, the last word of the first line. The format is not checked on a live DAM pod (open).
  • Benchmark report: a codex <ver> run is its own configuration. Without this, the report would compare a Codex run with Claude Code runs.
  • Where to look closely: the skills path in docs/harness-codex.md. It says Codex reads ~/.agents/skills/. This is not checked on a live pod.

Scope

  • kit.yaml — harnesses adds codex at the end. claude-code stays first, so a new agent still starts on Claude Code.
  • docs/harness-codex.md — new: detection, instructions, run id, config, subagents, skills, platform tools, tokens, effort, adapter.
  • docs/logging.md (adapter table), docs/runbook.md (map of docs/), README.md — name the new doc.
  • scripts/lib/harness.sh — cg_harness_version for codex.
  • scripts/benchmark-report.sh — harness_of knows codex.
  • scripts/review-pr.sh — the review footer writes Codex.
  • scripts/tests/test_benchmark_helpers.sh — new case provenance_on_codex.
  • VERSION 15.5.0, CHANGELOG.md entry.

Issue

No issue tracks this change.

Testing

  • scripts/tests/docker.sh over every test file that names a changed file: ALL TESTS PASSED.
  • bash -n on every changed script: OK.
  • Not tested: an agent on a live DAM Codex pod.

Add codex to kit.yaml harnesses: DAM offers it, and the definition now
documents it in docs/harness-codex.md (detection, instructions, run id,
subagents, skills, platform tools; no adapter, tokens not measured).

- lib/harness.sh: codex version from its own CLI (codex --version)
- benchmark-report.sh: codex runs form their own configuration
- review-pr.sh: the review footer names Codex
- test: provenance_on_codex

@dam-code-protector dam-code-protector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛡️ Code Guardian - Code guardian repo — ✅ Code Review @ 78b70d5

PR #327: feat: Codex harness in the kit with its harness doc (15.5.0)

Author: xjacka | Branch: claude/model-harness-cg-kit-653f86 → main | Changes: +61 −7 (11 files)

Summary

The kit declares the Codex harness and ships docs/harness-codex.md. The version source, the benchmark grouping, the review footer and one test also name Codex.
Limits: 3 skill(s) did not run: issue-fit, typescript-engineering, react-ui-engineering.

Findings

  • 🟢 Suggestion: Tokens bullet names an absent path (docs/harness-codex.md:28)

Human Review Guide

📊 Visual guide for the human reviewer — Whether the unchecked Codex version parse and skills path are safe to ship (about 15 min)

Documentation Check (doc-drift)

✅ No findings.

Agent Engineering

✅ No findings.

Verdict

APPROVE — The change is additive and tested. The two open points are documented, and they block no path in this repository.


Review by Code Guardian - Code guardian repo · automated code guardian · cb/rits/deepseek-ai/DeepSeek-V4.1-Flash-1017 on pi

Comment thread docs/harness-codex.md
- **Platform tools:** the definition names them
`mcp__platform-outbound__<tool>`; on Codex, call the platform-outbound
server's `<tool>` as the session's tool list names it.
- **Tokens:** no usage snapshot (`scripts/harness/codex/`) — the benchmark

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Suggestion: The Tokens bullet names scripts/harness/codex/, a directory the repository does not have. A reader looks for it in vain.

Reported by Agent Engineering.

Suggested change
- **Tokens:** no usage snapshot (`scripts/harness/codex/`) — the benchmark
- **Tokens:** no usage snapshot — the benchmark

@xjacka
xjacka merged commit cf6e051 into main Dec 3, 2026
3 checks passed
@xjacka
xjacka deleted the claude/model-harness-cg-kit-653f86 branch December 3, 2026 15:19
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.

1 participant