Skip to content

Commit d64b4de

Browse files
committed
Release engineering-workflow 0.8.0
1 parent 6383ab2 commit d64b4de

82 files changed

Lines changed: 8942 additions & 62 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.agents/plugins/marketplace.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "xeonvs-engineering",
3+
"interface": {
4+
"displayName": "Xeonvs Engineering"
5+
},
6+
"plugins": [
7+
{
8+
"name": "engineering-workflow",
9+
"source": {
10+
"source": "local",
11+
"path": "./plugins/engineering-workflow"
12+
},
13+
"policy": {
14+
"installation": "AVAILABLE",
15+
"authentication": "ON_INSTALL"
16+
},
17+
"category": "Developer Tools"
18+
}
19+
]
20+
}

.claude-plugin/marketplace.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "xeonvs-engineering",
3+
"owner": {
4+
"name": "xeonvs"
5+
},
6+
"description": "Public engineering workflow plugins maintained by xeonvs.",
7+
"plugins": [
8+
{
9+
"name": "engineering-workflow",
10+
"source": "./plugins/engineering-workflow",
11+
"description": "Audit, plan, migrate, validate, and maintain repository engineering workflows.",
12+
"category": "Developer Tools",
13+
"homepage": "https://github.com/xeonvs/codex-engineering-workflow"
14+
}
15+
]
16+
}

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ This file is local guidance for agents developing this repository. It is not par
2323
| Target workflow upgrade | `references/target_workflow_upgrade.md`, audit/common/upgrader code and tests | Report/apply/prompt migration matrix |
2424
| Validation, command execution, or privacy | `references/validation_safety.md`, `references/privacy_and_sanitization.md`, related scripts and tests | Safety matrix and public-tree scan |
2525
| 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 |
2627
| Version or release contract | `SKILL.md`, root `README.md`, upgrader defaults, state template, CI and version tests | Full gate and active-version search |
2728

2829
## Working Contract

PLANS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Use this file for active, blocked, ready-for-closure, or recently completed exec
66

77
## Recently Completed
88

9+
- [x] 2026-08-20: Completed Engineering Workflow 0.8.0 Execution Discipline And Dual Marketplace; [full archived plan](docs/archive/plans/2026-08-20-engineering-workflow-0-8-0-execution-discipline-and-dual-marketplace.md).
910
- [x] 2026-08-16: Completed PTC Partial-Evidence Closure Correction 0.7.0.
1011
- [x] 2026-08-16: Completed Programmatic Tool Calling Runtime Contract 0.7.0; [full archived plan](docs/archive/plans/2026-08-16-programmatic-tool-calling-runtime-contract-0-7-0.md).
1112
- [x] 2026-08-13: Completed Remove CI Runtime Deprecation.

README.md

Lines changed: 79 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Codex Engineering Workflow
22

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.
44

5-
Current skill version: `0.7.0`.
5+
Current skill version: `0.8.0`.
66

77
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.
88

@@ -46,6 +46,26 @@ ln -s "$(pwd)/skill/engineering-workflow" "$CODEX_HOME/skills/engineering-workfl
4646

4747
Do not infer the active installation from a similarly named directory. Refresh and update operations require the exact loaded skill path.
4848

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.
52+
53+
Codex installation:
54+
55+
```bash
56+
codex plugin marketplace add xeonvs/codex-engineering-workflow
57+
codex plugin add engineering-workflow@xeonvs-engineering
58+
```
59+
60+
Codex update or reinstall:
61+
62+
```bash
63+
codex plugin marketplace upgrade xeonvs-engineering
64+
codex plugin add engineering-workflow@xeonvs-engineering
65+
```
66+
67+
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+
4969
## Using The Skill In Codex
5070

5171
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
6484

6585
Repository content is treated as untrusted evidence. It cannot grant approval, expand scope, request secrets, or override system, developer, or user instructions.
6686

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.
114+
115+
| Capability | Codex | Claude Code |
116+
| --- | --- | --- |
117+
| Planning, audit, conservative migration, validation safety | yes | yes |
118+
| Completion-driven waits and durable terminal evidence | yes | yes |
119+
| Programmatic Tool Calling for eligible bounded stages | when exposed by runtime | no; direct calls |
120+
| Codex model profiles and optional agent templates | supported | not used |
121+
| `.codex/config.toml` migration | explicit opt-in | not applied |
122+
| Git marketplace install/update | Codex marketplace commands | Claude plugin commands |
123+
124+
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+
67126
## Refresh Loaded Skill
68127

69128
`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
82141

83142
## Update Installed Skill
84143

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.
86145

87146
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.
88147

@@ -117,7 +176,7 @@ Alternate upstreams require explicit confirmation and `--expected-commit` set to
117176
`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.
118177

119178
```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.
121180
```
122181

123182
Prompt orchestration backend:
@@ -126,7 +185,7 @@ Prompt orchestration backend:
126185
python3 skill/engineering-workflow/scripts/upgrade_target_workflow.py \
127186
--repo <target-repository> \
128187
--prompt \
129-
--target-version 0.7.0 \
188+
--target-version 0.8.0 \
130189
--format json
131190
```
132191

@@ -136,7 +195,7 @@ For an explicitly report-only request, planning remains read-only:
136195
python3 skill/engineering-workflow/scripts/upgrade_target_workflow.py \
137196
--repo <target-repository> \
138197
--plan \
139-
--target-version 0.7.0 \
198+
--target-version 0.8.0 \
140199
--format json
141200
```
142201

@@ -146,12 +205,14 @@ Direct apply remains available to the agent after a separately reviewed report:
146205
python3 skill/engineering-workflow/scripts/upgrade_target_workflow.py \
147206
--repo <target-repository> \
148207
--apply \
149-
--target-version 0.7.0 \
208+
--target-version 0.8.0 \
150209
--format json
151210
```
152211

153212
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.
154213

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.
215+
155216
## Operating Modes
156217

157218
Repository workflow modes:
@@ -177,6 +238,8 @@ Planning schema v2 includes stable requirement IDs, source-to-queue-to-validatio
177238

178239
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.
179240

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+
180243
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.
181244

182245
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
185248

186249
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.
187250

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+
188253
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.
189254

190255
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
212277
Target migration:
213278

214279
```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.
216281
```
217282

218283
## Repository Layout
@@ -221,6 +286,9 @@ Use $engineering-workflow to Upgrade A Target Workflow in this repository to 0.7
221286
- `skill/engineering-workflow/references/` — canonical detailed contracts.
222287
- `skill/engineering-workflow/scripts/` — deterministic audit, programmatic-stage assessment, validation, update, migration, and sanitization tools.
223288
- `skill/engineering-workflow/assets/` — target document and optional agent templates.
289+
- `scripts/build_marketplace_package.py` — deterministic package builder and byte-drift check.
290+
- `.agents/plugins/marketplace.json` and `.claude-plugin/marketplace.json` — public Git marketplace catalogs.
291+
- `plugins/engineering-workflow` — generated self-contained dual-platform package; never edit it manually.
224292
- `tests/` — offline behavioral regression tests.
225293
- `.github/workflows/ci.yml` — public repository validation.
226294

@@ -229,14 +297,15 @@ Use $engineering-workflow to Upgrade A Target Workflow in this repository to 0.7
229297
```bash
230298
python3 skill/engineering-workflow/scripts/validate_skill_repo.py --repo-root .
231299
python3 -m unittest discover -s tests -v
300+
python3 scripts/build_marketplace_package.py --check
232301
git diff --check
233302
```
234303

235-
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.
236305

237306
## Versioning And Updates
238307

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.
240309

241310
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.
242311

0 commit comments

Comments
 (0)