Reorganize documentation for clearer navigation#126
Open
fitchmultz wants to merge 3 commits into
Open
Conversation
- Rewrite docs/index.md as a hierarchical hub with reader paths and diagrams - Add docs/archive/ for historical audits; move docs/audits/ under it - Replace verbose getting-started, queue-and-tasks, and workflow pages with focused hubs - Rewrite task decompose PRD requirements in plain language (remove RFC-style SHALL) - Trim features/README and scan intro; remove decorative horizontal rules across docs - Update README and cross-links; fix archive parent links Co-authored-by: Mitch Fultz <fitchmultz@users.noreply.github.com>
Co-authored-by: Mitch Fultz <fitchmultz@users.noreply.github.com>
There was a problem hiding this comment.
Stale comment
Documentation automation summary
Docs added or updated
docs/index.md— Primary navigation hub: reading-order diagram, goal-based tables (start here, core concepts, feature area, reference, operations, maintainer), runtime path table, and explicit pointers to legacy hubs anddocs/archive/.docs/features/README.md— Feature-area index (core, execution, integrations, workflow tools, configuration slice, security/schemas, “by goal”) without repeating long tutorials.docs/guides/getting-started.md— Shortened guided path: defers install/first steps to Quick start, keeps init wizard vs--non-interactive, task/run/doctor commands, macOS app note, and daily-loop diagram with links into feature docs.docs/queue-and-tasks.mdanddocs/workflow.md— Legacy thin hubs so existing links and test evidence paths (e.g.docs/queue-and-tasks.mdin queue insert tests) stay valid while detailed content lives underdocs/features/*and related guides.docs/archive/README.md— Index for superseded or point-in-time audits, with guidance to trust CLI/config/schemas when archived text disagrees with behavior.README.md— Product overview and doc entry points; follow-up commit672b08aaligns the GitHub release badge and link withcrates/cueloop/Cargo.toml(v0.7.2) so the landing page matches the shipped crate.- Boilerplate cleanup — Many
docs/features/*anddocs/guides/*files had redundant front-matter trimmed (large net deletion in the reorg commit) so scanning stays focused on substance.docs/prd/cueloop-task-decompose.mdand a few archive/guide cross-links — Adjusted as part of the same navigation pass.Codepaths and behavior these docs track
- CLI surfaces documented in onboarding:
init,task,task decompose,queue list/show/validate,run one/loop,doctor,runner list,app open— aligned with the Rust CLI incrates/cueloop.- Repo-local state under
.cueloop/(queue, done, config, prompts, cache paths called out in workflow hub) — matches the on-disk contract described in architecture and machine-contract docs.- Validation —
make agent-ci/make ci-docsand classifier notes tie toMakefileandscripts/agent-ci-surface.shas documented in CI strategy.- Integration tests that still cite
docs/queue-and-tasks.mdas scope/evidence remain meaningful because that file remains a maintained stub with correct deep links.Knowledge gaps this PR closes
- “Where do I start?” — One ordered path (README → evaluator path → quick start → smoke test → getting started) instead of overlapping mega-guides.
- Duplicate maintenance — Long combined queue/workflow prose removed in favor of feature pages + legacy stubs for backward-compatible URLs.
- Archive vs current — Explicit archive index and parent links so readers do not treat old audits as live runbooks.
- Public version signal — README release badge now matches the 0.7.2 crate version (verified from
crates/cueloop/Cargo.toml).Validation
make ci-docspassed on the branch after the README badge change (markdown link check included in that gate).If you want a follow-up outside this PR: scan other badges or copy for any remaining v0.6.x references outside
CHANGELOG.md/history.Sent by Cursor Automation: Generate docs
Explain git defaultBranch=main for disposable-repo tests and why doctor_contract_test expects pi on PATH (non-interactive init writes minimal config; schema defaults select the pi runner). Cross-link from CONTRIBUTING testing requirements. Co-authored-by: Mitch Fultz <fitchmultz@users.noreply.github.com>
There was a problem hiding this comment.
Documentation automation summary
Docs added/updated
docs/troubleshooting.md— New section Environment-dependent integration tests covering (1) Gitinit.defaultBranch/main+origin/mainexpectations for disposable-repo suites, and (2) whydoctor_contract_testexpects thepirunner onPATH(cachedcueloop init --non-interactivewrites minimal.cueloop/config.jsonc; loaded config merges schema defaults to the built-inpirunner, socueloop doctorprobespi).CONTRIBUTING.md— Testing requirements now cross-link that troubleshooting anchor so contributors land on the concrete fixes.
Codepaths / fixtures covered
crates/cueloop/tests/test_support/test_support_command.rs—git_init(-b main),seed_cueloop_dir/ cached non-interactive init template.crates/cueloop/tests/parallel_done_json_safety_test/support.rs—origin/mainmerge-base / merge-tree helpers.crates/cueloop/tests/doctor_contract_test/**— doctor success + auto-fix contract tests that assume a resolvable default runner binary.
Knowledge gaps addressed
- Explains isolated
cargo test -p cueloopfailures (missingpi, or Git branch naming) that do not necessarily indicate a product regression—aligned with repoAGENTS.mdCursor Cloud notes.
Validation: make ci-docs (passed). Heavier Rust gates not run (docs-only change).
Commit: 2624d996 on cursor/docs-reorg-0c25.
Sent by Cursor Automation: Generate docs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
Documentation was hard to navigate: overlapping onboarding guides, legacy combined references, RFC-style SHALL requirements in the task-decompose PRD, and decorative formatting noise across many feature pages.
This PR reorganizes
docs/around a single hierarchical hub, archives historical audits, and consolidates duplicate entry points without removing deep reference material.Changes
docs/index.md— Rewritten as the primary map with reader paths, topic tables, mermaid navigation diagram, and links to start guides, features, reference, maintainer docs, and archive.docs/archive/— New archive index;docs/audits/moved todocs/archive/audits/.getting-started.md,queue-and-tasks.md, andworkflow.mdare now short navigation pages pointing at canonical feature/reference docs (old URLs preserved).docs/prd/cueloop-task-decompose.mdfunctional requirements rewritten as grouped bullets (no SHALL boilerplate).features/README.mdand scan intro; removed---horizontal-rule noise from 42 markdown files (~2k net lines removed).Validation
Passed (markdown links and documented path guards).
Follow-ups (optional)
scan.md,phases.md,runners.md) if we want another pass below ~85k words.guides/stack-audit-2026-03.mdintodocs/archive/when no active links need the old path.