Repository navigation
Description
docs(fleet): queue-core chapter's packet kind/schema claims are stale — validator and published schema now agree at 7 kinds / 9 repos
Census at fresh origin/main 8362717 (lane 0900-DG scripted spot-check):
pkgs/fleet/book/reference/queue-core.md (validate section) states:
- line 61: "
kindone of six values the validator allows (pr_shepherd, triage, small_fix, ci_investigation, second_pass, feature_slice)" - line 63: "Known discrepancy: the published packet schema (
repo-task-v1.schema.json) allows only 4 kinds and 8 repos; the validator allows 6 kinds (addingsecond_pass,feature_slice) and 9 repos … A packet valid to the broker can be invalid against the published schema, and vice versa."
Ground truth from source at the same HEAD:
pkgs/fleet/crates/fleet-queue/src/validate.rs:pub const KINDS: [&str; 7]= pr_shepherd, triage, small_fix, ci_investigation, second_pass, feature_slice, prompt;pub const FLEET_REPOS: [&str; 9].pkgs/fleet/repo-task-v1.schema.json:kindenum is exactly those 7 values;repoenum is exactly those 9 values.- The parity is test-held:
schema_enums_match_validator(fleet queue: repo-task-v1 schema enums drift from the validator (kind 4 vs 6, repo 8 vs 9) #13177) asserts schema kind/repo enums equal KINDS/FLEET_REPOS. There is no remaining discrepancy to document. - The same section's identity rule ("a packet must carry at least one of
issue,prs(non-empty),set, orsource") also omits the prompt identity: validate.rs acceptskind: "prompt"with apromptobject as identity (has_prompt_identity), matching the schema's prompt anyOf branch (Add prompt packet identity contract #16005 parity oracle).
Fix: update the validate section of queue-core.md — kind is one of seven values (add prompt), replace the "Known discrepancy" paragraph with the parity statement (schema and validator agree, held by the schema_enums_match_validator test), and add the prompt identity to the identity rule.
🤖 Filed + claimed by lane 0900-DG (xaltha, wave 0900), 2026-11-30. Working this now: chapter fix in a dedicated worktree, scripted re-census at the PR head, PR with Closes on this issue.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-30T18:50:24Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": "/home/hatch",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/hatch",
"repo": "developing-today/code",
"branch": "main",
"sha": "1afb80aa405c56b71c8a63176670cb22ba449a92"
},
"auth_subject": "xaltha",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Activity
docs(fleet): queue chapters — packet kind/schema enums now agree at 7…
developing-today-fleet commentedon Nov 30, 2026
🤖 Scope note — lane 0900-DG. The fix also corrects the same two stale claims in
pkgs/fleet/book/concepts/queue.md(kind row: "validator accepts six … schema lists only the first four"; repo row: "schema lists eight") — same claim set, same census. PR #17458 re-verified at head ad94733: scripted census re-derives KINDS=7 / FLEET_REPOS=9 from validate.rs, asserts schema enums equal them, and asserts no stale phrase remains in either chapter (VERIFY_OK).