@fungi.computer/issues
Exports
Section titled “Exports”| Kind | Export | Description |
|---|---|---|
| type alias | IssueStatus | Canonical triage state stored in ticket frontmatter. |
| type alias | IssueFrontmatter | Ticket metadata accepted by the local issue frontmatter schema. |
| type alias | IssueDiagnostic | A path, content or dependency rule violation in the supplied issue tree. |
| type alias | IssueSummary | Ticket identity and dependency state used to assemble the ready frontier. |
| type alias | IssueIndexRecord | The validated frontmatter fields Grove reads from the Team issue index. |
| type alias | IssueTrackerReport | Validation result and index projections for one complete issue tree. |
| function | inspectIssueTree() | Validate one pushed issues/ tree as a schema and dependency graph. |
IssueStatustype alias
Section titled “IssueStatus”type IssueStatus = | "needs-triage" | "needs-info" | "ready-for-agent" | "ready-for-human" | "in-progress" | "resolved" | "wontfix";Canonical triage state stored in ticket frontmatter.
IssueFrontmattertype alias
Section titled “IssueFrontmatter”type IssueFrontmatter = object;Ticket metadata accepted by the local issue frontmatter schema.
Properties
Section titled “Properties”readonly id: string;Stable effort-and-number identifier, independent of the ticket slug.
readonly title: string;Ticket title, which must match the body’s first Markdown heading.
readonly type: "bug" | "enhancement" | "task" | "research" | "prototype" | "decision";Ticket kind selecting the required body sections.
status
Section titled “status”readonly status: IssueStatus;Triage state; blocking is derived separately from dependency edges.
priority
Section titled “priority”readonly priority: "p0" | "p1" | "p2" | "p3";Priority code, independent of triage state and blocking.
created
Section titled “created”readonly created: string;Creation date written as YYYY-MM-DD.
assignee
Section titled “assignee”readonly assignee: string | null;Claimed owner, or null while the ticket is unassigned.
readonly areas: readonly string[];Searchable area slugs from the governing Wiki’s domain language.
blocked_by
Section titled “blocked_by”readonly blocked_by: readonly string[];Stable ticket IDs that must be resolved or wontfix to settle blockers.
IssueDiagnostictype alias
Section titled “IssueDiagnostic”type IssueDiagnostic = object;A path, content or dependency rule violation in the supplied issue tree.
Properties
Section titled “Properties”readonly path: string;Input file key identifying the ticket that needs correction.
readonly code: | "invalid-ticket-path" | "invalid-frontmatter" | "id-path-mismatch" | "duplicate-id" | "title-mismatch" | "missing-section" | "unknown-blocker" | "self-blocker" | "blocker-cycle";Machine-readable rule violated by the ticket or its dependency graph.
detail
Section titled “detail”readonly detail: string;Human-readable explanation of the failed rule.
IssueSummarytype alias
Section titled “IssueSummary”type IssueSummary = object;Ticket identity and dependency state used to assemble the ready frontier.
Properties
Section titled “Properties”readonly id: string;Stable ticket identifier from its parsed frontmatter.
readonly path: string;Ticket path relative to the supplied issue tree.
status
Section titled “status”readonly status: IssueStatus;Current triage state, without a synthetic blocked state.
blocked
Section titled “blocked”readonly blocked: boolean;Whether a declared blocker is absent or outside resolved and wontfix.
IssueIndexRecordtype alias
Section titled “IssueIndexRecord”type IssueIndexRecord = Readonly< Pick< IssueFrontmatter, "id" | "title" | "status" | "priority" | "assignee" | "areas" | "blocked_by" > & object>;The validated frontmatter fields Grove reads from the Team issue index.
IssueTrackerReporttype alias
Section titled “IssueTrackerReport”type IssueTrackerReport = object;Validation result and index projections for one complete issue tree.
Properties
Section titled “Properties”schemaVersion
Section titled “schemaVersion”readonly schemaVersion: 1;Version of this report representation, currently 1.
status
Section titled “status”readonly status: "pass" | "fail";Pass only when the complete tree has no diagnostics.
issues
Section titled “issues”readonly issues: readonly IssueSummary[];Parsed graph summaries, retained even when validation fails.
records
Section titled “records”readonly records: readonly IssueIndexRecord[];Validated index records; empty if any diagnostic exists.
frontier
Section titled “frontier”readonly frontier: readonly string[];Unassigned ready ticket IDs with all declared blockers settled.
diagnostics
Section titled “diagnostics”readonly diagnostics: readonly IssueDiagnostic[];Rule violations sorted by input path and diagnostic code.
inspectIssueTree()function
Section titled “inspectIssueTree()”function inspectIssueTree(files): IssueTrackerReport;Validate one pushed issues/ tree as a schema and dependency graph.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
files |
Readonly<Record<string, string>> |