Conversation
Owner
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
30ef925 to
b19bcbe
Compare
…2-31 19:47 - quick save
…2-15 12:23 - quick save
…2-18 20:42 - types regen
…2-18 20:46 - settings updates
…2-18 20:52 - quick save
…2-18 21:17 - quick save
…2-18 23:44 - fixed crasher and injected warnings for empty content
…2-19 01:39 - using nouns
…2-19 21:00 - administrative things
…2-19 22:26 - re-ord
36b1968 to
8f86b66
Compare
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
This PR represents a significant architectural overhaul of BeDoc, touching the core module layout, the file-processing pipeline, the CI/CD setup, and the example plugins.
Core architecture — module flattening
The nested
src/core/layer has been eliminated. All core classes now live directly undersrc/:src/core/Core.jssrc/BeDoc.jssrc/core/Conveyor.jssrc/Conveyor.jssrc/core/Discovery.jssrc/Discovery.jssrc/core/Configuration.jssrc/Configuration.jssrc/core/Logger.jssrc/Logger.jsRemoved classes that were superseded:
ActionManager,ContractManager,HookManager,ParseManager,PrintManager, and their associated utilities (ActionUtil,ContractUtil).New top-level modules added:
Action.js,Environment.js,Schema.js.Actioneer integration
Conveyor.jsnow drives file processing through the@gesslar/actioneerpipeline (ActionBuilder/ActionRunner). The parse→validate→print→write sequence is declared as a fluent action chain, replacing the previous imperative orchestration.Negotiator / contract system
BeDoc.jsconsumes@gesslar/negotiatorto enforce contracts between parsers and printers. New TypeScript type definitions forParseContractandPrintContractare generated viatsconfig.types.json.Package manager — npm → pnpm
package-lock.jsonremoved;pnpm-lock.yamlandpnpm-workspace.yamladded. Example plugins also migrated to pnpm lock files.CI/CD workflows
autopr-dev.yml,codeql.yml,rebase-base-into-pr.ymlQuality.yamlandRelease.yaml, both delegating to the sharedgesslar/Maintreusable workflowsESLint config
eslint.config.jsreduced from ~255 lines to ~16 lines by moving rules into the shared Maint configuration.License
LICENSErenamed toUNLICENSE.txtwith updated content.Example plugins
bedoc-lpc-markdown-combined(superseded by separate parser + printer).bedoc-lpc-parser,bedoc-markdown-printer, andbedoc-wikitext-printerto the new contract-based API; each now ships a.yamlaction-definition file.Test plan
pnpm installsucceeds across the workspacepnpm run build(or equivalent) generates clean type declarations underdist/types/bedoc-lpc-parser,bedoc-markdown-printer,bedoc-wikitext-printer) parse and print correctly with the new Actioneer pipelineQualityGitHub Actions workflow passes on the PR🤖 Generated with Claude Code