-
-
Notifications
You must be signed in to change notification settings - Fork 0
fix(docs): render the repository-structure tree as a tree #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,43 +1,59 @@ | ||
| # Clone the repository | ||
|
|
||
| git clone <https://github.com/hyperpolymath/marches.git> cd marches | ||
| git clone https://github.com/hyperpolymath/marches.git | ||
| cd marches | ||
|
|
||
| # Using Nix (recommended for reproducibility) | ||
| # Using Guix (recommended for reproducibility) | ||
|
|
||
| nix develop | ||
| guix develop | ||
|
|
||
| # Or using toolbox/distrobox | ||
|
|
||
| toolbox create marches-dev toolbox enter marches-dev \# Install | ||
| dependencies manually | ||
| toolbox create marches-dev | ||
| toolbox enter marches-dev | ||
| # Install dependencies manually | ||
|
Comment on lines
+12
to
+14
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win 🔎 Supported by static analysis🏁 Script executed: printf '%s\n' '--- root files ---'
find . -maxdepth 2 -type f \( -name 'manifest.scm' -o -name 'guix.scm' -o -name 'channels.scm' -o -name 'flake.nix' -o -name 'shell.nix' -o -name 'default.nix' \) -print
printf '%s\n' '--- setup references ---'
rg -n --glob '!*.lock' 'guix develop|nix develop|manifest\.scm|shell\.nix|flake\.nix' .github . 2>/dev/null | head -160Repository: hyperpolymath/marches Length of output: 309 🏁 Script executed: printf '%s\n' '--- contributor instructions ---'
cat -n .github/CONTRIBUTING.md
printf '%s\n' '--- tracked setup files ---'
git ls-files | grep -E '(^|/)(manifest\.scm|guix\.scm|channels\.scm|flake\.nix|shell\.nix|default\.nix)$' || true
printf '%s\n' '--- all tracked files with setup references ---'
git grep -n -E 'guix develop|nix develop|manifest\.scm|shell\.nix|flake\.nix' -- . ':!*.lock' || true
printf '%s\n' '--- nearby top-level inventory ---'
git ls-files | sed -n '1,120p'Repository: hyperpolymath/marches Length of output: 5544 🏁 Script executed: printf '%s\n' '--- README setup references ---'
git grep -n -i -E 'install|develop|setup|lake|mise|guix|nix|toolchain' -- README.adoc .github/workflows mise.toml lakefile.toml lean-toolchain 2>/dev/null | head -200
printf '%s\n' '--- mise.toml ---'
cat -n mise.toml
printf '%s\n' '--- lakefile.toml ---'
cat -n lakefile.toml
printf '%s\n' '--- workflow command references ---'
git grep -n -E 'lake|mise|lean|guix|nix' -- .github/workflows 2>/dev/null | head -200Repository: hyperpolymath/marches Length of output: 6184 Use the Lean toolchain instead of 🧰 Tools🪛 LanguageTool[grammar] ~12-~12: There seems to be a noun/verb agreement error. Did you mean “creates” or “created”? (SINGULAR_NOUN_VERB_AGREEMENT) 🪛 markdownlint-cli2 (0.23.2)[warning] 14-14: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 🤖 Prompt for AI Agents |
||
|
|
||
| # Verify setup | ||
|
|
||
| just check \# or: cargo check / mix compile / etc. just test \# Run test | ||
| suite | ||
|
|
||
|
|
||
| ### Repository Structure | ||
|
|
||
| marches/ ├── src/ \# Source code (Perimeter 1-2) ├── lib/ \# Library | ||
| code (Perimeter 1-2) ├── extensions/ \# Extensions (Perimeter 2) ├── | ||
| plugins/ \# Plugins (Perimeter 2) ├── tools/ \# Tooling (Perimeter 2) | ||
| ├── docs/ \# Documentation (Perimeter 3) │ ├── architecture/ \# ADRs, | ||
| specs (Perimeter 2) │ └── proposals/ \# RFCs (Perimeter 3) ├── examples/ | ||
| \# Examples (Perimeter 3) ├── spec/ \# Spec tests (Perimeter 3) ├── | ||
| tests/ \# Test suite (Perimeter 2-3) ├── .well-known/ \# Protocol files | ||
| (Perimeter 1-3) ├── .github/ \# GitHub config (Perimeter 1) │ ├── | ||
| ISSUE_TEMPLATE/ │ └── workflows/ ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md | ||
| ├── CONTRIBUTING.md \# This file ├── GOVERNANCE.md ├── LICENSE ├── | ||
| MAINTAINERS.md ├── README.adoc ├── SECURITY.md ├── flake.nix \# Nix | ||
| flake (Perimeter 1) └── Justfile \# Task runner (Perimeter 1) | ||
|
|
||
| just check # or: cargo check / mix compile / etc. | ||
| just test # Run test suite | ||
|
|
||
| ### Repository Structure | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win 🔎 Supported by static analysis🏁 Script executed: sed -n '1,35p' .github/CONTRIBUTING.mdRepository: hyperpolymath/marches Length of output: 1012 Use a level-two heading for
🧰 Tools🪛 markdownlint-cli2 (0.23.2)[warning] 21-21: Heading levels should only increment by one level at a time (MD001, heading-increment) 🤖 Prompt for AI Agents |
||
|
|
||
| ```text | ||
| marches/ | ||
| ├── src/ # Source code (Perimeter 1-2) | ||
| ├── lib/ # Library code (Perimeter 1-2) | ||
| ├── extensions/ # Extensions (Perimeter 2) | ||
| ├── plugins/ # Plugins (Perimeter 2) | ||
| ├── tools/ # Tooling (Perimeter 2) | ||
| ├── docs/ # Documentation (Perimeter 3) | ||
| │ ├── architecture/ # ADRs, specs (Perimeter 2) | ||
| │ └── proposals/ # RFCs (Perimeter 3) | ||
| ├── examples/ # Examples (Perimeter 3) | ||
| ├── spec/ # Spec tests (Perimeter 3) | ||
| ├── tests/ # Test suite (Perimeter 2-3) | ||
| ├── .well-known/ # Protocol files (Perimeter 1-3) | ||
| ├── .github/ # GitHub config (Perimeter 1) | ||
| │ ├── CONTRIBUTING.md # This file | ||
| │ ├── ISSUE_TEMPLATE/ | ||
| │ └── workflows/ | ||
| ├── CHANGELOG.md | ||
| ├── CODE_OF_CONDUCT.md | ||
| ├── GOVERNANCE.md | ||
| ├── LICENSE | ||
| ├── MAINTAINERS.md | ||
| ├── README.adoc | ||
| ├── SECURITY.md | ||
| ├── flake.nix # Nix flake (Perimeter 1) | ||
| └── Justfile # Task runner (Perimeter 1) | ||
| ``` | ||
|
|
||
| --- | ||
|
|
||
| ## How to Contribute | ||
| ## How to Contribute | ||
|
|
||
| ### Reporting Bugs | ||
| ### Reporting Bugs | ||
|
|
||
| **Before reporting**: | ||
| 1. Search existing issues | ||
|
|
@@ -54,7 +70,7 @@ flake (Perimeter 1) └── Justfile \# Task runner (Perimeter 1) | |
| - Expected vs actual behaviour | ||
| - Logs, screenshots, or minimal reproduction | ||
|
|
||
| ### Suggesting Features | ||
| ### Suggesting Features | ||
|
|
||
| **Before suggesting**: | ||
| 1. Check the [roadmap](ROADMAP.md) if available | ||
|
|
@@ -70,7 +86,7 @@ flake (Perimeter 1) └── Justfile \# Task runner (Perimeter 1) | |
| - Alternatives considered | ||
| - Which perimeter this affects | ||
|
|
||
| ### Your First Contribution | ||
| ### Your First Contribution | ||
|
|
||
| Look for issues labelled: | ||
|
|
||
|
|
@@ -81,22 +97,25 @@ flake (Perimeter 1) └── Justfile \# Task runner (Perimeter 1) | |
|
|
||
| --- | ||
|
|
||
| ## Development Workflow | ||
| ## Development Workflow | ||
|
|
||
| ### Branch Naming | ||
| ### Branch Naming | ||
|
|
||
| docs/short-description \# Documentation (P3) test/what-added \# Test | ||
| additions (P3) feat/short-description \# New features (P2) | ||
| fix/issue-number-description \# Bug fixes (P2) refactor/what-changed \# | ||
| Code improvements (P2) security/what-fixed \# Security fixes (P1-2) | ||
| docs/short-description # Documentation (P3) test/what-added # Test | ||
| additions (P3) feat/short-description # New features (P2) | ||
| fix/issue-number-description # Bug fixes (P2) refactor/what-changed # | ||
| Code improvements (P2) security/what-fixed # Security fixes (P1-2) | ||
|
Comment on lines
+104
to
+107
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Restore one branch pattern per line. The branch examples are split and merged across lines. 🤖 Prompt for AI Agents |
||
|
|
||
|
|
||
| ### Commit Messages | ||
| ### Commit Messages | ||
|
|
||
| We follow [Conventional Commits](https://www.conventionalcommits.org/): | ||
|
|
||
| (): | ||
| type(scope): description | ||
|
|
||
| Body: what changed and why. | ||
|
|
||
| Footer: issue reference, e.g. Closes #123 | ||
|
Comment on lines
+114
to
+118
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win 🔎 Supported by static analysis🏁 Script executed: sed -n '96,126p' .github/CONTRIBUTING.mdRepository: hyperpolymath/marches Length of output: 820 Fence the complete commit-message example. The 🤖 Prompt for AI AgentsThere was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win 🔎 Supported by static analysis🏁 Script executed: sed -n '108,135p' .github/CONTRIBUTING.mdRepository: hyperpolymath/marches Length of output: 395 Remove the stale optional placeholders. The commit-message template contains 🤖 Prompt for AI Agents |
||
| \[optional body\] | ||
|
|
||
| \[optional footer\] | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
Fence the setup commands.
The unindented commands render as ordinary Markdown paragraphs. Markdown can merge
git clone ...andcd marchesinto one line. Lines beginning with#render as headings instead of shell comments. Wrap the complete setup sequence in a fencedshblock so contributors can copy each command safely.Also applies to: 6-8, 12-14, 18-19
🤖 Prompt for AI Agents
Source: Linters/SAST tools