Skip to content

docs: repair canonical and source links - #89

Merged
roli-lpci merged 1 commit into
mainfrom
codex/link-integrity-20261019-fidelis
Oct 19, 2026
Merged

roli-lpci merged 1 commit into
mainfrom
codex/link-integrity-20261019-fidelis

Conversation

@roli-lpci

@roli-lpci roli-lpci commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Scope

Repairs 10 identity-proven documentation links only:

  • canonical Hermes Gate repository owner while preserving the verified pinned commit
  • canonical Letta repository
  • eight stale source/line references whose current targets and ranges were verified

The remaining 23 stale src/cogito/* roadmap references are deliberately parked because current source/content drift requires a destination decision rather than a blind namespace rewrite.

Verification

  • git diff --check: pass
  • Ruff: pass
  • package build: pass
  • hermes-gate fast: pass
  • hermes-gate review: pass
  • Gate diff digest: e2b4609d5d669f2b8f0ca88691b1ced76084b1c7bef049ccaecf6af801a2aa2e
  • independent acceptance: pass on the exact diff
  • all repaired relative files and displayed ranges: verified
  • canonical Gate commit SHA at roli-lpci/hermes-gate: verified
  • Letta target: direct 200

Full pytest is explicitly not green: 1280 passed, 44 failed, 1 xfailed, 1 xpassed. The failures are unrelated pre-existing/environment/API failures in live Ollama and mem0/Chroma paths; no tests or scripts consume the three changed Markdown files.

Summary by Sourcery

Repair verified canonical and source links across the project documentation without changing code or unresolved roadmap references.

Bug Fixes:

  • Repair stale canonical repository and source references across contributor and project documentation.

Enhancements:

  • Update documentation links to verified current repositories and valid relative file anchors while preserving the existing pinned Hermes Gate revision.

Documentation:

  • Correct the Hermes Gate repository owner, MemGPT/Letta repository link, and eight stale source and line references in the documentation.

@sourcery-ai

sourcery-ai Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Repairs 10 verified documentation identities: two canonical repository links and eight source/line references, while preserving the pinned Hermes Gate commit and intentionally deferring 23 ambiguous roadmap references. Validation passed for formatting, Ruff, build, Hermes Gate checks, exact-diff acceptance, and repaired link targets; full pytest remains affected by unrelated pre-existing environment/API failures.

File-Level Changes

Change Details Files
Updated the pinned Hermes Gate installation URL to the canonical repository owner without changing the verified commit SHA.
  • Repointed the documented Git dependency from the former Hermes Gate organization to roli-lpci/hermes-gate.
  • Preserved the existing pinned commit for reproducible tooling installation.
CONTRIBUTING.md
Repaired the canonical repository link for MemGPT MemoryBench.
  • Changed the target from the stale MemGPT repository to letta-ai/letta.
docs/DISPATCHER_DESIGN.md
Converted eight stale source references into valid relative Markdown links with current targets and line anchors.
  • Updated links from docs/ROADMAP_CODEX.md to source and benchmark files using correct relative paths and GitHub-style line anchors.
  • Left the remaining stale src/cogito/* roadmap references unchanged because their destinations require content decisions rather than namespace replacement.
docs/ROADMAP_CODEX.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@coderabbitai

coderabbitai Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d9bf74c6-9a1c-4770-bee8-f31d27dbb406

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

@sourcery-ai sourcery-ai 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.

Hey - I've found 2 issues

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="docs/ROADMAP_CODEX.md" line_range="28" />
<code_context>
+Reason: the codebase today cleanly supports the narrow claim that `/recall_hybrid` is an opt-in LongMemEval-derived path and leaves `/recall` untouched ([src/cogito/server.py:175-193](src/cogito/server.py:175), [CHANGELOG.md:3-15](../CHANGELOG.md#L3-L15)). It does **not** yet support the broader dispatcher claim because typed writes, migration, dual-index querying, and valid cross-path merge semantics are missing. Shipping the benchmark result as workload-specific is honest; trying to ship workload-aware dispatch now would be architecture-first, evidence-second.
</code_context>
<issue_to_address>
**Changelog links miss hybrid entry**

When readers follow either changelog link, following either changelog link lands at lines 3–15, which describe the `0.3.0rc1` release rather than the opt-in hybrid path. The hybrid entry is at lines 272–284, so readers see unrelated notes instead of the cited evidence.

Update both changelog anchors to the current `v0.3.0` entry at lines 272–284.

Also at `docs/ROADMAP_CODEX.md:69`.
</issue_to_address>

### Comment 2
<location path="docs/ROADMAP_CODEX.md" line_range="12" />
<code_context>
+- The 400-char split is explicitly unmeasured in the design, and the repo contains no production length-distribution measurement yet ([docs/DISPATCHER_DESIGN.md:56-57](DISPATCHER_DESIGN.md#L56-L57)).
</code_context>
<issue_to_address>
**Markdown line link misses its target**

When a reader follows this link in GitHub's rendered Markdown view, gitHub renders `DISPATCHER_DESIGN.md` as Markdown, where source line numbers are not anchors, so `#L56-L57` does not scroll to the cited text and readers land at the document top.

Link to a rendered heading anchor or use a plain-source URL with the line fragment.
</issue_to_address>

Sourcery assessment

Approval pending. 1 finding to address first.

Blocking findings: docs/ROADMAP_CODEX.md:28


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Comment thread docs/ROADMAP_CODEX.md
Fast-ship is the right fork.

Reason: the codebase today cleanly supports the narrow claim that `/recall_hybrid` is an opt-in LongMemEval-derived path and leaves `/recall` untouched ([src/cogito/server.py:175-193](src/cogito/server.py:175), [CHANGELOG.md:3-15](CHANGELOG.md:3)). It does **not** yet support the broader dispatcher claim because typed writes, migration, dual-index querying, and valid cross-path merge semantics are missing. Shipping the benchmark result as workload-specific is honest; trying to ship workload-aware dispatch now would be architecture-first, evidence-second.
Reason: the codebase today cleanly supports the narrow claim that `/recall_hybrid` is an opt-in LongMemEval-derived path and leaves `/recall` untouched ([src/cogito/server.py:175-193](src/cogito/server.py:175), [CHANGELOG.md:3-15](../CHANGELOG.md#L3-L15)). It does **not** yet support the broader dispatcher claim because typed writes, migration, dual-index querying, and valid cross-path merge semantics are missing. Shipping the benchmark result as workload-specific is honest; trying to ship workload-aware dispatch now would be architecture-first, evidence-second.

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 · Changelog links miss hybrid entry

When readers follow either changelog link, following either changelog link lands at lines 3–15, which describe the 0.3.0rc1 release rather than the opt-in hybrid path. The hybrid entry is at lines 272–284, so readers see unrelated notes instead of the cited evidence.

Update both changelog anchors to the current v0.3.0 entry at lines 272–284.

Also at docs/ROADMAP_CODEX.md:69.

Prompt for AI agents
In `docs/ROADMAP_CODEX.md` at line 28:

**Changelog links miss hybrid entry**

When readers follow either changelog link, following either changelog link lands at lines 3–15, which describe the `0.3.0rc1` release rather than the opt-in hybrid path. The hybrid entry is at lines 272–284, so readers see unrelated notes instead of the cited evidence.

Update both changelog anchors to the current `v0.3.0` entry at lines 272–284.

Also at `docs/ROADMAP_CODEX.md:69`.

Comment thread docs/ROADMAP_CODEX.md
- The proposed default “query both, merge by score” is underspecified. Both paths expose cosine-like scores after stage 1 (`recall_b` rewrites `score` to cosine at [src/cogito/recall_b.py:280-289](src/cogito/recall_b.py:280); hybrid does the same at [src/cogito/recall_hybrid.py:299-316](src/cogito/recall_hybrid.py:299)), but LLM rerank changes order without recomputing score in either path ([src/cogito/recall.py:61-64](src/cogito/recall.py:61), [src/cogito/recall.py:220-227](src/cogito/recall.py:220), [src/cogito/recall_hybrid.py:419-425](src/cogito/recall_hybrid.py:419), [src/cogito/recall_hybrid.py:507-513](src/cogito/recall_hybrid.py:507)). “Merge by score” would therefore be incorrect after reranking.
- Migration is nontrivial because `seed.py` currently assumes atomized fact writes to `/store` ([src/cogito/seed.py:328-349](src/cogito/seed.py:328)); the design does not define how existing curated facts, `/add`-extracted facts, and future long-form writes are distinguished or backfilled.
- The 400-char split is explicitly unmeasured in the design, and the repo contains no production length-distribution measurement yet ([docs/DISPATCHER_DESIGN.md:56-57](docs/DISPATCHER_DESIGN.md:56)).
- The 400-char split is explicitly unmeasured in the design, and the repo contains no production length-distribution measurement yet ([docs/DISPATCHER_DESIGN.md:56-57](DISPATCHER_DESIGN.md#L56-L57)).

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚪ Low · Markdown line link misses its target

When a reader follows this link in GitHub's rendered Markdown view, gitHub renders DISPATCHER_DESIGN.md as Markdown, where source line numbers are not anchors, so #L56-L57 does not scroll to the cited text and readers land at the document top.

Link to a rendered heading anchor or use a plain-source URL with the line fragment.

Prompt for AI agents
In `docs/ROADMAP_CODEX.md` at line 12:

**Markdown line link misses its target**

When a reader follows this link in GitHub's rendered Markdown view, gitHub renders `DISPATCHER_DESIGN.md` as Markdown, where source line numbers are not anchors, so `#L56-L57` does not scroll to the cited text and readers land at the document top.

Link to a rendered heading anchor or use a plain-source URL with the line fragment.

@roli-lpci
roli-lpci merged commit 9504c4a into main Oct 19, 2026
13 checks passed
@roli-lpci
roli-lpci deleted the codex/link-integrity-20261019-fidelis branch October 19, 2026 19:08
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