Add the app/intentflow skeleton so HITL state, error codes, REST shapes, and BatchActionPolicy live outside intent and default to the legacy tier. Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
678 B
Go
14 lines
678 B
Go
// Package intentflow owns the multi-intent plan lifecycle.
|
|
//
|
|
// It is the only application entry for proposing, confirming, recovering, and
|
|
// advancing persistent plans. Callers (chat/server) must depend on the Service
|
|
// interface and PlanView projection, not on the store, pool, or action-owner
|
|
// engines.
|
|
//
|
|
// Hard rules:
|
|
// - Confirmation is not authorization; each step re-checks the current principal.
|
|
// - PostgreSQL plan/step/decision rows are authoritative; cards and SSE are projections.
|
|
// - internal/intent stays a pure rule module (intent -> maturity).
|
|
// - This package must not import docgov, taskrun, coordinator, server, or pgx.
|
|
package intentflow
|