Skip to content

S1: Publish the factory decision queue and spec status (held for skills cutover) #710

Open

Description

@jparker2006

Parent

Companion to openwizdev/WizPlugins#71. Private spec: https://github.com/jparker2006/ClosedWiz/issues/3007.

Hold and work repository

Held on source cutover, not a second product-design approval. This is a factory-skill and shared-format change. Current skill source is OpenWiz; WizSkills is empty until #555's source cutover, which waits on #554's publication gate. Do not edit a frozen copy, release candidate, or OpenWiz product contracts. Once cutover is verified, transfer/repoint this ticket to the actual WizSkills source, reread its instructions, validate the final owned paths and contract import, and record the existing cutover approval before removing the hold. The queue/status behavior itself is covered by the confirmed grill and standing build approval. This is the sixth ticket of the joint plan, tracked separately because its PR belongs in the factory-skill source repository; the WizPlugins fleet cannot merge it.

Outcome

Any factory can publish one Needs-you queue in its configured reachable home; fleet managers keep Now/Next/When current on a dedicated spec comment without changing the approved spec body.

Scope

Each configured factory binds a Cloudroom project, its development repositories, its private home checkout and host, and its orchestrator. Never infer the target from whichever thread is selected. The setup stores this mapping privately in plugin settings; no machine paths or runtime identifiers enter a public issue.

The authoritative queue is UTF-8 JSON at <home-checkout>/.openwiz/needs-you.v1.json. The path is relative to a configured home checkout, not a fixed project name, user directory or product checkout. Ignore this runtime file in Git. Any project can use the same schema. Only its orchestrator writes it, using atomic replacement; readers never remove an item when a message was merely sent.

Queue v1 has these fields:

  • schema: openwiz.needs-you.v1; project: the bound project key; revision: increasing integer; updatedAt: UTC timestamp; expiresAt: producer-declared UTC expiry; complete: boolean; gaps: plain reasons; items: ordered open decisions.
  • Each item: stable id, short code, question, options (stable id and label), recommendedOptionId or null, sourceUrl, repository-qualified spec or null, risk (ordinary, live, release, publish, unknown), fingerprint, createdAt, and updatedAt.
  • fingerprint binds the exact displayed question/options, subject, risk and current underlying proposal revision. For existing structured decisions, preserve their request id and fingerprint as requestId and requestFingerprint; do not create a second approval system.

The plugin backend reads the file through the configured host's supported file-read API, constrained to that root and relative file. A Cloud thread's sandbox is not assumed to be mounted in the plugin server. The orchestrator must write the configured reachable home copy; unavailable home access is shown as unavailable, not an empty queue. Poll the file at most once per shared 60-second refresh and re-read it before dispatching a delayed answer. Project/target/queue revision changes cancel a pending send.

A successful read of a fresh, complete empty queue means nothing needs an answer. Missing, expired, malformed or unreadable data never means zero. A sent answer remains visible as awaiting the orchestrator until the writer resolves or supersedes the request and publishes the next file. Exact answers and source context remain private; the orchestrator uses existing private-record/public-decision rules.

This producer is a factory-skill change: the orchestrator's decision-creation, confirmation, resolution and handoff paths maintain the file. Fleet managers report needs through the existing orchestrator path and never race to write the shared queue.

Now / Next / When

A fleet manager maintains one dedicated progress comment on its spec issue, identified by the marker <!-- openwiz:spec-status:v1 -->. It updates that comment at every actual wake, coalescing redundant writes. It never edits the spec body for progress, because body edits invalidate plan approval.

The comment contains human-readable Now:, Next:, When: and Updated: lines. When is either an estimate including timezone or Not estimated; it is not a promise. Missing or malformed status displays Not estimated, with a clear freshness state. Known issue/PR links may appear in Now and Next. No real thread identifiers, machine details or private decision text appear in a public comment. This changes the launch-fleet skill, not the plugin's authority to run a fleet.

Only implement the producer side here. Plugin readers/actions belong to WizPlugins. Import the exact queue/status subset of the C1 contract at its verified merged commit, recording provenance and checking for drift. Do not silently create a second incompatible schema or revise the existing decision approval contract. Preserve existing requestId/requestFingerprint, private/public routing, approval and hold semantics. No direct live writes in tests; fixture home and fake GitHub only.

Owned paths

After source cutover, in WizSkills: skills/plan-graph/SKILL.md, skills/grill/SKILL.md, skills/handoff/SKILL.md, skills/launch-fleet/SKILL.md, skills/launch-fleet/scripts/factory-status.py, skills/launch-fleet/tests/test_factory_status.py, skills/launch-fleet/resources/factory-view.v1.md, skills/launch-fleet/resources/factory-view.v1.schema.json, skills/launch-fleet/resources/factory-view.provenance.json, docs/evidence/wizdeck-v0.1/s1/. Paths are proposed and held until that source exists; this issue grants no edits in the current OpenWiz checkout.

Relies on: contracts/decisions.v1.md

The C1 source files are cross-repository inputs pinned as described below. This ticket owns their local import as new resources; it does not add them to WizSkills’ nine governed shared-source contract copies. All consumers must resolve the local resources inside the package.

Links

Acceptance criteria

  • Orchestrator alone writes the complete queue atomically in the configured home and preserves request identity through restart, resolution and supersession.
  • Missing/partial/expired data remains distinguishable from a fresh complete empty queue.
  • Managers update one marked Now/Next/When comment per actual wake, coalescing unchanged writes and never editing spec bodies.
  • No private source data or runtime identifiers enter public comments.
  • Source cutover and the approved work-repository routing are verified before start; import checks below pass before completion.

Proof

Factory test rule: A test protects behaviour and names the bug it catches, or the ticket says no new test: reason. Temporary-home and fake-GitHub tests catch truncated queues, resolved choices reappearing, competing writers, duplicate status comments, and progress invalidating the approval fingerprint. No new test for prose alone: validate the meaningful producer output and lifecycle instead.

Under the standing within-grill approval, assignment is Opus 5.5 Medium builder and fresh Codex Sol 6.1 High reviewer, with this test rule in each brief. No publishing, live writes or source-cutover execution is authorized by this ticket.

Exact WizSkills import verification owned here

After OpenWiz #555 has a verified merge and WizSkills contains the published source, use the paths above from its repository root. Do not modify the frozen ClosedWiz copy or publish a skill release. First verify WizPlugins #72 has merged, then resolve its merge commit and fetch exactly wizbar/contracts/factory-view.v1.md and wizbar/contracts/factory-view.v1.schema.json from that immutable commit. Store them byte for byte as the two resources named above; provenance JSON records source repository, full merge commit, source paths and both SHA-256 hashes. Copy the entire files, not an informal queue subset. The helper reads those local resources, never another checkout or network at runtime.

At build time, check the imported bytes against the immutable source and validate queue output against the imported schema. A one-byte drift fixture must fail; a relocated package with no WizPlugins/OpenWiz/ClosedWiz checkout must pass. Run WizSkills’ existing check/run.py and the producer behavior tests. This introduces no dependency on an external checkout, no change to the nine governed contract copies, and no change to OpenWiz’s decisions or allowlist contracts. If the actual package source layout differs from the pinned WizSkills v1 contract, report the exact mismatch before changing ownership; do not invent a new import route.

The orchestrator writes only the configured reachable home copy verified by D1. Producer timestamps describe queue freshness, never thread activity. Public status comments contain no queue questions, answers, runtime identifiers or private file paths.

Activity

  1. added
    held
    needs-info
    on Nov 15, 2026
  2. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    Approved on its own by Jake, 2026-11-15: the queue/status producer and exact package-local format import are approved as the sixth within-grill WizBar/WizDeck ticket under the standing build approval. Preserve the source-cutover hold and native blockers; this does not authorize the cutover, a release, changes to governed OpenWiz contracts or the allowlist, or live writes. After the verified cutover and repository routing, use Opus 5.5 Medium and a fresh Codex reviewer, with the behavior/bug test rule in each brief.
    Private record: https://github.com/jparker2006/ClosedWiz/issues/325#issuecomment-6892147440

    Parent

    Companion to openwizdev/WizPlugins#71. Private spec: https://github.com/jparker2006/ClosedWiz/issues/3007.

    Hold and work repository

    Held on source cutover, not a second product-design approval. This is a factory-skill and shared-format change. Current skill source is OpenWiz; WizSkills is empty until #555's source cutover, which waits on #554's publication gate. Do not edit a frozen copy, release candidate, or OpenWiz product contracts. Once cutover is verified, transfer/repoint this ticket to the actual WizSkills source, reread its instructions, validate the final owned paths and contract import, and record the existing cutover approval before removing the hold. The queue/status behavior itself is covered by the confirmed grill and standing build approval. This is the sixth ticket of the joint plan, tracked separately because its PR belongs in the factory-skill source repository; the WizPlugins fleet cannot merge it.

    Outcome

    Any factory can publish one Needs-you queue in its configured reachable home; fleet managers keep Now/Next/When current on a dedicated spec comment without changing the approved spec body.

    Scope

    Each configured factory binds a Cloudroom project, its development repositories, its private home checkout and host, and its orchestrator. Never infer the target from whichever thread is selected. The setup stores this mapping privately in plugin settings; no machine paths or runtime identifiers enter a public issue.

    The authoritative queue is UTF-8 JSON at <home-checkout>/.openwiz/needs-you.v1.json. The path is relative to a configured home checkout, not a fixed project name, user directory or product checkout. Ignore this runtime file in Git. Any project can use the same schema. Only its orchestrator writes it, using atomic replacement; readers never remove an item when a message was merely sent.

    Queue v1 has these fields:

    • schema: openwiz.needs-you.v1; project: the bound project key; revision: increasing integer; updatedAt: UTC timestamp; expiresAt: producer-declared UTC expiry; complete: boolean; gaps: plain reasons; items: ordered open decisions.
    • Each item: stable id, short code, question, options (stable id and label), recommendedOptionId or null, sourceUrl, repository-qualified spec or null, risk (ordinary, live, release, publish, unknown), fingerprint, createdAt, and updatedAt.
    • fingerprint binds the exact displayed question/options, subject, risk and current underlying proposal revision. For existing structured decisions, preserve their request id and fingerprint as requestId and requestFingerprint; do not create a second approval system.

    The plugin backend reads the file through the configured host's supported file-read API, constrained to that root and relative file. A Cloud thread's sandbox is not assumed to be mounted in the plugin server. The orchestrator must write the configured reachable home copy; unavailable home access is shown as unavailable, not an empty queue. Poll the file at most once per shared 60-second refresh and re-read it before dispatching a delayed answer. Project/target/queue revision changes cancel a pending send.

    A successful read of a fresh, complete empty queue means nothing needs an answer. Missing, expired, malformed or unreadable data never means zero. A sent answer remains visible as awaiting the orchestrator until the writer resolves or supersedes the request and publishes the next file. Exact answers and source context remain private; the orchestrator uses existing private-record/public-decision rules.

    This producer is a factory-skill change: the orchestrator's decision-creation, confirmation, resolution and handoff paths maintain the file. Fleet managers report needs through the existing orchestrator path and never race to write the shared queue.

    Now / Next / When

    A fleet manager maintains one dedicated progress comment on its spec issue, identified by the marker <!-- openwiz:spec-status:v1 -->. It updates that comment at every actual wake, coalescing redundant writes. It never edits the spec body for progress, because body edits invalidate plan approval.

    The comment contains human-readable Now:, Next:, When: and Updated: lines. When is either an estimate including timezone or Not estimated; it is not a promise. Missing or malformed status displays Not estimated, with a clear freshness state. Known issue/PR links may appear in Now and Next. No real thread identifiers, machine details or private decision text appear in a public comment. This changes the launch-fleet skill, not the plugin's authority to run a fleet.

    Only implement the producer side here. Plugin readers/actions belong to WizPlugins. Import the exact queue/status subset of the C1 contract at its verified merged commit, recording provenance and checking for drift. Do not silently create a second incompatible schema or revise the existing decision approval contract. Preserve existing requestId/requestFingerprint, private/public routing, approval and hold semantics. No direct live writes in tests; fixture home and fake GitHub only.

    Owned paths

    After source cutover, in WizSkills: skills/plan-graph/SKILL.md, skills/grill/SKILL.md, skills/handoff/SKILL.md, skills/launch-fleet/SKILL.md, skills/launch-fleet/scripts/factory-status.py, skills/launch-fleet/tests/test_factory_status.py, skills/launch-fleet/resources/factory-view.v1.md, skills/launch-fleet/resources/factory-view.v1.schema.json, skills/launch-fleet/resources/factory-view.provenance.json, docs/evidence/wizdeck-v0.1/s1/. Paths are proposed and held until that source exists; this issue grants no edits in the current OpenWiz checkout.

    Relies on: contracts/decisions.v1.md

    The C1 source files are cross-repository inputs pinned as described below. This ticket owns their local import as new resources; it does not add them to WizSkills’ nine governed shared-source contract copies. All consumers must resolve the local resources inside the package.

    Links

    Acceptance criteria

    • Orchestrator alone writes the complete queue atomically in the configured home and preserves request identity through restart, resolution and supersession.
    • Missing/partial/expired data remains distinguishable from a fresh complete empty queue.
    • Managers update one marked Now/Next/When comment per actual wake, coalescing unchanged writes and never editing spec bodies.
    • No private source data or runtime identifiers enter public comments.
    • Source cutover and the approved work-repository routing are verified before start; import checks below pass before completion.

    Proof

    Factory test rule: A test protects behaviour and names the bug it catches, or the ticket says no new test: reason. Temporary-home and fake-GitHub tests catch truncated queues, resolved choices reappearing, competing writers, duplicate status comments, and progress invalidating the approval fingerprint. No new test for prose alone: validate the meaningful producer output and lifecycle instead.

    Under the standing within-grill approval, assignment is Opus 5.5 Medium builder and fresh Codex Sol 6.1 High reviewer, with this test rule in each brief. No publishing, live writes or source-cutover execution is authorized by this ticket.

    Exact WizSkills import verification owned here

    After OpenWiz #555 has a verified merge and WizSkills contains the published source, use the paths above from its repository root. Do not modify the frozen ClosedWiz copy or publish a skill release. First verify WizPlugins #72 has merged, then resolve its merge commit and fetch exactly wizbar/contracts/factory-view.v1.md and wizbar/contracts/factory-view.v1.schema.json from that immutable commit. Store them byte for byte as the two resources named above; provenance JSON records source repository, full merge commit, source paths and both SHA-256 hashes. Copy the entire files, not an informal queue subset. The helper reads those local resources, never another checkout or network at runtime.

    At build time, check the imported bytes against the immutable source and validate queue output against the imported schema. A one-byte drift fixture must fail; a relocated package with no WizPlugins/OpenWiz/ClosedWiz checkout must pass. Run WizSkills’ existing check/run.py and the producer behavior tests. This introduces no dependency on an external checkout, no change to the nine governed contract copies, and no change to OpenWiz’s decisions or allowlist contracts. If the actual package source layout differs from the pinned WizSkills v1 contract, report the exact mismatch before changing ownership; do not invent a new import route.

    The orchestrator writes only the configured reachable home copy verified by D1. Producer timestamps describe queue freshness, never thread activity. Public status comments contain no queue questions, answers, runtime identifiers or private file paths.

  3. removed
    needs-info
    on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    held

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions