Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 4.74 KB

validation.md

File metadata and controls

27 lines (16 loc) · 4.74 KB

Work On Spec validation

Read when changing or validating this package. Dispatch cases are authored expectations, not executed agent behavior. Work On's conditional coordination and verification/completion/local-recovery procedures retain their separate checks; run its single-change fixture when changing the caller boundary or shared libraries.

Reproducible static checks

  1. Read the full entry and changed references; inspect rendered Markdown/frontmatter. Metadata/body must require overall delivery and distinguish local ticket leads from the sole root. Worker/repair/model rules reference the resolved Work On library, not a second independent pool.
  2. Resolve relative links/anchors from each file. Copy only this complete package to an arbitrary temporary non-sibling location and repeat. Named external companions/library paths are discovered sources, not relative Markdown links. Read all needed companion entries/references before execution; missing/ambiguous sources block dependent routes.
  3. Run python3 -B workflow/work-on-spec/scripts/check-coordination-fixture.py from repository root, or python3 -B scripts/check-coordination-fixture.py from the copied package. Python 3 and Git are required; no network, model, package installation or agent execution is needed. Inspect output and actual failure assertions rather than interpreting the fixture's overall exit as live delivery acceptance.
  4. Run python3 -B workflow/work-on/scripts/check-single-change-fixture.py when validating the transferred boundary. Verify Work On's dispatch files are only compatibility pointers and its recovery is local; no competing scheduler remains.
  5. Run git diff --check and inspect the full integrated diff for out-of-scope changes, credentials/private data, workstation paths, generated files, altered links/modes/notices and historical-record changes. Preserve original repository trials.

Done: complete entries and links are inspected in normal and isolated layouts, applicable executable checks have recorded results, and limitations/diff/documentation dispositions are explicit.

For discovery changes, check the caller against the documented operational pointers in Work On's inspected entry and the discovered tracker's entry/library boundary. Recover truncated reads, resolve actual reference filenames, inspect stale/missing-path failures and distinguish unavailable capability from guessed paths. Exercise non-sibling discovery and reject a legacy universal-contract-only companion for the migrated route. Record static walkthroughs and affected blockers separately from fixture passes.

Fixture coverage and limits

The shipped fixture has synthetic native observations and authored frontier/lifecycle decisions. It asserts independent/shared-interface ownership, lead-selected concurrency permitting three independent tickets, rolling replenishment while unrelated work remains active, overlapping independent review and unrelated implementation, explicit project/runtime/lead resource constraints, closed-without-accepted-integration waiting, failed/uncertain owner retention without globally blocking safe unrelated work, uncertain integration read-back, budget/model history on resume, and actual serial local Git integration with cross-ticket check/freshness. Parent specs stay out of the implementation queue. Additional authored examples cover same-session completion without storage or PR effects, missing fresh-session history, partial integration and retained uncertain ownership. Static clause assertions catch selected instruction regressions, not comprehensive semantic correctness.

Git controls are sanitized and hooks/templates disabled in disposable repositories. The fixture creates no production tracker items or agents, performs no remote writes, calls no models and deletes only its own temporary directory under the test's disposition. Installed skill/runtime discovery and actual worker interruption remain unexecuted. A passing synthetic graph assertion is not live API/pagination validation; a passing tool integration is not accepted spec delivery.

Evidence retention

Use the target agreement's retention rules. Same-session commands/results, checked inputs, limitations and original independent reports may remain in conversation; unrequested publication or hypothetical future storage does not block delivery. Only selected authorized publication uses a collapsed Validation details section or dedicated comment, with material problems visible. Keep reusable checks committed, not routine execution reports. Active owners, uncertain operations and spent allowances retain coordination/recovery obligations; selected transfer must report inaccessible pointers without claiming persistence.

This file's expectations are not themselves executed evidence.