| Path | Package | Published? |
|---|---|---|
packages/agent-plugin-sdk/ |
@jalco/ap-sdk |
yes — npm |
apps/docs/ |
@jal-co/docs |
no — private site |
scripts/tegami.mts |
release config | — |
The npm package is @jalco/ap-sdk (org jalco); the CLI binary is ap-sdk.
The project/brand and GitHub repo remain agent-plugin-sdk (org jal-co).
- Before every commit,
pnpm turbo typecheck test lint buildMUST pass. - MUST NOT mark work done with failing tests, partial implementations, or unresolved errors.
- Branch → verify →
git merge --ff-onlyintomain→ delete branch. History stays linear; MUST NOT commit directly tomain.
Follow SemVer 2.0.0 — MAJOR.MINOR.PATCH. While 0.y.z,
the public API is still stabilizing, but the bump rules below MUST still be
applied (feature → minor, fix → patch, break → minor pre-1.0 / major post-1.0).
| Bump | When (for ap-sdk) |
|---|---|
MAJOR |
Breaking public API change: a changed/removed export signature (definePlugin, defineSkill, defineCommand, defineTool, defineHarness, …), a change to emitted artifact shape or install paths that breaks existing plugins, removing/renaming a built-in harness id, or raising the minimum Node version. |
MINOR |
Backwards-compatible additions: a new harness, a new capability or defineX option, a new CLI command/flag, additional emitted output that does not alter existing files. |
PATCH |
Backwards-compatible fixes: corrected emit output, install-path bug fixes, validation/warning fixes, dependency patch bumps. |
- A breaking change MUST be signalled by a Conventional Commit
!and/or aBREAKING CHANGE:footer, and MUST map to amajorchangelog entry. - Pre-release versions MUST use a hyphen suffix (
1.0.0-rc.1,1.0.0-alpha.2). - MUST NOT mutate a released version; every release gets a new version.
- Docs-only (
apps/docs/) changes do NOT require a changelog — the docs site is private and unpublished.
Releases run through [Tegami](https://tegami.fuma-nama.dev) — a Changesets-style tool. Pending changelogs live in `.tegami/`; CI versions and publishes. Authentication is npm **trusted publishing (OIDC)** — there is no `NPM_TOKEN`.
- Write a changelog for any change to
ap-sdk:pnpm tegami— draft interactively or from conventional commits, or- hand-write a file under
.tegami/(see §5).
- Commit the changelog with your change and open a PR.
- The Tegami PR workflow comments a release preview (pending bumps).
- Merge to
main. The Publish workflow runstegami ci:- with pending changelogs → opens/updates a Version Packages PR
(
tegami/version-packages) containing the version bumps +CHANGELOG.md.
- with pending changelogs → opens/updates a Version Packages PR
(
- Merge the Version Packages PR. The next
tegami cirun publishesap-sdkto npm and creates the GitHub release. The publish lock lives in git, so a failed publish can be retried safely.
- MUST NOT bump
versioninpackage.jsonby hand — Tegami owns versions. - MUST NOT publish manually from a workstation; publishing happens in CI.
- The generated
CHANGELOG.mdis rendered at/docs/changelogon the docs site — keep changelog notes user-facing and readable.
A changelog file is markdown under `.tegami/`, named `YYYY-MM-DD-{hash}.md`, with a `packages` frontmatter key. Two styles are accepted. See the [changelog format docs](https://tegami.fuma-nama.dev/changelog) for the full spec.
In packages, reference the package by name ("@jalco/ap-sdk"), id
("npm:@jalco/ap-sdk"), or group ("group:…").
ap-sdk now emits .windsurf/ workflows and rules.
</output>
</example>
<example type="implicit">
<output>
```md
---
packages: ["@jalco/ap-sdk"]
---
# Scope the package under @jalco
The published name is `@jalco/ap-sdk`; the CLI binary stays `ap-sdk`.
## Add a compact code-block option
Heading depth sets the bump: # → major, ## → minor, ### → patch. The
highest bump found in the file wins.
- Each user-facing change to
@jalco/ap-sdkMUST ship with a changelog file. - The bump type MUST follow §3 (Versioning).
- Each file MUST have YAML frontmatter with
packagesand at least one#,##, or###heading whose body reads as a user-facing release note (what changed and why), not an implementation diff. - MUST NOT edit the publish lock (
.tegami/publish-lock.yaml) or any packageCHANGELOG.mdby hand — Tegami generates them.
- MUST follow the global AGENTS.md style: wrap sections in semantic XML tags, use uppercase RFC 2119 keywords for normative requirements, lowercase otherwise.
- Project rules that replace a global rule MUST be wrapped in
<project-override section="…">; everything else is additive. - MUST NOT let RFC/XML conventions surface in user-facing responses.