Skip to content

chore: add root metadata, multi-license layout, READMEs - #2210

Merged
goldmedal merged 1 commit into
chore/import-wren-enginefrom
chore/root-metadata
May 4, 2026
Merged

goldmedal merged 1 commit into
chore/import-wren-enginefrom
chore/root-metadata

Conversation

@goldmedal

Copy link
Copy Markdown
Collaborator

Stacked on #2209 (chore/import-wren-engine). Base will switch to main once the import PR merges.

Implements 03a-root-metadata.md of the migration plan.

Summary

  • Root metadata files: README.md, CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, CHANGELOG.md.
  • Multi-license layout (Warp-style): LICENSE is now a path → license map; full license texts live alongside (LICENSE-APACHE-2.0, LICENSE-CC-BY-4.0, LICENSE-AGPL-3.0).
  • Per-package license audit: every Cargo.toml / pyproject.toml / package.json under core/ now declares license = "Apache-2.0". Two crates were missing the field (core/wren-core-base/Cargo.toml, core/wren-core-base/manifest-macro/Cargo.toml) — added.

License layout

Path License
core/**, skills/**, sdks/integrations/**, examples/**, root files Apache-2.0
docs/** CC BY 4.0
(future modules) AGPL-3.0 reserved

LICENSE-CC-BY-4.0 is the canonical text fetched from https://creativecommons.org/licenses/by/4.0/legalcode.txt (396 lines, header Attribution 4.0 International — verifies per the plan's check).

README

  • Bilingual (English + 繁中) migration banner at top, dated 2026-05-07 to coordinate with the Discussions announcement.
  • Tagline: Open Context Engine for AI Agents.
  • 1-paragraph pitch + quickstart with pip install wren-engine / wren context init / wren ask.
  • Repo map table — note ./examples and ./sdks links are forward-looking ("coming soon") and will resolve once 03b lands sdks/integrations/ scaffolding and a follow-up repopulates examples/.
  • License section + community links.

CONTRIBUTING

  • Per-module entry-point table (core/wren-core/, core/wren-core-py/, core/wren-core-wasm/, core/wren/).
  • Conventional-commits + per-language tooling (cargo fmt / clippy, ruff, taplo).
  • Per-path licensing language: contributions follow the license that applies to the path they touch.

Test plan

  • Root has exactly 4 LICENSE* files (LICENSE, LICENSE-APACHE-2.0, LICENSE-CC-BY-4.0, LICENSE-AGPL-3.0).
  • head -2 LICENSE-CC-BY-4.0 shows Attribution 4.0 International.
  • head -2 LICENSE-AGPL-3.0 shows the AGPL-3.0 header.
  • grep -r "^license" core/*/Cargo.toml core/wren-core-base/manifest-macro/Cargo.toml — every file declares Apache-2.0.
  • README banner renders bilingual above the fold.
  • GitHub repo "About" sidebar shows license as "Other" or "View license" (multi-license, not a single SPDX).
  • All in-doc relative links resolve (with the known exceptions of ./examples and ./sdks, which land in parallel PRs).

Out of scope (separate PRs)

  • sdks/integrations/<framework>/ scaffolding → 03b
  • docs/ reorg, docs/sdks/ index → 03c
  • CI workflow rewrites → 03d
  • release-please config → 03e

🤖 Generated with Claude Code

- README.md: bilingual migration banner, repo map, quickstart, license section
- CONTRIBUTING.md: per-module dev guides + per-path licensing terms
- CODE_OF_CONDUCT.md: carried from legacy/v1 (Contributor Covenant 2.1)
- SECURITY.md: combined disclosure policy → contact@cannerdata.com
- CHANGELOG.md: 2026-Q2 repo consolidation entry

Multi-license layout (Apache 2.0 / CC BY 4.0 / AGPL 3.0 reserved):
- LICENSE: path-to-license map (Warp-style)
- LICENSE-APACHE-2.0, LICENSE-CC-BY-4.0, LICENSE-AGPL-3.0: full texts
- core/wren-core-base/Cargo.toml + manifest-macro: add missing
  license = "Apache-2.0" so all crates declare their effective license
@coderabbitai

coderabbitai Bot commented May 4, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

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: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 7f924abc-ee57-45ad-a067-31ac6bb07b4d

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/root-metadata

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


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 and usage tips.

@goldmedal
goldmedal merged commit e5b25ee into chore/import-wren-engine May 4, 2026
1 check passed
@goldmedal
goldmedal deleted the chore/root-metadata branch May 4, 2026 04:54
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