Skip to content

docs(sdlc): state the decided ways of working in the standards #4751

Closed

Description

@dan-petty

Problem or Motivation

The project standards do not state some ways of working that the owner decided from 2026-10-04 to 2026-11-11. Some documents also state facts that merged pull requests made wrong. Agents and people read the standards first, so they follow old rules or miss decided ones.

Decided ways of working that no document states, or that a document states in a different form:

  • Rebase onto origin/main right before each push, not only the first push. Do not update an open pull request only to catch up with main (owner, 2026-10-25 and 2026-11-11).
  • Watch each open pull request until the merge, and fix a failed check or a conflict at once. Agents never request or wait for a Copilot review (owner, 2026-10-23 and 2026-10-24).
  • Use a closing keyword only before the issue that the pull request delivers (owner, 2026-10-27; feat(ci): limit how many CPU-heavy gates run at once on one host #2339 closed feat(ci): limit how many CPU-heavy gates run at once on one host #2336 too early).
  • No stacked pull requests; push only when the implementation, the review fixes and the OpenSpec archive are complete; branch push policy (owner, 2026-10-23, 2026-10-28, 2026-11-05).
  • A red required check on the release pull request is a defect of main. GitHub gives no merge queue to a personal repository and ignores merge drivers (owner, 2026-10-24 and 2026-11-11).
  • Nested time limits: each inner limit is shorter than the limit around it (owner, 2026-11-11; fix(mcp): bound the gh resources longer than a GitHub read #4678 is one known break).
  • Service work runs as Jobs or Argo Workflows; GitHub holds the truth and Valkey is a cache; shared capabilities fall back to a local tier; one RepoRef names each repository resource (owner, 2026-11-11; ADR 0021 in docs(roadmap): record the roadmap Service move to jobs and Valkey #4609, ADR 0022 in feat(roadmap): name each repository's resources from one RepoRef #4612).
  • Connect open tools through standard interfaces; use reputable, maintained, permissive dependencies; prefer Podman, OpenTofu and Valkey (owner, 2026-11-11).
  • Decide an open design question with the best-practice answer and report it (owner, 2026-10-22).
  • Rules for project artifacts and charts: contrast, color-blind palette, both themes, chart form (owner, 2026-11-11).
  • A check that does not apply does not run; every CI job runs in the devcontainer and on a stock runner (owner, 2026-10-20 and 2026-10-24).
  • Search before you file, fold a finding into a matching item, start a blocker at once, close a replaced item as not planned (owner, 2026-10-23 to 2026-11-10).
  • A tracker has no milestone. Status lives in labels, and no step reads the project board (owner, 2026-10-22 and 2026-10-28).
  • A dry run sends no external request (owner, 2026-10-04).
  • Project text can go to a hosted provider, but no secret or personal data. The owner holds Sonnet trials (owner, 2026-11-10 and 2026-11-11).
  • A new cluster secret is a generated row of the secret table. Live objects that git does not hold are drift (owner, 2026-10-23 and 2026-11-11).
  • A Service pull request waits for an independent review with evidence (owner, 2026-11-01).
  • ASD-STE100 also covers prompts (owner, 2026-10-22).

Merged functionality that the documents do not state, or state wrong:

Proposed Solution & Architectural Design

One documents pull request puts each rule in its owning document (AGENTS.md, Where to look) and removes the copies. It changes AGENTS.md, CONTRIBUTING.md, ARCHITECTURE.md, SECURITY.md, CONTEXT.md, k8s/README.md, docs/SDLC.md, docs/ROUTINE_TASKS.md, docs/ROADMAP_WORKFLOW.md, docs/TESTING.md and docs/DASHBOARD_TABS_AUDIT.md.

  • AGENTS.md stays under its cap of 6,500 characters.
  • No threshold changes. No release file, ADR or generated document gets a hand edit.
  • Text about a feature that is not built yet stays with the pull request of that feature.

Acceptance:

  • The tests that read these documents pass: tests/invariants/test_agents_md.py and the other document tests.
  • uv run devops ci docs and the pre-commit document checks pass.

Target Subsystem

SDLC, Git & PR Governance

Existing Tool Considered

No tool is needed. This is a documents change in Markdown, and the existing checks (markdownlint, devops ci docs, the document invariant tests) verify it.

Activity

  1. added
    source/agent
    type/docs
    scope/sdlc
    status/new
    value/high
    effort/high
    on Nov 11, 2026
  2. dan-petty commented on Nov 11, 2026

    @dan-petty
    OwnerAuthor

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

    • Type: type/docs. The docs prefix of the title gives the type.
    • Scope: scope/sdlc. The (sdlc) scope of the title gives the scope.
    • Priority: P2-Medium. Agents and people follow outdated or missing rules, but no single workflow is blocked.
    • Value: High. Correct standards prevent agents and people from following old or wrong rules on every task.
    • Effort: High. The body lists over twenty rules and corrections across many documents.
    • Related: feat(roadmap): Add a draft PR evaluator for issue and rules #2867, which asks for a different change. Both reference the same project rules (closing keyword, ASD-STE100), but the candidate delivers those rules as written standards while #2867 delivers a tool that checks PRs against them.
  3. added
    priority/p2-medium
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 11, 2026
  4. removed
    status/in-review
    owner/agent
    on Nov 11, 2026
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

    effort/highpriority/p2-mediumscope/sdlcsource/agenttype/docsvalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions