Repository navigation
feat: GitHub-parity issues (edit, labels, assignees, filters, paging, URL state) — F-1 - #81
Merged
Merged
Conversation
…edit WriteEngine::replace_document signs one DocumentReplace over the stored document with the changes merged and the revision bumped, skips an edit that already holds (nothing signed), refuses a non-owner before signing, and confirms a spent nonce or a revision refusal by re-reading. Collab::update_target / update_comment are the author edits (title/body, comment body); private repos are refused (plaintext would sit next to enc). dg issue edit --title/--body/--body-file uses it. Verified live on moutai: an edit landed (13.5M credits), a re-run wrote nothing, a non-author was refused with E601 before signing. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ers and paging, dg label delete Assign events carry the assignee as value and refId (the sparse addressee index answers assigned-to-me). dg issue list reads every issue by keyset and the repo feed once, then filters by --label/--author/--assignee/--search/--state and pages with --limit/--page (SR-04). dg label delete removes the signer's definitions and retires a label others also defined. Adds CLI e2e scenario 18 and the issue-list paging fixture seeder. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…assignees, edits Issue list: Open/Closed tabs with exact counts (closed from the complete feed against the countable total, SR-03), label/author/assignee/mentions filters, newest/oldest/most-commented sort, search with GitHub qualifiers, all in the URL (D-913, D-217), keyset paging past 100 (D-904), label chips and assignee avatars. Reads through composite queries: one composite for the first 100 issues, comment counts, names, feed and labels. Issue page: one composite for the issue, comments, events, labels and members; title/body and own-comment edits with an edited marker (D-216), a label picker with colours and label creation (D-215), an assignee picker writing refId (D-201), #n/@name autolinks, Write/Preview, issue templates from .forge or .github ISSUE_TEMPLATE. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Keeps master's private-repo read gate (the issue index and the issue page admit issues and comments through gateFor, keyed per reader session), the WCAG contrast classes, the review-comment grouping and the markdown safety limits, with F-1's composite reads, autolinks and edit slots on top. Registers CLI scenario 18 and the issues-paging fixture. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…m the addressee index forge-web/e2e/v2-issues.spec.ts: exact counts past 100, keyset paging to page 3, URL filters surviving a reload, request budgets, and (E2E_WRITE=1) edit with the edited marker, a coloured label, an assignment found by assigned-to-me. All pass on moutai. CLI scenario 18 passes on moutai. Explore's assigned-to-me reads event.addressee (refId) across repos. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…el delete Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…al private edits Private-repo edits of issues and comments now re-seal through #67's sealEdit and replace only enc/epoch (no plaintext ever leaves); without a seal context a private edit is still refused. The issue page and list use #68's privateComposeBlock / composeCost / SealedLimit. dg issue list reads private issues through readable_all (decrypted for members); the CLI edit still refuses private repos (no sealed CLI edit yet). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…d label names Issue index: every read runs on one queue per index (a concurrent read no longer ends a walk early or lists a row twice); once every issue is loaded the list sorts the whole set (oldest-first on a small repo showed nothing). The proved header count is dropped on a count-changing write. DPNS names from a full lookup page are kept (seedFromDomains). forge-core: update_comment refuses private repos; replace_document reports an edit that landed after a spent nonce as written; label event values must be trimmed (dg trims). Simplifications: one mention rule, one title matcher, composite helpers (compositeOf/siblingOf/docsAt/countsAt, readChunk), candidatesFor/rowsOf, BODY_MAX/utf8Length/isIdentityId, dead exports removed. Contrast: muted text has its dark variant. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Warning Review limit reachedNext included review available in 23 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (43)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
Adopts master's WriteEngine::replace_document (from #66) and drops F-1's duplicate; update_target/update_comment call it. Issue pages honour the archive gate. The CLI issue-parity scenario is renumbered 20 (18 is repo settings). e2e helpers use master's E2E_IDENTITY_DIR. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Explore also shows a Sign in button in its signed-out panel, so the unscoped locator matched two elements. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The CLI issue-parity scenario is renumbered 21 (20 is config + storage UX). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Keeps F-1's private-repo refusal in update_target/update_comment (collab_contract no longer refuses private repos, so without it a CLI edit would publish plaintext beside enc). The #n/@name autolinks ride #82's markdown render context. The CLI issue-parity scenario is renumbered 22. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Carries #84's coarse-pointer touch targets onto the F-1 issue list tabs, issue body header and timeline cards. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
PastaPastaPasta
added a commit
that referenced
this pull request
Sep 27, 2026
The filtered list (#81) built a keyless reader, so a member of a private repo got E301 and a non-member never reached E307. It now uses the session's signer, and scenario 19 lists by the sealed label. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This was referenced Sep 27, 2026
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.
F-1: GitHub-parity issues (web + CLI)
Implements platform-parity-spec §1.2 and Group F item F-1. Fixes D-201, D-215, D-216, D-217, D-904, D-913, SR-03 and SR-04.
Web issue list (
/repo/issues)issue.numbertotal minus closed minus hidden, so it is correct without reading every issue. The repo header shows the same proven count.me, an id, ornone) and "mentions me". Sort by newest, oldest or most commented. The search box accepts GitHub qualifiers (is:closed label:bug author:@me no:assignee sort:comments-desc) and matches#12. Everything is in the URL and survives a reload (D-913, D-217).$createdAt <=keyset composites of 100.documents.compositereturns the newest 100 issues plus comment counts, author DPNS names, and siblings for the first feed page and the labels. The rest of the feed is read only when it is larger. Closed or labelled issues past the loaded pages are resolved by$id incomposites. The author filter uses theauthorindex. The new wrapper islib/sdk/composite.ts, with a plain-query fallback; P-3 should extend it.Issue page
$id → targetId), plus the labels and members (siblings). Names come from one batched DPNS read.updateTarget/updateComment, which carry the revision guard.sealEdit(feat(web): create private repos and write sealed content from the browser #67), and the replace sets onlyencandepoch. With no seal context, a private edit is still refused.valueandrefId, so the sparseevent.addresseeindex answers "assigned to me". Explore's panel now reads that index.#nand@namelink automatically; emails, fragments, hex colours and code are left alone..forge/ISSUE_TEMPLATE, falling back to.github/ISSUE_TEMPLATE, on the default branch.forge-core and CLI
WriteEngine::replace_documentsigns one DocumentReplace. It is idempotent (nothing is signed when the document already reads that way) and refuses a non-owner before signing. It confirms a spent nonce by re-reading.Collabmethods:update_target,update_comment,set_assignee,delete_labelandissues_with_state.issues_with_statedoes a keyset read of every issue plus one read of the feed, with no per-row reads, and decrypts for members throughreadable_all.event_payload_propsnow refuses an assign or unassign unlessrefIdequalsvalue, and refuses an empty label. The TypeScript side has the same rules.dg issue edit(a re-run writes nothing; a non-author gets E601 before signing)dg issue label <repo> <n> add|remove <label>...(the old--add/--removestill work)dg issue assign|unassign <repo> <n> me|<id|dpns>...dg issue list --label --author --assignee --search --state --limit --page(filters cover the whole repo; SR-04)dg label deletedg label create|listalready existed.dg issue editrefuses private repos with a clear E-message; there is no sealed CLI edit yet.Pin / lock
Pin and lock are left out. They need no contract change, but the spec assigns event kinds 19–22 to F-7 and C-2 (rules and vectors).
Fixtures
issues-paging(moutai, owner F1OWNERF7sgDMgk86exmW7Qv9YEMy7gxgE8NVvsuBCssRpk7BVa) holds 112 issues. Its labels arepaging-evenandpaging-tens; feat: make the pull-request workflow observable and honest #3, fix(import): calibrate the cost estimate so it stays an upper bound #33 and feat(web): pending reviews, ranges, resolution, comment edit and delete (review-parity PR 4) #103 are closed, and feat: forge-v2 shared contracts for protocol 14 (core + collab, consensus writer gates) #7 is assigned (withrefId) to F1COLLABDXDnpztWi88ouMF8JhWqjtoB5n49DHuUbmpmjnXNigH8.forge-contracts/scripts/seed-issues-paging.mjs. It is idempotent and paced for the shared DAPI limit.f1-scratchtakes the write tests.Tests (all run live on moutai)
e2e/v2-issues.spec.ts, 7/7 passing:E2E_WRITE=1: edit a title and see "edited"; create and apply a coloured label; assign F1COLLAB, whose "assigned to me" filter then finds the issueevent.addresseeread finding the assign event.issue-query.test.ts)cargo test -p forge-core -p dgpassed; clippy clean.Measured request counts (cold loads, moutai):
$id incomposite; 1 count)The remaining chrome reads belong to P-3, so the ≤ 8 / ≤ 5 budgets hold for the pages themselves. The Playwright spec asserts page reads + 7 chrome.
Evidence (screenshots):
dash-forge-qa/evidence/impl/feat-issues-parity/.Review (code-review-validator and code-simplifier) — fixed here
seedFromDomainsfixes this, with a test.update_commentrefuses private repos.replace_documentreports an edit that landed after a spent nonce as written.compositeOf,siblingOf,docsAtandcountsAt, plusreadChunkcandidatesForandrowsOfBODY_MAX,utf8LengthandisIdentityIdFollow-ups (not in this PR)
sealEditre-seals with a fresh nonce, so an edit is never skipped as "already applied". Comment edits also carry no revision guard.refId == meread is capped at 100 and unordered; review requests share that index.labelChoiceshelper, and passingdefsorbyNamebut not bothlabelQueryandcompleteLabelsinlabels.tsissues_with_state, addpost_event_payload, and fetch the contract once indelete_labelplatform/mod.rs, and drop theRowtuple in dgissue.rsdg issue list --limit 0is now a usage error; the default is 30.truncatednow means "more pages exist".🤖 Generated with Claude Code
Summary by CodeRabbit