feat(client): display fork identity for Phase C / P4 (no forks yet) - #116
Conversation
Tooling-only groundwork -- no forks created. See docs/adr/0001 for the full Lane 3 eligibility/stewardship checklist that gates any real fork; this doesn't attempt that. - SourceInfo gains optional upstream (original repo URL, set only for numan-maintained fork versions). - numan info: adds a "Distribution: numan-maintained fork" line when a package's owner is numan-maintained, and an "upstream:" line under any version whose source.upstream is set. - numan search: appends a " [fork]" marker to rows owned by numan-maintained (extracted as a small pure fork_marker() helper, mirroring format_row_status()'s style). Ref: docs/plans/2026-08-09-intake-process-reform.md (P4), docs/adr/0001-ecosystem-trust-upstream-contribution-fork-stewardship.md
|
Warning Review limit reached
Next review available in: 36 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the 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 configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
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. Comment |
There was a problem hiding this comment.
Sorry @tonythethompson, you have reached your weekly rate limit of 500000 diff characters.
Please try again later or upgrade to continue using Sourcery
PR Summary by QodoDisplay fork identity metadata in
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
Greptile SummaryThis PR adds client-side parsing and display support for identifying future numan-maintained forks.
Confidence Score: 5/5The PR appears safe to merge because no blocking failure remains within the eligible follow-up review scope. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| src/cmd/info.rs | Adds fork status, distribution, and per-version upstream attribution output with focused formatter tests. |
| src/cmd/search.rs | Adds an owner-based fork marker to search rows and tests both marker outcomes. |
| src/core/package.rs | Adds the shared maintained-owner constant and backward-compatible optional upstream source metadata. |
Reviews (4): Last reviewed commit: "Merge branch 'master' into feat/p4-fork-..." | Re-trigger Greptile
Code Review by Qodo
1.
|
Qodo FixerNo findings are within the configured fix scope. To change which findings are fixed, adjust the setting on your Qodo configuration page. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0546d6d86e
ℹ️ 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".
Show numan-maintained status distinctly, only promise upstream details when attribution is present, and centralize the maintained-owner slug. Co-authored-by: Cursor <cursoragent@cursor.com>
|
1886c10: numan-maintained packages show Status: numan-maintained fork; distribution note only prints when a version has source.upstream; NUAN_MAINTAINED_OWNER centralized in core::package. |
Co-authored-by: Cursor <cursoragent@cursor.com>
Resolve info.rs test conflicts by keeping both fork-identity and commit-snapshot provenance coverage from master. Co-authored-by: Cursor <cursoragent@cursor.com>
d93434e
|
Already fixed on this branch: |
Keep both search row markers: [fork] from P4 and [provisional] from P6. Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
Tooling-only groundwork for the selective fork policy (P4). No forks created — this is display/parsing plumbing so that when a fork is eventually created (after satisfying ADR 0001's Lane 3 checklist in full: license, bounded scope, build/release capability, ownership, stewardship record, upstreaming-default, exit condition), the client already knows how to show it honestly.
SourceInfogains optionalupstream: Option<String>(original repo URL, set only for numan-maintained fork versions).numan info: addsDistribution: numan-maintained fork -- see 'upstream' under each version belowwhen a package's owner isnuman-maintained, and anupstream:line under any version whosesource.upstreamis set.numan search: appends a[fork]marker to rows owned bynuman-maintained(extracted as a small purefork_marker()helper, mirroringformat_row_status()'s existing style for testability).Test plan
cargo build— cleancargo test— 665+ passed across lib and all integration binaries, 0 failedcargo fmt --check— cleanformat_infofork-distribution note (present/absent),format_infoupstream line (present/absent),fork_marker()(numan-maintained / normal owner)Ref:
docs/plans/2026-08-09-intake-process-reform.md(P4),docs/adr/0001-ecosystem-trust-upstream-contribution-fork-stewardship.md, numan-registry/numan-plugins companion PRs.🤖 Generated with Claude Code