Skip to main content

throughline-ms-copilot

Work on a throughline requirements graph with Microsoft 365 Copilot, in an environment where Copilot is the only assistant you have: it reads at most fifty files, runs no command and answers only in text. tl-ms-copilot writes the graph as a folder Copilot reads whole, and carries the changes Copilot sends back into the graph as proposals, through tl apply, all or nothing.

uv tool install --python 3.13 --managed-python throughline-ms-copilot --with-executables-from throughline
tl-ms-copilot export -C idd ~/OneDrive/graph-exchange      # the folder Copilot reads
#   … give Copilot every file in graph-exchange/export/, ask for changes,
#   save each answer into graph-exchange/inbox/ …
tl-ms-copilot ingest -C idd ~/OneDrive/graph-exchange --dry-run
tl-ms-copilot ingest -C idd ~/OneDrive/graph-exchange      # carried out by tl apply
tl -C idd check

The graph's content moves only between your computer and GitHub. The package runs tl in-process and starts no process, so it runs unchanged under Pyodide in a browser tab beside the folder you chose — which is how sync.iddn.uk offers it on a laptop where nothing can be installed.

--managed-python has uv use its own build of Python rather than the operating system's, so an OS Python upgrade does not break the install; --with-executables-from throughline puts tl on your PATH beside it. Get uv from docs.astral.sh/uv. If you use pipx instead: pipx install --include-deps throughline-ms-copilot.

If tl-ms-copilot says bad interpreter after a Python upgrade

A tool installed with pipx (or into any virtual environment) runs on the Python it was installed with. When your operating system upgrades its Python and removes the old one, every command in that environment fails before any of its code runs, with bad interpreter or No module named .... Your graphs are fine; the environment has to be rebuilt on the new Python:

Installed with Rebuild with
pipx pipx reinstall-all --python python3 (or the new Python's full path)
pipx, when pipx itself is broken too uvx pipx reinstall-all --python python3
uv uv tool install --reinstall --python 3.13 --managed-python throughline-ms-copilot --with-executables-from throughline

An install made with uv's --managed-python does not hit this: the operating system does not touch the Python uv manages. tl doctor (throughline releases after 6.0.0) says which Python runs tl and how it was installed.

The exchange folder

graph-exchange/
├── 00-START-HERE.md       what Copilot reads first: how to work with you (rewritten by each export)
├── export/                written by `export`, replaced whole each time
│   ├── manifest.json      what the export was true of, and how to answer
│   ├── INT.json  REQ.json  TEST.json …   one file per register
│   └── source-<ns>.json   the clauses an adopted source lends
└── inbox/                 Copilot's answers, saved by you
    ├── new/REQ.md         new items for one register
    ├── updates/REQ.md     amend, link, unlink, delete on one register's items
    ├── anything.md        a whole change set, any registers
    └── applied/<when>/    where `ingest` moves what it carried out

What to tell Copilot. Give it 00-START-HERE.md, every file in export/, and one line: "Read 00-START-HERE.md first and follow it. I want to work on …". That file, rewritten at the top of the exchange folder by every export, tells Copilot to report how many items it read in each file against the manifest's counts, to talk in plain words until you say "draft it", to send one register's change set at a time naming the inbox file to save it as, to prefer amending to near-duplicates, never to ratify, and how to recover from a refused or cut-off set. It ends with the change-set form exactly as tl apply --describe states it, so it never drifts from what will apply the answer. Change the guidance in the tool (GUIDE in export.py), not in a prompt.

Why one file per register. Copilot's cap counts files, not items. A graph holds hundreds of item files but fewer than fifty registers, so one file per register is the smallest layout Copilot can read whole. --wrap md writes each file as Markdown holding one fenced JSON block, for a Copilot that will not read .json files. --only UID,… narrows the export to the items named.

Why changes come back as a change set, not as files. Copilot's answer is length-capped: a rewritten register file cut off half-way would read as the deletion of everything after the cut. A change set names only what changes, and tl apply refuses the whole set if any item it touches changed since the export. The manifest carries the form, as tl apply --describe states it, and tells Copilot to answer in one fenced json block.

Why answers are saved by register. For long work, ask Copilot for one register at a time — the new items for REQ, then the changes to REQ's items — and save each answer as inbox/new/REQ.md or inbox/updates/REQ.md. Paste the whole answer; the change set is found inside it. ingest gathers every file into one change set: new items first, each after any new item it links to, then the updates, then whole sets, with every amend ahead of every link, so a stamped link sees its target as the set leaves it. It checks each file holds what its place says, names any file in the inbox it will not gather and why (a folder named Updates/, a file one level too deep, a .docx), and moves what it applied into inbox/applied/ so nothing is applied twice.

Why there are no ID conflicts. Copilot never chooses a UID. A new item is named by a label, and another item in any answer links to it as $label; tl allocates the real UID when the set is carried out, against the graph as it then stands.

Everything Copilot drafts arrives with origin ai and waits as proposed: a person decides. Decisions — ratifying, withdrawing — are never in a change set.

Commands

Command What it does
export [-C DIR] EXCHANGE [--wrap json|md] [--only UID,…] Writes EXCHANGE/export/ and creates EXCHANGE/inbox/new and inbox/updates.
ingest [-C DIR] EXCHANGE [--dry-run] Gathers EXCHANGE/inbox/ into one change set and has tl apply carry it out.
apply [-C DIR] [REPLY|-] [--dry-run] [--extract] The same for one saved reply. --extract prints the change set found and stops.

export reads the repository, ref, commit and working-tree state from git; --repository, --ref, --commit and --tree state them instead, as a host with no git — the browser — does.

Working on it

Its requirements live in idd/; see AGENTS.md.

python -m venv .venv && . .venv/bin/activate
pip install -e ".[dev]"
pytest -q
tl -C idd check

Apache-2.0. Microsoft 365 Copilot is a product of Microsoft Corporation; this project is not affiliated with or endorsed by Microsoft.

Metadata

Release files for throughline-ms-copilot 0.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for throughline-ms-copilot 0.3.4
File Size Uploaded Provenance Actions
throughline_ms_copilot-0.3.4.tar.gz 38.8 kB With provenance Details for throughline_ms_copilot-0.3.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for throughline-ms-copilot 0.3.4
File Interpreter ABI Platform Actions
throughline_ms_copilot-0.3.4-py3-none-any.whl Python 3 none any Details for throughline_ms_copilot-0.3.4-py3-none-any.whl

Total release size: 68.0 kB

Release files / throughline_ms_copilot-0.3.4.tar.gz

Download URL throughline_ms_copilot-0.3.4.tar.gz
Size 38.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9772814a227e35d835aa45a6a515b75c8233e814609f9515f39320b3031d8c1b
BLAKE2b-256 checksum
How to use checksums
bb063149fefc9e774f93367db1edb0e5472557c0ad759c3a1acc08f45d6532d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / throughline_ms_copilot-0.3.4-py3-none-any.whl

Download URL throughline_ms_copilot-0.3.4-py3-none-any.whl
Size 29.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29204d90ddddb5b58a84121e2ba1dd40b5af7146458928e28e1d2e06f227f644
BLAKE2b-256 checksum
How to use checksums
9875581e1751cc82579ab97e4f8b4733c5983efbac1d62b43eda39887d3c0c52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Security for throughline-ms-copilot 0.3.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for throughline_ms_copilot-0.3.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page