A breaking redesign for Astra-generation coding agents: a working contract, selectively installed specialist knowledge, and executable evidence tools. Ordinary small work may use zero Skills. The model chooses implementation methods; the requester and project define outcome, authority, required quality and completion evidence. Substantial delivery starts with human alignment and a demonstrated verification path, not blind autonomy.
Python 3.11+, Git and a POSIX system are required for the installer/tests. No Python third-party packages are required. Check out a reviewed revision, then run:
./setup.sh --list
./setup.sh /path/to/project --profile core --profile embedded --dry-run
./setup.sh /path/to/project --profile core --profile embedded
./setup.sh /path/to/project --skill ui-design --skill ui-verification --client both
With no selection, only core is installed. An explicit profile/skill selection replaces
the managed selection; repeat --profile core to include it. codex installs native
.agents/skills entries (also usable by clients supporting that location), claude uses
.claude/skills, and both uses both. Client discovery must be supported by the installed
runtime; this repository does not choose a model or guarantee other models' behavior.
The installer links current Skills and records ownership in .playbook-install.json.
It refuses unmanaged collisions, edited managed paths and legacy whole-directory symlinks;
it does not delete project-owned files, copy contributor instructions, change credentials,
or edit Git configuration/ignore rules. Review/ignore the generated links and ownership
file according to your project's policy. Keep the manifest local with its matching links.
A source checkout update changes linked Skills; pin a revision for reproducibility.
Adapt templates/AGENTS.md with real commands, authorized execution boundaries, acceptance
requirements and escalation contacts. Installation alone does not update an existing
project's instructions. Remove retired workflow mandates while preserving local requirements.
Do not copy this repository's contributor AGENTS.md into a consumer project.
| Profile | Specialists |
|---|---|
| core | repo-onboarding, decision-analysis, boundary-migration, workflow-contracts, bug-investigation-and-rca, preflight-engineering, agentic-tdd |
| embedded | target-discovery, embedded-runtime-evidence, runtime-performance, concurrency-verification |
| backend | auth-session, db-migration, runtime-performance |
| research | research-workflow, experiment-loop, research-synthesis |
| mobile | mobile-platform, mobile-verification, mobile-release, concurrency-verification |
| ui | ui-design, ui-verification |
| authoring | playbook-authoring, lessons-learned, japanese-tech-writing |
| quality | code-health |
| maintenance | code-health, codebase-rehabilitation |
Profiles make Skills available; they are not execution sequences. Descriptions are selection boundaries. References and scripts are used only for the decision they address. The UI profile retains seven style/token families and preview assets. Specialist scripts travel with their Skill. Bundled research-ledger tools remain optional project-level tools; see their references.
Start from the request plus the project working contract. Before substantial dependent work, align on the user's outcome, acceptance/E2E boundary, NFRs and allowed execution/actions. Reuse prior answers. Ask only for material unresolved decisions, with the impact and a bounded recommendation; silence is not consent. Continue independent authorized work without making up a missing requirement or asking permission for every ordinary command.
preflight-engineering is a rewritten human-communication and readiness Skill, not the old
full-repository preparation workflow. Demonstrate start/drive/observe/reset for the necessary
verification path early. A greenfield task can first build a minimal executable slice. Reuse
valid readiness evidence and revisit affected changes. repo-onboarding only repairs missing
repository facts; knowing an execution command does not prove the environment works.
agentic-tdd puts executable acceptance/E2E outside a focused UT/integration loop for
user-visible runtime delivery and explicit TDD. Environment failure is not feature Red;
UT success, no-tests/all-skipped, screenshots or a healthy process are not E2E Green.
Use the appropriate public boundary for pure library/static work instead of manufacturing an
unnecessary UI/system test. Required performance/physical claims need their own evidence.
Fix environment gaps inside granted authority. Raise missing access, real targets or material requirements when discovered, not at submission. Do not bypass denial through a different tool/host/CI/agent, search for credentials, disable security or weaken assertions. A separately approved alternative is allowed; it cannot silently broaden what the evidence claims. Partial work may be shared in a Draft PR but is not a completed feature with required E2E missing. These duties live in the common contract too, so missed Skill selection does not waive them.
apps/preflight_web/ contains a local, single-user prototype for free-form discussion,
questions about questions, proposed agreement changes and version-bound human confirmation.
It is separate from Skills: setup.sh neither installs nor starts a Web server.
python3 -m apps.preflight_web.server --provider demo
The default walkthrough is explicitly deterministic demo, not an AI. An experimental Codex App Server adapter is included but has not been verified with a live Codex binary/model. The app exports a content-confirmed handoff; it does not execute the task or grant permission. HTTP tests and offline UI/component checks pass; the full browser HTTP E2E is currently blocked by the development browser's loopback policy, and is not a pass. See setup, boundaries and verification before live use.
Preserve safety/security/privacy, data integrity, external obligations and required checks.
Derive quality from use, failure impact, workload, expected changes and recovery conditions.
Required-but-unverified is not complete; an optional improvement may remain unmet. Reuse
proof only while candidate, target, workload, configuration and method still support it.
Use docs/quality-contract.md when requirements are unresolved, not as a per-edit checklist.
No compulsory generic delivery router, final-gate Skill, role roster, function ledger, report pack, retry count or universal performance/structure threshold. This does not remove real sequencing dependencies: unresolved material agreement or unavailable required verification must not be ignored while dependent implementation accumulates. Informative debugging continues within authority; uninformative repetition changes approach.
The common contract gives the supervisor responsibility for integrated design, not just worker reports and green tests. For ongoing development, install the optional specialist:
./setup.sh /path/to/project --profile core --profile quality
code-health covers shared rule ownership, justified compatibility/abstraction, useful
comments, related restructuring and evidence-backed findings. It is not another mandatory
router or a universal LOC/complexity score. The short contract applies even without the Skill;
installation does not update a consumer AGENTS.md automatically.
evals/evolution/README.md describes executable continued-change trials: CLI persistence,
a second entrypoint, then a changed shared rule with a fresh conversation and retained code.
Use python3 -m scripts.run_evolution_evals --help for the explicit sandboxed adapter contract.
Model/team identities and checkpoint evidence are recorded, but live Astra/Fable/worker-team
trials have not run. Functional passes require separate design/maintenance trace review.
./setup.sh /path/to/project --profile core --profile maintenance
Then request codebase-rehabilitation for a named subsystem and painful maintenance task.
Agree on preserved/retired/fixed/unknown behavior, establish characterization and the real
verification path, refactor coherent ownership, and prove the final behavior plus a relevant
follow-up change. No universal rewrite, LOC target or forced compatibility removal.
The Skill bundles an optional read-only, tracked-Python inspection tool with explicit paths,
source hashes and clone/branch-statement diagnostics. It never imports project code or
performs repairs, and incomplete analysis cannot be called clean. Other languages use the
project's existing analyzers. See docs/codebase-rehabilitation.md for invocation and limits.
evals/evolution/rehabilitation.json exercises a degraded fixture, a bounded repair, and a
fresh-maintainer rule change while preserving a real external compatibility boundary.
Retired Skill names, aggregate links, --overlay, indexes and model-routing configs remain
retired without aliases or fallbacks. bug-investigation-and-rca and preflight-engineering
are intentionally rewritten in place; test-driven-development maps to agentic-tdd.
Their former fixed workflows and report obligations are not restored. Inspect and explicitly
remove/relocate old playbook-owned links before installing; ownership is never guessed.
docs/skill-disposition.json accounts for all 67 old entrypoints. The 26 current entrypoints
are a design choice, not a measured optimal number.
Old plans/reports/experiments and run evidence remain historical, not active guidance. The research evidence schema stays readable because preserving experiment provenance is not compatibility with the retired workflow. No downstream product API/data waiver is implied.
make verify
CI runs the same catalog/reference/syntax validation, research-ledger integrity check and unit/integration regressions. New preflight fixtures exercise an actual CLI across processes, including missing environment, meaningful acceptance failure and persistence. Those fixture tests do not prove that a model asks questions at the right time or respects authority.
evals/README.md describes matched baseline/minimal/selective arms, task oracles and pending
trace/communication review. Live Astra A/B trials have not been run for this redesign.
See docs/astra-redesign.md for boundaries, evaluation limits and the source rationale.
160 commits
Python
75.7%
JavaScript
14.7%
HTML
5.0%
CSS
4.5%
A breaking redesign for Astra-generation coding agents: a working contract, selectively installed specialist knowledge, and executable evidence tools. Ordinary small work may use zero Skills. The model chooses implementation methods; the requester and project define outcome, authority, required quality and completion evidence. Substantial delivery starts with human alignment and a demonstrated verification path, not blind autonomy.
Python 3.11+, Git and a POSIX system are required for the installer/tests. No Python third-party packages are required. Check out a reviewed revision, then run:
./setup.sh --list
./setup.sh /path/to/project --profile core --profile embedded --dry-run
./setup.sh /path/to/project --profile core --profile embedded
./setup.sh /path/to/project --skill ui-design --skill ui-verification --client both
With no selection, only core is installed. An explicit profile/skill selection replaces
the managed selection; repeat --profile core to include it. codex installs native
.agents/skills entries (also usable by clients supporting that location), claude uses
.claude/skills, and both uses both. Client discovery must be supported by the installed
runtime; this repository does not choose a model or guarantee other models' behavior.
The installer links current Skills and records ownership in .playbook-install.json.
It refuses unmanaged collisions, edited managed paths and legacy whole-directory symlinks;
it does not delete project-owned files, copy contributor instructions, change credentials,
or edit Git configuration/ignore rules. Review/ignore the generated links and ownership
file according to your project's policy. Keep the manifest local with its matching links.
A source checkout update changes linked Skills; pin a revision for reproducibility.
Adapt templates/AGENTS.md with real commands, authorized execution boundaries, acceptance
requirements and escalation contacts. Installation alone does not update an existing
project's instructions. Remove retired workflow mandates while preserving local requirements.
Do not copy this repository's contributor AGENTS.md into a consumer project.
| Profile | Specialists |
|---|---|
| core | repo-onboarding, decision-analysis, boundary-migration, workflow-contracts, bug-investigation-and-rca, preflight-engineering, agentic-tdd |
| embedded | target-discovery, embedded-runtime-evidence, runtime-performance, concurrency-verification |
| backend | auth-session, db-migration, runtime-performance |
| research | research-workflow, experiment-loop, research-synthesis |
| mobile | mobile-platform, mobile-verification, mobile-release, concurrency-verification |
| ui | ui-design, ui-verification |
| authoring | playbook-authoring, lessons-learned, japanese-tech-writing |
| quality | code-health |
| maintenance | code-health, codebase-rehabilitation |
Profiles make Skills available; they are not execution sequences. Descriptions are selection boundaries. References and scripts are used only for the decision they address. The UI profile retains seven style/token families and preview assets. Specialist scripts travel with their Skill. Bundled research-ledger tools remain optional project-level tools; see their references.
Start from the request plus the project working contract. Before substantial dependent work, align on the user's outcome, acceptance/E2E boundary, NFRs and allowed execution/actions. Reuse prior answers. Ask only for material unresolved decisions, with the impact and a bounded recommendation; silence is not consent. Continue independent authorized work without making up a missing requirement or asking permission for every ordinary command.
preflight-engineering is a rewritten human-communication and readiness Skill, not the old
full-repository preparation workflow. Demonstrate start/drive/observe/reset for the necessary
verification path early. A greenfield task can first build a minimal executable slice. Reuse
valid readiness evidence and revisit affected changes. repo-onboarding only repairs missing
repository facts; knowing an execution command does not prove the environment works.
agentic-tdd puts executable acceptance/E2E outside a focused UT/integration loop for
user-visible runtime delivery and explicit TDD. Environment failure is not feature Red;
UT success, no-tests/all-skipped, screenshots or a healthy process are not E2E Green.
Use the appropriate public boundary for pure library/static work instead of manufacturing an
unnecessary UI/system test. Required performance/physical claims need their own evidence.
Fix environment gaps inside granted authority. Raise missing access, real targets or material requirements when discovered, not at submission. Do not bypass denial through a different tool/host/CI/agent, search for credentials, disable security or weaken assertions. A separately approved alternative is allowed; it cannot silently broaden what the evidence claims. Partial work may be shared in a Draft PR but is not a completed feature with required E2E missing. These duties live in the common contract too, so missed Skill selection does not waive them.
apps/preflight_web/ contains a local, single-user prototype for free-form discussion,
questions about questions, proposed agreement changes and version-bound human confirmation.
It is separate from Skills: setup.sh neither installs nor starts a Web server.
python3 -m apps.preflight_web.server --provider demo
The default walkthrough is explicitly deterministic demo, not an AI. An experimental Codex App Server adapter is included but has not been verified with a live Codex binary/model. The app exports a content-confirmed handoff; it does not execute the task or grant permission. HTTP tests and offline UI/component checks pass; the full browser HTTP E2E is currently blocked by the development browser's loopback policy, and is not a pass. See setup, boundaries and verification before live use.
Preserve safety/security/privacy, data integrity, external obligations and required checks.
Derive quality from use, failure impact, workload, expected changes and recovery conditions.
Required-but-unverified is not complete; an optional improvement may remain unmet. Reuse
proof only while candidate, target, workload, configuration and method still support it.
Use docs/quality-contract.md when requirements are unresolved, not as a per-edit checklist.
No compulsory generic delivery router, final-gate Skill, role roster, function ledger, report pack, retry count or universal performance/structure threshold. This does not remove real sequencing dependencies: unresolved material agreement or unavailable required verification must not be ignored while dependent implementation accumulates. Informative debugging continues within authority; uninformative repetition changes approach.
The common contract gives the supervisor responsibility for integrated design, not just worker reports and green tests. For ongoing development, install the optional specialist:
./setup.sh /path/to/project --profile core --profile quality
code-health covers shared rule ownership, justified compatibility/abstraction, useful
comments, related restructuring and evidence-backed findings. It is not another mandatory
router or a universal LOC/complexity score. The short contract applies even without the Skill;
installation does not update a consumer AGENTS.md automatically.
evals/evolution/README.md describes executable continued-change trials: CLI persistence,
a second entrypoint, then a changed shared rule with a fresh conversation and retained code.
Use python3 -m scripts.run_evolution_evals --help for the explicit sandboxed adapter contract.
Model/team identities and checkpoint evidence are recorded, but live Astra/Fable/worker-team
trials have not run. Functional passes require separate design/maintenance trace review.
./setup.sh /path/to/project --profile core --profile maintenance
Then request codebase-rehabilitation for a named subsystem and painful maintenance task.
Agree on preserved/retired/fixed/unknown behavior, establish characterization and the real
verification path, refactor coherent ownership, and prove the final behavior plus a relevant
follow-up change. No universal rewrite, LOC target or forced compatibility removal.
The Skill bundles an optional read-only, tracked-Python inspection tool with explicit paths,
source hashes and clone/branch-statement diagnostics. It never imports project code or
performs repairs, and incomplete analysis cannot be called clean. Other languages use the
project's existing analyzers. See docs/codebase-rehabilitation.md for invocation and limits.
evals/evolution/rehabilitation.json exercises a degraded fixture, a bounded repair, and a
fresh-maintainer rule change while preserving a real external compatibility boundary.
Retired Skill names, aggregate links, --overlay, indexes and model-routing configs remain
retired without aliases or fallbacks. bug-investigation-and-rca and preflight-engineering
are intentionally rewritten in place; test-driven-development maps to agentic-tdd.
Their former fixed workflows and report obligations are not restored. Inspect and explicitly
remove/relocate old playbook-owned links before installing; ownership is never guessed.
docs/skill-disposition.json accounts for all 67 old entrypoints. The 26 current entrypoints
are a design choice, not a measured optimal number.
Old plans/reports/experiments and run evidence remain historical, not active guidance. The research evidence schema stays readable because preserving experiment provenance is not compatibility with the retired workflow. No downstream product API/data waiver is implied.
make verify
CI runs the same catalog/reference/syntax validation, research-ledger integrity check and unit/integration regressions. New preflight fixtures exercise an actual CLI across processes, including missing environment, meaningful acceptance failure and persistence. Those fixture tests do not prove that a model asks questions at the right time or respects authority.
evals/README.md describes matched baseline/minimal/selective arms, task oracles and pending
trace/communication review. Live Astra A/B trials have not been run for this redesign.
See docs/astra-redesign.md for boundaries, evaluation limits and the source rationale.
160 commits
Python
75.7%
JavaScript
14.7%
HTML
5.0%
CSS
4.5%