feat: introduce ASCII statistics profile 2 - #75
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR introduces a schema-backed, reproducible ASCII “Statistics Profile 2” renderer (PowerShell engine with a Bash wrapper) and wires it into the home-baseline workflow so repositories can validate and (re)render the generated Profile-2 block in docs/project-statistics.md.
Changes:
- Adds the Profile 2 renderer, its JSON schema, and a config template for
docs/project-statistics.config.json. - Integrates Profile 2 into bootstrap and homogeneity checks (drift detection), and updates governance/guidance to reference the new contract.
- Normalizes previously Unicode-based progress bars to ASCII (
#/.) across stats outputs.
Reviewed changes
Copilot reviewed 34 out of 34 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| STATS.md | Normalizes compliance bar output to ASCII. |
| scripts/templates/project-statistics.config.json.tmpl | Adds a template for the Profile 2 JSON config file. |
| scripts/templates/copilot-instructions.tmpl | Updates shared guidance to reference Profile 2 + schema/config contract. |
| scripts/render-project-statistics.sh | Adds Bash wrapper delegating rendering/checking to the PowerShell engine. |
| scripts/lib/hg-stats.sh | Switches stats bar characters from Unicode to ASCII. |
| scripts/lib/hg-stats.ps1 | Switches stats bar characters from Unicode to ASCII. |
| scripts/init-stats.sh | Switches init stats bar characters from Unicode to ASCII. |
| scripts/init-stats.ps1 | Switches init stats bar characters from Unicode to ASCII. |
| scripts/config/agentic-toolchain-maintenance-files.json | Adds the new renderer/schema/template/manpage to the propagated canonical file set. |
| scripts/check-homogeneity.sh | Adds a Profile 2 drift/config/renderer presence check; updates bar chars to ASCII. |
| scripts/check-homogeneity.ps1 | Adds a Profile 2 drift/config/renderer presence check; updates bar chars to ASCII. |
| scripts/bootstrap-workspace.sh | Creates initial Profile 2 config and initializes the generated Profile 2 block during bootstrap. |
| scripts/bootstrap-workspace.ps1 | Creates initial Profile 2 config and initializes the generated Profile 2 block during bootstrap. |
| scripts/bootstrap-project.sh | Creates initial Profile 2 config and initializes the generated Profile 2 block during bootstrap. |
| scripts/bootstrap-project.ps1 | Creates initial Profile 2 config and initializes the generated Profile 2 block during bootstrap. |
| GEMINI.md | Updates statistics maintenance guidance to the Profile 2 contract. |
| docs/man/render-project-statistics.1.md | Adds manpage documentation for the renderer CLI (Bash/PowerShell). |
| docs/examples/ascii-statistics-profile-2.md | Adds visual examples/acceptance fixtures for Profile 2 output. |
| constitution.md | Updates the statistics contract to be Profile-2/schema/config driven (methodology v2, ASCII constraints, etc.). |
| CLAUDE.md | Updates statistics maintenance guidance to the Profile 2 contract. |
| .specify/memory/constitution.md | Mirrors constitution updates into Spec Kit memory. |
| .github/copilot-instructions.md | Updates shared Copilot guidance to the Profile 2 contract. |
Comment on lines
+29
to
+32
| --repo) | ||
| REPO="${2:?--repo benoetigt einen Pfad / requires a path}" | ||
| shift | ||
| ;; |
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.
Zusammenfassung / Summary
Validierung / Validation
No admin bypass is requested.