Skip to content

docs(changelog): add Cobalt PolicyRegistry composite-policies entry - #200

Merged
rayyan224 merged 9 commits into
mainfrom
changelog/cobalt-policy-registry-composite-policies
Aug 11, 2026
Merged

docs(changelog): add Cobalt PolicyRegistry composite-policies entry#200
rayyan224 merged 9 commits into
mainfrom
changelog/cobalt-policy-registry-composite-policies

Conversation

@rayyan224

Copy link
Copy Markdown
Collaborator

Summary

  • Adds changelog/cobalt/policy-registry-composite-policies.md, documenting the UNION/INTERSECT composite policy surface landing at Cobalt (createCompositePolicy, updateComposite, compositePolicyChildIds, MIN/MAX_COMPOSITE_CHILD_POLICIES), stacked on the existing seize + scheduled-multiplier Cobalt entries.
  • Indexes the new entry in changelog/README.md.
  • All selectors/topic0s verified against src/interfaces/IPolicyRegistry.sol via cast sig/cast sig-event; revert precedence for createCompositePolicy/updateComposite taken from test/unit/PolicyRegistry/createCompositePolicy_revertOrder.t.sol and updateComposite_revertOrder.t.sol.

Test plan

  • Docs-only change — no source touched.
  • Selectors re-verified with cast sig/cast sig-event against the current interface.
  • Structure mirrors changelog/cobalt/b20-seize-surface.md per changelog/README.md's format contract.

robriks and others added 4 commits August 10, 2026 16:38
…plier entry

Introduce a per-hardfork, per-feature changelog under changelog/<hardfork>/,
codified in changelog/README.md, and add the first entry: the Beryl -> Cobalt
ERC-8056 ("Scaled UI Amount") migration for the B20 Asset multiplier surface.
Link it from the top-level README.

Co-authored-by: Cursor <cursoragent@cursor.com>
…on entry

Adds changelog/cobalt/b20-seize-surface.md documenting the Beryl -> Cobalt seize surface (seizeWithMemo, SEIZE_ROLE, SEIZE_HOLDER_POLICY, SEIZE_RECEIVER_POLICY, Seized event, AccountNotSeizable error, SEIZE pause vector) shared by B20 Asset and Stablecoin, and the advisory deprecation of burnBlocked (unchanged and still dialable). Links it from the changelog index.

Co-authored-by: OpenCode <opencode-noreply@coinbase.com>
…ER_POLICY

Co-authored-by: OpenCode <opencode-noreply@coinbase.com>
Document the UNION/INTERSECT composite policy surface landing at Cobalt,
mirroring the seize/scheduled-multiplier changelog entries: mapping
table with verified selectors/topic0s, revert precedence for
createCompositePolicy/updateComposite, and guarantees/edge-case Q&A.

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Interface Coverage

✅ All interface functions have test coverage.

@github-actions

github-actions Bot commented Aug 11, 2026

Copy link
Copy Markdown

📊 Forge Coverage (src/lib/)

🟡 ≥95% across all metrics — some metrics below 99%.

File Lines Stmts Branches Funcs
🟡 B20FactoryLib.sol 97.70% 98.00% 100.00% 95.00%
🔴 test/lib/ForceFeeder.sol 0.00% 0.00% 100.00% 0.00%
🔴 test/lib/PrecompileProbe.sol 0.00% 0.00% 0.00% 0.00%
🟢 MockActivationRegistry.sol 100.00% 100.00% 100.00% 100.00%
🟢 MockActivationRegistryStorage.sol 100.00% 100.00% 100.00% 100.00%
🟢 MockB20.sol 100.00% 100.00% 100.00% 100.00%
🟢 MockB20Asset.sol 100.00% 100.00% 100.00% 100.00%
🟡 MockB20Factory.sol 98.96% 99.10% 100.00% 100.00%
🟢 MockB20Stablecoin.sol 100.00% 100.00% 100.00% 100.00%
🟢 MockB20Storage.sol 100.00% 100.00% 100.00% 100.00%
🟡 MockPolicyRegistry.sol 100.00% 99.54% 97.67% 100.00%
🟢 MockPolicyRegistryStorage.sol 100.00% 100.00% 100.00% 100.00%
Total 97.07% 97.52% 98.16% 97.00%

Full report: download artifact. To browse locally: make coverage (runs forge coverage + genhtml + opens the HTML report).

@github-actions

github-actions Bot commented Aug 11, 2026

Copy link
Copy Markdown

✅ Fork tests: all 721 passed

base/base is fully in sync with the base-std spec.

Comment thread changelog/cobalt/policy-registry-composite-policies.md Outdated
Co-Authored-By: Claude <noreply@anthropic.com>
Comment thread changelog/cobalt/policy-registry-composite-policies.md Outdated
…eview

Co-Authored-By: Claude <noreply@anthropic.com>
Comment thread changelog/cobalt/policy-registry-composite-policies.md Outdated
Co-Authored-By: Claude <noreply@anthropic.com>

@robriks robriks left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nice, left a tiny Q

Comment thread changelog/cobalt/policy-registry-composite-policies.md Outdated
@stephancill
stephancill force-pushed the changelog/cobalt-b20-seize branch from 2a4574f to 34fffce Compare August 11, 2026 19:08
Base automatically changed from changelog/cobalt-b20-seize to main August 11, 2026 19:37
rayyan224 and others added 2 commits August 11, 2026 15:45
Co-Authored-By: Claude <noreply@anthropic.com>
…e was squash-merged (#199) and deleted

Co-Authored-By: Claude <noreply@anthropic.com>

# Conflicts:
#	changelog/README.md

@robriks robriks left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@rayyan224
rayyan224 merged commit c125fdd into main Aug 11, 2026
10 checks passed
@rayyan224
rayyan224 deleted the changelog/cobalt-policy-registry-composite-policies branch August 11, 2026 20:27
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.

3 participants