You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Added lib/release-automation.js: opt-in (releaseAutomationEnabled: true) release automation for TangleClaw-managed projects — resolves the project's version and changelog path the same way version-bump does, classifies the origin remote (GitHub vs. other vs. none), plans and applies a tag/GitHub-Release, and can generate a self-contained GitHub Actions workflow template for projects that would rather run their tagging on Actions (#721).
Added a linked-issue-closed release-readiness signal (lib/release-readiness.js's linkedIssueClosedSignal): included by default in gatherReleaseSignals (set includeLinkedIssue: false to opt out), it discovers the issue a release is cutting for (an explicit issue number, the active build plan's Issue: line, or a commit's Fixes #N/Closes #N/Resolves #N) and judges it via a direct, timeout-bounded gh issue view call by default (or a caller-supplied lookup), reading n/a with nothing linked and unknown — never pass — whenever the state can't actually be read, including when gh or the network is unavailable (#1495, default-inclusion per Architect ruling A481-R5).
Added group-level release authority: a project_groups member claims it automatically the first time it goes release-capable (agent/operator), a second member going release-capable while another already holds it is refused with 409 CONFLICT naming the owner, and version-bump skips a non-owner member even when its own releaseMode is explicitly configured on disk. Ownership transfers via PUT /api/groups/:id (releaseOwnerProjectId), operator-only (#1697)
Changed
Renamed releaseMode's auto/ask values to agent/operator for clarity on who is consulted; the legacy spellings are permanently aliased on read and write, so existing configs and API callers keep working unchanged (#1701)
resolveReleaseMode's default for an unconfigured project changed from agent to the cautious operator, matching the fail-safe reasoning the invalid-value branch already applied: an unconfigured project is one nobody has considered release policy for, and should not cut unattended. An unconfigured project in a group whose release authority another member already holds now resolves to off (#1697) instead (#1702)
CLAUDE.md now states this repo's own PR merge strategy explicitly, in "This Repo's Exceptions To The Global Rules Below": merge commits (gh pr merge --merge --match-head-commit <sha>), per Integrator Rule #282, rather than deferring to the mirrored Branches & Pull Requests rule's "the methodology layer's call" (#2162). The entry also distinguishes this from the unrelated, newly-configurable wrapMergeMethod setting the wrap pipeline's auto-PR close-loop uses for other managed projects (#1172) — this repo's own wrapAutoPrEnabled is off, so its PRs are never opened or merged through that close-loop.
Removed
Removed the pre-boundary changelog transition exception: a direct edit to CHANGELOG.md's [Unreleased] section no longer satisfies the changelog-update wrap step under any circumstance. lib/wrap-default-pipeline.js's changelog-update step no longer declares CHANGELOG.md in verifyChanged at all — leaving it declared let the gate's mutation check (lib/wrap-steps/ai-content.js) pass a bare direct edit unconditionally, with no fragment required, since that check is satisfied the instant any ONE of a step's declared paths changes. Only changelog.d/ is declared now, so a direct edit falls through to lib/wrap-steps/changelog-coverage.js's predicate, which recognizes a correctly named fragment (or a project's declared coveragePaths) and nothing else. A caller declaring only CHANGELOG.md (no fragments) is unaffected. lib/wrap-default-pipeline.js's changelog-update prompt, docs/changelog-fragments.md, and CONTRIBUTING.md no longer describe the now-closed pre-boundary exception (#2523).
Fixed
A project's prompt override for an ai-content wrap step no longer silently drops or lets go stale the framework-owned Verification: ... contract paragraph: lib/wrap-step-overrides.js's resolveStep now runs a non-empty override through the new applyPromptOverride (built on extractVerificationContract), appending the current bundled contract when the override omits one and replacing a stale copy in place, while a verbatim match or an empty-string self-skip is left untouched (#660).
version-bump's CHANGELOG promotion now extends an existing Keep-a-Changelog bottom-of-file link-reference-definition block with an entry for the newly cut version, inferring the URL pattern already in use; a changelog with no such block is left untouched (#1051)
The wrap pipeline's auto-merge now uses a configurable gh pr merge flag instead of a hard-coded --squash: both lib/wrap-steps/pr-merge.js (the session-scoped PR gate's auto-merge enqueue) and lib/wrap-steps/commit.js (the auto-branched commit's auto-PR close-loop) resolve the flag through the new resolveWrapMergeMethod(projectPath, options), exported from pr-merge.js alongside VALID_MERGE_METHODS and DEFAULT_MERGE_METHOD (#1172). Precedence: an explicit caller option, then wrapMergeMethod in .tangleclaw/project.json, then a PR merge strategy row in .prawduct/artifacts/project-preferences.md, then "squash" — so every wrap that configured nothing keeps its prior --squash behavior unchanged. An unrecognized value at any source falls back to "squash" with a logged warning rather than failing the wrap.
Hardened the data/global-rules.md CHANGELOG rule so an agent no longer creates an untracked root CHANGELOG.md stub merely because the rule names the file: it now detects a project's own convention first (a changelog.d/ fragment directory, a nested per-package changelog, or an existing tracked root file) and safely no-ops with a visible reason in the session output when no tracked changelog or clear convention exists (#2022).
Guarded the remaining 15 options-taking accessors in lib/store.js (projectConfig.load, learnings.list, medusaDeliveries.listForSession, awarenessReceipts.listForProject/fleetAwareness, portLeases.list/release/releaseByProject/setOwnerKind/heartbeat, sharedDocs.list, openclawConnections.list, evalExchanges.list/count/listSessions, evalScores.list/listByProject, evalIncidents.list) with _assertKnownKeys, so an unknown option key now throws StoreError(..., 'BAD_REQUEST') naming the offending key instead of being silently ignored, matching the guard #1225 already applied to the projects.* accessors (#2681).