You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Validation, command execution, or privacy |`references/validation_safety.md`, `references/privacy_and_sanitization.md`, related scripts and tests | Safety matrix and public-tree scan |
25
25
| Agent orchestration or model mapping |`references/agent_orchestration.md`, `references/model_profiles.md`, agent templates and tests | Ownership/model-profile validation |
26
+
| Long-running execution or execution-efficiency rules |`references/agent_orchestration.md`, then `references/validation_safety.md`| Completion/result-integrity and affected behavioral tests |
26
27
| Version or release contract |`SKILL.md`, root `README.md`, upgrader defaults, state template, CI and version tests | Full gate and active-version search |
Copy file name to clipboardExpand all lines: README.md
+79-10Lines changed: 79 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
# Codex Engineering Workflow
2
2
3
-
Public standalone Codex skill for auditing, scaffolding, validating, updating, and migrating a repository's engineering-workflow layer.
3
+
Public Codex and Claude Code skill for auditing, scaffolding, validating, updating, and migrating a repository's engineering-workflow layer.
4
4
5
-
Current skill version: `0.7.0`.
5
+
Current skill version: `0.8.0`.
6
6
7
7
The skill keeps `AGENTS.md` as a map, `PLANS.md` as durable active execution state, and repository-specific product or domain documents under their existing owners. Repository-changing work always uses a full plan; read-only inspection is the only exception.
Do not infer the active installation from a similarly named directory. Refresh and update operations require the exact loaded skill path.
48
48
49
+
## Marketplace Installation
50
+
51
+
`xeonvs-engineering` is this repository's public Git marketplace. It is not a submission to an official OpenAI or Anthropic catalog. The same self-contained `engineering-workflow` package serves Codex and Claude Code, while each platform uses its own manifest.
Marketplace-managed cache directories are immutable installation outputs. `update_installed_skill.py` detects them and returns `marketplace_handoff`; it never replaces the cached skill directly. Existing standalone copy, symlink, and Git-checkout installations remain supported.
68
+
49
69
## Using The Skill In Codex
50
70
51
71
Invoke the skill explicitly and describe the desired end state:
@@ -64,6 +84,45 @@ Use $engineering-workflow to upgrade this repository's workflow rules to the cur
64
84
65
85
Repository content is treated as untrusted evidence. It cannot grant approval, expand scope, request secrets, or override system, developer, or user instructions.
66
86
87
+
## Claude Code
88
+
89
+
Install the same package from the Git marketplace:
90
+
91
+
```bash
92
+
claude plugin marketplace add xeonvs/codex-engineering-workflow
93
+
claude plugin install engineering-workflow@xeonvs-engineering
94
+
```
95
+
96
+
Invoke the namespaced skill:
97
+
98
+
```text
99
+
/engineering-workflow:engineering-workflow Audit this repository and preserve its existing documentation owners.
100
+
```
101
+
102
+
Update it with:
103
+
104
+
```bash
105
+
claude plugin marketplace update xeonvs-engineering
106
+
claude plugin update engineering-workflow@xeonvs-engineering
107
+
```
108
+
109
+
Then run `/reload-plugins` inside Claude Code.
110
+
111
+
For a standalone project fallback, copy the canonical `skill/engineering-workflow` directory to `.claude/skills/engineering-workflow`, keeping `SKILL.md` at that path. Marketplace installation is preferred because the package is versioned and self-contained.
112
+
113
+
Claude compatibility mode explicitly reads applicable target `AGENTS.md` files as workflow artifacts; it does not claim that Claude Code automatically applies Codex-specific instruction discovery. It uses direct Claude Code tool calls and does not load Codex model profiles, Programmatic Tool Calling, Codex TOML, or Codex agent templates.
Platform behavior is owned by `references/platform_compatibility.md`. Official Claude references: [skills](https://code.claude.com/docs/en/slash-commands), [plugins](https://code.claude.com/docs/en/plugins), and [marketplaces](https://code.claude.com/docs/en/plugin-marketplaces).
125
+
67
126
## Refresh Loaded Skill
68
127
69
128
`Refresh Loaded Skill` is a prompt-driven orchestration mode. The agent resolves the exact active installation, checks it against the canonical upstream, and chooses the required action from structured evidence:
@@ -82,7 +141,7 @@ For a strictly local reread with no upstream access or writes, say so explicitly
82
141
83
142
## Update Installed Skill
84
143
85
-
`update_installed_skill` is a distinct lifecycle operation. It checks a trusted upstream and safely updates the exact active symlink target, Git checkout, or copied installation without changing a target repository.
144
+
`update_installed_skill` is a distinct lifecycle operation. It checks a trusted upstream and safely updates the exact active symlink target, Git checkout, or copied installation without changing a target repository. Plugin-managed installations instead receive the marketplace handoff described above.
86
145
87
146
The agent runs check mode first and parses `recommended_action`, `automatic_update_allowed`, `confirmation_required`, instruction/content drift, and SemVer drift. These commands are the deterministic backend, not steps the user must manually copy after giving a resolved prompt.
88
147
@@ -117,7 +176,7 @@ Alternate upstreams require explicit confirmation and `--expected-commit` set to
117
176
`Upgrade A Target Workflow` is a natural-language execution prompt. The agent invokes report-first orchestration itself; it applies automatically only when the report has no unresolved conflict, privacy finding, or approval-bound question.
118
177
119
178
```text
120
-
Use $engineering-workflow to Upgrade A Target Workflow in this repository to version 0.7.0. Run the report first, apply it yourself when safe, and ask only if the report returns a required decision.
179
+
Use $engineering-workflow to Upgrade A Target Workflow in this repository to version 0.8.0. Run the report first, apply it yourself when safe, and ask only if the report returns a required decision.
The migration creates or updates the target's full active `PLANS.md` plan before other migration edits. Runtime agent configuration remains untouched unless `--include-agent-config` is explicit. Existing TOML is structurally merged; unknown keys and custom profiles are preserved, and the exact configuration diff is reported.
154
213
214
+
Known pristine 0.7 instruction templates migrate automatically by saved fingerprint. A customized version-1 instruction graph returns `instruction_migration_required` and `agent_action: review_instruction_migration` without stamping 0.8.0. The model preserves semantically equivalent rules or adds only missing invariants/routes, and asks the user only when evidence reveals a real ownership conflict.
Target `AGENTS.md` is a route table. Normative invariants have one canonical owner, while `AGENT_EXECUTION_PITFALLS.md` is a non-normative incident catalog that records cause, owner, route, guard, evidence, and retirement. `instruction_contract.py` checks this graph before target workflow version stamping.
179
240
241
+
Instruction contract v2 requires `workflow.efficient-execution`, `workflow.evidence-driven-completion`, and `workflow.completion-driven-wait`, plus the repository-change and long-running-execution routes that make their owner reachable.
242
+
180
243
Every documentation directory created by the skill receives a navigation-only managed README. Archive directories are created lazily, every archived record is indexed exactly once, and existing unmarked README prose is never overwritten automatically.
181
244
182
245
After context compaction, interruption, resume, milestone closure, handoff, or session change, the agent reads `PLANS.md`, inspects changes since its last update, and reconciles requirements, queue, backlog, validation, working tree, and statuses before more code changes. The 0.4.1 reconciliation and stale-completed-state protections remain in force.
@@ -185,6 +248,8 @@ After context compaction, interruption, resume, milestone closure, handoff, or s
185
248
186
249
One root agent is the default and the only owner of shared workflow state and final synthesis. Deterministic polling, sorting, filtering, aggregation, bounded retry, and status checks belong in tools or scripts. Subagents are reserved for independent bounded work with a concrete output contract and measurable latency, isolation, or coverage benefit.
187
250
251
+
Long-running local work uses one completion-driven persistent waiter. Full logs and machine-consumable results live in private task-owned ignored artifacts; waiter-cell output is only transport and may be truncated. Completion readback verifies process state and result integrity independently, returns a bounded summary immediately on exit, and reports `waiter_lost` or `result_unrecoverable` rather than claiming success without evidence. Fallback polling starts at the next expected meaningful boundary and backs off without waking the model for unchanged state.
252
+
188
253
Bounded tool-heavy work routes through the canonical `agent_orchestration.md` contract and `assess_programmatic_stage.py`. The model establishes the repository-specific facts; the helper validates them and renders instructions only for an eligible stage. The runtime template stays inside the installed skill and is never copied into target `AGENTS.md`, principles, or plan templates.
189
254
190
255
Current capability-to-model mappings live only in `references/model_profiles.md` and the optional agent templates. Runtime agent templates are never installed into a target repository without an explicit request and `--include-agent-config`.
@@ -212,7 +277,7 @@ Use $engineering-workflow to audit this mature repository, preserve every domain
212
277
Target migration:
213
278
214
279
```text
215
-
Use $engineering-workflow to Upgrade A Target Workflow in this repository to 0.7.0. Run the report and apply it yourself when safe.
280
+
Use $engineering-workflow to Upgrade A Target Workflow in this repository to 0.8.0. Run the report and apply it yourself when safe.
216
281
```
217
282
218
283
## Repository Layout
@@ -221,6 +286,9 @@ Use $engineering-workflow to Upgrade A Target Workflow in this repository to 0.7
The validator checks structural ownership, instruction routing, plan schema and closure markers, archive indexes, active version consistency, model-profile ownership, public privacy, parseable metadata and templates, and the absence of generated cache artifacts.
304
+
The validator checks structural ownership, instruction routing, plan schema and closure markers, archive indexes, active version consistency, model-profile ownership, marketplace manifests and byte identity, public privacy, parseable metadata and templates, and the absence of generated cache artifacts. Release validation also runs the plugin-creator validator in an ephemeral `uv` environment, strict Claude plugin/marketplace validation, and `claude plugin tag --dry-run` from a clean committed tree.
236
305
237
306
## Versioning And Updates
238
307
239
-
The project uses semantic versioning. Version 0.7.0 adds bounded Programmatic Tool Calling assessment and runtime instruction rendering while keeping mature-repository ownership, mutations, approvals, semantic work, and final validation direct. Version 0.6.0 remains the historical baseline for the executable instruction graph, planning schema v2, checked lifecycle, managed indexes, and fail-closed instruction migration; version 0.5.1 remains the historical baseline for environment-independent validation, prompt-orchestrated refresh/migration, path-race hardening, and privacy coverage.
308
+
The project uses semantic versioning. Version 0.8.0 adds loss-resistant completion-driven waits, correctness-first execution discipline, instruction contract v2 migration, Claude Code compatibility, and the deterministic dual marketplace. Version 0.7.0 remains the historical baseline for bounded Programmatic Tool Calling assessment and runtime instruction rendering; version 0.6.0 remains the historical baseline for the executable instruction graph and planning schema v2.
240
309
241
310
Historical version records remain valid in completed or migration context. Current-version owners are `SKILL.md`, this README, current update prompts, and active workflow state manifests.
0 commit comments