Run Agmente Codex E2e
Testing & Qualityrun-agmente-codex-e2eRun Agmente Codex E2e is an Agent Skill for testing & quality published in the rebornix/Agmente repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Run Agmente iOS end-to-end tests against a local Codex app-server endpoint, validate Codex thread/turn protocol flow, and perform mandatory cleanup.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/rebornix/Agmente/blob/HEAD/.github/skills/run-agmente-codex-e2e/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/run-agmente-codex-e2e, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Run Agmente Codex App-Server E2E
Use this skill when the user asks to run Agmente E2E against OpenAI Codex app-server.
Inputs
scenario:sanity(default),add-server,turn-sendport: default9000simulatorID: defaultBE205EA8-B26C-44C2-B52B-B49141678273codexCommand: defaultcodex app-server(override via first arg tostart_codex.shorCODEX_APP_SERVER_CMD)npxTag: package tag for@rebornix/stdio-to-ws(latestby default, override via third arg orAGMENTE_E2E_NPX_TAG)
Workflow
- Start local Codex bridge in background:
./.github/skills/run-agmente-codex-e2e/scripts/start_codex.sh "<codexCommand>" <port> <npxTag>
- Build and run in simulator:
- Use XcodeBuildMCP
build_run_simwith Agmente defaults.
- Use XcodeBuildMCP
- Execute UI steps:
- Follow
references/ui-checklist.md. - Set server type to
Codex App-Server. - Call
describe_uibefore each tap. - Prefer tap by
idorlabel.
- Follow
- Validate protocol behavior from bridge logs:
- Confirm sequence:
initialize->initialized->thread/list->thread/start->turn/start->turn/started->turn/completed. - Confirm streamed notifications arrive (
item/*and/orcodex/event/*).
- Confirm sequence:
- Cleanup always (success or failure):
./.github/skills/run-agmente-codex-e2e/scripts/cleanup.sh <simulatorID> <port>
Constraints
- Do not skip cleanup.
- Use a valid host working directory (for example
/path/to/your/workspace). - Do not rely on guessed coordinates from screenshots.
- Prefer deterministic selectors and
describe_ui.
References
- UI and validation checklist:
references/ui-checklist.md