Repository navigation
fix(docs): render the repository-structure tree as a tree #75
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,46 +1,59 @@ | ||
| # Clone the repository | ||
|
|
||
| git clone | ||
| <https://github.com/hyperpolymath/misinformation-defence-platform.git> | ||
| git clone https://github.com/hyperpolymath/misinformation-defence-platform.git | ||
| cd misinformation-defence-platform | ||
|
|
||
| # Using Nix (recommended for reproducibility) | ||
| # Using Guix (recommended for reproducibility) | ||
|
|
||
| nix develop | ||
| guix develop | ||
|
|
||
| # Or using toolbox/distrobox | ||
|
|
||
| toolbox create misinformation-defence-platform-dev toolbox enter | ||
| misinformation-defence-platform-dev \# Install dependencies manually | ||
| toolbox create misinformation-defence-platform-dev | ||
| toolbox enter misinformation-defence-platform-dev | ||
| # Install dependencies manually | ||
|
|
||
| # Verify setup | ||
|
|
||
| just check \# or: cargo check / mix compile / etc. just test \# Run test | ||
| suite | ||
|
|
||
|
|
||
| ### Repository Structure | ||
|
|
||
| misinformation-defence-platform/ ├── 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 | ||
|
Comment on lines
+6
to
+19
Contributor
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: sed -n '1,130p' .github/CONTRIBUTING.mdRepository: hyperpolymath/misinformation-defence-platform Length of output: 3675 Use fenced Markdown blocks for literal examples. The setup commands are unformatted, so shell comments beginning with Keep the explanatory sentence as prose. Wrap the setup commands in a 🧰 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
Contributor
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 | 🟠 Major | ⚡ Quick win 🔎 Supported by static analysis🏁 Script executed: sed -n '1,80p' Justfile
rg -n 'just test|Run test suite|test:' . --glob '!target/**' --glob '!node_modules/**'Repository: hyperpolymath/misinformation-defence-platform Length of output: 4219 🏁 Script executed: #!/bin/bash
set -eu
printf '%s\n' '--- .github/CONTRIBUTING.md ---'
cat -n .github/CONTRIBUTING.md
printf '%s\n' '--- QUICKSTART-DEV.adoc relevant section ---'
sed -n '60,95p' QUICKSTART-DEV.adoc
printf '%s\n' '--- root test-bearing files and directories ---'
find . -maxdepth 2 \( -type d -o -type f \) -iname '*test*' -o -iname '*spec*' | sort | head -80Repository: hyperpolymath/misinformation-defence-platform Length of output: 5648 🏁 Script executed: #!/bin/bash
set -eu
printf '%s\n' '--- root tests directory ---'
find tests -maxdepth 2 -type f -print | sort
printf '%s\n' '--- TEST-NEEDS.adoc ---'
cat -n TEST-NEEDS.adoc
printf '%s\n' '--- root tool/config files relevant to test commands ---'
find . -maxdepth 2 -type f \( -name 'Cargo.toml' -o -name 'mix.exs' -o -name 'package.json' -o -name 'deno.json' -o -name 'pyproject.toml' -o -name 'Makefile' -o -name 'Justfile' \) -print | sortRepository: hyperpolymath/misinformation-defence-platform Length of output: 4928 Do not describe The 🤖 Prompt for AI Agents |
||
|
|
||
| ### Repository Structure | ||
|
Contributor
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: sed -n '1,65p' .github/CONTRIBUTING.md
rg -n '^#{1,6} ' .github/CONTRIBUTING.mdRepository: hyperpolymath/misinformation-defence-platform Length of output: 2212 Use the correct heading level for The document reaches 🧰 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 | ||
| misinformation-defence-platform/ | ||
| ├── 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 | ||
|
|
@@ -57,7 +70,7 @@ 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 | ||
|
|
@@ -73,7 +86,7 @@ Task runner (Perimeter 1) | |
| - Alternatives considered | ||
| - Which perimeter this affects | ||
|
|
||
| ### Your First Contribution | ||
| ### Your First Contribution | ||
|
|
||
| Look for issues labelled: | ||
|
|
||
|
|
@@ -84,22 +97,25 @@ Task runner (Perimeter 1) | |
|
|
||
| --- | ||
|
Comment on lines
52
to
98
Contributor
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: sed -n '48,102p' .github/CONTRIBUTING.mdRepository: hyperpolymath/misinformation-defence-platform Length of output: 1912 🏁 Script executed: cat -n .github/CONTRIBUTING.md | sed -n '45,100p'Repository: hyperpolymath/misinformation-defence-platform Length of output: 2336 Dedent the remaining indented Markdown. Dedent the separator at line 52 and the prose, labels, lists, links, and guidance at lines 58–71, 75–87, and 91–98. The four-space indentation makes each range render as an indented code block. The subsection headings at lines 56, 73, and 89 are already correctly dedented. 🧰 Tools🪛 markdownlint-cli2 (0.23.2)[warning] 52-52: Code block style (MD046, code-block-style) [warning] 58-58: Code block style (MD046, code-block-style) [warning] 75-75: Code block style (MD046, code-block-style) [warning] 91-91: Code block style (MD046, code-block-style) 🤖 Prompt for AI Agents |
||
|
|
||
| ## 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) | ||
|
|
||
|
|
||
| ### 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 | ||
| \[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 | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: hyperpolymath/misinformation-defence-platform
Length of output: 384
🏁 Script executed:
Repository: hyperpolymath/misinformation-defence-platform
Length of output: 3124
Provide Guix configuration before recommending
guix develop.The repository has no Guix manifest or channel configuration. Therefore,
guix develophas no repository-defined toolchain to install. Add the required Guix configuration, or keep the documented Nix setup as the recommended path.🤖 Prompt for AI Agents
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: hyperpolymath/misinformation-defence-platform
Length of output: 5782
Align the Guix setup commands.
.github/CONTRIBUTING.mdrecommendsguix develop, whileQUICKSTART-DEV.adocprescribesguix shellfor the same preferred Guix workflow. Use the same command in both documents, or explain when each command applies.🤖 Prompt for AI Agents