Skip to main content

Module intent

Module intent 

Source
Expand description

Intent-based workflow for agentic development

Intents replace the branch+PR model with declared units of work that have explicit scope, agent attribution, priority, and hierarchical decomposition. Multiple intents can be active simultaneously on the same working tree because they declare non-overlapping scopes.

Structs§

Intent
A declared unit of work with scope, agent, and hierarchy
ScopeConflict
A scope-checked conflict between two active intents

Enums§

IntentPriority
IntentStatus

Functions§

attach_commit
Attach a commit hash to an intent (called by lit commit --intent)
execute_close
Close (abandon) an intent — releases leases
execute_create
Create a new intent — checks for scope conflicts with other active intents
execute_list
List intents, optionally filtered by status or agent
execute_show
Show details of a specific intent
load_intent
mark_converged
Mark an intent as converged (called by lit converge)