plating
2025-08-18
Garnish-to-plating rename and full codebase restructuring
177 files · 22,738+ · 9,969-
Garnish to plating package rename
8 files changed
__init__.pyNew plating package init replacing garnish_version.pyVersion module for the plating package__init__.pyAdorner subpackage init (renamed from dresser)adorner.pyAdorner implementation (renamed from dresser)api.pyAdorner API (renamed from dresser API)finder.pyAdorner finder for discovering undocumented components__init__.pyOld garnish package init (retained alongside new plating)cli.pyOld garnish CLI (replaced by modular plating CLI)
- Renamed the entire
src/garnish/package tosrc/plating/, including all submodules decouple internal4 files
__init__.py_version.pyplating.pyerrors.py
- Renamed “dresser” concept to “adorner” (
src/plating/adorner/) – the system that creates documentation bundles for undocumented components decouple internal4 files
__init__.pyadorner.pyapi.pyfinder.py
- Renamed
.garnishbundle directories to.platingbundle directories decouple internal4 files
adorner.tmpl.mdbasic.pyfiltered.pyreadme.tmpl.md
- Updated all test files to reference plating instead of garnish (e.g.,
test_dresser.pyremoved,test_adorner.pyadded) qualify internal3 files
test_adorner.pytest_plating_bundle.pytest_plating_discovery.py
Modular CLI restructuring
11 files changed
__init__.pyCLI package initmain.pyCLI main entry pointadorn.pyAdorn CLI commandinfo.pyInfo CLI commandplate.pyPlate CLI commandstats.pyStats CLI commandvalidate.pyValidate CLI commandauto_detect.pyAuto-detection helper for CLIexamples.pyExamples display helperoutput.pyOutput formatting helperpyproject.pyPyproject.toml parsing utility
- Replaced monolithic
src/garnish/cli.py(312 lines) with a modular CLI structure undersrc/plating/cli/decouple behavioral2 files
__init__.pymain.py
- New CLI commands:
adorn,info,plate,stats,validate– each in its own module undercli/commands/instantiate behavioral5 files
adorn.pyinfo.pyplate.pystats.pyvalidate.py
- Added CLI helper modules for auto-detection, examples display, output formatting, and pyproject.toml parsing
baseline
errata
4 files
auto_detect.pyexamples.pyoutput.pypyproject.py
New subsystems
15 files changed
grouped.pyGrouped documentation compilationsingle.pySingle-component documentation compilationprocessor.pySchema extraction processorformatters.pySchema output formattershelpers.pySchema helper utilitiesengine.pyTemplate engine corefilters.pyTemplate filtersfunctions.pyTemplate functionsgenerator.pyTemplate generatormetadata.pyTemplate metadata handlingprocessor.pyTemplate processorfinder.pyComponent discovery finderdefaults.pyDefault configuration valuesruntime.pyRuntime configurationnav_generator.pyMkDocs navigation generator
- Compiler system (
src/plating/compiler/): Addedgrouped.pyandsingle.pyfor single-component and grouped documentation compilation instantiate internal2 files
grouped.pysingle.py
- Schema system (
src/plating/schema/): Newprocessor.py,formatters.py,helpers.pyfor extracting and formatting Terraform provider schemas interface errata3 files
processor.pyformatters.pyhelpers.py
- Templating system (
src/plating/templating/): Refactored template engine, filters, functions, generator, metadata handling, and processor into dedicated modules decouple internal6 files
engine.pyfilters.pyfunctions.pygenerator.pymetadata.pyprocessor.py
- Discovery system (
src/plating/discovery/): Component discovery viafinder.pydecouple internal1 file
finder.py
- Config system (
src/plating/config/): Runtime configuration and defaults baseline internal2 files
defaults.pyruntime.py
- MkDocs integration (
src/plating/mkdocs/): Navigation generator for MkDocs documentation sites decouple internal1 file
nav_generator.py
New core modules
12 files changed
types.pyType definitions for the plating systemdecorators.pyDecorator utilitiesregistry.pyComponent registryerror_handling.pyError handling utilitieserrors.pyError hierarchymarkdown_validator.pyMarkdown output validationexample_compiler.pyExample code compilationbase.pyBundle base classfunction.pyFunction bundledoc_generator.pyDocumentation generatorindex_merger.pyIndex merger utilityproject_utils.pyProject-level utilities
src/plating/types.py: Type definitions (452 lines) for the plating system decouple internal1 file
types.py
src/plating/decorators.py: Decorator utilities (258 lines) decouple internal1 file
decorators.py
src/plating/registry.py: Component registry (259 lines) decouple internal1 file
registry.py
src/plating/error_handling.pyandsrc/plating/errors.py: Comprehensive error hierarchy decouple internal2 files
error_handling.pyerrors.py
src/plating/markdown_validator.py: Markdown output validation decouple behavioral1 file
markdown_validator.py
src/plating/example_compiler.py: Example code compilation decouple internal1 file
example_compiler.py
src/plating/bundles/: Bundle abstractions (base.py,function.py) decouple internal2 files
base.pyfunction.py
src/plating/core/: Core utilities includingdoc_generator.py,index_merger.py,project_utils.pydecouple internal3 files
doc_generator.pyindex_merger.pyproject_utils.py
Documentation overhaul
11 files changed
mkdocs.ymlMkDocs site configurationapi-reference.mdAPI reference documentationcli-reference.mdCLI reference documentationindex.mdGetting started guidequick-start.mdQuick start guideexamples.mdUsage examplesperformance.mdPerformance guidetroubleshooting.mdTroubleshooting guideauthoring-bundles.mdBundle authoring guideregistry-pattern.mdRegistry pattern documentationcapabilities.mdCapabilities reference
- Removed old architecture docs (
docs/architecture/01-07) specify internal7 files
01-overview.md02-conformance-testing-strategy.md03-rpc-matrix-specification.md04-garnish-asset-bundle-system.md05-wire-protocol-details.md06-polyglot-cli-strategy.md07-stock-service-design.md
- Added MkDocs configuration (
mkdocs.yml) instantiate internal1 file
mkdocs.yml
- New comprehensive docs: API reference, CLI reference, getting started guide, quick start, examples, performance guide, troubleshooting, bundle authoring, registry pattern
streamline
behavioral
9 files
api-reference.mdcli-reference.mdindex.mdquick-start.mdexamples.mdperformance.mdtroubleshooting.mdauthoring-bundles.mdregistry-pattern.md
- Archived historical API docs
specify
behavioral
1 file
capabilities.md
Testing
14 files changed
test_adorner.pyAdorner unit teststest_capability_grouping.pyCapability grouping teststest_cli_integration.pyCLI integration teststest_foundation_integration.pyFoundation integration teststest_grouped_compiler.pyGrouped compiler teststest_guide_discovery.pyGuide discovery teststest_index_merger.pyIndex merger teststest_mkdocs_nav_generator.pyMkDocs nav generator teststest_modern_api.pyModern API teststest_plating_bundle.pyPlating bundle teststest_plating_discovery.pyPlating discovery teststest_schema.pySchema teststest_subcategory_frontmatter.pySubcategory frontmatter teststest_full_plate_workflow.pyFull plate workflow integration test
- Added 15+ new test files covering adorner, capability grouping, CLI integration, foundation integration, grouped compiler, guide discovery, index merger, MkDocs nav generation, modern API, plating bundles, plating discovery, schema, and subcategory frontmatter
qualify
behavioral
13 files
test_adorner.pytest_capability_grouping.pytest_cli_integration.pytest_foundation_integration.pytest_grouped_compiler.pytest_guide_discovery.pytest_index_merger.pytest_mkdocs_nav_generator.pytest_modern_api.pytest_plating_bundle.pytest_plating_discovery.pytest_schema.pytest_subcategory_frontmatter.py
- Removed old garnish-era tests (
test_dresser.py,test_end_to_end.py,test_garnish_bundle.py,test_integration.py,test_plater.py) qualify internal5 files
test_dresser.pytest_end_to_end.pytest_garnish_bundle.pytest_integration.pytest_plater.py
- Added integration test directory with
test_full_plate_workflow.pyqualify internal1 file
test_full_plate_workflow.py
Build and CI
4 files changed
ci.ymlCI pipeline workflowrelease.ymlRelease workflowVERSIONVersion filepyproject.tomlProject metadata and dependencies
- Added
.github/workflows/ci.yml(138 lines) for CI pipeline baseline internal1 file
ci.yml
- Added
conform.pyfor conformance testing qualify internal1 file
conform.py
- Added
VERSIONfile baseline internal1 file
VERSION
- Updated
pyproject.tomlwith new dependencies and project metadata baseline internal1 file
pyproject.toml
- Removed old shell setup scripts (
env.ps1,env.sh,setup.sh) baseline internal3 files
env.ps1env.shsetup.sh