Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

title Agently Doctrine Index
status active
authority doctrine
last_reviewed 2026-06-03

Agently Doctrine

This directory is the formal source-of-truth doctrine collection for Agently. It constrains future development, agent behavior, architecture decisions, workflow UX, safety boundaries, command contracts, and roadmap discipline.

Doctrine is not marketing. Doctrine is the written operating contract future Codex, Claude, ChatGPT, and human sessions SHOULD read before changing Agently.

Fast Start For Agents

  1. Read 00-source-of-truth.md.
  2. Read 01-identity-and-scope.md.
  3. Read the doctrine file relevant to the task.
  4. Inspect the implementation under bin/, lib/, templates/, and tests/.
  5. Make bounded changes.
  6. Run bash -n bin/agently lib/*.sh tests/*.sh.
  7. Run ./tests/smoke.sh when reasonable.
  8. Report deviations and name the doctrine files consulted.

Doctrine Files

Surface Status Labels

Major commands, config keys, layouts, client responsibilities, and status fields are Current, Deferred, or Forbidden. Unlabeled planning material is non-current.

Label Surfaces
Current Bash CLI core under bin/ and lib/; managed self status, install, and uninstall; project init/status/doctor; workstream, ws, task, doc, packet, context, compact, inspect, patch, guard, eval, evidence, prompt, claude, report, decide, serena, and mcp commands documented in 06-command-contract.md; .agently/ project workflow state; filesystem templates; local-only workstream branch binding; workstream spine commands; inspect doc go.
Deferred Separate agently-mcp facade over CLI contracts; separate Go TUI client; archive/close/GC; self update/rollback; project migration; template refresh; binary packaging; ScientDB.
Forbidden Hidden network behavior; background services, databases, web UIs, or custom TUIs in the Bash core; direct .agently/** mutation by clients outside Agently CLI contracts; second workflow implementations or authority layers; v1 workstream branch push, upstream, merge, delete, reset, rewrite, publish, or PR automation; secrets, telemetry, or real model calls in tests.

Doctrine Rule

Future Agently changes MUST NOT silently drift from this doctrine. If an implementation change intentionally changes architecture, authority, command contracts, workflow state, templates, or safety boundaries, update doctrine explicitly.