Documentation
¶
Overview ¶
Package productize provides a reusable API for preparing, executing, and embedding markdown-driven AI work loops.
Index ¶
- Constants
- Variables
- func ExitCode(err error) int
- func NewCommand() *cobra.Command
- func Run(ctx context.Context, cfg Config) error
- type ArchiveConfig
- type ArchiveResult
- type Config
- type FetchResult
- type IDE
- type Job
- type MigrationConfig
- type MigrationResult
- type Mode
- type Preparation
- type SyncConfig
- type SyncResult
Constants ¶
const ( // ModePRReview processes PR review issue markdown files. ModePRReview = core.ModePRReview // ModePRDTasks processes PRD task markdown files. ModePRDTasks = core.ModePRDTasks )
const ( // IDECodex runs Codex jobs. IDECodex = core.IDECodex // IDEClaude runs Claude Code jobs. IDEClaude = core.IDEClaude // IDEDroid runs Droid jobs. IDEDroid = core.IDEDroid // IDECursor runs Cursor Agent jobs. IDECursor = core.IDECursor // IDEOpenCode runs OpenCode jobs. IDEOpenCode = core.IDEOpenCode // IDEPi runs Pi jobs. IDEPi = core.IDEPi // IDEGemini runs Gemini jobs. IDEGemini = core.IDEGemini // IDECopilot runs GitHub Copilot CLI jobs. IDECopilot = core.IDECopilot )
Variables ¶
var ErrNoWork = core.ErrNoWork
ErrNoWork indicates that no unresolved issues or pending PRD tasks were found.
Functions ¶
func NewCommand ¶
NewCommand returns the reusable productize Cobra command for embedding in other Go CLIs.
Types ¶
type ArchiveConfig ¶
type ArchiveConfig = core.ArchiveConfig
ArchiveConfig configures a completed workflow archive run.
type ArchiveResult ¶
type ArchiveResult = core.ArchiveResult
ArchiveResult contains the output of a workflow archive run.
func Archive ¶
func Archive(ctx context.Context, cfg ArchiveConfig) (*ArchiveResult, error)
Archive moves fully completed workflows into the archive root.
type FetchResult ¶
type FetchResult = core.FetchResult
FetchResult contains the output of a fetch-reviews operation.
func FetchReviews ¶
func FetchReviews(ctx context.Context, cfg Config) (*FetchResult, error)
FetchReviews fetches provider review comments into a PRD review round.
type MigrationConfig ¶
type MigrationConfig = core.MigrationConfig
MigrationConfig configures a repository artifact migration run.
type MigrationResult ¶
type MigrationResult = core.MigrationResult
MigrationResult contains the output of a migration run.
func Migrate ¶
func Migrate(ctx context.Context, cfg MigrationConfig) (*MigrationResult, error)
Migrate converts legacy workflow artifacts to frontmatter.
type Preparation ¶
type Preparation = core.Preparation
Preparation contains the resolved execution plan for a productize run.
type SyncResult ¶
type SyncResult = core.SyncResult
SyncResult contains the output of a task metadata sync run.
func Sync ¶
func Sync(ctx context.Context, cfg SyncConfig) (*SyncResult, error)
Sync refreshes task workflow metadata files.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
productize
command
|
|
|
extensions
|
|
|
qa-workflow
command
|
|
|
internal
|
|
|
api/contract
Package contract defines the canonical daemon transport contract shared by handlers, clients, SSE helpers, and public run readers.
|
Package contract defines the canonical daemon transport contract shared by handlers, clients, SSE helpers, and public run readers. |
|
core/extension
Package extensions provides manifest parsing, discovery, declarative asset extraction, and local enablement state for Productize extensions.
|
Package extensions provides manifest parsing, discovery, declarative asset extraction, and local enablement state for Productize extensions. |
|
core/extension/builtin
Package builtin anchors the embedded extension discovery root.
|
Package builtin anchors the embedded extension discovery root. |
|
core/kernel
Package kernel provides typed command dispatch for core engine operations.
|
Package kernel provides typed command dispatch for core engine operations. |
|
core/kernel/commands
Package commands defines typed kernel command and result contracts.
|
Package commands defines typed kernel command and result contracts. |
|
core/run/internal/worktree
Package worktree captures a deterministic fingerprint of a workspace's uncommitted state so callers can detect whether an arbitrary operation (an agent session, a hook, a task job) actually modified any files.
|
Package worktree captures a deterministic fingerprint of a workspace's uncommitted state so callers can detect whether an arbitrary operation (an agent session, a hook, a task job) actually modified any files. |
|
core/sound
Package sound provides optional audio notifications for run-lifecycle events.
|
Package sound provides optional audio notifications for run-lifecycle events. |
|
pkg
|
|
|
productize/events
Package events defines Productize's public event envelope and in-process bus.
|
Package events defines Productize's public event envelope and in-process bus. |
|
productize/events/kinds
Package kinds defines public payloads for each Productize event kind.
|
Package kinds defines public payloads for each Productize event kind. |
|
productize/runs
Package runs provides typed access to daemon-managed Productize runs while preserving the public run-reader API.
|
Package runs provides typed access to daemon-managed Productize runs while preserving the public run-reader API. |
|
productize/runs/layout
Package layout exports the compatibility on-disk layout for one persisted Productize run.
|
Package layout exports the compatibility on-disk layout for one persisted Productize run. |
|
sdk
|
|
|
extension
Package extension provides the public Go SDK for Productize executable extensions.
|
Package extension provides the public Go SDK for Productize executable extensions. |
|
extension/testing
Package exttesting provides in-process test utilities for Productize extension authors.
|
Package exttesting provides in-process test utilities for Productize extension authors. |
|
Package skills embeds the bundled Productize skill catalog so the binary can install complete skills without requiring files beside the executable.
|
Package skills embeds the bundled Productize skill catalog so the binary can install complete skills without requiring files beside the executable. |