factory-floor 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- factory_floor-0.1.0/LICENSE +201 -0
- factory_floor-0.1.0/NOTICE +9 -0
- factory_floor-0.1.0/PKG-INFO +165 -0
- factory_floor-0.1.0/README.md +136 -0
- factory_floor-0.1.0/pyproject.toml +71 -0
- factory_floor-0.1.0/pyproject.toml.orig +57 -0
- factory_floor-0.1.0/src/cfl/__init__.py +1 -0
- factory_floor-0.1.0/src/cfl/agents.py +52 -0
- factory_floor-0.1.0/src/cfl/checks.py +180 -0
- factory_floor-0.1.0/src/cfl/claims.py +94 -0
- factory_floor-0.1.0/src/cfl/classify.py +163 -0
- factory_floor-0.1.0/src/cfl/claude.py +258 -0
- factory_floor-0.1.0/src/cfl/cli.py +565 -0
- factory_floor-0.1.0/src/cfl/codex.py +223 -0
- factory_floor-0.1.0/src/cfl/command_step.py +43 -0
- factory_floor-0.1.0/src/cfl/compose.yaml +21 -0
- factory_floor-0.1.0/src/cfl/config.py +342 -0
- factory_floor-0.1.0/src/cfl/daemon.py +215 -0
- factory_floor-0.1.0/src/cfl/dashboard.py +1691 -0
- factory_floor-0.1.0/src/cfl/db.py +39 -0
- factory_floor-0.1.0/src/cfl/develop.py +576 -0
- factory_floor-0.1.0/src/cfl/doctor.py +210 -0
- factory_floor-0.1.0/src/cfl/explain.py +171 -0
- factory_floor-0.1.0/src/cfl/factory_md.py +216 -0
- factory_floor-0.1.0/src/cfl/github_issues.py +155 -0
- factory_floor-0.1.0/src/cfl/inputs.py +671 -0
- factory_floor-0.1.0/src/cfl/instructions.py +115 -0
- factory_floor-0.1.0/src/cfl/learn.py +504 -0
- factory_floor-0.1.0/src/cfl/linear.py +305 -0
- factory_floor-0.1.0/src/cfl/mcp_server.py +164 -0
- factory_floor-0.1.0/src/cfl/notify.py +161 -0
- factory_floor-0.1.0/src/cfl/onboard.py +318 -0
- factory_floor-0.1.0/src/cfl/ops.py +999 -0
- factory_floor-0.1.0/src/cfl/overrides.py +102 -0
- factory_floor-0.1.0/src/cfl/paths.py +110 -0
- factory_floor-0.1.0/src/cfl/pg.py +179 -0
- factory_floor-0.1.0/src/cfl/pipeline.py +538 -0
- factory_floor-0.1.0/src/cfl/pipelines.py +158 -0
- factory_floor-0.1.0/src/cfl/plan.py +250 -0
- factory_floor-0.1.0/src/cfl/post.py +302 -0
- factory_floor-0.1.0/src/cfl/pr.py +332 -0
- factory_floor-0.1.0/src/cfl/projects.py +170 -0
- factory_floor-0.1.0/src/cfl/prompts/develop.md +23 -0
- factory_floor-0.1.0/src/cfl/prompts/plan.md +28 -0
- factory_floor-0.1.0/src/cfl/prompts/review.md +32 -0
- factory_floor-0.1.0/src/cfl/ready.py +59 -0
- factory_floor-0.1.0/src/cfl/recheck.py +204 -0
- factory_floor-0.1.0/src/cfl/redact.py +30 -0
- factory_floor-0.1.0/src/cfl/restart.py +225 -0
- factory_floor-0.1.0/src/cfl/review.py +235 -0
- factory_floor-0.1.0/src/cfl/runner.py +261 -0
- factory_floor-0.1.0/src/cfl/schema.sql +171 -0
- factory_floor-0.1.0/src/cfl/static/README.md +34 -0
- factory_floor-0.1.0/src/cfl/static/idiomorph.LICENSE +13 -0
- factory_floor-0.1.0/src/cfl/static/idiomorph.min.js +1 -0
- factory_floor-0.1.0/src/cfl/step_types.py +32 -0
- factory_floor-0.1.0/src/cfl/steps.py +44 -0
- factory_floor-0.1.0/src/cfl/store.py +539 -0
- factory_floor-0.1.0/src/cfl/wording.py +42 -0
- factory_floor-0.1.0/src/cfl/workspace.py +612 -0
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
code-factory
|
|
2
|
+
Copyright 2026 Gilad Wein (porhack)
|
|
3
|
+
|
|
4
|
+
This product is licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
|
+
|
|
6
|
+
It includes third-party software:
|
|
7
|
+
|
|
8
|
+
- idiomorph (src/cfl/static/idiomorph.min.js), Zero-Clause BSD,
|
|
9
|
+
see src/cfl/static/idiomorph.LICENSE.
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: factory-floor
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A local code factory: AI agents plan, code, review and open draft PRs across your repos, and stop wherever a person should decide
|
|
5
|
+
Keywords: ai,agents,claude-code,code-review,automation,developer-tools,mcp
|
|
6
|
+
Author: Gilad Wein
|
|
7
|
+
License-Expression: Apache-2.0
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
License-File: NOTICE
|
|
10
|
+
License-File: src/cfl/static/idiomorph.LICENSE
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Operating System :: MacOS
|
|
15
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
18
|
+
Classifier: Topic :: Software Development
|
|
19
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
20
|
+
Requires-Dist: psycopg[binary]>=3.2
|
|
21
|
+
Requires-Dist: pyyaml>=6.0
|
|
22
|
+
Requires-Dist: mcp>=2.3,<3
|
|
23
|
+
Requires-Python: >=3.14
|
|
24
|
+
Project-URL: Homepage, https://github.com/gilad201/code-factory
|
|
25
|
+
Project-URL: Documentation, https://github.com/gilad201/code-factory/blob/main/docs/SETUP.md
|
|
26
|
+
Project-URL: Issues, https://github.com/gilad201/code-factory/issues
|
|
27
|
+
Project-URL: Changelog, https://github.com/gilad201/code-factory/blob/main/CHANGELOG.md
|
|
28
|
+
Description-Content-Type: text/markdown
|
|
29
|
+
|
|
30
|
+
# code-factory
|
|
31
|
+
|
|
32
|
+
[](https://github.com/gilad201/code-factory/actions/workflows/ci.yml)
|
|
33
|
+
[](LICENSE)
|
|
34
|
+

|
|
35
|
+

|
|
36
|
+
|
|
37
|
+
A local code factory for your software projects. It takes a task (a sentence, a GitHub or Linear issue, a
|
|
38
|
+
PR to review), plans it, writes the code, reviews it, runs the repo's own checks and opens a draft PR. It
|
|
39
|
+
runs on your machine under your own Claude Code and `gh` logins, and it stops and asks you wherever a
|
|
40
|
+
person should decide. It never merges.
|
|
41
|
+
|
|
42
|
+

|
|
43
|
+
|
|
44
|
+
*Two tasks on [factory-demo](https://github.com/gilad201/factory-demo), a bug fix and a feature, run at
|
|
45
|
+
once and come back as two PRs ([fix](https://github.com/gilad201/factory-demo/pull/3),
|
|
46
|
+
[feature](https://github.com/gilad201/factory-demo/pull/4)). The few minutes of work in between are cut.
|
|
47
|
+
Recorded with [VHS](https://github.com/charmbracelet/vhs) from [docs/demo.tape](docs/demo.tape).*
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
task → classify → plan → (you approve) → develop ⇄ review → checks → draft PR → ready → (you merge) → learn
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
- **Onboarded repos only.** `cfl onboard` sets which repos of your project the factory may touch, and
|
|
54
|
+
`cfl onboard --project <id>` adds more projects to the same factory.
|
|
55
|
+
Each repo's `docs/code-factory/FACTORY.md` gives its commands, forbidden paths and decision paths.
|
|
56
|
+
- **Decisions stay human.** Plan approval, review disputes and merges are yours. Everything else is
|
|
57
|
+
automatic, with a dashboard and an MCP so your own Claude can operate it for you.
|
|
58
|
+
- **It learns.** What you tell it on tasks becomes reviewed docs in the repo, read by every later run.
|
|
59
|
+
|
|
60
|
+
**Start here: [docs/SETUP.md](docs/SETUP.md)**, the walkthrough from install to your first PR. To try it
|
|
61
|
+
on something safe first, fork [factory-demo](https://github.com/gilad201/factory-demo): a small repo
|
|
62
|
+
with a real bug and a missing feature, and a FACTORY.md ready to go.
|
|
63
|
+
|
|
64
|
+
## Why code-factory
|
|
65
|
+
|
|
66
|
+
- **Many tasks at once, without the babysitting.** Hand it a batch of tasks and do other work. Each
|
|
67
|
+
task gets its own worktree, and you come back to a queue of decisions and draft PRs, not to terminals.
|
|
68
|
+
- **Your repo's rules, written down.** FACTORY.md says how to set up, test and lint each repo, which
|
|
69
|
+
paths are off limits and which need a person. The factory proves its work with your own checks.
|
|
70
|
+
- **The right model, and agent, for each step.** A cheap model classifies, a strong one plans and
|
|
71
|
+
reviews, another writes the code. Claude Code by default; Codex for any step you choose
|
|
72
|
+
(`models.develop = "codex:gpt-6-luna"`), so one model family can review another's work ([docs/agents.md](docs/agents.md)). Every step's cost is recorded, and a budget can cap each step.
|
|
73
|
+
- **Your pipeline.** Change the steps per task kind and add your own (a scanner, a build, an e2e suite)
|
|
74
|
+
in `~/.code-factory/pipelines.yaml` ([docs/pipelines.md](docs/pipelines.md)).
|
|
75
|
+
- **Local and private.** No server, no new account: your machine, your `claude` and `gh` logins, state
|
|
76
|
+
in a local Postgres.
|
|
77
|
+
|
|
78
|
+
## When not to use it
|
|
79
|
+
|
|
80
|
+
- You want a fully autonomous agent that merges on its own. code-factory always stops for a person.
|
|
81
|
+
- You need to run it for a team on a shared server. It is built for one developer's machine.
|
|
82
|
+
- Your code isn't on GitHub, or you have no Claude Code login. Today it needs both: Codex can run
|
|
83
|
+
steps, but Claude still runs the Linear and Slack ones and is the default. Other forges are on the roadmap.
|
|
84
|
+
|
|
85
|
+
## Requirements
|
|
86
|
+
|
|
87
|
+
macOS or Linux, [Claude Code](https://claude.com/claude-code) (`claude`, logged in),
|
|
88
|
+
[GitHub CLI](https://cli.github.com) (`gh`, logged in), [uv](https://docs.astral.sh/uv/), and Postgres
|
|
89
|
+
(`brew install postgresql@17` or `apt install postgresql`; cfl runs its own server, no setup) or Docker.
|
|
90
|
+
`cfl doctor` checks Postgres, `claude`, `gh` and git.
|
|
91
|
+
|
|
92
|
+
## Quick start
|
|
93
|
+
|
|
94
|
+
```sh
|
|
95
|
+
uv tool install factory-floor # the cfl command (or --editable . from a checkout)
|
|
96
|
+
cfl onboard # your project's folder, repos, name
|
|
97
|
+
cfl onboard --scaffold --yes # a starting FACTORY.md where a repo has none
|
|
98
|
+
cfl up # Postgres (local or Docker), the daemon, the dashboard
|
|
99
|
+
claude mcp add --scope user cfl -- cfl mcp # let your Claude operate it
|
|
100
|
+
cfl add "add CSV export to the reports page" # or ask your Claude
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
The dashboard is at http://127.0.0.1:7600.
|
|
104
|
+
|
|
105
|
+
## Commands
|
|
106
|
+
|
|
107
|
+
| Action | Command |
|
|
108
|
+
|---|---|
|
|
109
|
+
| Onboard a project | `cfl onboard [--project ID] [--root DIR] [--repo R]... [--name N] [--about TEXT] [--guide FILE] [--scaffold] [--yes] [--dry-run]` |
|
|
110
|
+
| Start / stop / restart | `cfl up` · `cfl down` · `cfl restart` (waits for running steps, then down and up) |
|
|
111
|
+
| Check the machine, a repo | `cfl doctor` · `cfl doctor --repo PATH` |
|
|
112
|
+
| Tasks | `cfl add "text" [--project ID] [--pipeline plan,develop]` · `cfl status [-s open]` · `cfl retry ID` · `cfl accept ID --reason TEXT` · `cfl pause ID` · `cfl resume ID` · `cfl stop ID` · `cfl close ID --reason TEXT` |
|
|
113
|
+
| Work that comes to you | `cfl claim` · `cfl claim github [LABELS]` · `cfl claim linear [LABELS]` · `cfl claim slack CHANNEL [--kinds bug,task]` |
|
|
114
|
+
| Teach it | `cfl learn knowledge REPO` · `cfl learn tasks [--repo R]` |
|
|
115
|
+
| Settings | `cfl config` · `cfl config --init` (`~/.code-factory/config.toml`) |
|
|
116
|
+
| Your own FACTORY.md for a repo | `cfl override [on\|off\|status] [REPO]` |
|
|
117
|
+
| The MCP | `cfl mcp` (tools: `add_tasks`, `status`, `task`, `decisions`, `answer`, `set_pipeline`, `pause`, `resume`, `retry`, `accept_checks`, `close`, `stop`, `watch`, `costs`, `config`, `set_config`, `claims`, `run_claim`) |
|
|
118
|
+
|
|
119
|
+
Environment: `CFL_HOME` (default `~/.code-factory`), `CFL_PG_PORT` (7601), `CFL_DSN`,
|
|
120
|
+
`CFL_DASHBOARD_PORT` (7600), `CFL_REPOS_ROOT` (overrides `repos.root`), `CFL_DEVELOPER` (your tag).
|
|
121
|
+
|
|
122
|
+
## Skills
|
|
123
|
+
|
|
124
|
+
In `.claude/skills/`, to symlink into `~/.claude/skills/`:
|
|
125
|
+
|
|
126
|
+
| Skill | What it does |
|
|
127
|
+
|---|---|
|
|
128
|
+
| `use-code-factory` | your Claude operates the factory through its MCP: adds work, walks you through decisions |
|
|
129
|
+
| `onboard-repo` | writes or finishes a repo's `docs/code-factory/FACTORY.md`, proving each command |
|
|
130
|
+
| `pr-review` | reviews any PR in a throwaway worktree; the factory's review step runs the same skill headless |
|
|
131
|
+
|
|
132
|
+
## How it is built
|
|
133
|
+
|
|
134
|
+
`src/cfl/`: a Python package with no server beyond your machine.
|
|
135
|
+
|
|
136
|
+
- `agents.py` picks the agent CLI for each model call from the model's prefix: `claude.py` (default) or
|
|
137
|
+
`codex.py` ([docs/agents.md](docs/agents.md)).
|
|
138
|
+
- `projects.py` is which project each repo and task belongs to; `paths.known_repos()` is every project's repos.
|
|
139
|
+
- `pipelines.py` reads your `pipelines.yaml`; `command_step.py` runs your own steps.
|
|
140
|
+
- `pipeline.py` decides what a task does next. It is pure: no clock, no database, no processes.
|
|
141
|
+
- `daemon.py` runs the tick. Each step runs as `cfl run-step <id>` in its own process (`runner.py`).
|
|
142
|
+
- `steps.py` maps step names to handlers: `classify`, `plan`, `develop`, `review`, `checks`, `pr`,
|
|
143
|
+
`ready`, `post` and `learn`.
|
|
144
|
+
- `workspace.py` gives each unit its own git worktree under `~/.code-factory/work/`.
|
|
145
|
+
- `factory_md.py` reads and validates a repo's FACTORY.md ([docs/factory-md.md](docs/factory-md.md)).
|
|
146
|
+
- `schema.sql` is the state in Postgres. It is re-runnable, and its `events` table is append-only.
|
|
147
|
+
- `dashboard.py` serves the web UI on 127.0.0.1:7600, and `mcp_server.py` serves the MCP on stdio.
|
|
148
|
+
- `prompts/` holds the generic step instructions. A repo's `docs/code-factory/<step>.md` overrides them.
|
|
149
|
+
|
|
150
|
+
## Development
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
uv sync
|
|
154
|
+
uv run pytest -q # the pg tests need `cfl up` or CFL_TEST_DSN
|
|
155
|
+
uv run --group lint ruff check .
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
## Contributing
|
|
159
|
+
|
|
160
|
+
Issues and pull requests are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md); report security issues
|
|
161
|
+
as [SECURITY.md](SECURITY.md) says. Changes are listed in [CHANGELOG.md](CHANGELOG.md).
|
|
162
|
+
|
|
163
|
+
## License
|
|
164
|
+
|
|
165
|
+
[Apache License 2.0](LICENSE). Copyright 2026 Gilad Wein. Third-party notices are in [NOTICE](NOTICE).
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
# code-factory
|
|
2
|
+
|
|
3
|
+
[](https://github.com/gilad201/code-factory/actions/workflows/ci.yml)
|
|
4
|
+
[](LICENSE)
|
|
5
|
+

|
|
6
|
+

|
|
7
|
+
|
|
8
|
+
A local code factory for your software projects. It takes a task (a sentence, a GitHub or Linear issue, a
|
|
9
|
+
PR to review), plans it, writes the code, reviews it, runs the repo's own checks and opens a draft PR. It
|
|
10
|
+
runs on your machine under your own Claude Code and `gh` logins, and it stops and asks you wherever a
|
|
11
|
+
person should decide. It never merges.
|
|
12
|
+
|
|
13
|
+

|
|
14
|
+
|
|
15
|
+
*Two tasks on [factory-demo](https://github.com/gilad201/factory-demo), a bug fix and a feature, run at
|
|
16
|
+
once and come back as two PRs ([fix](https://github.com/gilad201/factory-demo/pull/3),
|
|
17
|
+
[feature](https://github.com/gilad201/factory-demo/pull/4)). The few minutes of work in between are cut.
|
|
18
|
+
Recorded with [VHS](https://github.com/charmbracelet/vhs) from [docs/demo.tape](docs/demo.tape).*
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
task → classify → plan → (you approve) → develop ⇄ review → checks → draft PR → ready → (you merge) → learn
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
- **Onboarded repos only.** `cfl onboard` sets which repos of your project the factory may touch, and
|
|
25
|
+
`cfl onboard --project <id>` adds more projects to the same factory.
|
|
26
|
+
Each repo's `docs/code-factory/FACTORY.md` gives its commands, forbidden paths and decision paths.
|
|
27
|
+
- **Decisions stay human.** Plan approval, review disputes and merges are yours. Everything else is
|
|
28
|
+
automatic, with a dashboard and an MCP so your own Claude can operate it for you.
|
|
29
|
+
- **It learns.** What you tell it on tasks becomes reviewed docs in the repo, read by every later run.
|
|
30
|
+
|
|
31
|
+
**Start here: [docs/SETUP.md](docs/SETUP.md)**, the walkthrough from install to your first PR. To try it
|
|
32
|
+
on something safe first, fork [factory-demo](https://github.com/gilad201/factory-demo): a small repo
|
|
33
|
+
with a real bug and a missing feature, and a FACTORY.md ready to go.
|
|
34
|
+
|
|
35
|
+
## Why code-factory
|
|
36
|
+
|
|
37
|
+
- **Many tasks at once, without the babysitting.** Hand it a batch of tasks and do other work. Each
|
|
38
|
+
task gets its own worktree, and you come back to a queue of decisions and draft PRs, not to terminals.
|
|
39
|
+
- **Your repo's rules, written down.** FACTORY.md says how to set up, test and lint each repo, which
|
|
40
|
+
paths are off limits and which need a person. The factory proves its work with your own checks.
|
|
41
|
+
- **The right model, and agent, for each step.** A cheap model classifies, a strong one plans and
|
|
42
|
+
reviews, another writes the code. Claude Code by default; Codex for any step you choose
|
|
43
|
+
(`models.develop = "codex:gpt-6-luna"`), so one model family can review another's work ([docs/agents.md](docs/agents.md)). Every step's cost is recorded, and a budget can cap each step.
|
|
44
|
+
- **Your pipeline.** Change the steps per task kind and add your own (a scanner, a build, an e2e suite)
|
|
45
|
+
in `~/.code-factory/pipelines.yaml` ([docs/pipelines.md](docs/pipelines.md)).
|
|
46
|
+
- **Local and private.** No server, no new account: your machine, your `claude` and `gh` logins, state
|
|
47
|
+
in a local Postgres.
|
|
48
|
+
|
|
49
|
+
## When not to use it
|
|
50
|
+
|
|
51
|
+
- You want a fully autonomous agent that merges on its own. code-factory always stops for a person.
|
|
52
|
+
- You need to run it for a team on a shared server. It is built for one developer's machine.
|
|
53
|
+
- Your code isn't on GitHub, or you have no Claude Code login. Today it needs both: Codex can run
|
|
54
|
+
steps, but Claude still runs the Linear and Slack ones and is the default. Other forges are on the roadmap.
|
|
55
|
+
|
|
56
|
+
## Requirements
|
|
57
|
+
|
|
58
|
+
macOS or Linux, [Claude Code](https://claude.com/claude-code) (`claude`, logged in),
|
|
59
|
+
[GitHub CLI](https://cli.github.com) (`gh`, logged in), [uv](https://docs.astral.sh/uv/), and Postgres
|
|
60
|
+
(`brew install postgresql@17` or `apt install postgresql`; cfl runs its own server, no setup) or Docker.
|
|
61
|
+
`cfl doctor` checks Postgres, `claude`, `gh` and git.
|
|
62
|
+
|
|
63
|
+
## Quick start
|
|
64
|
+
|
|
65
|
+
```sh
|
|
66
|
+
uv tool install factory-floor # the cfl command (or --editable . from a checkout)
|
|
67
|
+
cfl onboard # your project's folder, repos, name
|
|
68
|
+
cfl onboard --scaffold --yes # a starting FACTORY.md where a repo has none
|
|
69
|
+
cfl up # Postgres (local or Docker), the daemon, the dashboard
|
|
70
|
+
claude mcp add --scope user cfl -- cfl mcp # let your Claude operate it
|
|
71
|
+
cfl add "add CSV export to the reports page" # or ask your Claude
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
The dashboard is at http://127.0.0.1:7600.
|
|
75
|
+
|
|
76
|
+
## Commands
|
|
77
|
+
|
|
78
|
+
| Action | Command |
|
|
79
|
+
|---|---|
|
|
80
|
+
| Onboard a project | `cfl onboard [--project ID] [--root DIR] [--repo R]... [--name N] [--about TEXT] [--guide FILE] [--scaffold] [--yes] [--dry-run]` |
|
|
81
|
+
| Start / stop / restart | `cfl up` · `cfl down` · `cfl restart` (waits for running steps, then down and up) |
|
|
82
|
+
| Check the machine, a repo | `cfl doctor` · `cfl doctor --repo PATH` |
|
|
83
|
+
| Tasks | `cfl add "text" [--project ID] [--pipeline plan,develop]` · `cfl status [-s open]` · `cfl retry ID` · `cfl accept ID --reason TEXT` · `cfl pause ID` · `cfl resume ID` · `cfl stop ID` · `cfl close ID --reason TEXT` |
|
|
84
|
+
| Work that comes to you | `cfl claim` · `cfl claim github [LABELS]` · `cfl claim linear [LABELS]` · `cfl claim slack CHANNEL [--kinds bug,task]` |
|
|
85
|
+
| Teach it | `cfl learn knowledge REPO` · `cfl learn tasks [--repo R]` |
|
|
86
|
+
| Settings | `cfl config` · `cfl config --init` (`~/.code-factory/config.toml`) |
|
|
87
|
+
| Your own FACTORY.md for a repo | `cfl override [on\|off\|status] [REPO]` |
|
|
88
|
+
| The MCP | `cfl mcp` (tools: `add_tasks`, `status`, `task`, `decisions`, `answer`, `set_pipeline`, `pause`, `resume`, `retry`, `accept_checks`, `close`, `stop`, `watch`, `costs`, `config`, `set_config`, `claims`, `run_claim`) |
|
|
89
|
+
|
|
90
|
+
Environment: `CFL_HOME` (default `~/.code-factory`), `CFL_PG_PORT` (7601), `CFL_DSN`,
|
|
91
|
+
`CFL_DASHBOARD_PORT` (7600), `CFL_REPOS_ROOT` (overrides `repos.root`), `CFL_DEVELOPER` (your tag).
|
|
92
|
+
|
|
93
|
+
## Skills
|
|
94
|
+
|
|
95
|
+
In `.claude/skills/`, to symlink into `~/.claude/skills/`:
|
|
96
|
+
|
|
97
|
+
| Skill | What it does |
|
|
98
|
+
|---|---|
|
|
99
|
+
| `use-code-factory` | your Claude operates the factory through its MCP: adds work, walks you through decisions |
|
|
100
|
+
| `onboard-repo` | writes or finishes a repo's `docs/code-factory/FACTORY.md`, proving each command |
|
|
101
|
+
| `pr-review` | reviews any PR in a throwaway worktree; the factory's review step runs the same skill headless |
|
|
102
|
+
|
|
103
|
+
## How it is built
|
|
104
|
+
|
|
105
|
+
`src/cfl/`: a Python package with no server beyond your machine.
|
|
106
|
+
|
|
107
|
+
- `agents.py` picks the agent CLI for each model call from the model's prefix: `claude.py` (default) or
|
|
108
|
+
`codex.py` ([docs/agents.md](docs/agents.md)).
|
|
109
|
+
- `projects.py` is which project each repo and task belongs to; `paths.known_repos()` is every project's repos.
|
|
110
|
+
- `pipelines.py` reads your `pipelines.yaml`; `command_step.py` runs your own steps.
|
|
111
|
+
- `pipeline.py` decides what a task does next. It is pure: no clock, no database, no processes.
|
|
112
|
+
- `daemon.py` runs the tick. Each step runs as `cfl run-step <id>` in its own process (`runner.py`).
|
|
113
|
+
- `steps.py` maps step names to handlers: `classify`, `plan`, `develop`, `review`, `checks`, `pr`,
|
|
114
|
+
`ready`, `post` and `learn`.
|
|
115
|
+
- `workspace.py` gives each unit its own git worktree under `~/.code-factory/work/`.
|
|
116
|
+
- `factory_md.py` reads and validates a repo's FACTORY.md ([docs/factory-md.md](docs/factory-md.md)).
|
|
117
|
+
- `schema.sql` is the state in Postgres. It is re-runnable, and its `events` table is append-only.
|
|
118
|
+
- `dashboard.py` serves the web UI on 127.0.0.1:7600, and `mcp_server.py` serves the MCP on stdio.
|
|
119
|
+
- `prompts/` holds the generic step instructions. A repo's `docs/code-factory/<step>.md` overrides them.
|
|
120
|
+
|
|
121
|
+
## Development
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
uv sync
|
|
125
|
+
uv run pytest -q # the pg tests need `cfl up` or CFL_TEST_DSN
|
|
126
|
+
uv run --group lint ruff check .
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
## Contributing
|
|
130
|
+
|
|
131
|
+
Issues and pull requests are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md); report security issues
|
|
132
|
+
as [SECURITY.md](SECURITY.md) says. Changes are listed in [CHANGELOG.md](CHANGELOG.md).
|
|
133
|
+
|
|
134
|
+
## License
|
|
135
|
+
|
|
136
|
+
[Apache License 2.0](LICENSE). Copyright 2026 Gilad Wein. Third-party notices are in [NOTICE](NOTICE).
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "factory-floor"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "A local code factory: AI agents plan, code, review and open draft PRs across your repos, and stop wherever a person should decide"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "Apache-2.0"
|
|
7
|
+
license-files = [
|
|
8
|
+
"LICENSE",
|
|
9
|
+
"NOTICE",
|
|
10
|
+
"src/cfl/static/idiomorph.LICENSE",
|
|
11
|
+
]
|
|
12
|
+
keywords = [
|
|
13
|
+
"ai",
|
|
14
|
+
"agents",
|
|
15
|
+
"claude-code",
|
|
16
|
+
"code-review",
|
|
17
|
+
"automation",
|
|
18
|
+
"developer-tools",
|
|
19
|
+
"mcp",
|
|
20
|
+
]
|
|
21
|
+
classifiers = [
|
|
22
|
+
"Development Status :: 3 - Alpha",
|
|
23
|
+
"Environment :: Console",
|
|
24
|
+
"Intended Audience :: Developers",
|
|
25
|
+
"Operating System :: MacOS",
|
|
26
|
+
"Operating System :: POSIX :: Linux",
|
|
27
|
+
"Programming Language :: Python :: 3",
|
|
28
|
+
"Programming Language :: Python :: 3.14",
|
|
29
|
+
"Topic :: Software Development",
|
|
30
|
+
"Topic :: Software Development :: Quality Assurance",
|
|
31
|
+
]
|
|
32
|
+
requires-python = ">=3.14"
|
|
33
|
+
dependencies = [
|
|
34
|
+
"psycopg[binary]>=3.2",
|
|
35
|
+
"pyyaml>=6.0",
|
|
36
|
+
"mcp>=2.3,<3",
|
|
37
|
+
]
|
|
38
|
+
|
|
39
|
+
[[project.authors]]
|
|
40
|
+
name = "Gilad Wein"
|
|
41
|
+
|
|
42
|
+
[project.urls]
|
|
43
|
+
Homepage = "https://github.com/gilad201/code-factory"
|
|
44
|
+
Documentation = "https://github.com/gilad201/code-factory/blob/main/docs/SETUP.md"
|
|
45
|
+
Issues = "https://github.com/gilad201/code-factory/issues"
|
|
46
|
+
Changelog = "https://github.com/gilad201/code-factory/blob/main/CHANGELOG.md"
|
|
47
|
+
|
|
48
|
+
[project.scripts]
|
|
49
|
+
cfl = "cfl.cli:main"
|
|
50
|
+
|
|
51
|
+
[tool.uv.build-backend]
|
|
52
|
+
module-name = "cfl"
|
|
53
|
+
|
|
54
|
+
[tool.ruff]
|
|
55
|
+
preview = true
|
|
56
|
+
line-length = 110
|
|
57
|
+
|
|
58
|
+
[tool.pytest.ini_options]
|
|
59
|
+
testpaths = ["tests"]
|
|
60
|
+
markers = ["pg: needs a running Postgres (cfl up, or CFL_TEST_DSN)"]
|
|
61
|
+
|
|
62
|
+
[build-system]
|
|
63
|
+
requires = ["uv_build>=0.13,<0.14"]
|
|
64
|
+
build-backend = "uv_build"
|
|
65
|
+
|
|
66
|
+
[dependency-groups]
|
|
67
|
+
dev = [
|
|
68
|
+
"pyflakes>=4.1.0",
|
|
69
|
+
"pytest>=9.1.1",
|
|
70
|
+
]
|
|
71
|
+
lint = ["ruff>=0.15.20"]
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "factory-floor"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "A local code factory: AI agents plan, code, review and open draft PRs across your repos, and stop wherever a person should decide"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "Apache-2.0"
|
|
7
|
+
license-files = ["LICENSE", "NOTICE", "src/cfl/static/idiomorph.LICENSE"]
|
|
8
|
+
authors = [{ name = "Gilad Wein" }]
|
|
9
|
+
keywords = ["ai", "agents", "claude-code", "code-review", "automation", "developer-tools", "mcp"]
|
|
10
|
+
classifiers = [
|
|
11
|
+
"Development Status :: 3 - Alpha",
|
|
12
|
+
"Environment :: Console",
|
|
13
|
+
"Intended Audience :: Developers",
|
|
14
|
+
"Operating System :: MacOS",
|
|
15
|
+
"Operating System :: POSIX :: Linux",
|
|
16
|
+
"Programming Language :: Python :: 3",
|
|
17
|
+
"Programming Language :: Python :: 3.14",
|
|
18
|
+
"Topic :: Software Development",
|
|
19
|
+
"Topic :: Software Development :: Quality Assurance",
|
|
20
|
+
]
|
|
21
|
+
requires-python = ">=3.14"
|
|
22
|
+
dependencies = [
|
|
23
|
+
"psycopg[binary]>=3.2",
|
|
24
|
+
"pyyaml>=6.0",
|
|
25
|
+
"mcp>=2.3,<3",
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
[project.urls]
|
|
29
|
+
Homepage = "https://github.com/gilad201/code-factory"
|
|
30
|
+
Documentation = "https://github.com/gilad201/code-factory/blob/main/docs/SETUP.md"
|
|
31
|
+
Issues = "https://github.com/gilad201/code-factory/issues"
|
|
32
|
+
Changelog = "https://github.com/gilad201/code-factory/blob/main/CHANGELOG.md"
|
|
33
|
+
|
|
34
|
+
[project.scripts]
|
|
35
|
+
cfl = "cfl.cli:main"
|
|
36
|
+
|
|
37
|
+
[tool.uv.build-backend]
|
|
38
|
+
module-name = "cfl" # the package and the command stay cfl; factory-floor is the PyPI name
|
|
39
|
+
|
|
40
|
+
[build-system]
|
|
41
|
+
requires = ["uv_build>=0.13,<0.14"]
|
|
42
|
+
build-backend = "uv_build"
|
|
43
|
+
|
|
44
|
+
[dependency-groups]
|
|
45
|
+
dev = [
|
|
46
|
+
"pyflakes>=4.1.0",
|
|
47
|
+
"pytest>=9.1.1",
|
|
48
|
+
]
|
|
49
|
+
lint = ["ruff>=0.15.20"]
|
|
50
|
+
|
|
51
|
+
[tool.ruff]
|
|
52
|
+
preview = true
|
|
53
|
+
line-length = 110
|
|
54
|
+
|
|
55
|
+
[tool.pytest.ini_options]
|
|
56
|
+
testpaths = ["tests"]
|
|
57
|
+
markers = ["pg: needs a running Postgres (cfl up, or CFL_TEST_DSN)"]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""code-factory local mode."""
|