Repository navigation
feat(cortex): add self-awareness docs and config diagnostics #311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
33a6a0c
feat(cortex): add self-awareness docs and config diagnostics
jamiepine 6d7d68d
Merge branch 'main' into self-awareness
jamiepine f7384c8
Update src/self_awareness.rs
jamiepine 11e8e6d
fix: address PR review feedback on self-awareness
jamiepine c3921a1
fix(channel): branch for self-knowledge and clamp docs ranges
jamiepine cb020f0
fix(tools): return structured failures in spacebot_docs
jamiepine File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| --- | ||
| name: release-bump-changelog | ||
| description: Use this skill when preparing a release bump or updating release notes. It writes a launch-style release story from the actual change set, then runs `cargo bump` so the generated GitHub notes and the marketing copy land together in `CHANGELOG.md`. | ||
| --- | ||
|
|
||
| # Release Bump + Changelog | ||
|
|
||
| ## Goal | ||
|
|
||
| Create a version bump commit where each release section includes both: | ||
|
|
||
| - a launch-style narrative (marketing copy) | ||
| - the exact GitHub-generated release notes | ||
|
|
||
| ## Workflow | ||
|
|
||
| 1. Ensure the working tree is clean (except allowed release files). | ||
| 2. Draft release story markdown from real changes (PR titles, release-note bullets, and diff themes). | ||
| - Target style: similar to the `v0.2.0` narrative (clear positioning + concrete highlights). | ||
| - Keep it factual and specific to the release. | ||
| - Write to a temp file (outside repo is preferred): | ||
| - `marketing_file="$(mktemp)"` | ||
| - write markdown content to `$marketing_file` | ||
| 3. Run `cargo bump <patch|minor|major|X.Y.Z>` with marketing copy input: | ||
| - `SPACEBOT_RELEASE_MARKETING_COPY_FILE="$marketing_file" cargo bump <...>` | ||
| - This invokes `scripts/release-tag.sh`. | ||
| - The script generates GitHub-native notes (`gh api .../releases/generate-notes`). | ||
| - The script upserts `CHANGELOG.md` with: | ||
| - `### Release Story` (from your marketing file) | ||
| - GitHub-generated notes body | ||
| - The script includes `CHANGELOG.md` in the release commit. | ||
| 3. Verify results: | ||
| - `git show --name-only --stat` | ||
| - Confirm commit contains `Cargo.toml`, `Cargo.lock` (if present), and `CHANGELOG.md`. | ||
| - Confirm tag was created (`git tag --list "v*" --sort=-v:refname | head -n 5`). | ||
|
|
||
| ## Requirements | ||
|
|
||
| - `gh` CLI installed and authenticated (`gh auth status`). | ||
| - `origin` remote points to GitHub, or set `SPACEBOT_RELEASE_REPO=<owner/repo>`. | ||
| - Marketing copy is required unless explicitly bypassed with `SPACEBOT_SKIP_MARKETING_COPY=1`. | ||
|
|
||
| ## Release Story Format | ||
|
|
||
| Use markdown only (no outer `## vX.Y.Z` heading; script adds it). Recommended structure: | ||
|
|
||
| 1. One strong opening paragraph (why this release matters) | ||
| 2. One paragraph on major technical shifts | ||
| 3. Optional short highlight bullets for standout additions/fixes | ||
|
|
||
| Avoid vague hype. Tie claims to concrete shipped changes. | ||
|
|
||
| ## Notes | ||
|
|
||
| - Do not use a standalone changelog sync script. | ||
| - `CHANGELOG.md` is seeded from historical releases and then maintained by the release bump workflow. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.