From e6c88fba48d5a6d5e06ac7e081c3e7e4e54388ee Mon Sep 17 00:00:00 2001 From: Khaliq Date: Thu, 18 Jun 2026 15:34:25 +0200 Subject: [PATCH] chore(factory): add linear.states role->name map to factory config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lets the factory resolve a state NAME to its role UUID when the synced record carries state.name but no state.id — a fallback for sparse Linear sync records (belt-and-suspenders alongside the upstream nango sync fidelity fix). Consumed by createFactory's state resolver (seeds the name->UUID map from this block). Co-Authored-By: Claude Opus 4.8 --- factory.config.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/factory.config.json b/factory.config.json index 636838fb..61ad054a 100644 --- a/factory.config.json +++ b/factory.config.json @@ -97,6 +97,15 @@ "inPlanning": "3de351f2-90e6-4731-aa6b-4a55b77f481e", "humanReview": "24462e2d-9946-4dd1-a798-931cdd678498" }, + "linear": { + "states": { + "readyForAgent": "Ready for Agent", + "agentImplementing": "Agent Implementing", + "done": "Done", + "inPlanning": "In Planning", + "humanReview": "In Human Review" + } + }, "safety": { "requireTitlePrefix": "[factory]", "requireTeamKey": "AR"