Skip to content

Add an agent guide and an explicit Modular license opt-in for kas builds - #8

Open
Khem Raj (kraj) wants to merge 2 commits into
mainfrom
kraj/agents-md
Open

Khem Raj (kraj) wants to merge 2 commits into
mainfrom
kraj/agents-md

Conversation

@kraj

@kraj Khem Raj (kraj) commented Dec 6, 2026 •

Copy link
Copy Markdown
Contributor

Two changes:

  • kas: Add an explicit opt-in fragment for the Modular license. Every Modular recipe, packagegroup-mojo and mojo-image carry LICENSE_FLAGS = "modular-community-license", but no kas file accepted it. So the baseline build in CONTRIBUTING.md skipped mojo-image as restricted, and the CI world build skipped the Modular recipes. The new kas/modular-license.yml is included by ci/run-standalone-build.sh and the documented build. It stays out of kas/base.yml so that accepting the proprietary terms is a separate, visible choice.
  • AGENTS.md: Add an agent guide, adapted from meta-qcom. Based on the meta-qcom-distro and meta-qcom guides, adjusted for this layer: kas/ configs, the ci/oe-* check scripts, the license opt-in, the CPU baseline, and main as the only branch. CLAUDE.md is a symlink to it.

With the opt-in, CI will download and build the proprietary Modular binaries for the first time, so expect longer standalone jobs.

🤖 Generated with Claude Code

Every Modular recipe, packagegroup-mojo and mojo-image carry
LICENSE_FLAGS = "modular-community-license", but no kas file accepts it.
The baseline build in CONTRIBUTING.md therefore fails with mojo-image
skipped as restricted, and the CI world build skips the same recipes,
so it passes while building only mojo-samples.

Add kas/modular-license.yml, which appends the flag to
LICENSE_FLAGS_ACCEPTED, and include it in the standalone CI build and
the documented baseline build. Keeping it out of kas/base.yml keeps
acceptance of the proprietary terms a visible, separate choice.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Agents working on meta-mojo had no guidance on running builds and checks
the way CI does, or on the project's trailer rules, so they fell back to
host builds and to tool defaults such as Co-Authored-By.

Adopt the meta-qcom-distro and meta-qcom AGENTS.md, including meta-qcom's
rules on opening pull requests only when asked, self-review, writing for
reviewers and reviewing pull requests. Adjust them for this layer: kas
configs live in kas/, the checks are ci/oe-patchreview.sh and
ci/oe-check-layer.sh, builds need the kas/modular-license.yml opt-in,
and main is the only branch. CLAUDE.md is a symlink to it.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
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