Skip to content

docs: activate universal task ledger#1104

Closed
BigSimmo wants to merge 6 commits into
mainfrom
codex/task-ledger-refresh-4e2b5e
Closed

docs: activate universal task ledger#1104
BigSimmo wants to merge 6 commits into
mainfrom
codex/task-ledger-refresh-4e2b5e

Conversation

@BigSimmo

@BigSimmo BigSimmo commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • make docs/outstanding-issues.md the single universal repository task ledger
  • embed the prioritised recommended queue, evidence register, and resolved archive in one durable file
  • wire AGENTS.md, the docs index, codebase index, and SessionStart memory contract to that ledger
  • archive stale or rejected work and reconcile completed document-trigger rollout evidence

Verification

  • npm run docs:check-links (1119 references resolved)
  • Prettier check on all changed documents
  • git diff --check
  • SessionStart issues-surface hook smoke test (25 open records surfaced)
  • npm run verify:cheap attempted but the repository heavy-test lane was occupied by another active worktree; hosted required checks must pass before merge

No provider configuration, production data, or application runtime behavior is changed.


Note

Low Risk
No application, migration, or runtime changes—only markdown and agent memory contracts; incorrect queue content could mis-prioritise future work but does not change production behavior.

Overview
Promotes docs/outstanding-issues.md to the single universal task ledger and reshapes how agents and humans track repo work.

The ledger now includes a 23-row prioritised recommended queue (dependency order, classification, acuity, capability, timing, approvals, success criteria, and stop rules), a reconciliation snapshot (2026-07-24 on main), recommended sequence guidance, an explicit exclusion list for stale or refuted work, and an evidence register that sits alongside the existing open-items table. New tracked work #052 (reindex vs agent-enrichment lease), #053 (orphaned queued ingestion recovery), and #054 (clinical workspace brief); several former open items move to resolved/archive with dated outcomes (e.g. #026 document-trigger, #029 superseded, #005/#032 refuted).

AGENTS.md states that the ledger owns execution order and must stay in sync with queue/evidence updates, with provider detail remaining in docs/operator-backlog.md. docs/README.md and docs/codebase-index.md link the ledger in the maintained docs map. docs/branch-review-ledger.md gets a minor wording tweak only.

Reviewed by Cursor Bugbot for commit d75811f. Configure here.

@coderabbitai

coderabbitai Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@BigSimmo, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 8 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 2ca97399-75ac-428b-8a39-928e7f72c775

📥 Commits

Reviewing files that changed from the base of the PR and between 705480a and 8d6c779.

📒 Files selected for processing (5)
  • AGENTS.md
  • docs/README.md
  • docs/branch-review-ledger.md
  • docs/codebase-index.md
  • docs/outstanding-issues.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/task-ledger-refresh-4e2b5e

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit d75811f. Configure here.

Comment thread docs/outstanding-issues.md Outdated
Comment thread docs/outstanding-issues.md Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d75811f05e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/outstanding-issues.md Outdated
Comment thread docs/outstanding-issues.md

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b53f61940d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/outstanding-issues.md Outdated
@BigSimmo
BigSimmo enabled auto-merge July 24, 2026 00:38

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8d6c7791f8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

| #036 | rec | Add an explicit `is_public` visibility flag | No longer recommended: existing owner-scoped retrieval and visible unverified-source warnings sufficiently reduce the present risk; the schema/RLS change is disproportionate without a reproduced access defect. | 2026-07-24 |
| #041 | rec | Add another Factsheets reading mode | No longer recommended: extend the existing Easy Read/Standard model only when a concrete patient-content need and governance plan exist. | 2026-07-24 |
| #009 | rec | Confirm `/api/jobs` is intentionally server/ops-only | Archived after current-source verification: repository documentation and reachability tests treat this as an authenticated server/operations surface, and no client calls it. Its lack of an in-app link is intentional rather than abandoned functionality. | 2026-07-24 |
| #034 | issue | Answer cache can serve stale governance metadata | Archived after current-source verification: all known status-mutating routes call a RAG-cache invalidator, and route tests already assert invalidation on document PATCH, source review, label, bulk, and reindex mutation paths. Equivalent direct coverage exists; changing the protected cache key is not recommended. | 2026-07-24 |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Reopen the stale-cache guardrail until reindex is covered

This archive entry closes #034 on the assertion that all status-mutating routes already call a RAG-cache invalidator and that route tests assert reindex invalidation, but the single-document full reindex path still updates the documents row (status, error_message, counts) in src/app/api/documents/[id]/reindex/route.ts without any invalidateRagCaches... import or call, and the reindex tests only mock invalidateRagCachesForOwner rather than asserting it. If someone follows this universal ledger literally, the stale-cache regression-test/remedy is dropped while one reindex mutation path remains uncovered; keep #034 open or narrow the archive until that path is fixed/pinned.

AGENTS.md reference: AGENTS.md:L461-L462

Useful? React with 👍 / 👎.

Comment thread AGENTS.md
Comment on lines +461 to +462
every worthwhile task and its current state in the universal ledger. Update affected queue and
evidence records together when work is completed, dropped, superseded, or materially re-scoped.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Update /issues mutations to maintain both ledger views

The new invariant requires queue and evidence records to change together, but the existing /issues add|done|update instructions still only append, move, or edit rows under ## Open items / ## Resolved / archive in .claude/skills/issues/SKILL.md. When a user uses the documented shortcut after this lands, new or completed work can be committed to the evidence table while the prioritized queue remains stale, defeating the ledger as the source of dependency order; update the skill/hook or scope this rule accordingly.

AGENTS.md reference: AGENTS.md:L461-L462

Useful? React with 👍 / 👎.

@BigSimmo

Copy link
Copy Markdown
Owner Author

Superseded by merged PR #1106, which delivers the same universal-ledger outcome against newer evidence and includes additional retained A1/operator/release work. This branch now conflicts with and would overwrite that newer canonical ledger, so merging it is no longer recommended. All five review threads here were fixed and resolved before closure.

@BigSimmo BigSimmo closed this Jul 24, 2026
auto-merge was automatically disabled July 24, 2026 00:47

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant