Skip to content

PROJ-153 Overhaul Corgi README - #370

Merged
AndrewNordstrom merged 5 commits into
mainfrom
dev/PROJ-153-readme-overhaul
Jul 21, 2026
Merged

AndrewNordstrom merged 5 commits into
mainfrom
dev/PROJ-153-readme-overhaul

Conversation

@AndrewNordstrom

Copy link
Copy Markdown
Collaborator

What changed

  • Rebuild the README as a product-first entry point for Corgi.
  • Lead with the current branded OG card and direct paths to Corgi Commons, the shadow demo, the published walkthrough, pilot access, and public docs.
  • Explain the vote-to-approved-policy-to-rerank-to-receipt loop.
  • Separate production, shadow-demo, synthetic-voter, Bluesky/Corgi UI, and research boundaries.
  • Update the ranking model, architecture, repository map, canonical web-next setup, API/CLI references, documentation links, and citation guidance.
  • Remove the error-state dashboard screenshot, legacy-first quickstart, brittle live metrics, unsupported performance copy, and overclaims.

Why

The previous README no longer matched the shipped product surface or available public proof. It mixed the canonical and legacy frontends, omitted the current walkthrough and demo paths, and blurred production behavior with the isolated reviewer demo.

Validation

  • npm run verify — pass: 155 test files / 1,703 tests, root TypeScript build, CLI/SDK builds, legacy web lint/build, and canonical Next.js static export.
  • git diff --check — pass.
  • Live HTTP checks — pass for Corgi, demo, how-it-works, start, docs, Bluesky feed, YouTube walkthrough, and video thumbnail.
  • Live health and feed-generator receipts — pass.
  • Local diff-scoped CodeRabbit review — no findings.
  • npm run docs:verify — README links, commands, and repository references are clean; the command still exits nonzero on pre-existing repository-wide freshness debt (12 tracked documents at 127 days versus the 120-day limit).

Reviewer focus

  • Product/demo/research claim boundaries.
  • First-screen clarity for Bluesky users, researchers, and reviewers.
  • Accuracy of the canonical local setup and technical reference.

Closes PROJ-153

@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: cf3e41af-2ffa-42e4-961c-eceb11094bac

📥 Commits

Reviewing files that changed from the base of the PR and between 7c700b0 and 1e466c2.

📒 Files selected for processing (1)
  • README.md

Summary by CodeRabbit

  • Documentation
    • Reorganized the README into a clearer “Start Here” onboarding flow.
    • Added governance walkthroughs and clarified what’s live versus demo-only, including isolation rules for shadow governance.
    • Documented the ranking model, architecture overview, repository map, and public interfaces (including operator CLI workflows).
    • Updated local setup, prerequisites, verification steps, and noted known documentation limitations.
    • Strengthened research and citation guidance, requiring the repository URL and exact commit SHA; refreshed documentation links and license details.

Walkthrough

README.md is rewritten with product-first onboarding, governance and ranking explanations, updated architecture and repository references, reorganized development and interface guidance, consolidated documentation links, and explicit research citation boundaries.

Changes

README overhaul

Layer / File(s) Summary
Product narrative and architecture
README.md
The README adds updated introductory content, a governance-loop walkthrough, live-versus-demo boundaries, ranking-model details, an architecture diagram, and a repository map.
Development and interface reference
README.md
Local setup and verification commands are reorganized, while public, authenticated governance, admin, MCP, OpenAPI, and operator CLI surfaces are consolidated under “Interfaces.”
Documentation and research guidance
README.md
Documentation links are curated into a focused table, and research guidance now separates shadow-demo mechanism claims from human-study claims and requires repository and commit-SHA citations.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related issues

  • PROJ-153 — Directly covers the README rewrite, product positioning, governance narrative, setup accuracy, research boundaries, and documentation structure.
  • PROJ-1821 — Concerns README messaging for the isolated governance demo, production boundaries, and onboarding.
  • PROJ-1818 — Relates to aligning the public product story around live governance and isolated shadow-demo behavior.
  • PROJ-143 — Concerns a broad README restructuring across onboarding, architecture, setup, interfaces, and documentation.

Possibly related PRs

Suggested labels: documentation

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: a README overhaul for Corgi.
Description check ✅ Passed The description is clearly related to the README rewrite and matches the documented changes.
Linked Issues check ✅ Passed The README rewrite covers the requested positioning, links, boundaries, setup, and documentation updates from PROJ-153.
Out of Scope Changes check ✅ Passed The change is confined to README.md and does not introduce unrelated code or product scope.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev/PROJ-153-readme-overhaul
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch dev/PROJ-153-readme-overhaul

Warning

Review ran into problems

🔥 Problems

These MCP integrations need to be re-authenticated in the Integrations settings: Notion


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

@AndrewNordstrom
AndrewNordstrom marked this pull request as ready for review July 21, 2026 20:18
@cursor

cursor Bot commented Jul 21, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@coderabbitai coderabbitai Bot added the documentation Improvements or additions to documentation label Jul 21, 2026

@coderabbitai coderabbitai 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.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@README.md`:
- Around line 190-191: Update the README documentation around the docs:verify
verification gate to either resolve the existing npm run docs:verify failure or
explicitly document that it currently exits nonzero due to repository-wide
documentation freshness debt. Ensure readers understand this is a known
pre-existing limitation rather than an unexplained clean-checkout failure.
- Around line 148-183: Update the “Install and run” sequence in the README to
add an explicit readiness gate after “docker compose up -d” and before “npm run
migrate”/“npx tsx scripts/seed-governance.ts”; use the existing Compose service
names postgres and redis and document waiting until both report healthy. Add a
regression test that simulates delayed Postgres and Redis readiness and verifies
migrations do not run until both services are healthy.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 6889bb81-4bb4-40b6-8d60-1b4917213f73

📥 Commits

Reviewing files that changed from the base of the PR and between 7c700b0 and 36b366c.

📒 Files selected for processing (1)
  • README.md

Comment thread README.md
Comment thread README.md
@AndrewNordstrom

Copy link
Copy Markdown
Collaborator Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown
✅ Action performed

Full review finished.

@coderabbitai coderabbitai 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@README.md`:
- Around line 171-173: Update the Docker Compose prerequisites and startup
instructions around the “docker compose up --wait --wait-timeout” command to
explicitly require Compose v2.17.0 or newer. Add a documentation smoke test
covering the install flow with that minimum supported version, without replacing
the existing wait behavior.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: de4fa815-0ada-4f28-ae2c-f07ac18f690a

📥 Commits

Reviewing files that changed from the base of the PR and between 36b366c and d23302e.

📒 Files selected for processing (1)
  • README.md

Comment thread README.md
@AndrewNordstrom

Copy link
Copy Markdown
Collaborator Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown
✅ Action performed

Full review finished.


You're currently rate limited under our Fair Usage Limits Policy. Your recent PR review activity is in the 95th percentile or higher among CodeRabbit users, so adaptive limits apply. Your next review will be available in 4 minutes.

@coderabbitai coderabbitai 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@README.md`:
- Around line 96-102: Update the scoring documentation around the formula to
call the aggregate result “total score” (or “combined score”) instead of
“component score.” Clarify that each component first produces a raw score, which
is multiplied by its approved signal weight, and that the weighted contributions
are summed into the total.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: c040c0b5-aac1-43df-9f3b-e35c05afc122

📥 Commits

Reviewing files that changed from the base of the PR and between 7c700b0 and f26e110.

📒 Files selected for processing (1)
  • README.md

Comment thread README.md Outdated

@coderabbitai coderabbitai 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.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
README.md (2)

104-104: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Document the required registry and weight-key registration contract.

validateRegistry requires every ScoringComponent.key to have a matching governance weight key and rejects mismatches at module load. Saying external authors can implement ScoringComponent without stating this registration requirement can lead contributors to integrations that fail immediately.

AI agent prompt:

Update README.md Line 104 to state that contributed scoring components must be registered and paired one-to-one with a votable governance weight key. Add a documentation smoke assertion covering this requirement.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@README.md` at line 104, Update the README description of external
ScoringComponent contributions to explicitly require registration and a
one-to-one pairing between each component key and a votable governance weight
key. Add a documentation smoke assertion that verifies this registration
requirement is stated.

185-187: 📐 Maintainability & Code Quality | 🔵 Trivial

Add regression coverage for the documented startup flow.

docs:verify can validate README text and links, but it will not prove that the Compose readiness gate precedes migrations and seeding. Add a smoke test asserting command order and an integration test with delayed postgres and redis readiness to verify migrations do not start until both services are healthy.

AI agent prompt:

Add documentation smoke coverage for the README install sequence:
1. Assert the Compose v2.17+ readiness command appears before migration and seed commands.
2. Simulate delayed postgres and redis readiness and verify migrations start only after both services report healthy.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@README.md` around lines 185 - 187, Add regression coverage for the README
install sequence: extend documentation smoke tests to assert the Compose v2.17+
readiness command precedes migration and seed commands, and add an integration
test that delays postgres and redis readiness until both report healthy before
allowing migrations to start.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@README.md`:
- Line 104: Update the README description of external ScoringComponent
contributions to explicitly require registration and a one-to-one pairing
between each component key and a votable governance weight key. Add a
documentation smoke assertion that verifies this registration requirement is
stated.
- Around line 185-187: Add regression coverage for the README install sequence:
extend documentation smoke tests to assert the Compose v2.17+ readiness command
precedes migration and seed commands, and add an integration test that delays
postgres and redis readiness until both report healthy before allowing
migrations to start.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 2d322fc0-7402-445e-81c9-bca2e0da3146

📥 Commits

Reviewing files that changed from the base of the PR and between f26e110 and 37c208d.

📒 Files selected for processing (1)
  • README.md

coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 21, 2026
@AndrewNordstrom
AndrewNordstrom enabled auto-merge (squash) July 21, 2026 20:48

@coderabbitai coderabbitai 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.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
README.md (1)

84-107: 🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick win

Document the registry pairing contract in the ranking section.
The weighted-sum explanation is already clear, but the README still omits that every ScoringComponent must be registered in src/scoring/registry.ts and matched one-to-one with a src/config/votable-params.ts weight key. That contract is what keeps new components loadable and prevents governance weights from drifting out of sync with the scorer.

AI agent prompt: update README.md lines 84-107 to add the registration/weight-key requirement and add a docs smoke test that fails if registry and votable-params drift.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@README.md` around lines 84 - 107, Update the README Ranking Model section to
state that every ScoringComponent must be registered in src/scoring/registry.ts
and paired one-to-one with a weight key in src/config/votable-params.ts. Add a
documentation smoke test that detects and fails when registry entries and
votable-params weight keys drift out of sync.

Source: MCP tools

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@README.md`:
- Around line 84-107: Update the README Ranking Model section to state that
every ScoringComponent must be registered in src/scoring/registry.ts and paired
one-to-one with a weight key in src/config/votable-params.ts. Add a
documentation smoke test that detects and fails when registry entries and
votable-params weight keys drift out of sync.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: def6aebe-d167-4021-b03a-113189cf8198

📥 Commits

Reviewing files that changed from the base of the PR and between 37c208d and 1e466c2.

📒 Files selected for processing (1)
  • README.md

@AndrewNordstrom

Copy link
Copy Markdown
Collaborator Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown
✅ Action performed

Full review finished.


You're currently rate limited under our Fair Usage Limits Policy. Your recent PR review activity is in the 95th percentile or higher among CodeRabbit users, so adaptive limits apply. Your next review will be available in 45 minutes.

@AndrewNordstrom AndrewNordstrom removed the documentation Improvements or additions to documentation label Jul 21, 2026
@AndrewNordstrom
AndrewNordstrom merged commit 828f696 into main Jul 21, 2026
19 of 30 checks passed
@AndrewNordstrom
AndrewNordstrom deleted the dev/PROJ-153-readme-overhaul branch July 21, 2026 22:54
@AndrewNordstrom

Copy link
Copy Markdown
Collaborator Author

README-only emergency exception receipt: exact head 1e466c289183482594073c1fa5d9e99357a4b8c9 was squash-merged as 828f696e68a76e41376d3b5f15b308868a432e81. GitHub reports the commit changes only README.md. The squash subject includes [skip ci]; no Deploy to VPS workflow run was created. Other worktrees and branches were not included. Post-merge homepage, live, ready, and demo checks returned HTTP 200.

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