BlackAngelTV 770b903b9e docs(readme): add language and AGENTS.md download links
Make both language versions reachable right after the effective-date
section so readers can switch languages or fetch AGENTS.md easily.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-27 17:13:15 +02:00

FWS

FWS is an open-source organization made up of several projects. Each project is free to choose its own tech stack (no language restrictions), but must follow the common conventions described in this document.

The main project is FWS Arch, a fork of Arch Linux: we keep the Arch base and add a user-friendly layer on top to simplify day-to-day installation and usage.

This document defines the conventions that apply to all repositories in the organization.

Effective date

The rules in this document take effect on August 26, 2026.

  • Anything done before that date — commits, branches, repositories, code, history — is not affected: no retroactive renaming or history rewriting.
  • From that date on, all new commits, branches, repositories and projects must follow these conventions.

Languages

Table of contents


Commit conventions

Language

All commit messages are written in English.

Format: Conventional Commits

Every commit follows the Conventional Commits format:

<type>(<scope>): <description>

Allowed types:

Type Usage
feat: New feature
fix: Bug fix
docs: Documentation only
style: Formatting, whitespace, semicolons… (no code impact)
refactor: Refactoring without behavior change
perf: Performance improvement
test: Adding or updating tests
build: Build system or dependencies
ci: CI configuration
chore: Miscellaneous tasks (cleanup, configuration…)
revert: Reverting a previous commit

Examples:

feat(auth): add password reset flow
fix(installer): resolve partition detection on UEFI
docs(readme): clarify setup steps

Message body

The title should be short and imperative. A body is added when needed to explain the why (context, decision, trade-offs), not the how.

fix(installer): resolve partition detection on UEFI

The previous heuristics failed on disks with an ESP not mounted at
/boot. Fall back to reading the EFI system partition UUID directly
from the firmware tables.

Naming

Repositories

All repositories in the organization follow the kebab-case with fws- prefix format:

fws-arch     # the Arch Linux fork (main project)
fws-web      # website or web app
fws-api      # API / backend
fws-docs     # documentation

Branches

Branches follow the type/description format, in English, kebab-case:

feat/login
fix/typo-accueil
docs/api
refactor/installer

Files

Files are named in kebab-case, regardless of the language:

my-component.ts
user-service.py
network-manager.c
install-script.sh

Code conventions

Identifiers

Identifiers (variables, functions, classes, modules) are in English:

def get_user_by_id(user_id): ...

Comments

  • Comments are written in English.
  • Comment the why, not the how. If the code is self-explanatory, no comment is needed.
  • Document the non-obvious: implementation choices, trade-offs, edge cases, references to a bug or decision.
# We cache the result because resolving DNS can take up to 2s on
# misconfigured resolvers.

Stack freedom

Each project is free to choose its own tech stack (language, framework). Only the naming and code conventions above are shared.

Formatting & linting

No tool is imposed at the organization level. Recommended best practices:

  • Use the language's standard formatter / linter when one exists (rustfmt, gofmt, Prettier, ruff…).
  • Shared configuration within each project, committed to the repo.
  • Formatting on save is encouraged.

Mandatory .gitignore

Every repository must contain a .gitignore at its root. It must at least ignore:

  • environment files: .env, .env.* — never commit secrets in plain text;
  • AI / development-assistant data: .freebuff/, .cursor/, .vscode/… depending on the tool;
  • compiled artifacts and dependencies: node_modules/, dist/, build/, target/, __pycache__/, *.pyc, *.o, *.so, *.exe…;
  • generated files: logs, caches, coverage reports.

A file tracked by mistake can be removed from tracking (without being deleted) with git rm --cached <file>.


Tests

  • Test files are named *.test.*:

    auth.test.ts
    network-manager.test.c
    
  • Test names use describe / it (or the framework equivalent) in English:

    describe('login', () => {
      it('rejects an invalid password', () => { ... });
    });
    
  • All tests must pass before merging a pull request.


Versioning & releases

SemVer

Each project publishes its versions using SemVer: MAJOR.MINOR.PATCH.

  • MAJOR: incompatible changes (breaking changes)
  • MINOR: backward-compatible new features
  • PATCH: backward-compatible bug fixes

CHANGELOG

The CHANGELOG is generated automatically from Conventional Commits (e.g. with an automated release tool). feat: and fix: commits feed the Features / Bug Fixes sections.


Development organization (Kanban)

Development in each project is organized on a Kanban board.

  • Each project maintains its own board (e.g. GitHub Projects) to track tasks.
  • Reference columns: Backlog / To do, In progress, In review, Done.
  • A card = one unit of work (feature, bug, task). Each card gives birth to a type/description branch and a linked pull request.
  • A card is moved to Done only once its pull request is merged.

Issues & bug reports

Any bug, feature request or improvement is tracked through an issue, linked to the project's Kanban board.

Rules:

  • Every issue has a clear title and a precise description.
  • For a bug, the description must include:
    • reproduction steps;
    • expected behavior vs observed behavior;
    • environment (version, OS, hardware if relevant);
    • any useful logs or screenshots.
  • Recommended labels: bug, enhancement, question, good first issue, help wanted.
  • An issue fixed by a PR is referenced in the PR or the commit (Fixes #123).
  • Notable changes require an issue before opening the PR.

Git workflow / Pull requests

  1. Create a type/description branch from main.
  2. Commit following the conventions (see above).
  3. Open a pull request with a clear title and description.
  4. At least one reviewer must approve the PR.
  5. Tests must pass before merging.
  6. Merge with squash: 1 PR = 1 clean commit on main.

Documentation

  • Documentation is bilingual French / English.
  • README.md: French version.
  • README.en.md: English version (full translation).
  • Both versions must stay in sync after every change.
  • AGENTS.md: instructions for AI agents — mandatory in every repository, kept up to date with the conventions.
S
Description
Vue d'ensemble et conventions
Readme
107 KiB
1 Stars 3 Watchers 0 Forks
Languages
Markdown 100%