Cut over to the Rust daemon
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Domain
- backend-api-design, desktop
Research direction
Read AGENTS.md, docs/standards/testing.md, ROADMAP.md, and docs/design/tech-stack.md first, then check that prerequisite issues #149, #150, #139, #140, and #132 are closed. Inspect the launch agent and the install test to identify how daemon selection is verified; the issue does not name their paths. Done means the Rust daemon owns the socket, the Python daemon is stopped, acceptance criteria and rollback steps are tested, and testing evidence is recorded in docs/testing-evidence/.
Written by the indexing model from the issue text.
Description
.dag: issue-dag/2
.id: flyingrobots/AI-TTS#151
.kind: task
task: cutover
title: "Cut over to the Rust daemon"
.type: feature
workstream: Delivery
wave: 8
.blocked_by: [flyingrobots/AI-TTS#149, flyingrobots/AI-TTS#150, flyingrobots/AI-TTS#139, flyingrobots/AI-TTS#140, flyingrobots/AI-TTS#132]
roadmap: ROADMAP.md
language: ASD-STE100
Feature
Do this task in the flyingrobots/AI-TTS repository: Make the Rust daemon the installed daemon, with a tested way back.
Read these first: AGENTS.md, docs/standards/testing.md, ROADMAP.md, and docs/design/tech-stack.md.
Do not start until each issue in the Prerequisites section is closed.
Stay in the Scope section. Do not change what the Scope section excludes.
Write each failing test before the code that makes it pass. Record falsification evidence as the testing standard requires.
Stop when each item in Acceptance Criteria and in Definition of Done is true.
Report what you did, what you verified, and what you did not verify.
1. Background Context
The launch agent decides which daemon starts.
2. Problem Description
The listener still uses the Python daemon.
2b. Proposed Solution
Change the launch agent to start ai-ttsd. Do not migrate the schema. Write and test the steps that put the Python daemon back.
2c. Alternatives considered and rejected
- Run the two daemons for a long time: two owners of one device is the defect that the project started with.
2d. Acceptance Criteria
- After the install, the Rust daemon owns the socket and the Python daemon does not run.
- The menu-bar application, the CLI, the MCP server, and the dashboard work.
- The rollback steps put the Python daemon back, with no loss of queue or history.
- One week of daily use gives no defect that blocks.
2e. Test Plan
Golden: The install test, then the full conformance suite against the installed daemon.
Edges: A cutover with a clip in the queue. A rollback after new history exists.
Known failure modes: The rollback fails because the Rust daemon changed the data.
Fuzz and stress: Not applicable, because the cutover is one event.
3. Prerequisites
- #149 Run the Rust daemon beside the Python daemon
- #150 Install the Rust binaries and launch agents
- #139 Port the MCP adapter to Rust
- #140 Port the terminal dashboard to Rust
- #132 Test the Swift wire types against the exported schema
4. Scope
In: The launch agent change, the rollback, and the record.
Out: Removal of Python code.
5. Why now
It is the point of the port.
6. Risks
A defect found after the cutover affects each agent that speaks.
7. Definition of Done
Each acceptance criterion is true. The tests are in the repository and pass in CI. A record is in docs/testing-evidence/. The change is merged. This issue is closed.
8. Stakeholders
- James Ross, the repository owner: decides the scope and accepts the result.
- Operators of agents that call
ai-tts. Their commands must continue to work without a change.
9. Related Issues
None.
- Dominant language
- Python
- Stars
- 0
- Forks
- 1
- Avg merge
- 2h 13m
- Merged PRs (30d)
- 51
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from flyingrobots/AI-TTS
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
flyingrobots/AI-TTS#225 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
flyingrobots/AI-TTS#8 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
flyingrobots/AI-TTS#7 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 48/100
flyingrobots/AI-TTS#166 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 38/100
flyingrobots/AI-TTS#165 ·
Maintainers usually reply within 1 day
All issues in flyingrobots/AI-TTS
Similar issues
-
accepted
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
future-agi/future-agi#6392 ·
Maintainers usually reply within 1 day
-
memmapped_arange ignores the start value and drops the last point above the memmap thresholdPossibly taken @prathameshfuke claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
StingraySoftware/HENDRICS#213 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
bot-triaged module: decompositions module: edge cases module: int overflow module: primTorch oncall: pt2 triage review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day