Skip to content

[Gap]: No approval recipe; plan-feature lists booking and credits recipes for an approval goal #957

Closed

Description

@jimhoyd

From the third agent workflow trial (approval workflow task). Follows #913 and #932.

What you were trying to do

Plan an approval workflow from the installed tooling:

npx urlcode plan-feature "employees submit requests; reviewers approve or reject them; requesters see only their own" --project app --host-file host.mjs
npx urlcode recipes search "approval request reviewers"
npx urlcode recipes search approval

Where it broke down

  • No approval recipe. Both searches print No match for "approval request reviewers" / No match for "approval". recipes list has no approval or review recipe. Approval is the task every trial has run, and the store surfaces for it (by: others, members, readers, stamp) exist.
  • Unrelated recipes in the plan. The plan's applicable.recipes lists store-crud, protected-download, store-booking and store-credits, and its outline adds "declarative booking" and "declarative credits" notes. Their matched words are generic:
    - name: store-booking
      matched: [own, their, approve, reject, submit, reviewers]
    - name: store-credits
      matched: [own, their, approve, reject, submit, reviewers]
    - name: protected-download
      matched: [own, their, reviewers]

The store surfaces in the same plan (ownership, transitions by: others, membership, readers) were right, and the app was written from them. The recipe list was noise.

Expected: an approval recipe (an owned collection, submit, by: others approve/reject with members, a readers queue with showOwner, and sign-in steps fixtures), and recipe matching that doesn't rank booking or credits for an approval goal.

Code or YAML you had to write by hand

The whole approval app: 77 lines of YAML. It was valid on its first edit, and 34 fixtures pass.

What you could not verify

Where the booking and credits recipes' "approve/reject/submit/reviewers" matches come from (they are not in their tags). The recipe index wasn't read.

Runtime revision and environment

main f850492a (0.6.5), packed install, macOS, Node 26.10.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ai-first

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions