Refresh the framework-owned sections of a project's AGENTS.md after a Wagoe upgrade.
wagoe new renders AGENTS.md from a template that evolves with the
framework (new pitfalls, conventions, modules). This command re-renders the
marker-delimited blocks from the currently installed CLI's template and
splices them into the project file, leaving everything the user wrote
outside the markers untouched.
Synced from the template:
<!-- gen:fc-is --> FC/IS rules <!-- gen:naming --> case conventions <!-- gen:pitfalls --> common pitfallsThe two module blocks are rendered from the project's deps.edn and
config.edn instead, as wagoe new and wagoe add render them.
Refresh the framework-owned sections of a project's AGENTS.md after a Wagoe upgrade. `wagoe new` renders AGENTS.md from a template that evolves with the framework (new pitfalls, conventions, modules). This command re-renders the marker-delimited blocks from the currently installed CLI's template and splices them into the project file, leaving everything the user wrote outside the markers untouched. Synced from the template: <!-- gen:fc-is --> FC/IS rules <!-- gen:naming --> case conventions <!-- gen:pitfalls --> common pitfalls The two module blocks are rendered from the project's deps.edn and config.edn instead, as `wagoe new` and `wagoe add` render them.
(project-name-from-agents content)Project name from the AGENTS.md title line, or nil.
Project name from the AGENTS.md title line, or nil.
(update-agents-content current template substitutions states)Pure core of the update: returns {:content new-content :updated [...] :missing [...]}.
states are the project's modules as add/module-states returns them;
nil leaves the module blocks alone.
Pure core of the update: returns {:content new-content :updated [...] :missing [...]}.
`states` are the project's modules as `add/module-states` returns them;
nil leaves the module blocks alone.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |