Skip to main content

Add your description here

Project description

Roly logo

Roly

Deterministic role assembly for coding-agent workflows.

Roly helps build reusable role instructions that are composable, reviewable, and predictable. No hidden merges. No implicit magic. Just a clean CLI flow from role definition to generated output.

Quick Start

Run from source:

uv sync
uv run roly list --no-color

Assemble your first role output:

uv run roly assemble \
  --role code-review \
  --role project-audit \
  --name reviewer-ad-hoc \
  --no-color

Prefer config-based assembly:

uv run roly assemble --config examples/roly.config --user-role reviewer-default --no-color

Why Roly

  • Deterministic every time: one top-level role plus ordered sub-roles, assembled in a fixed order.
  • Scope-aware by default: project, user, and built-in roles with explicit precedence.
  • Safe review workflow: proposed sub-role edits go through interactive accept/reject approval.
  • Explicit promotion model: project-local edits only become user-level when you promote them.

What You Can Do

List available roles:

uv run roly list --no-color

Compare project-local vs user-level role definitions:

uv run roly diff --role code-review --no-color

Promote a project-local role to user-level:

uv run roly promote --role code-review --yes --no-color

Run interactive review + apply flow:

uv run roly review --target-sub-role code-review --target-sub-role project-audit --changes-file changes.toml --no-color

Create/setup review skill assets:

uv run roly setup --agent none --yes --no-color

How It Works

  1. Define roles as markdown files with TOML front matter.
  2. Select ordered role slugs; dependency top-level role is auto-inserted for each sub-role.
  3. Assemble deterministic output artifacts from role content + output definitions.
  4. Keep experimental edits project-local, then promote only when ready.

Example Use Cases

  • Standardize engineering review prompts across repositories.
  • Layer domain overlays (security, compliance, architecture) without copy-paste.
  • Run repeatable role updates with human approval in the loop.
  • Keep team prompts versioned, diffable, and shareable.

Docs For Contributors

Development setup, lint/test commands, and contributor workflows are in README_DEV.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

roly-0.1.0.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

roly-0.1.0-py3-none-any.whl (26.6 kB view details)

Uploaded Python 3

File details

Details for the file roly-0.1.0.tar.gz.

File metadata

  • Download URL: roly-0.1.0.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for roly-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7754d3d05a3e10cc53c707f31de5a3408c275bc4eca55ac46d97da4a85285404
MD5 0979bd2a83c28a1ffa64811eb643753f
BLAKE2b-256 bb5944f3c3938576e5d9ea0ca1d3112607ce28e462b8587418152757df6b5c36

See more details on using hashes here.

Provenance

The following attestation bundles were made for roly-0.1.0.tar.gz:

Publisher: release.yml on Mullans/Roly

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file roly-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: roly-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for roly-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 61479a53466fc20437beee1a576868aaaafb170395675c024009ea340231bc22
MD5 aa0a66f5c05941d6523ce461baf63b40
BLAKE2b-256 f4ecb9c1925b6c7b4561d33c31367ec97f5daa5f3d992c609bf0bd74546e9650

See more details on using hashes here.

Provenance

The following attestation bundles were made for roly-0.1.0-py3-none-any.whl:

Publisher: release.yml on Mullans/Roly

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page