Metadata-Version: 2.5
Name: spec-agents-coworker
Version: 0.2.1
Summary: Coworker domain pack for agent-fabric: repo_index, context_select, context_pack, code_review, patch_propose
Project-URL: Homepage, https://github.com/marcionicolau/spec-agents
Project-URL: Repository, https://github.com/marcionicolau/spec-agents
Project-URL: Issues, https://github.com/marcionicolau/spec-agents/issues
Project-URL: Changelog, https://github.com/marcionicolau/spec-agents/blob/main/packages/coworker/CHANGELOG.md
Project-URL: Documentation, https://github.com/marcionicolau/spec-agents/tree/main/docs
Author: Marcio Nicolau
License-Expression: MIT
License-File: LICENSE
Keywords: agents,coding-assistant,context
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Typing :: Typed
Requires-Python: >=3.12
Requires-Dist: spec-agents-core<1,>=0.0.1
Description-Content-Type: text/markdown

# spec-agents-coworker (`coworker_fabric`)

Coworker (pair-programming) domain pack for [agent-fabric](../agent-fabric/README.md): `repo_index`, `context_select`, `context_pack`,
`code_review`, `patch_propose` and the pipelines `improve_code` and `propose_patch`. Context selection is measured (BM25-flavoured scorer,
labeled cases, `python -m coworker_fabric.evals`), and **nothing is ever written to disk**: patches are applied in memory and returned
as a unified diff.

Only the working directory and the directories in `COWORKER_ALLOWED_ROOTS` can be indexed or patched; all paths go through
`analysis.safe_path`.

> **Status:** pre-release. Until the first PyPI release, install a wheel from the
> [GitHub Releases](https://github.com/marcionicolau/spec-agents/releases) or use `uv sync --all-packages` in a checkout;
> the `pip install` lines below are the PyPI names.

## Names

| | |
| --- | --- |
| PyPI distribution | `spec-agents-coworker` |
| Import name | `coworker_fabric` |
| Directory in the monorepo | `packages/coworker` |
| Release tag / PR scope | `coworker-vX.Y.Z` / `coworker` |

The distribution is named `spec-agents-coworker` because the shorter names are taken on PyPI; the import name and the entry point do not change.

## Install
```bash
pip install spec-agents-coworker
python -m coworker_fabric.evals --root .      # deterministic context-selection eval
```
Demo agent team (`pair_programmer`, `context_scout`, `code_critic`, `patch_author`): `config/` in the repository.
