Skip to content
Orthic-LabsPublic

About

No description, website, or topics provided.

Resources

Stars

10 stars

Watchers

0 watching

Forks

Latest commit

 

History

1,717 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Legion. Every angle attacked. Every claim proven.

Legion

Legion is the agent system for AI-assisted engineering, research, editorial, design and commercial work. It routes each request to a role and a skill, keeps decisions, changes and independent checks separate, and records evidence before anything is called done.

Legion 1.0.1 is one product, one repository and one plugin. Its roles are domain neutral and written as three files each. Its skills are grouped by domain in a skill library. Hooks enforce rules when the event happens, and git hooks and your build broker enforce them again at the real boundaries. Nothing stays running.

Status: 1.0.1 is not landed. It lands as a tag on main after integration and qualification. The 1.0.1 architecture is in docs/legion-1.0/ARCHITECTURE.md. Parts of it are proposals until Adrian rules (each carries "assumed, pack recommendation; ruling pending").

Install

The repository root is the plugin. Tools are top-level bin/lg-* commands called by bare name.

Harness How
Claude Code Load the repository root as the plugin. The always-on cost is reported by claude plugin details
Codex Harness-native install, then lg-install path and lg-install git
Antigravity, Muse Harness-native install; roles inline, router line through the prompt hook
CodeRight Native, speaks the hook protocol directly when its entry point lands

Windows is a first-class target. lg-install writes .cmd shims and copies, never symlinks. lg-install git chains Legion's git hooks into the repository's existing hooks. lg-doctor reports health.

Upgrading from 0.3.23 is covered in docs/legion-1.0/MIGRATION.md, including the alias commands that keep your old names working.

Roles

Ten roles, each in roster/<role>/ as agent.yaml, SOUL.md and DOCTRINE.md:

Role Job
legion Lead. Reads intent, routes, owns delivery state and the final report
scout Read-only investigation with sources
alchemist Bounded implementation of one slice inside its scope
alchemist-specialist Implementation where a plausible mistake would still be wrong
oracle Independent assurance. Never reviews its own fix
sage Design and reassessment of material unresolved calls
council Isolated challenge over a frozen packet, on explicit request
sentry Scheduled mechanical checkpoints, no judgment
arcane Router: role, intent, risk and conditions
guard Hook engine: allow, deny, halt; evidence; the stop arbiter

Roles attach by events and router rules, not because a skill mentions them.

Skill library

Domain and method skills live in library/<domain>/<name>/: core, engineering, design, writing, research, marketing and operations. Agent commands live in skills/: alchemist, oracle, council, watchdog, wake, and alias stubs. Helper code lives in tools/<name>/ behind a bin/lg-* launcher. The library holds no executable code outside assets/.

The skill library is public (assumed, pack recommendation; ruling pending).

How work flows

Legion begins with your intent. Arcane reports the role, intent (design or do), risk (L0 to L3) and task conditions. Work runs inline when it is small and splits into independent slices when it is not. Oracle runs for independent completion validation. Guard decides whether Claude may stop, and the stop arbiter reopens a turn at most once per human turn.

Done means the evidence for the task's depth exists: R0 for a typo, R0 to R3 for a substantial change, and Oracle deep completion validation for critical work. Status names the highest rung proven (verified@R0). A rung that cannot run is reported as not run, never as a pass.

Push policy follows the same depth table. A repository can tighten it, never loosen it.

Full detail, including the lifecycle states and the budgets checked in CI, is in references/manual.md.

Audit engine

The Rust audit engine stays. It freezes a revision and inventory, seals a provider plan, runs checks and adjudicates candidates. Output includes JSON, SARIF and Markdown.

legion audit .
legion verify .audit/<run>

Skipped required checks, stale inventory, missing adjudication or unproven coverage prevent a clean verdict.

Repository

Repository truth docs

License

Source-available under the Orthic Labs Source Use License v1.0. See LICENSE.


Orthic Labs Orthic Labs · github.com/Orthic-Labs · More: SellRight · Ember · SwiftRight · Pulse · RightKit · RustRight

About

No description, website, or topics provided.

Resources

Stars

10 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages