You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add project configuration and document-glob support #14
Add a project-level mdcode configuration that defines the Markdown documents, source roots, filters, and validation defaults for a repository. Consumers should be able to run common workflows without repeating command-line wiring in every local script and CI job.
Acceptance criteria
A documented configuration format supports document paths or globs, source/output roots, and default filters.
The CLI can load the configuration for check and synchronization workflows.
Command-line options can intentionally override configuration defaults.
Category: enhancement Summary: Add a small, non-executable project configuration for mdcode documents, roots, and default filters.
Current behavior:
Every workflow must repeat document paths, working roots, and filters on the command line. There is no mdcode configuration convention or configuration validation.
Desired behavior:
A repository can define common defaults in mdcode.config.json. The CLI discovers that file from the working directory or accepts an explicit --config path. Commands use configuration values as defaults, while explicit CLI options intentionally override them.
Key interfaces:
Configuration file — JSON only, named mdcode.config.json. Do not execute JavaScript or TypeScript configuration.
Configuration shape — documents is an array of Markdown paths or globs; sourceRoot and outputRoot define default operation roots; filter supplies default language and metadata filtering.
Path resolution — resolve configuration-relative paths against the configuration file directory and apply existing guarded-path rules to file operations.
CLI precedence — explicit command-line document inputs, roots, and filters override the corresponding configuration defaults.
Validation — reject malformed JSON, unknown/invalid field shapes, unmatched required document selections, and unsafe paths with actionable messages.
Acceptance criteria:
mdcode.config.json supports document paths or globs, sourceRoot, outputRoot, and default filters.
The CLI discovers the default configuration or loads an explicit --config path for check and synchronization workflows.
Activity
adrianbrowning commentedon Aug 8, 2026
Agent Brief
Category: enhancement
Summary: Add a small, non-executable project configuration for mdcode documents, roots, and default filters.
Current behavior:
Every workflow must repeat document paths, working roots, and filters on the command line. There is no mdcode configuration convention or configuration validation.
Desired behavior:
A repository can define common defaults in mdcode.config.json. The CLI discovers that file from the working directory or accepts an explicit --config path. Commands use configuration values as defaults, while explicit CLI options intentionally override them.
Key interfaces:
Acceptance criteria:
Out of scope:
Verification status:
Confirmed: no existing mdcode configuration convention exists. This issue remains blocked by #6.
feat: mdcode.config.json for documents, roots and default filters (#14)…