Repository navigation
fix: dewey init scaffolds slash commands on re-init, not just first init (#48) - #49
Merged
Merged
Conversation
…nit (#48) - Replace early return at "already initialized" with conditional block — config/sources creation skipped, but slash command scaffolding always runs - New test verifies re-init scaffolds missing commands after upgrade
✅
|
| Descriptor | Linter | Files | Fixed | Errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|
| ✅ GO | golangci-lint | yes | yes | no | no | 45.2s |
| markdownlint | 7 | 0 | 9 | 0 | 0.81s | |
| ✅ REPOSITORY | gitleaks | yes | no | no | 2.02s | |
| ✅ REPOSITORY | git_diff | yes | no | no | 0.35s | |
| ✅ YAML | yamllint | 2 | 0 | 0 | 0.81s |
Detailed Issues
⚠️ MARKDOWN / markdownlint - 9 errors
openspec/changes/fix-init-scaffolding/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/fix-init-scaffolding/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/fix-init-scaffolding/tasks.md:1 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## 1. Restructure Init Flow"]
openspec/schemas/unbound-force/templates/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/schemas/unbound-force/templates/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/schemas/unbound-force/templates/spec.md:1 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## ADDED Requirements"]
openspec/schemas/unbound-force/templates/spec.md:14 error MD024/no-duplicate-heading Multiple headings with the same content [Context: "Requirement:"]
openspec/schemas/unbound-force/templates/spec.md:20 error MD024/no-duplicate-heading Multiple headings with the same content [Context: "Requirement:"]
openspec/schemas/unbound-force/templates/tasks.md:1 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "## 1. <!-- .... ..... -->"]
See detailed reports in MegaLinter artifacts
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff
jflowers
added a commit
that referenced
this pull request
Apr 22, 2026
…file-backed persistence
- New curate/ package with curation pipeline: LLM extracts
decisions, facts, patterns from indexed sources with quality
analysis (missing_rationale, implied_assumption, incongruent)
and confidence scoring (high/medium/low/flagged)
- File-backed learnings: store_learning dual-writes to SQLite +
.uf/dewey/learnings/{tag}-{seq}.md with auto re-ingestion on
startup when graph.db is missing
- Knowledge store config via .uf/dewey/knowledge-stores.yaml
mapping sources to named curated stores
- Background curation goroutine polls per-store at configurable
intervals, sharing indexing mutex via TryLock
- New curated trust tier (authored > curated > validated > draft)
with semantic_search_filtered support
- dewey lint extended with knowledge quality metrics: confidence
distribution, quality flags, stale store detection
- Auto-indexing: curated files persisted as searchable pages with
source_id=knowledge-{store-name}
- dewey curate CLI command + curate MCP tool (tool #49) +
/dewey-curate slash command
- 71 new tests across 7 packages
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 initnow scaffolds slash commands on every invocation, not just the firstreturn nilwith aalreadyInitializedboolean flag that only skips config/sources creation while letting scaffolding run unconditionallyTestInitCmd_ReInitScaffoldsNewCommandstest: inits, deletes a command, re-inits, verifies re-scaffoldingCloses #48