Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
27f2fd3
Add one-command consumer seam initialization
justin808 Jul 10, 2026
2de13cb
Harden seam init input validation
justin808 Jul 10, 2026
dee98d7
Honor explicit seam init command updates
justin808 Jul 10, 2026
58f3ed8
Forward arguments from initialized wrappers
justin808 Jul 10, 2026
7c726b2
Preserve explicit seam init intent
justin808 Jul 10, 2026
78766c8
Harden JavaScript seam command handling
justin808 Jul 10, 2026
89bdfc5
Document compound seam command forwarding
justin808 Jul 10, 2026
2d691bb
Harden seam trust and shell handling
justin808 Jul 10, 2026
27ecdc6
Preserve consumer seam semantics during init
justin808 Jul 10, 2026
efaf05f
Harden explicit seam command generation
justin808 Jul 10, 2026
494d63e
Preserve managed wrappers during mode repair
justin808 Jul 10, 2026
0275087
Handle npm option prefixes during seam init
justin808 Jul 10, 2026
4efa478
Complete npm forwarding coverage for seam init
justin808 Jul 10, 2026
c30c0dd
Finish compound seam init presentation
justin808 Jul 10, 2026
0b322c7
Validate trust and npm lifecycle seams
justin808 Jul 10, 2026
76dfafa
Protect seam init Markdown boundaries
justin808 Jul 10, 2026
e3d412c
Validate seam branch and npm aliases
justin808 Jul 10, 2026
eb20518
Preserve trust compatibility in seam checks
justin808 Jul 10, 2026
4c0fc50
Harden seam command forwarding
justin808 Jul 10, 2026
4150751
Support npm run aliases in seam wrappers
justin808 Jul 10, 2026
f4f48cf
Share seam wrapper mode issue text
justin808 Jul 10, 2026
f8a2d3f
Preserve compatible seams during init
justin808 Jul 10, 2026
e58d629
Keep generated seam wrappers aligned
justin808 Jul 10, 2026
0020554
Harden seam command normalization
justin808 Jul 10, 2026
159c24a
Preserve subshell seam commands
justin808 Jul 10, 2026
a2e1367
Preserve env split-string commands
justin808 Jul 10, 2026
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ All notable changes to this portable workflow pack are documented here.

#### Added

- **Add `agent-workflow-seam-doctor --init` for conservative, fail-closed consumer seam scaffolding and immediate contract validation.**
- **Add an MIT license for the workflow pack and install the license notice with copied or symlinked agent homes.**
- **Add portable plan-review, type-design-review, manual-testing, benchmark-verification, and pr-monitoring skills adapted from `lucasfcosta/backpressured` workflow ideas.**
- **Add durable workflow solution docs, review finding schema, readiness vocabulary, autoreview target-state fixtures, and the optional `task-observer` skill.**
Expand Down
65 changes: 40 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,31 +134,46 @@ status/upgrade behavior.

## Consumer Repo Adoption

In each repository that should use these workflows:

1. Add or update `.agents/bin/` command wrappers.
2. Add `.agents/agent-workflow.yml` with the repo's non-command policy.
3. Add `.agents/trusted-github-actors.yml` for repo-specific maintainers,
trusted review bots, metadata-only workflow bots, or trusted teams.
4. Add the `## Agent Workflow Configuration` pointer section to `AGENTS.md`.
5. Add repo-local skills only for domain-specific workflows or intentional
overrides.
6. Validate the contract from the consumer repo:

```bash
agent-workflow-seam-doctor --shared "$HOME/src/agent-workflows"
```

If `agent-workflow-seam-doctor` is not on `PATH`, run it from this repo:

```bash
"$HOME/src/agent-workflows/bin/agent-workflow-seam-doctor" \
--root /path/to/consumer/repo \
--shared "$HOME/src/agent-workflows"
```

7. Dry-run one workflow, such as `$plan-pr-batch` or `$address-review`, without
making code changes.
From each repository that should use these workflows, initialize and validate a
starter seam in one command:

```bash
agent-workflow-seam-doctor --init --shared "$HOME/src/agent-workflows"
```

The initializer preserves existing repo-owned seam content. It detects executable
root `bin/validate` plus `bin/test`, or exact `validate` and `test` scripts for a
single detected npm, pnpm, or Yarn lockfile. When detection is not unambiguous,
it writes fail-closed wrappers and reports the commands that still need
configuration. Supply both commands explicitly to complete the seam in one run:

```bash
agent-workflow-seam-doctor --init \
--validate-command 'bin/validate' \
--test-command 'bin/test' \
--shared "$HOME/src/agent-workflows"
```

Simple explicit commands forward wrapper arguments automatically. Explicit
`npm run` commands add npm's `--` separator; `pnpm run` and `yarn run` pass the
arguments directly. Compound shell expressions are preserved verbatim; include
`"$@"` in the expression when it should receive wrapper arguments. `env -S`
and `env --split-string` commands are also preserved verbatim because their
split payload owns argument placement.

Files carrying the generated init marker are tool-owned. Supplying explicit
commands again rewrites both managed wrappers, so keep hand-written logic in the
target commands. To own a wrapper directly, replace it without the marker and
rerun initialization without explicit commands; later explicit replacement then
fails closed instead of overwriting it.

The generated `.agents/trusted-github-actors.yml` is intentionally empty and
fail-closed. Add only repo-specific maintainers, trusted bots, metadata-only
bots, or teams that the repository has deliberately approved. Add repo-local
skills only for domain-specific workflows or intentional overrides.

Finally, dry-run one workflow, such as `$plan-pr-batch` or `$address-review`,
without making code changes.

See [docs/adoption.md](docs/adoption.md) for the full adoption guide,
[docs/seam-design.md](docs/seam-design.md) for the design rationale, and
Expand Down
Loading
Loading