Skip to content

docs: add repository guidelines and documentation - #31

Merged
kumawatkaran523 merged 8 commits into
AOSSIE-Org:mainfrom
Atharva0506:docs/add-maintainers
Aug 12, 2026
Merged

docs: add repository guidelines and documentation#31
kumawatkaran523 merged 8 commits into
AOSSIE-Org:mainfrom
Atharva0506:docs/add-maintainers

Conversation

@Atharva0506

@Atharva0506 Atharva0506 commented Aug 10, 2026

Copy link
Copy Markdown
Member

Addressed Issues:

N/A

Screenshots/Recordings:

N/A (documentation-only change)

Additional Notes:

Adds repository guidelines and documentation per AOSSIE's midterm repo-quality checklist:

  • MAINTAINERS.md — Mentors and Maintainers per AOSSIE's role definitions
  • brand/ kit — logo, generated favicons/icons, Brand.md documenting the color palette (sourced from the existing logo)
  • BestPracticesChecklist.md — filled in with objectively verifiable current state (self-certification items and a couple of genuine gaps — e.g. no test files or linter wired into CI yet — left open for a maintainer)
  • AGENTS.md — build/test/contribution instructions for AI coding agents
  • Fixed the template's leftover TODO/YOUR_USERNAME/TODO.git placeholders in CONTRIBUTING.md
  • Linked the project-specific #thrubox Discord channel in CONTRIBUTING.md (previously only the general server invite)
  • Added a test-instructions step to README's Getting Started, and fixed the README's stale inline Maintainers list (was missing 2 of 4 people) to point at MAINTAINERS.md

Used Claude Code with model Claude Sonnet 5 to draft this documentation and generate the favicon assets.

Checklist

  • My code follows the project's code style and conventions
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings or errors
  • I have joined the Discord server and I will share a link to this PR with the project maintainers there
  • I have read the Contributing Guidelines

Summary by CodeRabbit

  • Documentation
    • Added guidance for repository architecture, setup, builds, testing, security, dependencies, and configuration.
    • Updated contribution instructions with project-specific Go, SQLite, testing, analysis, style, and SQL-safety practices.
    • Added test-running instructions and clarified current test coverage.
    • Added maintainer information and a canonical brand reference covering logos, icons, colors, and usage.
    • Updated the best-practices checklist with compliance evidence, notes, and progress tracking.
  • Chores
    • Excluded relay build artifacts from version control.

@github-actions github-actions Bot added the no-issue-linked PR is not linked to any issue label Aug 10, 2026
@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown

Review Change Stack

Walkthrough

Updated repository documentation for maintainers, contributors, project practices, testing, checklist status, branding, and ignored build artifacts. No exported or public entities changed.

Changes

Repository Documentation

Layer / File(s) Summary
Repository roles and operating guidance
MAINTAINERS.md, AGENTS.md, .gitignore
Defines repository roles, maintainer responsibilities, architecture, workflows, constraints, configuration guidance, and the ignored relay artifact.
Contribution and test workflow
CONTRIBUTING.md, README.md
Replaces generic contribution instructions with ThruBox Server setup, Go commands, testing guidance, SQL rules, and maintainer references.
Project assessment and brand reference
BestPracticesChecklist.md, checklist-status.json, brand/Brand.md
Records project-specific practice assessments, checklist status, and the canonical ThruBox brand reference.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Suggested labels: Documentation

Poem

A rabbit checks the docs with care,
Maintainers hop into the chair.
Go commands line the testing trail,
Brand colors shine beside the mail.
The burrow’s guide is fresh and clear!

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the documentation and repository guideline changes in the pull request.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added documentation Changes to documentation files size/S Small PR (11-50 lines changed) repeat-contributor PR from an external contributor who already had PRs merged needs-review labels Aug 10, 2026
@github-actions

github-actions Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor
Messages
📖

⚠️ PR Template Check

These are non-blocking, but please fix:

  • No issue linked. Consider adding Fixes #<number> (e.g. Fixes #42) under the Addressed Issues section.

  • Some required checklist items are not completed:

  • My PR addresses a single issue

Generated by 🚫 dangerJS against 1f0ef93

@Atharva0506
Atharva0506 marked this pull request as ready for review August 10, 2026 15:03

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@MAINTAINERS.md`:
- Around line 15-21: Confirm the current maintainer and mentor assignments, then
reconcile the maintainer and mentor sections in README.md and MAINTAINERS.md so
both documents contain the same authoritative roster, including the correct
roles for Bruno, Atharva, Karn, and Aditya.
- Around line 1-3: Align MAINTAINERS.md with its stated scope by either adding
an Ideators section containing the required columns and roster entries alongside
the existing Maintainers and Mentors sections, or removing the title,
introduction, and links that promise Ideator coverage; ensure the final document
does not claim to list Ideators without providing that roster.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: a369efc9-0baf-4456-9b0f-93a3dfc5ff08

📥 Commits

Reviewing files that changed from the base of the PR and between 93c6e09 and e8373d8.

📒 Files selected for processing (1)
  • MAINTAINERS.md

Comment thread MAINTAINERS.md
Comment thread MAINTAINERS.md
@Atharva0506 Atharva0506 changed the title docs: add MAINTAINERS.md docs: add repository guidelines and documentation Aug 11, 2026
Atharva0506 and others added 2 commits August 11, 2026 13:11
- Add brand/ kit (logos, generated favicons, color palette) with Brand.md
- Fill in BestPracticesChecklist.md with objectively verifiable current state
- Add AGENTS.md
- Fix CONTRIBUTING.md template TODO placeholders and link the #thrubox Discord channel
- Add README test instructions; fix stale Maintainers list to point at MAINTAINERS.md
@github-actions github-actions Bot added configuration Configuration file changes javascript JavaScript/TypeScript code changes size/L Large PR (201-500 lines changed) and removed size/S Small PR (11-50 lines changed) labels Aug 11, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 6

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@AGENTS.md`:
- Around line 18-24: Reorder the verification commands in AGENTS.md so go vet
./... and go test ./... run before the blocking ./relay-server command, or
explicitly instruct users to start the server in a separate terminal.
- Around line 26-27: Fix the reported MD031 violations by adding a blank line
after “Docker:” in AGENTS.md (lines 26-27) and blank lines after each of the
three numbered setup headings in CONTRIBUTING.md (lines 88-99), before their
fenced code blocks.
- Line 35: The dependency policy is inconsistent with the direct runtime
dependencies declared in go.mod. In AGENTS.md at lines 35-35, replace the
“standard library plus mattn/go-sqlite3 only” constraint with the supported
policy that includes all approved direct runtime dependencies; in
CONTRIBUTING.md at lines 227-227, remove the “zero external runtime dependencies
beyond SQLite” claim or update it to list the same supported dependencies.
Ensure both documents use consistent policy wording.

In `@BestPracticesChecklist.md`:
- Line 34: Update BestPracticesChecklist.md by adding blank lines before and
after the score table containing the Total row, and add a blank line between the
“### Backend / API Notes” heading and its following list to satisfy Markdown
formatting rules.
- Around line 233-234: Update the dynamic_analysis_unsafe checklist entry to
mark it unmet rather than N/A, reflecting that the CGo-based
github.com/mattn/go-sqlite3 path is outside Go’s memory-safety guarantees.
Document Valgrind or AddressSanitizer usage for SQLite-enabled builds and tests
if available; otherwise retain an explicit justification that no such analysis
is documented.

In `@brand/Brand.md`:
- Around line 1-3: Update Brand.md and the related README asset references to
document that brand/ is the canonical source synchronized into public/ for
bundled application consumers, or change README links to use the canonical
brand/ files. Clarify that the bundled application lacks a web UI rather than
implying the repository has no HTML consumers, and preserve the existing asset
names and usage context.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: cac836fd-cb47-413e-a297-a06284691c31

📥 Commits

Reviewing files that changed from the base of the PR and between e8373d8 and b8d0a7c.

⛔ Files ignored due to path filters (8)
  • brand/aossie-logo.svg is excluded by !**/*.svg
  • brand/apple-touch-icon.png is excluded by !**/*.png
  • brand/favicon-16x16.png is excluded by !**/*.png
  • brand/favicon-32x32.png is excluded by !**/*.png
  • brand/favicon-48x48.png is excluded by !**/*.png
  • brand/favicon.ico is excluded by !**/*.ico
  • brand/icon-512.png is excluded by !**/*.png
  • brand/thrubox-logo.svg is excluded by !**/*.svg
📒 Files selected for processing (6)
  • AGENTS.md
  • BestPracticesChecklist.md
  • CONTRIBUTING.md
  • README.md
  • brand/Brand.md
  • checklist-status.json

Comment thread AGENTS.md
Comment thread AGENTS.md
Comment thread AGENTS.md Outdated
Comment thread BestPracticesChecklist.md Outdated
Comment thread BestPracticesChecklist.md Outdated
Comment thread brand/Brand.md Outdated
Atharva0506 and others added 3 commits August 11, 2026 13:29
- MAINTAINERS.md: note no Ideators assigned instead of silently omitting the section
- AGENTS.md: run go vet/go test before the blocking server start; fix dependency list
- CONTRIBUTING.md: fix dependency policy claim (go.mod has uuid/yaml.v3 too), markdown formatting
- BestPracticesChecklist.md: markdown formatting; mark dynamic_analysis_unsafe unmet (CGo/SQLite path)
- brand/Brand.md: clarify public/ vs brand/ asset relationship

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
CONTRIBUTING.md (1)

12-12: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Reconcile the Discord-only policy with the GitHub issue workflow.

Lines 9-14 require Discord for all communication and state that GitHub is for code only. Lines 31-54 still require contributors to report bugs and create an issue first. Define one authoritative workflow. If GitHub issues remain required, state that issues are the tracking record and Discord is for discussion and updates.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@CONTRIBUTING.md` at line 12, Reconcile the contribution communication
guidance by updating the Discord-only policy near the removed mandatory `#thrubox`
instruction and the bug-report workflow section. Define GitHub issues as the
authoritative tracking record if issue creation remains required, while
reserving Discord for discussion and updates; remove any contradictory
requirement that all communication occur exclusively in Discord.
BestPracticesChecklist.md (1)

25-35: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Add blank lines around the score table.

markdownlint-cli2 reports MD058 at Line 34. Add one blank line before the table and one blank line after the table, before the horizontal rule.

Proposed fix
 <!-- Auto-updated by checklist-score.yml workflow — do not edit manually -->
+
 | Category           | Met | Total | Status |
 |--------------------|-----|-------|--------|
 | Basics             | 8   | 8     | ✅     |
 | Change Control     | 5   | 6     | 🟡     |
 | Reporting          | 3   | 8     | 🔴     |
 | Quality            | 4   | 11    | 🔴     |
 | Security           | 4   | 9     | 🔴     |
 | Analysis           | 2   | 7     | 🔴     |
 | **Total**          | **26** | **49** | **53%** |
+
 ---
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@BestPracticesChecklist.md` around lines 25 - 35, Add a blank line immediately
before the score table and another immediately after the table, before the
horizontal rule, while preserving the auto-generated marker and table content.

Source: Linters/SAST tools

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.gitignore:
- Line 34: Update the relay entry in .gitignore from an unanchored pattern to
/relay so only the repository-root build artifact is ignored, while preserving
nested cmd/relay files.

In `@brand/Brand.md`:
- Line 27: Update the README consumer statement in Brand.md to distinguish the
synchronized logo copies under public/—consumed by README.md—from the favicon
and icon files, which are consumed only by external dashboards, status pages, or
documentation sites. Do not state that README.md consumes the favicon or icon
files.

---

Outside diff comments:
In `@BestPracticesChecklist.md`:
- Around line 25-35: Add a blank line immediately before the score table and
another immediately after the table, before the horizontal rule, while
preserving the auto-generated marker and table content.

In `@CONTRIBUTING.md`:
- Line 12: Reconcile the contribution communication guidance by updating the
Discord-only policy near the removed mandatory `#thrubox` instruction and the
bug-report workflow section. Define GitHub issues as the authoritative tracking
record if issue creation remains required, while reserving Discord for
discussion and updates; remove any contradictory requirement that all
communication occur exclusively in Discord.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: de55c8e4-68f7-466f-b49f-e169c57828dc

📥 Commits

Reviewing files that changed from the base of the PR and between b8d0a7c and 1f0ef93.

📒 Files selected for processing (7)
  • .gitignore
  • AGENTS.md
  • BestPracticesChecklist.md
  • CONTRIBUTING.md
  • MAINTAINERS.md
  • brand/Brand.md
  • checklist-status.json

Comment thread .gitignore

# Build / Release
dist/
relay

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail
git check-ignore -v --no-index cmd/relay

Repository: AOSSIE-Org/ThruBox-Server

Length of output: 193


🏁 Script executed:

#!/bin/bash
set -euo pipefail
printf '%s\n' '--- .gitignore ---'
cat -n .gitignore
printf '%s\n' '--- AGENTS.md references ---'
rg -n -C 3 'cmd/relay|(^|[^[:alnum:]_])relay([^[:alnum:]_]|$)' AGENTS.md . 2>/dev/null | head -200
printf '%s\n' '--- tracked relay paths ---'
git ls-files | rg '(^|/)relay($|/)' || true
printf '%s\n' '--- ignore checks ---'
for path in relay cmd/relay cmd/relay/main.go; do
  printf '%s: ' "$path"
  git check-ignore -v --no-index "$path" || true
done
printf '%s\n' '--- repository status ---'
git status --short --untracked-files=all

Repository: AOSSIE-Org/ThruBox-Server

Length of output: 11804


Anchor the relay ignore rule to the repository root.

The current rule ignores cmd/relay and its files. Change it to /relay if it targets a root-level build artifact.

Proposed fix
-relay
+/relay
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
relay
/relay
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.gitignore at line 34, Update the relay entry in .gitignore from an
unanchored pattern to /relay so only the repository-root build artifact is
ignored, while preserving nested cmd/relay files.

Comment thread brand/Brand.md
| [`apple-touch-icon.png`](./apple-touch-icon.png) | 180×180 | iOS home screen |
| [`icon-512.png`](./icon-512.png) | 512×512 | PWA manifest / app icon |

This server itself has no bundled web UI (it's a headless REST API) — the favicons/icons here aren't consumed by any application HTML, only by the repo's own README and any external dashboards, status pages, or documentation sites built around this server.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Correct the README consumer statement.

README.md, Lines 4-8 use the synchronized logo copies under public/. They do not consume the favicon or icon files listed in this section. State the logo consumer and the favicon/icon consumers separately.

Proposed wording
-This server itself has no bundled web UI (it's a headless REST API) — the favicons/icons here aren't consumed by any application HTML, only by the repo's own README and any external dashboards, status pages, or documentation sites built around this server.
+This server itself has no bundled web UI (it's a headless REST API). The synchronized logo copies under `public/` are consumed by the repository README. The favicon and icon assets in this folder are available for external dashboards, status pages, or documentation sites built around this server.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@brand/Brand.md` at line 27, Update the README consumer statement in Brand.md
to distinguish the synchronized logo copies under public/—consumed by
README.md—from the favicon and icon files, which are consumed only by external
dashboards, status pages, or documentation sites. Do not state that README.md
consumes the favicon or icon files.

@kumawatkaran523
kumawatkaran523 merged commit 3d110e0 into AOSSIE-Org:main Aug 12, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

configuration Configuration file changes documentation Changes to documentation files javascript JavaScript/TypeScript code changes needs-review no-issue-linked PR is not linked to any issue repeat-contributor PR from an external contributor who already had PRs merged size/L Large PR (201-500 lines changed)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants