@markjaquith/agency 2.52.1 → 2.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -10,7 +10,7 @@ read or write.
10
10
  - [Bun](https://bun.sh) 1.0 or newer
11
11
  - Git
12
12
  - [Jujutsu](https://jj-vcs.github.io/jj/) is preferred when available
13
- - [GitHub CLI](https://cli.github.com/) for `agency pr create`
13
+ - [GitHub CLI](https://cli.github.com/) for `agency pr`
14
14
  - OpenCode, Claude Code, or a configured runner for `agency work`
15
15
 
16
16
  ## Installation
@@ -401,7 +401,8 @@ agency task new
401
401
  agency validate
402
402
  agency context tasks/refresh-copy --json
403
403
  agency work tasks/refresh-copy
404
- agency pr create refresh-copy
404
+ cd tasks/refresh-copy
405
+ agency pr create --fill
405
406
  ```
406
407
 
407
408
  After cloning an existing workbase on another machine, restore its declared
@@ -476,10 +477,10 @@ priority ready unit in human output.
476
477
  execution unit. Excluded entries retain status, terminal state, `blockedBy`, and
477
478
  detailed dependency, validation, or status blockers for orchestrators.
478
479
 
479
- `agency work` and `agency pr create` consult this shared readiness model before
480
- materializing or pushing. Blocked, done, and dropped targets are rejected unless
481
- `--force` is supplied explicitly. PR creation permits active `working` and
482
- `delegated` targets when they have no dependency or validation blocker.
480
+ `agency work` consults this shared readiness model before materializing. Blocked,
481
+ done, and dropped targets are rejected unless `--force` is supplied explicitly.
482
+ `agency pr` leaves command semantics to `gh`; run `agency context . --json` first
483
+ when readiness or validation state needs inspection.
483
484
 
484
485
  ### Reconciliation
485
486
 
@@ -803,7 +804,7 @@ for restoration. Archived IDs are reserved until restored.
803
804
  agency work [<directory> | --epic <epic-id>] [--runner <name>] [--auto] [--print-command]
804
805
  agency work prepare [target] [--dry-run] [--json]
805
806
  agency worktree <list|inspect|prepare|remove|rebuild|repair>
806
- agency pr create <task-id> [phase-id] [--draft] [--json]
807
+ agency pr [args...]
807
808
  ```
808
809
 
809
810
  `agency work` presents the full hierarchy in the native OpenTUI selector or the
@@ -849,9 +850,9 @@ Agency resolves the ref to a commit and creates a detached worktree. Existing
849
850
  reference worktrees are reused only while their commit still matches the declared
850
851
  ref; use a commit SHA as `ref` when reproducibility matters.
851
852
 
852
- `agency pr create` requires a clean writable worktree. It pushes the branch,
853
- runs `gh pr create --fill`, and writes the returned GitHub PR URL into `pr` in
854
- the owning `TASK.md` or `PHASE.md`.
853
+ `agency pr` forwards every argument to `gh pr`. From an execution task or phase
854
+ directory, including descendants, it runs in that execution unit's authoritative
855
+ writable checkout. Otherwise it runs in the caller's current directory.
855
856
 
856
857
  ### Status and Validation
857
858