Skip to content

docs(agent): pending-a-person steps name only manifests that exist in the repository #1303

Closed as not planned

Description

@dan-petty

Problem

Copilot thread 10 on #1283, verified at 61f9b67. The pending step in task-1271 runs kubectl apply -f k8s/devops/configmap.yaml, and task-1221:35 does the same, but #1290 removed that file. The procedure that ships (k8s/README.md: deploy-stack --stack devops, then the rollout restart) is correct.

Acceptance criteria

  • task-1271:23 and task-1221:35 use uv run devops k8s deploy-stack --stack devops before the restart.
  • A rule in tests/test_agent_task_files.py fails when a Pending a person: command names a repository path that does not exist.
  • uv run devops ci passes.

Strategic alignment

Proposed design

Problem statement

Two agent task files reference a manifest that no longer exists. task-1271:23 and task-1221:35 run kubectl apply -f k8s/devops/configmap.yaml, but #1290 removed that file. The correct procedure is uv run devops k8s deploy-stack --stack devops followed by a rollout restart. A test rule should also catch any future Pending a person: step that names a missing repository path.

Acceptance criteria

  • Criterion 1: task-1271:23 and task-1221:35 use uv run devops k8s deploy-stack --stack devops before the rollout restart.
    Verification: Read the two task files and confirm the command at the cited lines is uv run devops k8s deploy-stack --stack devops.
  • Criterion 2: A rule in tests/test_agent_task_files.py fails when a Pending a person: command names a repository path that does not exist.
    Verification: Run uv run pytest tests/test_agent_task_files.py -v. Confirm the new test passes on the current tree. Then introduce a fake path in a Pending a person: step and confirm the test fails.
  • Criterion 3: uv run devops ci passes.
    Verification: Run uv run devops ci and confirm it exits with code 0.

Key questions

Open questions

  • Which test file receives the new validation rule? (missing verified source)

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    type/docs
    priority/p3-low
    scope/docs
    on Oct 7, 2026
  2. dan-petty commented on Oct 8, 2026

    @dan-petty
    OwnerAuthor

    Linked: #879 and #1348. All three change tests/test_agent_task_files.py; whichever lands second rebases. Found by the 2026-10-08 backlog review.

  3. dan-petty commented on Oct 26, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.

    • Priority: P2-Medium. The change improves correctness and prevents errors in task execution.
    • Value: Medium. Users will benefit from clearer error messages when manifest paths do not exist.
    • Effort: Low. The changes involve adding validation checks and updating documentation.
    • Related: feat(k8s): k8s manifest, stack and kustomize commands list their requests in a dry run and make none #2239, which asks for a different change. Both items relate to k8s commands and manifest handling, but item 2239 focuses on dry-run compliance while this candidate focuses on pending steps validation.
  4. dan-petty commented on Oct 28, 2026

    @dan-petty
    OwnerAuthor

    Refine cannot set this item to Ready at 69636b6 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.

    • Which test file receives the new validation rule? (missing verified source)
  5. dan-petty commented on Oct 28, 2026

    @dan-petty
    OwnerAuthor

    Closed as not planned: PR #2020 (commit 2638317) removed what this item changes. It deleted the two task files (docs/agent/tasks/task-1271* and task-1221*) and tests/test_agent_task_files.py, and docs/agent/tasks/ is not on main. An OpenSpec change folder now records each item.

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

    priority/p3-lowscope/docstype/docs

    Type

    No type

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions