Skip to content

Align public claims with evidence - #334

Merged
mohanagy merged 3 commits into
nextfrom
issue-331-docs-honesty
May 26, 2026
Merged

mohanagy merged 3 commits into
nextfrom
issue-331-docs-honesty

Conversation

@mohanagy

@mohanagy mohanagy commented May 26, 2026 •

Copy link
Copy Markdown
Owner

Summary\n- align README, package metadata, benchmark landing docs, and examples with the current evidence surface\n- add claims-and-evidence and benchmark-suite scaffold docs plus release/roadmap claim-gating language\n- remove benchmark headline copy from install hook guidance and update the locked doc tests\n\nCloses #331

Summary by CodeRabbit

  • Documentation

    • Added a claims-and-evidence map and reworked docs/README to separate demonstrated vs. in-progress vs. unmeasured claims, plus links to per-repo benchmark receipts.
    • Revised benchmark landing and suite docs to emphasize reproducible, per-repo receipts instead of cross-repo headline numbers.
    • Streamlined examples and roadmap language to focus on task-aware execution slices and measurement guidance.
  • Chores

    • Updated package metadata description and release checklist to require reproducible benchmark artifacts for new public claims.

Review Change Stack

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented May 26, 2026 •

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: f11a8473-4274-45d0-9df8-49d429f42360

📥 Commits

Reviewing files that changed from the base of the PR and between a146938 and e1b7703.

📒 Files selected for processing (4)
  • README.md
  • src/infrastructure/install.ts
  • tests/unit/install-templates.test.ts
  • tests/unit/install.test.ts
✅ Files skipped from review due to trivial changes (1)
  • README.md

📝 Walkthrough

Walkthrough

This PR aligns public-facing documentation, messaging, package metadata, install-hook wording, and tests with demonstrable evidence by adding a claims-to-evidence registry, reframing README/examples, removing unverified performance claims, and gating new claims on reproducible benchmark artifacts.

Changes

Claims Honesty and Evidence Alignment

Layer / File(s) Summary
Claims & Evidence Framework
docs/claims-and-evidence.md, docs/benchmarks/suite/README.md, CHANGELOG.md, docs/release.md, docs/roadmap.md
New docs/claims-and-evidence.md registry maps each public claim to evidence or issue; docs/benchmarks/suite/README.md documents suite scope/methodology; CHANGELOG and release checklist added gating requiring reproducible artifacts; roadmap updated with docs-honesty items.
README Product Positioning
README.md
Tagline and lead reframed to “execution-slice / local task-aware context packs”; demo/receipts section drops comparative metrics and links to artifacts; Claude workflow described as bounded retrieve/context_pack first pass; large rewrite of demonstrated/in-progress/unmeasured sections and measurement guidance; strict profile clarified; documentation links added.
Benchmark Documentation Clarity
docs/benchmarks/index.html, docs/benchmarks/govalidate-suite/README.md
Benchmark landing and suite READMEs reworded to present per-repo dated receipts, remove cross-repo headline framing, expand reproducibility notes (usage, verify.sh, committed artifacts), and emphasize local execution and review of saved reports.
Marketing Copy & Package Metadata
examples/why-madar.md, package.json
examples/why-madar.md condensed to an execution-slice overview with claim buckets and pointers to docs; package.json description updated to “Local task-aware context packs”.
Install hook detection & messaging
src/infrastructure/install.ts
Install hook payload detection narrowed to recognizable additionalContext signatures; RETRIEVE_FIRST_MESSAGE wording changed to instruct using graph result as first bounded pass and removed prior performance/turn-count claims.
Install hook tests & helpers
tests/unit/install-*.test.ts
Added helper to encode graph-checked hook command; tests updated to assert graph-first guidance present and that legacy performance claims (“3x fewer turns”, “2.8x faster”) are absent after reinstall handling.
Test Suite Enforcement
tests/unit/*.test.ts
Unit tests updated to enforce execution-slice framing across README/package metadata/examples, require per-repo spread/no single-number cross-repo headlines, and validate presence/structure of docs/claims-and-evidence.md.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related issues

Possibly related PRs

  • mohanagy/madar#289: Overlaps in install-hook guidance and graph-first behavior changes in src/infrastructure/install.ts.
  • mohanagy/madar#333: Related edits to strict context-pack/graph-first plumbing and install templates/tests.
  • mohanagy/madar#249: Touches installer hook-detection/payload parsing logic similar to this PR.

Poem

🐰 A rabbit hops through claims with care,
Benchmarks now show each receipt with flair,
"Demonstrated today" stands bright and clear,
In-progress notes and links appear,
Evidence maps guide each honest line.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Align public claims with evidence' is concise, specific, and accurately summarizes the main objective of the PR.
Description check ✅ Passed The description covers the main changes, links to issue #331, and includes the required sections (Summary, implicit Testing via doc/test changes).
Linked Issues check ✅ Passed The PR successfully implements all coding requirements from issue #331: removing overclaiming language, reframing to execution-slice positioning, separating demonstrated vs aspirational claims, updating metadata, adding claims-and-evidence mapping, and updating release/roadmap checklists.
Out of Scope Changes check ✅ Passed All changes are directly scoped to issue #331 objectives: documentation updates, test assertions for new claim-honesty requirements, package metadata alignment, and install-hook guidance refinement.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch issue-331-docs-honesty

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint skipped: no ESLint configuration detected in root package.json. To enable, add eslint to devDependencies.


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

@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 `@src/infrastructure/install.ts`:
- Line 239: The install hook detection currently matches the full
RETRIEVE_FIRST_MESSAGE text so changing the message breaks detection; update the
managed-hook detection logic to match a stable substring or pattern instead of
full equality—e.g., detect hooks where the message starts with "STOP. This
project has a madar knowledge graph." or use a regex that ignores variable GUID
text (MCP_ROUTING_GUIDANCE) — update all places that reference
RETRIEVE_FIRST_MESSAGE in install.ts (both install and uninstall/detection code
paths) to use the new startsWith/includes/regex check so old hooks remain
recognized.
🪄 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: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: d44d400c-00f1-4956-b690-652549774d82

📥 Commits

Reviewing files that changed from the base of the PR and between 80f7c28 and a146938.

📒 Files selected for processing (18)
  • CHANGELOG.md
  • README.md
  • docs/benchmarks/govalidate-suite/README.md
  • docs/benchmarks/index.html
  • docs/benchmarks/suite/README.md
  • docs/claims-and-evidence.md
  • docs/release.md
  • docs/roadmap.md
  • examples/why-madar.md
  • package.json
  • src/infrastructure/install.ts
  • tests/unit/benchmark-artifact.test.ts
  • tests/unit/install-templates.test.ts
  • tests/unit/install.test.ts
  • tests/unit/package-metadata.test.ts
  • tests/unit/release-docs.test.ts
  • tests/unit/roadmap-docs.test.ts
  • tests/unit/why-madar-doc.test.ts

Comment thread src/infrastructure/install.ts Resolved
mohanagy and others added 2 commits May 26, 2026 21:48
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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