Repo standardisation and DB layer simplification#12
Merged
MelbourneDeveloper merged 27 commits intomainfrom Apr 6, 2026
Merged
Repo standardisation and DB layer simplification#12MelbourneDeveloper merged 27 commits intomainfrom
MelbourneDeveloper merged 27 commits intomainfrom
Conversation
Discover tasks from mise.toml, .mise.toml, mise.yaml, and .mise.yaml config files. Extracts task names and descriptions from [tasks.*] TOML sections and tasks: YAML blocks. Fixes TOML parser to recognize [tasks.name] sections without requiring a bare [tasks] preamble, matching how mise configs are written in practice.
The extra docs/api-reference.md and docs/empty.md fixture files caused the docs/ directory to have 3 markdown files, triggering folder node wrapping in the tree view. This made guide.md unreachable by the markdown E2E tests which only check immediate category children.
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.
TLDR;
Standardises repo infrastructure (Makefile, CI workflows, docs structure, agent config) and simplifies the DB layer by removing unnecessary Result wrapping from internal functions.
Details
What Was Added:
code-dedup,spec-check,upgrade-packagesopencode.jsonconfigpost-releasejob in release workflow: auto-bumpspackage.jsonversion and triggers website deploydeploy-pages.ymlreplaces bothdeploy-website.yml(nowworkflow_dispatch) anddeploy.yml(deleted)docs/specs/database.md[DISC-PARSE-STRATEGY]in discovery docsWhat Was Changed:
Makefilerewritten with cross-platform OS detection, help target, public/private target split,fmt-checktarget, and standardised interfaceCLAUDE.md/Agents.mdconsolidated and restructured with logging standards, spec ID rules, and updated command table.gitignoreexpanded with universal patterns and secret exclusions.prettierrcrenamed to.prettierrc.jsonwith explicit settingsdb.ts,lifecycle.ts):initSchema,registerCommand,ensureCommandExists,closeDatabase,addTagToCommand,removeTagFromCommand,getAllTagNames,getCommandIdsByTag,reorderTagCommands,getAllRows,upsertSummary— all changed fromResult<T,E>returns to direct returns (throw on unrecoverable errors only). NewgetDbOrThrow()convenience function replaces repeatedgetDb()+ResultunwrappingCommandTreeProvider,QuickTasksProvider,TagConfig,extension.ts,TaskRunner,summaryPipeline— simplified by removingResultunwrapping boilerplate, usinggetDbOrThrow()make formatreplacesmake fmt-checkfor the format stepdocs/*.mdtodocs/specs/*.mdanddocs/plans/release.ymladds marketplace publish step andpost-releasejobdbPathparameter totargetDbPathindbLockRecovery.unit.test.tsto resolveno-shadowerrorWhat Was Deleted:
.github/workflows/deploy.yml(superseded byrelease.ymlpost-release job).prettierrc(replaced by.prettierrc.json)Resultwrapping removed from all internal DB functions that cannot meaningfully recover from errors/* istanbul ignore */comments removed from DB functions that are now directly testedHow do the tests prove the change works
dbLockRecovery.unit.test.tslock removal tests, model selection, task runner param formatting, tree hierarchy, discovery, PowerShell parser)