Core Workflow
LingXi keeps its explicit workflow surface intentionally small. The current foreground workflow is built around:
taskvet
Both are continuously strengthened by the same memory system underneath.
Workflow Mainline
The visible foreground flow is:
task → vettask turns a request into an executable task artifact, and vet challenges that artifact before implementation begins.
LingXi focuses on making the two most important pre-implementation steps much stronger.
What task Does
task turns a rough request into an engineer-ready task document.
It uses:
- user intent
- repository context
- relevant memory
to shape a structured task artifact containing elements such as:
- goals
- scope
- constraints
- acceptance criteria
- functional requirements
- development guidance
This stage matters because many implementation problems are already baked in before coding starts: weak boundaries, missing constraints, vague acceptance, or shallow solution framing.
What vet Does
vet challenges task quality before implementation starts.
It looks for issues such as:
- ambiguity
- missing constraints
- non-testable acceptance criteria
- hidden breadth
- hidden risk
- weak rationale
- weak implementation guidance
Its output stays in a structured VetReport format.
How Memory Participates
The workflow works together with the memory system.
When task drafts a task document, LingXi retrieves relevant memory and writes the memories that materially shaped the task into memory_refs.
When vet reviews the task, LingXi retrieves relevant memory again and checks whether the task already reflects those important standards. If key memory is missing from the task, vet treats that as a clear quality gap.
So the effective workflow can be understood as:
task → vetIt is closer to:
memory ↘
task → vet
memory ↗Why The Workflow Has Only Two Explicit Steps
LingXi keeps the visible workflow focused on task and vet because these two stages most directly determine whether engineering work starts from a strong foundation.
This has several advantages:
- the product boundary stays clear
- foreground interaction stays lighter and easier to trust
- more effort can go into memory quality, contracts, state safety, and output quality
- it matches real engineering usage, where getting the task right and challenging it early often matters more than adding more named workflow stages
Runtime Shape
LingXi runs inside the target repository, with primary runtime roots under:
.lingxi/(host-agnostic core).codex/config.toml,.codex/hooks.json,.codex/agents/(Codex adapter).claude/settings.json,.claude/agents/,.claude/skills/(Claude Code adapter)
A typical usage flow is:
- install LingXi into the repository
- run bootstrap to create runtime and automation artifacts
- use
taskto create a task document - use
vetto challenge it before implementation - let background
session-distillaccumulate durable engineering taste
Outside the explicit task → vet path, generic but meaningful repository turns also consume memory automatically through the repo-local hook (Codex or Claude Code). That path complements task and vet rather than replacing them.
What The Workflow Is Trying To Achieve
LingXi is trying to make three things true:
- requests become clear enough before implementation starts
- tasks survive a serious quality challenge before coding begins
- engineering judgment accumulates instead of being re-explained from scratch
When those three things hold, the whole project becomes more stable than simply asking AI to start coding immediately.