Back to Plate

{{TITLE}}

docs/plans/templates/editor-test-harvester.md

53.0.68.2 KB
Original Source

{{TITLE}}

Objective: TODO: Write the exact active editor-test-harvester objective after creating this file.

Goal plan: {{PLAN_PATH}}

Template: {{TEMPLATE_PATH}}

Completion threshold:

  • TODO: Define the exact harvest done state.
  • Comprehensive harvest closure is legal only when score >= 0.92, no dimension is below 0.85, inventory count equals classified count, no uncertain test files remain, every portable or portable-mixed runnable file is indexed/read or explicitly skipped with reason, every actionable row has owner/target/proof evidence, the harvest report links or contains a full inventory appendix, and node .agents/rules/autogoal/scripts/check-complete.mjs {{PLAN_PATH}} passes.

Verification surface:

  • TODO: Name the target repo path, harvest report path, inventory/test-index paths, source inventory command, coverage search commands, hygiene checks, and any focused implementation command for apply runs.

Constraints:

  • License mode controls output placement: permissive artifacts under docs/editor-test-harvester/<repo>/; behavior-only artifacts under .tmp/editor-test-harvester/<repo>/.
  • Behavior-only source material must stay scratch-only. Durable/versioned output uses fresh invariant wording and local proof language.
  • Do not browse GitHub files. Use local checkouts or clone missing repos under ...
  • Do not edit .tmp/slate-v2, Plate packages, docs, examples, or build config unless the user explicitly requested an apply run.

Boundaries:

  • Target repo: TODO.
  • Report directory: TODO.
  • Allowed edit scope: TODO.
  • Non-goals: TODO.

Blocked condition:

  • TODO: Name the missing repo, license evidence, target checkout, browser/device proof, Slate v2 checkout, or user decision that stops autonomous work.

Harvest state:

  • target_repo: pending
  • repo_key: pending
  • license_mode: pending
  • output_mode: pending
  • report_path: pending
  • inventory_path: pending
  • test_index_path: pending
  • current_pass: intake-and-boundary
  • current_pass_status: in_progress
  • next_pass: inventory

Current verdict:

  • verdict: pending
  • score: pending
  • next owner: editor-test-harvester
  • reason: pending

Completion rule:

  • Do not call update_goal(status: complete) while any required checklist item remains unchecked. If an item does not apply, check it and add N/A: <reason>.
  • Do not call update_goal(status: complete) until every completion threshold above is satisfied, report artifacts are current, and node .agents/rules/autogoal/scripts/check-complete.mjs {{PLAN_PATH}} passes.
  • Do not create hook state for this goal. This file plus the active goal are the durable state.

Start Gates:

GateAppliesEvidence
Skill analysis before editspendingpending
Active goal checked or createdpendingpending
Source of truth read before editspendingpending

Work Checklist:

  • Objective includes outcome, score threshold, verification surface, constraints, boundaries, and blocked condition.
  • License gate complete before selecting report directory.
  • Existing report, inventory, and test-index read before rerun updates, or marked N/A with reason.
  • Full inventory command recorded with total count, classified count, and unresolved count.
  • Every inventory file classified as portable, portable-mixed, plate-owned, skip, harness, product-shell, or uncertain.
  • Test-name extraction complete for every runnable portable, portable-mixed, and uncertain file, or skipped with reason.
  • Negative-control skip pressure applied to large skip families.
  • Behavior rows extracted with source ref, tag, invariant, proof kind, owner coverage, and action.
  • .tmp/slate-v2 coverage searches recorded for raw Slate rows.
  • Plate owner searches recorded for plugin/product rows.
  • Every create/refactor/copy/fresh-invariant/defer/plate-owned row names target owner, proof kind, and command or defer reason.
  • Behavior-only hygiene checked: no durable/versioned output copies or mechanically translates source code, fixtures, snapshots, helpers, expected output blobs, or expressive prose.
  • Browser/IME/mobile claims have honest runtime proof route or explicit defer reason.
  • TDD used before apply-run behavior changes with a sane test surface, or marked N/A with reason.
  • Browser proof captured for browser-surface apply changes, or marked N/A with reason.

Completion Gates:

GateAppliesRequired actionEvidence
Named verification thresholdpendingRun the command, proof, source audit, or artifact check named in this planpending
Harvest artifacts currentpendingVerify report, inventory, test-index, matrix accounting, and skip evidence are currentpending
Behavior-only hygienependingVerify versioned output uses fresh invariant wording and no copied source materialpending
Final harvest handoffpendingEmit harvest report handoff or keep the plan pending with the next passpending
Goal plan completeyesRun node .agents/rules/autogoal/scripts/check-complete.mjs {{PLAN_PATH}}pending

Phase / pass table:

PhaseStatusEvidenceNext
Intake and boundaryin_progresscreated planinventory
Inventorypendingtest-name extraction
Test-name extractionpendingclassification pressure
Classification pressurependingbehavior extraction
Behavior extractionpendingcoverage mapping
Slate/Plate coverage mappingpendingaction planning
Action planningpendingecosystem synthesis
Ecosystem synthesispendingclosure review
Closure reviewpendingfinal handoff

Confidence score:

DimensionWeightScoreEvidenceCap hit
Inventory completeness0.20pending
Behavior extraction depth0.20pending
Skip precision and negative controls0.15pending
Slate/Plate coverage mapping accuracy0.20pending
Actionability of copy/refactor/create plan0.15pending
Provenance and reproducibility0.10pending

License gate:

FieldValue
License modepending
Evidence filespending
Output directorypending
Output modepending
Versioned copy policypending

Inventory accounting:

CountValueEvidence
test files foundpending
classifiedpending
portablepending
portable-mixedpending
plate-ownedpending
skippedpending
harness/product-shellpending
uncertainpending

Matrix accounting:

Source refTest refTagBehavior invariantProof kindOwner coverageAction
pendingpendingpendingpendingpendingpendingpending

Skips and negative controls:

Source / familyReasonNegative-control evidence
pendingpendingpending

Next slice:

RowOwnerActionTargetVerification / defer reason
pendingpendingpendingpendingpending

Report artifacts:

ArtifactPathStatus
reportpendingpending
inventorypendingpending
test-indexpendingpending

Behavior-only hygiene:

  • status: pending
  • evidence: pending

Findings:

  • None yet.

Decisions and tradeoffs:

  • None yet.

Error attempts:

Error / failed attemptCountNext different moveResolution
None yet0

Verification evidence:

  • Pending.

Reboot status:

QuestionAnswer
Where am I?Intake and boundary
Where am I going?Inventory through closure review
What is the goal?TODO: Fill from Objective
What have I learned?See Findings
What have I done?See Timeline

Timeline:

  • {{CREATED_AT}} Goal plan created.

Open risks:

  • Pending.