Skip to content

Docs housekeeping: fix stale content, contradictions, and safety conflicts#764

Merged
Chris0Jeky merged 3 commits intomainfrom
docs/housekeeping-2026-04-04
Apr 4, 2026
Merged

Docs housekeeping: fix stale content, contradictions, and safety conflicts#764
Chris0Jeky merged 3 commits intomainfrom
docs/housekeeping-2026-04-04

Conversation

@Chris0Jeky
Copy link
Copy Markdown
Owner

Summary

  • STATUS.md: Updated stale test total (2695+ → ~4600+), removed duplicate contradictory ci-release.yml block, fixed Last Updated format
  • AGENTS.md: Removed --no-verify guidance that conflicted with Claude Code safety protocol; fixed &&; for PowerShell consistency
  • TESTING_GUIDE.md: Updated stale telemetry event names from underscore format to canonical noun.verb per TELEMETRY_TAXONOMY.md
  • LLM_PROVIDER_SETUP_GUIDE.md: Marked #240, #239 as delivered; #238 as partially delivered
  • ISSUE_EXECUTION_GUIDE.md: Added (delivered) marker to #216 GTM-01
  • MCP_TOOLING_GUIDE.md: Broadened audience to include Claude Code agents; clarified PowerShell vs bash distinction

Context

Found during deep housekeeping audit. Also seeded 6 new issues (#758#763) for bugs and tech debt discovered during codebase scout, and closed 2 stale trackers (#628, #689).

Test plan

  • check-docs-governance.mjs passes
  • check-github-ops-governance.mjs passes
  • No broken cross-references (docs-only change, no code impact)

…licts

- STATUS.md: update stale test total (2695+ → ~4600+), remove duplicate
  contradictory ci-release.yml block, fix Last Updated format
- AGENTS.md: remove dangerous --no-verify guidance that conflicted with
  Claude Code safety protocol, fix && → ; for PowerShell consistency
- TESTING_GUIDE.md: update stale telemetry event names from underscore
  format to canonical noun.verb format per TELEMETRY_TAXONOMY.md
- LLM_PROVIDER_SETUP_GUIDE.md: mark #240, #239 as delivered; #238 as
  partially delivered in abuse-control follow-through list
- ISSUE_EXECUTION_GUIDE.md: add (delivered) marker to #216 GTM-01
- MCP_TOOLING_GUIDE.md: broaden audience to include Claude Code agents,
  clarify PowerShell vs bash shell distinction
Copilot AI review requested due to automatic review settings April 4, 2026 03:21
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates several documentation files to reflect recent changes in the development environment, project status, and telemetry standards. Key updates include adjusting Git commit guidelines for Windows, clarifying shell command chaining for different agent runtimes (Codex vs. Claude Code), and updating test passing totals and telemetry event naming conventions. Feedback is provided regarding the lack of fail-fast logic in a suggested PowerShell command chain and inconsistencies in the reported test totals across different documentation files.

Comment thread AGENTS.md Outdated
- Frontend dev server: from `frontend/taskdeck-web`, run `npm install` once, then `npm run dev`.
- Frontend checks (required when frontend touched): from `frontend/taskdeck-web`,
`npm run typecheck && npm run build && npx vitest --run`.
`npm run typecheck ; npm run build ; npx vitest --run` (use `;` not `&&` in PowerShell).
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

While switching to ; is necessary for PowerShell compatibility, this specific command chain lacks the fail-fast logic required by the guideline on line 60: "use ; and check $LASTEXITCODE when failure handling matters." Without the check, npm run build will execute even if typecheck fails, which is undesirable for a build and test sequence.

Suggested change
`npm run typecheck ; npm run build ; npx vitest --run` (use `;` not `&&` in PowerShell).
npm run typecheck ; if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } ; npm run build ; if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } ; npx vitest --run

Comment thread docs/STATUS.md
### Total

- Combined automated total (backend + frontend unit/build + default frontend E2E): 2695+ passing (backend 1593 + frontend unit 1102 + E2E)
- Combined automated total (backend + frontend unit/build + default frontend E2E): ~4600+ passing (backend ~2990+ + frontend unit 1592 + E2E)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The test totals provided here are inconsistent with other parts of the documentation updated in this PR. Specifically, the frontend unit count is listed as 1592 here, but it is 1491 on line 774 of this same file and 1496 in docs/TESTING_GUIDE.md. Additionally, the backend total of ~2990+ contradicts the ~2950+ figure in the testing guide. Please reconcile these numbers to maintain the integrity of this file as the "Source of Truth."

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Docs-only housekeeping pass to remove stale/contradictory guidance and align documentation with current governance + telemetry taxonomy conventions across the repo.

Changes:

  • Updated testing/CI status docs (test totals, CI workflow description) and removed a duplicate/contradictory release workflow block.
  • Updated testing guide telemetry examples toward the canonical noun.verb naming convention referenced by docs/product/TELEMETRY_TAXONOMY.md.
  • Tightened agent/contributor guidance around commit hooks and shell command chaining differences (PowerShell vs bash).

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
docs/TESTING_GUIDE.md Updates telemetry naming guidance/examples and references canonical taxonomy doc.
docs/STATUS.md Updates “Last Updated”, revises combined test totals, removes duplicate release workflow section.
docs/platform/LLM_PROVIDER_SETUP_GUIDE.md Updates managed-key follow-through status and references delivered policy/runbook docs.
docs/MCP_TOOLING_GUIDE.md Broadens audience and clarifies shell chaining expectations per agent runtime.
docs/ISSUE_EXECUTION_GUIDE.md Marks issue #216 as delivered in the execution index.
AGENTS.md Removes --no-verify recommendation; updates frontend verification command chaining for PowerShell.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/TESTING_GUIDE.md Outdated
- product telemetry/event taxonomy remains tracked in `#341` with reuse of `#77`, while `#328` now provides the delivered first-run guardrail baseline
- keep event names privacy-safe and product-shaped (for example `home_loaded`, `today_loaded`, `capture_created`, `proposal_opened`, `proposal_approved`, `board_action_capture_here_clicked`, `workspace_mode_changed`, `agent_run_started`, `agent_run_completed`, `agent_run_failed`)
- product telemetry/event taxonomy delivered in `#341`/`#741` — see `docs/product/TELEMETRY_TAXONOMY.md`; reuses `#77` as baseline; `#328` provides the delivered first-run guardrail
- keep event names privacy-safe and product-shaped using the canonical `noun.verb` format from `docs/product/TELEMETRY_TAXONOMY.md` (e.g. `capture.modal_opened`, `capture.submitted`, `proposal.approved`, `proposal.dismissed`, `card.created`, `board.loaded`, `auth_session.started`, `agent_run.completed`)
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The example list includes proposal.dismissed, but docs/product/TELEMETRY_TAXONOMY.md does not define a proposal.dismissed event (proposal events include proposal.opened, proposal.approved, proposal.rejected, etc.). Since this bullet says to follow the canonical taxonomy, update the examples to only use events that actually exist in the taxonomy (or add proposal.dismissed to the taxonomy if it’s intended).

Suggested change
- keep event names privacy-safe and product-shaped using the canonical `noun.verb` format from `docs/product/TELEMETRY_TAXONOMY.md` (e.g. `capture.modal_opened`, `capture.submitted`, `proposal.approved`, `proposal.dismissed`, `card.created`, `board.loaded`, `auth_session.started`, `agent_run.completed`)
- keep event names privacy-safe and product-shaped using the canonical `noun.verb` format from `docs/product/TELEMETRY_TAXONOMY.md` (e.g. `capture.modal_opened`, `capture.submitted`, `proposal.approved`, `proposal.rejected`, `card.created`, `board.loaded`, `auth_session.started`, `agent_run.completed`)

Copilot uses AI. Check for mistakes.
Comment thread docs/STATUS.md
### Total

- Combined automated total (backend + frontend unit/build + default frontend E2E): 2695+ passing (backend 1593 + frontend unit 1102 + E2E)
- Combined automated total (backend + frontend unit/build + default frontend E2E): ~4600+ passing (backend ~2990+ + frontend unit 1592 + E2E)
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The totals in this line appear inconsistent with other verified numbers in the docs. In docs/STATUS.md earlier in the same section, frontend unit is listed as 1491/1491 passing, but here it’s 1592, which changes the combined total materially; docs/TESTING_GUIDE.md also lists frontend unit as 1496/1496 and a combined total of ~4450+. Please reconcile these figures (and the derived combined total) so STATUS and TESTING_GUIDE agree on the latest verified/estimated counts.

Suggested change
- Combined automated total (backend + frontend unit/build + default frontend E2E): ~4600+ passing (backend ~2990+ + frontend unit 1592 + E2E)
- Combined automated total (backend + frontend unit/build + default frontend E2E): ~4450+ passing (including frontend unit 1496/1496; see `docs/TESTING_GUIDE.md` for the authoritative component breakdown)

Copilot uses AI. Check for mistakes.
Comment thread AGENTS.md Outdated
- Frontend dev server: from `frontend/taskdeck-web`, run `npm install` once, then `npm run dev`.
- Frontend checks (required when frontend touched): from `frontend/taskdeck-web`,
`npm run typecheck && npm run build && npx vitest --run`.
`npm run typecheck ; npm run build ; npx vitest --run` (use `;` not `&&` in PowerShell).
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PowerShell command chaining uses ; but doesn’t fail-fast. If npm run typecheck (or npm run build) fails, PowerShell will still run the next commands and the final exit code may come from vitest, which can mask earlier failures. Consider either documenting a fail-fast $LASTEXITCODE pattern here (consistent with the earlier guidance in this file) or instructing contributors to run the three commands separately.

Suggested change
`npm run typecheck ; npm run build ; npx vitest --run` (use `;` not `&&` in PowerShell).
`npm run typecheck; if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }; npm run build; if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }; npx vitest --run` (PowerShell fail-fast pattern; do not use `&&`).

Copilot uses AI. Check for mistakes.
Comment thread docs/TESTING_GUIDE.md Outdated

- product telemetry/event taxonomy remains tracked in `#341` with reuse of `#77`, while `#328` now provides the delivered first-run guardrail baseline
- keep event names privacy-safe and product-shaped (for example `home_loaded`, `today_loaded`, `capture_created`, `proposal_opened`, `proposal_approved`, `board_action_capture_here_clicked`, `workspace_mode_changed`, `agent_run_started`, `agent_run_completed`, `agent_run_failed`)
- product telemetry/event taxonomy delivered in `#341`/`#741` — see `docs/product/TELEMETRY_TAXONOMY.md`; reuses `#77` as baseline; `#328` provides the delivered first-run guardrail
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line says the telemetry/event taxonomy is "delivered", but docs/product/TELEMETRY_TAXONOMY.md is labeled Status: Draft and explicitly notes the taxonomy is not yet implemented (settings.telemetry.enabled + event bus not implemented). Consider rewording to clarify what is delivered (the taxonomy document vs actual instrumentation) to avoid implying telemetry is already shipped.

Suggested change
- product telemetry/event taxonomy delivered in `#341`/`#741` — see `docs/product/TELEMETRY_TAXONOMY.md`; reuses `#77` as baseline; `#328` provides the delivered first-run guardrail
- product telemetry/event taxonomy documented in `#341`/`#741` — see `docs/product/TELEMETRY_TAXONOMY.md`; this refers to the taxonomy/spec artifact, not shipped instrumentation; reuses `#77` as baseline; `#328` provides the delivered first-run guardrail

Copilot uses AI. Check for mistakes.
Chris0Jeky and others added 2 commits April 4, 2026 04:37
- AGENTS.md: add $LASTEXITCODE fail-fast checks to PowerShell command
  chain (Gemini + Copilot finding)
- TESTING_GUIDE.md: clarify telemetry taxonomy is "documented" not
  "delivered" (spec exists, instrumentation not shipped); fix
  proposal.dismissed → proposal.rejected (matches actual taxonomy)
- STATUS.md: annotate stale frontend unit count (1491) with pointer
  to latest estimate (1592) in TESTING_GUIDE.md
@Chris0Jeky
Copy link
Copy Markdown
Owner Author

Addressed all bot review findings in commit 67d9ad2:

  • AGENTS.md fail-fast (Gemini + Copilot): Added $LASTEXITCODE checks between chained PowerShell commands
  • STATUS.md totals inconsistency (Gemini + Copilot): Annotated the stale frontend unit count (1491) with a pointer to the latest estimate (1592) in TESTING_GUIDE.md
  • Telemetry "delivered" vs "documented" (Copilot): Changed wording to clarify the taxonomy is a spec artifact, not shipped instrumentation
  • proposal.dismissed not in taxonomy (Copilot): Changed to proposal.rejected which is the canonical event name in TELEMETRY_TAXONOMY.md

@Chris0Jeky Chris0Jeky merged commit e8c71e6 into main Apr 4, 2026
13 checks passed
@Chris0Jeky Chris0Jeky deleted the docs/housekeeping-2026-04-04 branch April 4, 2026 03:43
@github-project-automation github-project-automation Bot moved this from Pending to Done in Taskdeck Execution Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants