Repository navigation
Closed
Labels
Description
Parent
What to build
The operations an agent reaches for and does not find.
- Archiving a map. Closing a map's issue is the only archive gesture that exists, and afterwards every command reports that the map does not exist — which is both wrong and unrecoverable from the CLI. Give archiving a name: archive a map, list archived maps, bring one back.
- Map type restrictions. A map's allowed step types are enforced by validation but cannot be set. Under the filesystem backend the escape hatch is editing the map's configuration file; under GitHub it is hand-editing structured data inside an issue body, which nothing documents and no agent will find.
- Artifact scope without an environment variable.
contexthas no map flag, so addressing an artifact by its ref is reachable only by settingWAYFUL_MAP. An agent should not have to mutate its environment to read one artifact. - Read parity. Goals are the only primitive without a
show. Dereferencing a ref is implemented in both backends but reachable only over HTTP from the UI, sowayful artifact showreports a ref and a kind and never its content.
Acceptance criteria
-
wayful map archive --map <name>archives a map;wayful map listno longer lists it andwayful map list --alldoes. - After archiving, a map-scoped command against that map reports it as archived and names how to restore it, rather than reporting that it does not exist.
-
wayful map unarchive --map <name>restores the map with its steps and goals intact. -
wayful map createaccepts an allowed-step-types restriction, andwayful step createwith an excluded type is refused. - A command sets and clears that restriction on an existing map, and
wayful map showreports the current value. -
wayful context 'file:docs/spec.md' --map <name>renders artifact scope with noWAYFUL_MAPset. -
wayful goal showreports a goal's description, body, required output slots, and current attachments. - A command prints the content behind an attached markdown
file:ref, and refuses a ref that is not attached on the map. - Every new command works identically under both backends, except where the behaviour is inherently backend-specific.
Blocked by
None (can start immediately).
Activity