Repository navigation
feat(contracts): register forge-core, forge-collab and forge-community fresh for beta.7 - #154
Merged
Merged
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
…y fresh for beta.7 The fresh registration of WIPE-PLAN 2.2/2.3: the three schemas from design/final-schema/build.py (D-2..D-5 on, D-6 off) in the findBy/where spelling, registered/forge-core.v1.json as the new forge-core, contract-validate samples and negative mutations for three contracts (every checkRun and transition rule proved load-bearing), contracts.yml validating all three plus the deploy self-test, deploy-v2.mjs registering forge-community after forge-collab in the same group, and forge-v2.md for transitions, dense numbering, upstreamNumber, the community contract and packManifest kind 3. The beta.6 contract snapshot is dropped (beta.7 cannot parse it) until the wipe re-snapshots, and rb-2 skips without one. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
PastaPastaPasta
force-pushed
the
feat/wipe-schema-three-contracts
branch
from
September 29, 2026 16:59
66f4ecf to
b82d254
Compare
PastaPastaPasta
added a commit
that referenced
this pull request
Sep 29, 2026
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
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.
What
The beta.7 fresh registration as three contracts (WIPE-PLAN §2.2, §2.3), into the integration branch
wipe/beta7. It is stacked on the SDK bump #153 (chore/sdk-beta7), which has to merge first; this PR fixes the reds #153 leaves (the contracts job,contract-seed.test.ts,conformance.test.ts).forge-contracts/contracts/{forge-core,forge-collab,forge-community}.jsonare generated bydesign/final-schema/build.py, with the flags set per WIPE-DECISIONS: D-2 top-levelupstreamNumber(skipIfAbsent); D-3chunk.documentsCountable; D-4release.assetManifest+release.imported, with packManifest kind 3; D-5 monotonic checkRun plus itsupdatedindex; D-6 off (nobyRunnerbit). D-8 isn't written yet;build.pytakes flags, so its items drop in there. Everything is in thefindBy/wherespelling (platform#5197).transition(the sum-based state machine), dense numbering (dense+perRepo),tk.patch.draftis gone, andevent/authorEventlose the state kinds.registered/forge-core.v1.jsonbecomes the new forge-core, so--expect-updatenow checks future in-place updates against the fresh registration.transition,tk,upstreamNumber, the release manifest, a kind-3 packManifest and the checkRun rules.negative.shtakes three files; the webhook/checkRun/star/starBeat/policy mutations move tocommunity.perRepoindex; sum withoutsummable; an optional summed property; a required skip property; a non-uniquefindByon transition;immutableAllowSettingon a mutable property.conclusionIfDone/doneIfConclusionandb1–b3..github/workflows/contracts.ymlvalidates all three contracts and runsdeploy-v2.mjs --self-test(offline).DEPENDENT_CONTRACTSlist registers forge-collab, then forge-community, after forge-core, all in the one group.--only collab|communityand--force-new --same-groupwork per contract.--force-newwithout--onlyrefuses to put a superseded collab or community into the existing group unless--same-groupis given, when forge-core itself is kept. A dry run sets a record aside only when the real run would supersede it.--self-testchecks the group-field limits and that every schema loads with forge-core's id substituted.snapshot-contracts.mjssnapshots forge-community too.lookupbytes on every parse. Wipe-day step 5 re-runssnapshot-contracts.mjsand restores the entry; until then pages fetch contracts, which fails closed. The e2e checkrb-2(nogetDataContract) skips while the deployment has no snapshot, which is expected until that step.findBy/wherespelling, the forge-community section,transition(§3.1), dense numbering andupstreamNumber(§6.2), the counts from transition kinds, the checkRun rules, packManifest kind 3, the sizes, and deploying three contracts. § Contract group trust is marked pending until dg'scheck_pair/is_knownand the web's group trust learn forge-community in the contract-resolution follow-up.Sizes (beta.7 rs-dpp, protocol 14)
Every contract has at least 3 KB of headroom.
Verified offline
contract-validateon all three: ok. Samples 24/21, 32/46 and 15/15 (accepted/refused), plus--expect-updateagainst the new registered forge-core.negative.sh: all 55 mutations rejected.b7gate --cases:cases.jsongives collab 26/26 and community 8/8;cases-core.jsongives 6/6.deploy-v2.mjs --self-test: ok.cargo test --workspace: green (a forge-core test parses forge-core.json).lib/sdk/deploy-v2.test.ts;tscis clean.Nothing ran against moutai. Everything live (registration, fees, the
denseandc1–c5totals) waits for the wipe.Not in this PR
Clients on this branch still read star/checkRun/etc. from forge-collab until §2.4 lands. That is fine on an integration branch that won't reach master before the wipe.
🤖 Generated with Claude Code