# Land Queue Verdict Repair

audience: AI coding agents first.

## Outcome

Ensure land queue conductor always writes ticket verdict after landing core returns success or failure.

## Status

`IDLE` — conductor repair and related fixture correction verified; local commits only. Owner prohibited landing.

## Task IDs

- `LQV-1`: reproduce and repair conductor exit-without-verdict failure.

## Source request

Owner requested repair of Overdeck land queue conductor failure that exits 1 without verdict. Work from current `origin/main` in isolated Overdeck worktree. Read project instructions and queue logs. Implement minimal verified fix. Test successful and failure verdict paths. Commit only; do not land.

Coordinator correction: before completion, also repair the unrelated `docs lane ts escape` workflow fixture failure in this worktree, run the full suite, and commit without landing. Preserve conductor WIP and expand acceptance only to a deterministic green fixture and clean suite.

## Acceptance criteria

1. Conductor writes verdict when landing core succeeds.
2. Conductor writes verdict when landing core fails under caller `errexit` (`set -e`).
3. `docs lane ts escape` uses a deterministic green typecheck fixture while proving TypeScript forces the full lane.
4. Full workflow suite passes cleanly.
5. Commit exists on isolated branch; no land or deployment occurs.

## Preserved WIP, refs, paths

- Branch: `wt/fix-land-queue-no-verdict`
- Worktree: `/home/user/Projects/tmp/overdeck/overdeck/.worktrees/fix-land-queue-no-verdict`
- Base: current `origin/main` at worktree creation (`d64358e8`)
- Implementation: `modules/workstation/claude/workflows/lib/finish-branch.sh`
- Tests: `modules/workstation/claude/workflows/lib/test-finish-branch.sh`
- Queue log read: `/home/user/Projects/overdeck/.git/harness/landq/log`

## Constraints

- Minimal change only.
- Preserve failure exit code and output in verdict.
- Do not install, deploy, land, or push.

## Execution steps

1. Add regression coverage invoking ticket service under `set -e` for successful and failing landing-core outcomes.
2. Capture landing-core exit without allowing caller `errexit` to terminate ticket service before verdict write.
3. Run focused workflow tests and required full harness Factory suite if applicable.
4. Review diff, update receipt, commit locally.

## Current receipt

Minimal conditional exit capture implemented in `_landq_serve` and committed locally. Regression coverage proves core exit 0 and core exit 1 each produce a verdict when caller enables `set -e`. `docs lane ts escape` now uses a self-contained green typecheck command; separate tests retain package-local binary resolution and deliberate TypeScript failure coverage. Full workflow suite passed `PASS=107 FAIL=0`. No install, deployment, push, or land performed.

## Next executable action

Owner/orchestrator may inspect local branch commits; do not land under this request.
