Peios Learn
Documentation

Peios

Peios Peios Kernel Universal Directory Project

Developer Tools

Trail Acta Provium clackatoo CAF GCSL Pekit

Applications

Framewright

Standards and Conventions

Standards and Conventions Peios Specifications
Standards and Conventions

Git Workflow

Single-page view · as markdown

Development Model

Standards and Conventions / Git Workflow

Peios is trialing a component-led development model. Components develop and release independently; monthly OS releases consolidate selected component releases into a shared baseline. The model remains subject to revision if experience shows that its integration or maintenance costs outweigh its benefits.

Panorama is a development workspace for the OS. Its components remain separate, independently versioned packages. A Git branch or tag always identifies a whole repository state; a component name describes its purpose, not a restriction Git enforces on the files or history it contains.

Main and Component Branches

Standards and Conventions / Git Workflow

In Panorama, main represents the consolidated source for the latest qualified monthly OS release. Development for future component versions happens on branches named <component>/<version>, such as authd/0.8.0.

A component's first development branch starts from the current main. When a component version is released, its next development branch starts from the exact released commit. For example, after tagging authd/v0.8.0, create authd/0.9.0 from that tag. Development can continue before the next monthly includes 0.8.0.

Component versions use a semver-like <MAJOR>.<MINOR>.<PATCH> scheme. Components do not have to share a version number or release on the monthly OS schedule.

Work Branches

Standards and Conventions / Git Workflow

Feature work, fixes, and maintenance use task branches:

<type>/<acta-task-number>-<brief-title>

The types are:

  • feat: feature work.
  • fix: bug fixes.
  • chore: general maintenance.

Start a task branch from the component development or maintenance branch it targets, and merge the completed work back there. Task branch names identify the work rather than requiring a component prefix. Changes should be coherent and include the relevant tests and documentation.

Commit Style

Standards and Conventions / Git Workflow

Use Conventional Commits 1.0.0 for Peios-authored commits across Panorama, the kernel fork, and satellite repositories:

<type>(<scope>): <imperative summary>

Optional explanation of the problem, resulting behavior, and significant
reasoning. Describe relevant validation and remaining limitations.

Refs: PEI-1234

Each commit should contain one coherent change, independently reviewable and revertible where practical. Separate unrelated fixes, formatting, and generated changes. A series can contain dependent commits when that makes the work easier to review.

Use a concise, imperative subject: "preserve module paths", rather than "updated packaging". Aim for 72 characters without sacrificing clarity. Use these lowercase types:

TypePurpose
featAdd functionality.
fixCorrect faulty behavior.
refactorRestructure code without changing its behavior.
perfImprove performance.
docsChange documentation.
testAdd or change tests.
buildChange build tooling, dependencies, or packaging.
ciChange continuous integration configuration or automation.
choreOther maintenance that does not fit the types above.
revertRevert an earlier change; identify the reverted commit in the body.

Choose a meaningful scope. In Panorama, normally use the component. In a dedicated repository, use the subsystem or area, such as kacs, stratafs, or packaging. Omit the scope when no single scope meaningfully describes the change. Commit types do not expand the types in Work Branches.

Include a body when explanation matters. Describe the problem, resulting behavior, and significant reasoning rather than repeating the diff. Small, obvious changes do not need boilerplate. Validation statements must describe what was actually checked and any relevant limitations.

Put related Acta task IDs in a Refs: footer, separated from the body by a blank line. Do not append task IDs to the subject. For several tasks, use a comma-separated list, for example Refs: PEI-1234, PEI-1235. A reference records the association; it does not assert that the task is complete. Work-branch names continue to include their Acta task number.

For a breaking change, append ! before the subject's colon, for example feat(authd)!: require an explicit token audience. Include a BREAKING CHANGE: footer explaining the affected contract and how callers or users should migrate.

Imported upstream commits and merge commits are exempt from subject-format enforcement. Preserve upstream history and the integration ancestry required by the branch model; do not rewrite existing history merely to adopt this style.

Commit types can inform release notes, but package versions remain explicit release decisions. Do not automatically bump every package touched by a commit.

Peios Learn — documentation for Peios software.

Built with Trail.