teimmo 0.0.0-stage → 0.7.7

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.
package/LICENSE ADDED
@@ -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.
package/NOTICE ADDED
@@ -0,0 +1,30 @@
1
+ TeImMo - The Immortal Moon
2
+ Copyright 2026 TeImMo contributors
3
+ Original code is licensed under Apache-2.0; see LICENSE.
4
+
5
+ The source development checkout optionally uses cc-sdd 3.1.0
6
+ (https://github.com/gotalab/cc-sdd) for its legacy workflow.
7
+ cc-sdd and the legacy workflow are not included in the npm core runtime.
8
+ The following attribution applies to that source-only development dependency:
9
+
10
+ MIT License
11
+
12
+ Copyright (c) 2025 gotalab
13
+
14
+ Permission is hereby granted, free of charge, to any person obtaining a copy
15
+ of this software and associated documentation files (the "Software"), to deal
16
+ in the Software without restriction, including without limitation the rights
17
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
18
+ copies of the Software, and to permit persons to whom the Software is
19
+ furnished to do so, subject to the following conditions:
20
+
21
+ The above copyright notice and this permission notice shall be included in all
22
+ copies or substantial portions of the Software.
23
+
24
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
25
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
27
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
28
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
29
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,290 @@
1
- # Temporary Holding Version
1
+ # TeImMo — The Immortal Moon
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ **Keep business decisions, project context and delivery evidence connected across chats and agents.**
4
+
5
+ TeImMo is a local development harness with reusable chat skills and a bounded delivery loop. Start with an idea or an existing Git project, discuss business behavior, define executable acceptance checks, implement, repair failures and review the result. Decisions and cases live in project files so another chat or agent can reload them.
6
+
7
+ **Status: experimental v0.7.7, for supervised personal development.** [Skill/native validation](https://github.com/VinhTimoon/TeImMo/blob/main/docs/VALIDATION-v0.7.7.md) separates native menu registries, live skill calls and Codex workspace execution from untested GUI rendering and Antigravity native execution. The [fixed-package greenfield benchmark](https://github.com/VinhTimoon/TeImMo/blob/main/docs/P0-FIXED-BENCHMARK.vi.md) and [0.7.6 evidence](https://github.com/VinhTimoon/TeImMo/blob/main/docs/evidence/validation-v0.7.6.json) remain separate historical workloads. [Source](https://github.com/VinhTimoon/TeImMo) · [npm package](https://www.npmjs.com/package/teimmo). Global installation is optional; the maintainer's machine is tested with disposable local prefixes.
8
+
9
+ [Hướng dẫn đầy đủ tiếng Việt](https://github.com/VinhTimoon/TeImMo/blob/main/docs/USER-GUIDE.vi.md) · [Bắt đầu nhanh](https://github.com/VinhTimoon/TeImMo/blob/main/docs/GETTING-STARTED.vi.md) · [Business record](https://github.com/VinhTimoon/TeImMo/blob/main/docs/BUSINESS-CONTEXT.md) · [Architecture and sources](https://github.com/VinhTimoon/TeImMo/blob/main/docs/INTEGRATIONS.md) · [P0 benchmark](https://github.com/VinhTimoon/TeImMo/blob/main/docs/P0-FIXED-BENCHMARK.vi.md) · [Công bố GitHub](https://github.com/VinhTimoon/TeImMo/blob/main/docs/RELEASING.md)
10
+
11
+ ## What is different from a prompt collection?
12
+
13
+ - Eight discoverable skills have specific entry conditions, outputs and handoffs.
14
+ - A durable business record distinguishes facts, proposed/confirmed decisions, unresolved questions, rules and Given/When/Then cases.
15
+ - Deterministic gates check rule → case → acceptance criterion → executable check links and require a reason for non-applicable dimensions.
16
+ - Approval freezes the spec, business record and original tests. The runner executes checks, sends failure evidence to repairs and requests separate specification and quality reviews.
17
+ - Checkpoints, routing, logs and an HTML report make agent/model changes and stale evidence visible.
18
+
19
+ These mechanisms reduce omissions; they do not guarantee exhaustive business coverage or replace a human reading the assertions and reviewing the code.
20
+
21
+ ## Greenfield planning and recovery in 0.7.6
22
+
23
+ Start from `new "your idea"`, enable `domain init`, install skills and `run`; answer consequential questions before approving a plan. Planning agents maintain the validated business record and choose concrete technical interfaces before implementation exists. Technical plan contradictions can return to design/tasks within a bounded budget; unanswered business questions require a decision.
24
+
25
+ | Stage | Reviewable output |
26
+ |---|---|
27
+ | Discussion | Brief, sourced facts, decisions and open questions |
28
+ | Requirements/design | Measurable AC IDs, scope and concrete interfaces |
29
+ | Tasks/analysis | Executable named tests, frozen dependencies, task boundaries and traceability |
30
+ | Approval | Explicit local receipt freezing the contract and declared test files |
31
+ | Implementation/repair | Proposed product files, actual failing/passing checks and bounded retries |
32
+ | Reviews/acceptance | Specification and quality findings, source-bound evidence and final verdict |
33
+
34
+ Malformed model JSON is retried without applying it; provider failures still stop. Deterministic business mapping gaps return to analysis before approval. New projects allow 900 seconds per provider call and enable bounded repair of test timeouts; execution/termination errors still block. Test-path literals referenced by runners/helpers must be included in the frozen file list. Review dynamic test dependencies manually. [Crash recovery](https://github.com/VinhTimoon/TeImMo/blob/main/docs/RECOVERY.md) preserves post-crash user edits instead of silently overwriting them.
35
+
36
+ ## Version 0.6 upgrade
37
+
38
+ New projects execute bounded tasks with exact file boundaries, named test evidence and durable task checkpoints. Accepted executable checks carry forward across changes. Context reports included/partial/omitted files and supports additional source ranges; UTF-8 source is no longer limited to a short list of language extensions.
39
+
40
+ Read [evidence formats, task contracts and migration](https://github.com/VinhTimoon/TeImMo/blob/main/docs/EVIDENCE-v0.6.md) before upgrading a 0.5 project. Exit-only checks are deliberately rejected rather than silently treated as behavior verification. A named passing test still needs assertion review; reporter output can be wrong or fabricated. Approval receipts do not authenticate a human.
41
+
42
+ ## Automatic HA and ten-minute soak pilot
43
+
44
+ The local 0.7.2 controller now reports RUNNING before long verification. A supervised Patroni3/etcd3 pilot exercised automatic elections, primary/DCS network partitions, and an independent ten-minute write load. Codex implemented REST-authoritative migration selection and client I/O deadlines; Antigravity analyzed/reviewed them. See [measured HA outcomes and limits](https://github.com/VinhTimoon/TeImMo/blob/main/docs/AUTOMATIC-HA-PILOT.vi.md). These are project-level pilot changes, not a production HA manager embedded in TeImMo.
45
+
46
+ ## Live-write, failover and PITR pilot
47
+
48
+ The isolated resilience extension exercised active writers during migration, fenced manual promotion with interrupted-migration retry, and physical backup/WAL PITR on both sides of a schema migration. Codex implemented the runner and Antigravity reviewed it. See [measured results, interruptions and limits](https://github.com/VinhTimoon/TeImMo/blob/main/docs/POSTGRES-RESILIENCE-PILOT.vi.md). This is supervised development evidence, not automatic production HA qualification.
49
+
50
+ ## PostgreSQL scale and restore pilot
51
+
52
+ The scale extension exercised one million rows, eight concurrent migration processes, logical backup/restore and connection-loss rollback. Codex fixed a reproduced migration race; Antigravity reviewed it. See [scale results and limits](https://github.com/VinhTimoon/TeImMo/blob/main/docs/POSTGRES-SCALE-PILOT.vi.md). This does not qualify unattended production migrations.
53
+
54
+ ## PostgreSQL and migration pilot
55
+
56
+ A supervised isolated PostgreSQL16.4/Alembic workload completed upgrade/downgrade, transactional failure rollback, API publication and concurrency checks with Codex implementation and Antigravity reviews. A controlled authorization failure was repaired with approved tests unchanged. See [PostgreSQL pilot and daily-use limits](https://github.com/VinhTimoon/TeImMo/blob/main/docs/POSTGRES-MIGRATION-PILOT.vi.md).
57
+
58
+ ## External SQLite pilot
59
+
60
+ A supervised Flaskr pilot from the official Flask repository completed with Codex implementation, Antigravity repair/reviews and real file-backed SQLite tests. The pilot exposed and fixed unittest-discovery regression derivation. See [external pilot findings and limits](https://github.com/VinhTimoon/TeImMo/blob/main/docs/EXTERNAL-SQLITE-PILOT.vi.md). This adds reference-application evidence; it does not qualify arbitrary database workloads.
61
+
62
+ ## Version 0.7.1 recovery fix
63
+
64
+ Approved plans can be reopened from BLOCKED with archived evidence, inherited acceptance obligations and crash recovery. See [recovery procedure](https://github.com/VinhTimoon/TeImMo/blob/main/docs/RECOVERY.md). A contradictory additive regression requires an explicit planning decision and replacement coverage; original checks stay protected.
65
+
66
+ ## Version 0.7 upgrade
67
+
68
+ - A [read-only local dashboard](https://github.com/VinhTimoon/TeImMo/blob/main/docs/DASHBOARD.md) exposes live persisted stages, task filters, evidence, stale status and agent/model routes without acquiring the execution lock.
69
+ - `adopt-plan` validates a plan authored in chat, then requires agent analysis and explicit approval. Test helpers and dependency source are prioritized in task context.
70
+ - Additive regression checks support acceptance entrypoints with shared frozen helper files.
71
+ - [Experimental Codex workspace mode](https://github.com/VinhTimoon/TeImMo/blob/main/docs/CODEX-WORKSPACE.md) collects actual changes from independent source snapshots. The desktop-bundled CLI with an explicit elevated sandbox passed a local edit/test probe; qualification is specific to that executable/backend. Proposal mode remains the default. No sandbox bypass is used.
72
+
73
+ Automatic semantic spec merging, authenticated approval UI, parallel writers and normalized model-cost accounting remain unimplemented. The [first public CI](https://github.com/VinhTimoon/TeImMo/actions/runs/47167594102) passed all six Windows/macOS/Linux × Node 22/24 jobs after fixing path aliases, with 123 test cases (two platform-specific cases skipped on Unix). This is fixture/package qualification, not proof of live native agent support on every OS.
74
+
75
+ ## Prerequisites
76
+
77
+ - Node.js **22+**, npm and Git on PATH.
78
+ - Python **3.12** for the full contributor test suite and Python test adapters; a Node-only product does not require a Python wrapper.
79
+ - An authenticated coding-agent CLI. Codex uses `codex`; Antigravity uses **`agy`**, distinct from the desktop App or IDE.
80
+ - The project's own compiler/runtime and test dependencies. TeImMo does not install every language toolchain.
81
+
82
+ Use the provider's official installation/login flow: [Codex](https://developers.openai.com/codex/cli/), [Antigravity](https://antigravity.google/docs/getting-started). Never put access tokens in project JSON or commit provider credentials.
83
+
84
+ ## Install from npm
85
+
86
+ The npm archive contains only the harness runtime, generated-skill support, dashboard, Python evidence adapter, README and licensing files. It has no production dependencies and includes no contributor tests, benchmarks, research docs, source scripts, cc-sdd or legacy workflow. The full contributor material remains on GitHub.
87
+
88
+ New projects receive `harness-spec/WORKSPACE.md` with the stage/output map. Private call artifacts are grouped under `.harness/calls/<stage>/`; the design must define a concrete product module/file tree before tasks implement it. Existing projects retain prior evidence paths; `stageFolders: true` opts future calls into grouping. Product directories follow the actual language/framework and are created for approved files, not as empty workflow folders.
89
+
90
+ Requires Node.js 22+, npm and Git, plus your own authenticated agent CLI and product toolchain:
91
+
92
+ ```sh
93
+ npm i -g teimmo
94
+ teimmo --help
95
+ ```
96
+
97
+ Start in a new project directory:
98
+
99
+ ```sh
100
+ mkdir my-app
101
+ cd my-app
102
+ git init
103
+ teimmo new "A short description of the product idea"
104
+ teimmo domain init
105
+ teimmo skills install
106
+ teimmo doctor codex
107
+ teimmo run
108
+ teimmo status
109
+ ```
110
+
111
+ The runner asks for consequential answers and stops for approval before implementation. Review the actual plan/tests before `teimmo approve`, then `teimmo run`. Authentication and model quota belong to your agent provider; installing TeImMo does not install or log into Codex/Antigravity. Skills remain project-local; open that product directory in your agent app.
112
+
113
+ For a project-local installation use `npm i -D teimmo` and `npx teimmo --help`. You can then replace `teimmo` above with `npx teimmo` from the product's Git root. Keep TeImMo's installed location available for skill bridges, and reinstall project skills after moving it. See the [full guide](https://github.com/VinhTimoon/TeImMo/blob/main/docs/USER-GUIDE.vi.md) for agent routing, native mode and recovery.
114
+
115
+ ## Install from GitHub for development
116
+
117
+ Clone the source repository:
118
+
119
+ ```sh
120
+ git clone https://github.com/VinhTimoon/TeImMo.git TeImMo
121
+ cd TeImMo
122
+ npm ci
123
+ npm test
124
+ node cli.mjs --help
125
+ ```
126
+
127
+ Start locally first. No global install is needed to use project skills. Keep the clone in a stable location; the project's ignored local manifest records its location for skill bridges.
128
+
129
+ ## First project — Windows PowerShell
130
+
131
+ Run the first line from the TeImMo clone. Choose your own project directory in the second line; this example creates a new one.
132
+
133
+ ```powershell
134
+ $teimmoCli = (Resolve-Path .\cli.mjs).Path
135
+ New-Item -ItemType Directory -Force D:\Projects\my-app | Out-Null
136
+ Set-Location D:\Projects\my-app
137
+ git init
138
+ node $teimmoCli new "A short description of the product idea"
139
+ node $teimmoCli domain init
140
+ node $teimmoCli skills install
141
+ node $teimmoCli doctor
142
+ ```
143
+
144
+ For an existing project, `Set-Location` to its Git root and run the same commands. `new` refuses to overwrite an existing TeImMo project. If creating a project inside another Git checkout, initialize the intended nested checkout explicitly or choose a directory outside it.
145
+
146
+ On macOS/Linux, use an absolute path such as `node /path/to/TeImMo/cli.mjs` with the same commands. Cross-platform behavior has not yet been live validated.
147
+
148
+ Open **that project folder** in Codex or Antigravity, then start a new conversation/reload skills. Ask:
149
+
150
+ ```text
151
+ Codex: $teimmo-brainstorm I want to clarify this product's users and business rules.
152
+ Antigravity: /teimmo-brainstorm I want to clarify this product's users and business rules.
153
+ ```
154
+
155
+ Skills install to `.agents/skills/teimmo-*` in the project. They are not installed to your account globally. The host controls menus and autocomplete; `@` is not a portable TeImMo command prefix. If a skill does not appear, verify the project root, reload/start a fresh conversation, or explicitly ask the agent to read its `SKILL.md`.
156
+
157
+ ## The chat workflow
158
+
159
+ | Skill suffix | Purpose | Durable result |
160
+ |---|---|---|
161
+ | `brainstorm` | Clarify problem, actors, scope, alternatives and consequential unknowns | Brief/conversation and sourced domain decisions/questions |
162
+ | `spec` | Define measurable behavior from confirmed policy | Requirements and business cases |
163
+ | `plan` | Design components, tasks, dependencies and tests | Design/tasks/checks/traceability, case mappings |
164
+ | `coverage` | Inspect missing cases and actual assertions | Gaps separated from structural mapping and runtime evidence |
165
+ | `build` | Execute an approved plan and bounded repairs | Product files, test logs and reviews |
166
+ | `verify` | Recheck and assess acceptance | Snapshot-bound PASS/FAIL with remaining limits |
167
+ | `resume` | Reload context after switching chat/agent | Current stage, constraints, routing and unresolved decisions |
168
+ | `change` | Start the next accepted change | Archived revision and inherited regression obligations |
169
+
170
+ Prefix a suffix with `teimmo-`, e.g. `$teimmo-coverage` or `/teimmo-coverage`. Skills support natural conversation; you do not have to remember a sequence of raw CLI commands. Brainstorm asks a few relevant questions at a time and saves partial knowledge. It must not invent a cancellation/refund/permission rule just to advance.
171
+
172
+ The headless runner and the chat skills share project artifacts. The chat agent can discuss and maintain the domain, while `run` invokes configured provider CLIs for planning/delivery. This can use a second agent process and provider quota even if your chat is already inside an agent app. The outer skill must respect the user's authorization and current stage.
173
+
174
+ ## Configure agents and models
175
+
176
+ Use a model identifier your account supports. Replace `MODEL_ID` in these examples; it is not a real model name.
177
+
178
+ ```powershell
179
+ node $teimmoCli switch codex MODEL_ID
180
+ node $teimmoCli route review antigravity MODEL_ID
181
+ node $teimmoCli status
182
+ ```
183
+
184
+ `agy models` lists Antigravity models. `doctor` checks binary availability/version only; it does **not** prove login, model entitlement or remaining quota.
185
+
186
+ For this personal pilot use `gemini-4-hydrogen-low` for Antigravity tests to conserve the Pro account's usage. Model IDs must match `agy models`; display labels and abbreviated names are not interchangeable. This preference does not change global provider settings. Start with `status` and `context` for read-only inspection: `status` no longer writes locks or refreshes report files.
187
+
188
+ If a CLI is outside PATH, add `executables` to `.harness/config.json` without removing its other keys:
189
+
190
+ ```json
191
+ {
192
+ "executables": {
193
+ "antigravity": "C:/absolute/path/to/agy.exe"
194
+ }
195
+ }
196
+ ```
197
+
198
+ The personal test machine's `.cache/antigravity-cli/agy.exe` is not included in a GitHub clone or npm archive. New users need their own official CLI installation. Windows `.cmd`-only providers may require an argv adapter targeting Node plus the provider's JavaScript entry point; the runner does not use a shell to interpolate prompts.
199
+
200
+ `switch` changes the default. Stage overrides remain until removed with `route review default` or `route repair default`. Use `status` to inspect both. Available adapters: Codex, Antigravity, Claude Code, Gemini CLI and OpenCode. Only Codex and Antigravity have live-provider evidence.
201
+
202
+ ## Planning, approval and execution
203
+
204
+ For direct CLI use:
205
+
206
+ ```powershell
207
+ node $teimmoCli run
208
+ node $teimmoCli discuss "Actual answers to the questions"
209
+ node $teimmoCli analyze
210
+ node $teimmoCli domain check
211
+ ```
212
+
213
+ Planning stops at `WAITING_APPROVAL`. The business gate must be ready before approval. The chat skills help you prepare and save `domain.json`, then map each case to the real AC/check IDs generated by planning. Inspect the actual requirements, cases and test assertions, not just the green mapping result.
214
+
215
+ ```powershell
216
+ node $teimmoCli approve
217
+ node $teimmoCli run
218
+ node $teimmoCli status
219
+ ```
220
+
221
+ Approval runs a baseline and freezes the contract. Baseline failure can be expected before product implementation. Infrastructure errors block execution. Failed tests/reviews feed bounded repair; missing regression coverage may be added through new frozen tests, while original tests remain unchanged.
222
+
223
+ `recheck` executes tests/reviews again and can run repairs. It is **not** read-only. `context` and `status` are the appropriate inspection commands. `run` on an unchanged completed snapshot can reuse existing evidence. A source change while paused at review forces tests to run again.
224
+
225
+ ## Where results live
226
+
227
+ ```text
228
+ your-project/
229
+ .agents/skills/teimmo-*/ Chat workflows and runner bridges
230
+ harness-spec/
231
+ conversation.md Idea and user answers
232
+ domain.json Facts, decisions, questions, rules and cases
233
+ brief.md Product scope and assumptions
234
+ requirements.md AC identifiers and expected behavior
235
+ design.md Components and interfaces
236
+ tasks.md Task identifiers and dependencies
237
+ checks.json Executable acceptance commands
238
+ traceability.json Task/AC/check links
239
+ .harness/
240
+ config.json Provider routing and bounded execution settings
241
+ state.json Durable stage/checkpoint state
242
+ report.html Stage results, routing, business gaps and test links
243
+ calls/ logs/ archive/ Local evidence and accepted revisions
244
+ ```
245
+
246
+ Open `.harness/report.html` in a browser. Commit reviewed `harness-spec`, skills and tests as appropriate for your project; `.harness` is ignored because it contains local state and potentially sensitive prompt/log context. Skill bridges resolve the installation through ignored `.harness/skills.json`: teammates run `skills install` using their own clone to establish that local link. Never overwrite personalized skill edits blindly; the installer refuses modified owned files.
247
+
248
+ ## Continue after interruption or a new chat
249
+
250
+ Use `$teimmo-resume` / `/teimmo-resume`, or:
251
+
252
+ ```powershell
253
+ node $teimmoCli context
254
+ node $teimmoCli pause
255
+ # Wait for PAUSED, then change routing and run again.
256
+ node $teimmoCli switch antigravity MODEL_ID
257
+ node $teimmoCli run
258
+ ```
259
+
260
+ `recover` releases only a dead-process lock and restores interrupted file transactions. It refuses a live or uncheckable owner. Do not delete locks or edit state to force PASS. Resolve `NO_PROGRESS` / `BUDGET_EXHAUSTED` by inspecting evidence and correcting the cause, rather than silently increasing the budget.
261
+
262
+ After an accepted change, `change "next request"` archives the revision and brings business records forward with a blocking impact-review question. Re-map old cases into the new test suite and review behavior changes explicitly. `replan` reopens the current contract; it is not the same as starting a new accepted change.
263
+
264
+ ## Optional global CLI and updating
265
+
266
+ After evaluating your local pilot, install or update the registry CLI:
267
+
268
+ ```sh
269
+ npm install --global teimmo
270
+ teimmo --help
271
+ ```
272
+
273
+ Both `teimmo` and the legacy alias `sddh` invoke the same CLI. This does not install account-global chat skills; install project skills separately. No global installation has been performed by this repository's validation work.
274
+
275
+ To update a registry installation use `npm i -g teimmo@latest` (or `npm i -D teimmo@latest` for a local dependency), review the new version and run `teimmo skills install` in each project to refresh bridges. Clone users update their checkout, run `npm ci` and `npm test`, then invoke that clone's CLI. Keep old evidence and customizations; the skill installer refuses to overwrite customized files. Uninstall the global CLI with `npm uninstall -g teimmo`; project skill files and durable evidence require a separate, deliberate cleanup. For release verification use `npm pack --ignore-scripts` and install the archive into a disposable local prefix.
276
+
277
+ ## Limits and release status
278
+
279
+ - A business gate is enabled by `domain init/save`; older projects without it remain compatible. Follow the first-project instructions to enable it. A source citation is recorded text, not proof of human approval.
280
+ - Structural links do not prove assertion strength or exhaustive case coverage. Reviews can share model blind spots. Apply the checklist proportionally to risk.
281
+ - One active change per checkout; whole-file text proposals; bounded UTF-8 source context with explicit omissions/range requests. Binary/oversized files, large-repository retrieval, multi-repo orchestration and unattended production operation are not validated.
282
+ - Source hashes cover ordinary Git-visible files and spec files, not ignored databases/services. Symlinks/submodules are not supported by the snapshot implementation.
283
+ - No deployment automation or normalized monetary cost accounting. Test commands execute with your user permissions.
284
+ - Codex/Python and Antigravity/JavaScript demos are small. Chat probes validate selected behaviors, not every skill on every UI. App autocomplete has not been visually tested.
285
+
286
+ The npm core has no production dependencies. cc-sdd 3.1.0 is an optional source-development dependency for the legacy workflow, retains its MIT attribution in [NOTICE](NOTICE), and is excluded from the npm runtime. Other framework mechanisms are independently implemented and documented in [INTEGRATIONS](https://github.com/VinhTimoon/TeImMo/blob/main/docs/INTEGRATIONS.md). Original TeImMo code is licensed under [Apache-2.0](LICENSE). Publishing targets the public npm registry explicitly; repository source and runtime package have different file lists. See [contributing](https://github.com/VinhTimoon/TeImMo/blob/main/CONTRIBUTING.md), [security](https://github.com/VinhTimoon/TeImMo/blob/main/SECURITY.md) and [release procedure](https://github.com/VinhTimoon/TeImMo/blob/main/docs/RELEASING.md).
287
+
288
+ ## Comparative assessment
289
+
290
+ See [the detailed Vietnamese comparison](https://github.com/VinhTimoon/TeImMo/blob/main/docs/TEIMMO-COMPARISON.vi.md) of TeImMo 0.5 with 11 SDD entries and 7 harness entries (16 unique repositories). It separates upstream documentation from local evidence, documents a synthetic false-acceptance probe, and proposes prioritized improvements and a fair benchmark. TeImMo has not demonstrated superiority over those projects.