Skip to main content

Module ops

Module ops 

Source
Expand description

Mutating verbs: create, update, and move issues between projects.

Structs§

CreateOpts
Optional fields on a new issue.
UpdateOutcome
What an update changed, plus advice about issues left dangling by it.

Functions§

append_body
Append prose to an issue’s body, stamped with the date and identity.
append_body_as
append_body with the recorded identity passed in.
claim
Take an issue: move it to STARTED and stamp the claim.
claim_as
claim with an explicit identity instead of crate::config::identity.
create
Append a new TODO issue to the project’s file and return the status text.
fold
Fold an inbox-convention org file into tracked issues.
note
Add a dated note to the top of an issue’s logbook. State, claim, and properties stay untouched, so an agent can record progress without owning the issue.
refile
Move one issue’s heading to another project’s file. The id is not regenerated, so cross-project blocker edges keep resolving.
resolve_project
Resolve the project to act on. An explicit name wins; otherwise walk up from the current directory for .project-ctx.toml and read [project].name. Neither available is an error, so nothing is ever guessed silently.
update
Change state, priority, or blocker edges. Adding a blocker to an open issue moves it to BLOCKED; clearing the last blocker moves it back to TODO.
update_as
update with an explicit identity instead of crate::config::identity.