This is the bounded agent entrypoint for compare-vi-cli-action.
Keep it short, stable, and helper-oriented. Deep runbooks belong in checked-in docs or generated
tests/results/_agent/ artifacts.
- The top objective is the issue carrying the active standing-priority label:
- upstream:
standing-priority - forks:
fork-standing-prioritywith fallback tostanding-priority
- upstream:
- Start every session with
pwsh -NoLogo -NoProfile -File tools/priority/bootstrap.ps1. - If bootstrap writes
tests/results/_agent/issue/no-standing-priority.jsonwithreason = queue-empty, treat the repo as intentionally idle until a real tracked issue exists. If release summary evidence also shows an RC build, evaluatenode tools/npm/run-script.mjs priority:pivot:template; only a future agent may pivot toLabviewGitHubCiTemplatewhen that report isready. - The operator token is admin-capable; privileged GitHub actions are allowed when they are safe and policy-aligned.
- Reference
#<standing-number>in automation-authored commits and PRs. - Scope boundary: this repo is for compare-vi CLI action workflows only. LabVIEW icon editor development lives in
svelderrainruiz/labview-icon-editor.
- Run
pwsh -NoLogo -NoProfile -File tools/priority/bootstrap.ps1. - Inspect
.agent_priority_cache.jsonandtests/results/_agent/issue/. - Run
node tools/npm/run-script.mjs priority:project:portfolio:checkwhen project-board visibility matters. - Run
node tools/npm/run-script.mjs priority:develop:syncbefore creating or refreshing a work lane. - Work from a clean branch shaped like
issue/<fork-remote>-<standing-number>-<slug>when a fork lane is involved.
- Prefer sanitized wrappers:
node tools/npm/cli.mjs <command>andnode tools/npm/run-script.mjs <script>. - Prefer
node tools/npm/run-script.mjs priority:prover rawgh pr create. - Prefer
node tools/npm/run-script.mjs priority:validate -- --ref <branch>over manual Validate dispatches. - Prefer the local parity loop before repeated GitHub Actions cycles:
pwsh -NoLogo -NoProfile -File tools/Run-NonLVChecksInDocker.ps1 -UseToolsImagepwsh -NoLogo -NoProfile -File tools/Run-NonLVChecksInDocker.ps1 -UseToolsImage -NILinuxReviewSuite- Treat
tools/PrePush-Checks.ps1as the blocking rendered-review gate and-NILinuxReviewSuiteas the broad flag-combination certification lane.
- Detached unattended delivery surfaces:
node tools/npm/run-script.mjs priority:delivery:agent:ensurenode tools/npm/run-script.mjs priority:delivery:agent:statusnode tools/npm/run-script.mjs priority:delivery:agent:stop
- Codex state hygiene surfaces:
node tools/npm/run-script.mjs priority:codex:state:hygienenode tools/npm/run-script.mjs priority:codex:state:hygiene:apply
ruamel.yamlis the canonical workflow rewrite engine; Python workflow mutation is confined totools/workflows/**.- Use
pwsh -File tools/Check-WorkflowDrift.ps1as the supported operator entrypoint. - Repo-native workflow surfaces:
node tools/npm/run-script.mjs workflow:drift:ensurenode tools/npm/run-script.mjs workflow:drift:checknode tools/npm/run-script.mjs workflow:drift:writenode tools/npm/run-script.mjs lint:md
- The managed workflow set lives in
tools/workflows/workflow-manifest.json. python tools/workflows/update_workflows.py --check|--write ...is the low-level compatibility surface only.
- Use
tools/priority/github-intake-catalog.jsonbefore selecting issue forms or PR templates by hand. - Prefer these helper surfaces over ad-hoc GitHub CLI calls:
pwsh -File tools/Resolve-GitHubIntakeRoute.ps1 -ListScenariospwsh -File tools/New-GitHubIntakeDraft.ps1 -Scenario <name> -OutputPath <path>pwsh -File tools/Invoke-GitHubIntakeScenario.ps1 -Scenario <name> -AsJsonpwsh -File tools/Write-GitHubIntakeAtlas.ps1
- Use
pwsh -File tools/Branch-Orchestrator.ps1 -Issue <number> -Execute -PRTemplate workflow-policy|human-changewhen the review surface needs a non-default template. New-IssueBody.ps1andNew-PullRequestBody.ps1remain the lower-level body helpers.- Treat the GitHub wiki as a curated portal only. Checked-in repo docs remain authoritative.
- Repo-owned GitHub instructions live under
.github/instructions/*.instructions.md, and repo-owned Copilot CLI instructions live in.github/copilot-instructions.md. AGENTS.mdis the repo-wide policy and standing-priority authority.- Under the draft-only Copilot review contract, use local Copilot CLI review plane only for draft-review acceleration.
- Draft is the only Copilot iteration state here;
ready_for_reviewmeans final validation and promotion intent only. - After
ready_for_review, do not request or wait for a second GitHub-side Copilot pass; return to draft if the head changes. - GitHub-native automatic Copilot review is disabled here; hosted policy validates local review receipts instead of requesting another GitHub-side Copilot pass.
- These instruction overlays must not widen review, queue, or promotion authority.
- Issues, labels, policy files, and checked-in docs are the source of truth; the project board is visibility only.
- Keep workflows deterministic and green. Required status contexts live in
tools/policy/branch-required-checks.json. - Use safe repo helpers instead of ad-hoc git mutation when a helper exists.
- For repeat passes, iterate locally through Docker Desktop first.
- Before trusting prior local review evidence, verify the current branch head against
tests/results/docker-tools-parity/review-loop-receipt.json,tests/results/_agent/verification/docker-review-loop-summary.json, or daemon-mirroredlocalReviewLoopstate. - Confirm receipt freshness with
git.headSha,git.branch, andgit.upstreamDevelopMergeBase, not head SHA alone. - Keep bulky diagnostics out of source; prefer issue attachments or generated artifact folders.
- Use vendor resolvers from
tools/VendorTools.psm1rather than ad-hoc PATH lookups. - For multiline GitHub bodies in mixed Windows/WSL shells, use
--body-file. For issue comments, preferpwsh -File tools/Post-IssueComment.ps1 -Issue <number> -BodyFile <path>over inlinegh issue comment --body "...".
AGENT_HANDOFF.txtis the stable handoff entrypoint.node tools/npm/run-script.mjs handoff:entrypoint:checkrefreshes the machine-readable index attests/results/_agent/handoff/entrypoint-status.json.node tools/npm/run-script.mjs priority:handoffprints that machine-readable index andtests/results/_agent/verification/docker-review-loop-summary.json.node tools/npm/run-script.mjs priority:governor:summaryrefreshes the top-level operating receipt attests/results/_agent/handoff/autonomous-governor-summary.json.node tools/npm/run-script.mjs priority:governor:portfoliorefreshes the cross-repo operating receipt attests/results/_agent/handoff/autonomous-governor-portfolio-summary.json.node tools/npm/run-script.mjs priority:context:concentraterefreshes the compact durable memory receipt attests/results/_agent/handoff/sagan-context-concentrator.json.node tools/npm/run-script.mjs priority:continuityrefreshes the continuity receipts attests/results/_agent/runtime/continuity-telemetry.jsonandtests/results/_agent/handoff/continuity-summary.json.node tools/npm/run-script.mjs priority:pivot:templateevaluates the future-agent-only pivot from queue-empty release-candidate state intoLabviewGitHubCiTemplate.- Primary live-state artifacts:
.agent_priority_cache.jsontests/results/_agent/issue/router.jsontests/results/_agent/issue/no-standing-priority.jsontests/results/_agent/handoff/autonomous-governor-summary.jsontests/results/_agent/handoff/autonomous-governor-portfolio-summary.jsontests/results/_agent/handoff/sagan-context-concentrator.jsontests/results/_agent/handoff/continuity-summary.jsontests/results/_agent/handoff/entrypoint-status.jsontests/results/_agent/runtime/
tools/PrePush-Checks.ps1consumestools/policy/prepush-known-flag-scenarios.json.- Exactly one active scenario pack is allowed in that checked-in contract at a time.
- Deterministic top-level receipts:
tests/results/_agent/pre-push-ni-image/known-flag-scenario-report.jsontests/results/_agent/pre-push-ni-image/post-results-rendering-certification-report.jsontests/results/_agent/pre-push-ni-image/transport-smoke-report.jsontests/results/_agent/pre-push-ni-image/vi-history-smoke-report.json
- The post-results rendering certification report is the explicit semantic gate for the active scenario pack; transport and VI-history reports remain separate support lanes.
- The pre-push transport smoke lane is intentionally minimal. Broad flag-combination sweeps now belong in
tests/results/docker-tools-parity/ni-linux-review-suite/flag-combination-certification.jsonand the companion Markdown/HTML artifacts emitted bytools/Invoke-NILinuxReviewSuite.ps1.
docs/DEVELOPER_GUIDE.mddocs/SESSION_LOCK_HANDOFF.mddocs/INTEGRATION_RUNBOOK.mddocs/RELEASE_OPERATIONS_RUNBOOK.mddocs/knowledgebase/DOCKER_TOOLS_PARITY.mddocs/knowledgebase/GitHub-Intake-Layer.mddocs/knowledgebase/Agent-Handoff-Surfaces.md