Repository navigation
feat: add /dewey-store slash command and scaffold all Dewey commands in dewey init - #47
Merged
Merged
Conversation
…in dewey init - New /dewey-store command with 3 modes: fully specified (--tag --category), suggested (agent analyzes text and proposes tag/category), and extract (breaks conversations into multiple learnings) - dewey init now scaffolds 5 Dewey slash commands into .opencode/command/ when .opencode/ exists: dewey-store, dewey-index, dewey-reindex, dewey-compile, dewey-lint - Idempotent — existing command files are not overwritten - 3 new tests for scaffolding, skip-existing, and no-opencode
✅
|
| Descriptor | Linter | Files | Fixed | Errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|
| ✅ GO | golangci-lint | yes | yes | no | no | 45.01s |
| markdownlint | 3 | 0 | 3 | 0 | 0.71s | |
| ✅ REPOSITORY | gitleaks | yes | no | no | 2.06s | |
| ✅ REPOSITORY | git_diff | yes | no | no | 0.34s | |
| ✅ YAML | yamllint | 1 | 0 | 0 | 0.86s |
Detailed Issues
⚠️ MARKDOWN / markdownlint - 3 errors
openspec/changes/dewey-store-command/design.md:1 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Context"]
openspec/changes/dewey-store-command/proposal.md:1 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## Why"]
openspec/changes/dewey-store-command/tasks.md:1 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## 1. Create the Slash Command"]
See detailed reports in MegaLinter artifacts
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff
Closed
17 tasks done
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Summary
/dewey-storeslash command with 3 interaction modes:--tagand--categoryprovided, callsstore_learningimmediately--extractflag breaks long conversations into multiple distinct learnings with individual tag/category proposalsdewey initnow scaffolds 5 Dewey slash commands into.opencode/command/when.opencode/exists:dewey-store,dewey-index,dewey-reindex,dewey-compile,dewey-lintslash_commands.goembeds command content as Go string constants.opencode/