Documentation
¶
Overview ¶
Package pitfallop owns the focused authored-pitfall creation operation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Outcome ¶
Outcome retains every committed fact from one authored-pitfall creation.
func Create ¶
func Create(ctx context.Context, title string, tx *projectmutation.Transaction) (outcome Outcome, err error)
Create validates a tracked transaction, selects Session-bound authority, and exclusively publishes one authored pitfall through its confined handle. It deliberately performs no synchronization or generated-output mutation.
type PartialError ¶
type PartialError struct {
projectmutation.Partial[Outcome]
}
PartialError retains a committed authored source and any cleanup residue together with the original post-commit cause and safe recovery policy.
func (*PartialError) Document ¶
func (e *PartialError) Document() (presentation.Document, error)
Document returns the owner-produced partial report with exact committed and residue paths plus ordered recovery actions.
Click to show internal directories.
Click to hide internal directories.