mimetic-cli 0.1.2 → 0.1.4
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/AGENTS.md +66 -0
- package/CONTRIBUTING.md +39 -0
- package/README.md +4 -1
- package/SECURITY.md +34 -0
- package/dist/core/git-state.d.ts +31 -0
- package/dist/core/git-state.js +142 -0
- package/dist/core/git-state.js.map +1 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/index.js +3 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/run-primitives.d.ts +66 -0
- package/dist/core/run-primitives.js +120 -0
- package/dist/core/run-primitives.js.map +1 -0
- package/dist/observer-assets.js +1663 -2180
- package/dist/observer-assets.js.map +1 -1
- package/dist/observer-data.d.ts +1 -1
- package/dist/observer-data.js +5 -1
- package/dist/observer-data.js.map +1 -1
- package/dist/observer.js +8 -61
- package/dist/observer.js.map +1 -1
- package/dist/oss-meta-lab.d.ts +50 -0
- package/dist/oss-meta-lab.js +454 -27
- package/dist/oss-meta-lab.js.map +1 -1
- package/dist/program.d.ts +6 -0
- package/dist/program.js +75 -8
- package/dist/program.js.map +1 -1
- package/dist/run.d.ts +19 -6
- package/dist/run.js +1263 -9
- package/dist/run.js.map +1 -1
- package/docs/architecture/github-feedback-loop.md +189 -0
- package/docs/architecture/local-codex-tui-actor.md +210 -0
- package/docs/architecture/observer.md +109 -0
- package/docs/architecture/oss-lab-poc.md +170 -0
- package/docs/architecture/project-layout.md +132 -0
- package/docs/assets/mimetic-oss-lab-observer.png +0 -0
- package/docs/contracts/adapter-fixtures.md +80 -0
- package/docs/contracts/core.md +71 -0
- package/docs/contracts/feedback.md +131 -0
- package/docs/contracts/policy.md +273 -0
- package/docs/contracts/run-bundle.md +110 -0
- package/docs/contracts/schemas.md +511 -0
- package/docs/goals/current.md +163 -0
- package/docs/principles/self-driving-harness.md +129 -0
- package/docs/product/open-source-install-experience.md +138 -0
- package/docs/ramp/README.md +167 -0
- package/docs/release/open-source-readiness.md +171 -0
- package/docs/release/public-readiness-standard.md +205 -0
- package/docs/roadmap/world-class-open-source-v0.md +286 -0
- package/package.json +14 -2
- package/skills/mimetic-cli/SKILL.md +1 -1
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
# Public Readiness Standard
|
|
2
|
+
|
|
3
|
+
Status: researched working standard for public repository and npm release hygiene.
|
|
4
|
+
|
|
5
|
+
This document separates real public-release risk from preference cleanup. The
|
|
6
|
+
goal is to keep `mimetic-cli` safe, useful, and professional without deleting the
|
|
7
|
+
durable context future contributors and agents need.
|
|
8
|
+
|
|
9
|
+
## Sources Reviewed
|
|
10
|
+
|
|
11
|
+
- [GitHub Docs: Removing sensitive data from a repository](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository)
|
|
12
|
+
- [GitHub Docs: Setting your commit email address](https://docs.github.com/en/account-and-profile/how-tos/email-preferences/setting-your-commit-email-address)
|
|
13
|
+
- [GitHub Docs: About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)
|
|
14
|
+
- [GitHub Docs: About push protection](https://docs.github.com/en/code-security/concepts/secret-security/about-push-protection)
|
|
15
|
+
- [npm Docs: package.json files field](https://docs.npmjs.com/cli/v11/configuring-npm/package-json/#files)
|
|
16
|
+
- [npm Docs: npm publish package contents](https://docs.npmjs.com/cli/v9/commands/npm-publish#files-included-in-package)
|
|
17
|
+
- [npm Docs: Trusted publishing for npm packages](https://docs.npmjs.com/trusted-publishers/)
|
|
18
|
+
- [OpenSSF Scorecard](https://scorecard.dev/)
|
|
19
|
+
- [OpenSSF Source Code Management Platform Configuration Best Practices](https://best.openssf.org/SCM-BestPractices/)
|
|
20
|
+
- [OWASP Secrets Management Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/Secrets_Management_Cheat_Sheet.html)
|
|
21
|
+
|
|
22
|
+
## Decision Model
|
|
23
|
+
|
|
24
|
+
Use four categories.
|
|
25
|
+
|
|
26
|
+
### 1. Public Blockers
|
|
27
|
+
|
|
28
|
+
These must be removed from the current tree, package payload, generated docs,
|
|
29
|
+
screenshots, logs, and reachable history before the repo is public.
|
|
30
|
+
|
|
31
|
+
- Secrets: API keys, provider tokens, npm/GitHub tokens, private keys, cookies,
|
|
32
|
+
session URLs, database URLs with credentials, `.env` values, auth-bearing
|
|
33
|
+
request headers, and raw credential material.
|
|
34
|
+
- PHI, patient data, customer data, private user identifiers, private emails,
|
|
35
|
+
phone numbers, addresses, account IDs, billing IDs, raw transcripts, and raw
|
|
36
|
+
screenshots from private systems.
|
|
37
|
+
- Private source snippets, internal-only product names, private roadmaps,
|
|
38
|
+
incident details, or operational data that would expose a non-public system or
|
|
39
|
+
customer relationship.
|
|
40
|
+
- Built package output, source maps, docs, fixtures, or image assets that contain
|
|
41
|
+
any of the above.
|
|
42
|
+
|
|
43
|
+
If a real secret was exposed, revoke or rotate it first. GitHub explicitly warns
|
|
44
|
+
that history rewriting has side effects and may not be warranted once the secret
|
|
45
|
+
is revoked. Rewrite history only when sensitive data remains materially risky
|
|
46
|
+
after revocation, or when privacy, legal, contractual, or proprietary-source
|
|
47
|
+
obligations require removal.
|
|
48
|
+
|
|
49
|
+
### 2. Release-Gate Hygiene
|
|
50
|
+
|
|
51
|
+
These should fail CI or release checks until fixed, but they are not all reasons
|
|
52
|
+
to rewrite history.
|
|
53
|
+
|
|
54
|
+
- Package payload is not inspected with `npm pack --dry-run`.
|
|
55
|
+
- Scanner only checks tracked source and misses built `dist`, source maps, docs
|
|
56
|
+
packaged by `files`, or generated assets.
|
|
57
|
+
- Binary public assets are not approved by path and checksum.
|
|
58
|
+
- Docs link to files that are not shipped or not reachable from the public repo.
|
|
59
|
+
- Runtime artifacts are included: `.mimetic/`, run bundles, transcripts,
|
|
60
|
+
disposable clones, `.firecrawl/`, `.e2b/`, logs, tarballs, caches.
|
|
61
|
+
- GitHub Actions use broad default permissions where read-only is enough.
|
|
62
|
+
- Publish workflow uses long-lived npm tokens when OIDC trusted publishing is
|
|
63
|
+
available.
|
|
64
|
+
- Secret scanning, push protection, or equivalent local scanners are absent from
|
|
65
|
+
the operating checklist.
|
|
66
|
+
|
|
67
|
+
### 3. Acceptable Public Metadata
|
|
68
|
+
|
|
69
|
+
These are acceptable when intentional and public-safe. They should not trigger
|
|
70
|
+
panic cleanup or history rewrite by default.
|
|
71
|
+
|
|
72
|
+
- Maintainer name, GitHub username, public repo owner, public issue links, and
|
|
73
|
+
public repository URLs.
|
|
74
|
+
- A maintainer-approved public commit email. GitHub allows either a noreply
|
|
75
|
+
address or any configured email for commits. Noreply is a privacy preference,
|
|
76
|
+
not a universal public-release requirement.
|
|
77
|
+
- Env var names without values, such as `OPENAI_API_KEY` or `E2B_API_KEY`.
|
|
78
|
+
- Synthetic personas, synthetic screenshots, synthetic app data, and redacted
|
|
79
|
+
proof examples.
|
|
80
|
+
- Public-safe ramp, goal, architecture, and roadmap docs that help future
|
|
81
|
+
contributors continue the project.
|
|
82
|
+
|
|
83
|
+
### 4. Professionalism Cleanup
|
|
84
|
+
|
|
85
|
+
These do not usually justify history rewrite, but they matter for an open-source
|
|
86
|
+
repo people will judge quickly.
|
|
87
|
+
|
|
88
|
+
- Chat residue, private-process phrasing, or emotional notes that do not help a
|
|
89
|
+
public maintainer.
|
|
90
|
+
- Overly specific local machine paths or private workspace names, even when not
|
|
91
|
+
security-sensitive.
|
|
92
|
+
- Broken links, stale commands, claims of product proof where only contract proof
|
|
93
|
+
exists, and docs that depend on private chat memory.
|
|
94
|
+
- Screenshots that are technically synthetic but look sloppy, confusing, or
|
|
95
|
+
embarrassing.
|
|
96
|
+
|
|
97
|
+
Professionalism cleanup should preserve useful context. Deleting all ramp or
|
|
98
|
+
goal docs is worse than rewriting them into a public-safe form.
|
|
99
|
+
|
|
100
|
+
## Commit Email Policy
|
|
101
|
+
|
|
102
|
+
Noreply commit emails are preferred for privacy and consistency.
|
|
103
|
+
|
|
104
|
+
Allowed commit metadata:
|
|
105
|
+
|
|
106
|
+
- GitHub noreply addresses.
|
|
107
|
+
- `noreply@github.com` for GitHub-generated commits.
|
|
108
|
+
- Explicitly approved public maintainer emails.
|
|
109
|
+
|
|
110
|
+
Blocked commit metadata:
|
|
111
|
+
|
|
112
|
+
- Unknown personal emails.
|
|
113
|
+
- Contractor, employee, patient, customer, vendor, or private-domain emails that
|
|
114
|
+
are not intentionally public for this project.
|
|
115
|
+
- Any email that appears in logs, transcripts, screenshots, or docs as private
|
|
116
|
+
user/customer data rather than maintainer metadata.
|
|
117
|
+
|
|
118
|
+
Do not force-rewrite `main` solely because a known maintainer-approved public
|
|
119
|
+
email appears in a commit. Document the approval and update the scanner
|
|
120
|
+
allowlist instead.
|
|
121
|
+
|
|
122
|
+
## NPM Package Surface
|
|
123
|
+
|
|
124
|
+
The npm package is its own public surface. The release gate must inspect:
|
|
125
|
+
|
|
126
|
+
- `npm pack --dry-run --json` output;
|
|
127
|
+
- compiled `dist`;
|
|
128
|
+
- source maps;
|
|
129
|
+
- all files matched by `package.json.files`;
|
|
130
|
+
- always-included files such as `package.json`, `README.md`, and `LICENSE`;
|
|
131
|
+
- docs, skills, screenshots, and other assets shipped for npm-page display.
|
|
132
|
+
|
|
133
|
+
The package should use the `files` field as an allowlist, but that is not enough.
|
|
134
|
+
The scanner must union tracked source files with the actual npm dry-run payload.
|
|
135
|
+
|
|
136
|
+
Public binary assets are allowed only when:
|
|
137
|
+
|
|
138
|
+
- the asset is intentionally public;
|
|
139
|
+
- the asset is synthetic or redacted;
|
|
140
|
+
- the path is allowlisted;
|
|
141
|
+
- the SHA-256 checksum is pinned in the scanner.
|
|
142
|
+
|
|
143
|
+
## GitHub And Supply Chain Posture
|
|
144
|
+
|
|
145
|
+
Minimum public-repo posture:
|
|
146
|
+
|
|
147
|
+
- branch protection or rulesets for `main`;
|
|
148
|
+
- required CI before merge;
|
|
149
|
+
- workflow permissions narrowed to read-only unless a job needs more;
|
|
150
|
+
- no long-lived npm token in Actions for publish;
|
|
151
|
+
- npm trusted publishing via OIDC where possible;
|
|
152
|
+
- secret scanning and push protection enabled where available;
|
|
153
|
+
- `SECURITY.md`, `CONTRIBUTING.md`, `LICENSE`, and clear issue flow;
|
|
154
|
+
- periodic OpenSSF Scorecard or equivalent review.
|
|
155
|
+
|
|
156
|
+
Nice-to-have after public launch:
|
|
157
|
+
|
|
158
|
+
- dependency update automation;
|
|
159
|
+
- CodeQL or comparable SAST;
|
|
160
|
+
- release provenance and staged publishing where practical;
|
|
161
|
+
- signed releases when the release process matures.
|
|
162
|
+
|
|
163
|
+
## Mimetic Application
|
|
164
|
+
|
|
165
|
+
For `mimetic-cli`, the honest standard is:
|
|
166
|
+
|
|
167
|
+
- Keep `docs/ramp/` and `docs/goals/` if they are public-safe. They are essential
|
|
168
|
+
project memory for future coding agents and contributors.
|
|
169
|
+
- Keep the package docs and skill docs focused on public install, public-safe
|
|
170
|
+
examples, and synthetic proof.
|
|
171
|
+
- Do not commit `.mimetic/`, `.firecrawl/`, screenshots from private systems,
|
|
172
|
+
raw run bundles, private transcripts, local env files, or packed tarballs.
|
|
173
|
+
- Treat `dist` and source maps as public and scan them.
|
|
174
|
+
- Treat the README screenshot as public and checksum-gated.
|
|
175
|
+
- Allow a maintainer-approved public email in commit metadata; do not classify it
|
|
176
|
+
as a secret.
|
|
177
|
+
- Rewrite history only for actual sensitive data, private source, or private
|
|
178
|
+
identity/customer data that remains materially risky.
|
|
179
|
+
|
|
180
|
+
## Practical Checklist
|
|
181
|
+
|
|
182
|
+
Before making the repository public or cutting a public package:
|
|
183
|
+
|
|
184
|
+
```bash
|
|
185
|
+
pnpm install --frozen-lockfile
|
|
186
|
+
pnpm release:check
|
|
187
|
+
git diff --check
|
|
188
|
+
npm pack --dry-run --json
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
Also verify in GitHub:
|
|
192
|
+
|
|
193
|
+
- `main` branch protection/ruleset is active;
|
|
194
|
+
- secret scanning and push protection are enabled where available;
|
|
195
|
+
- publish workflow uses OIDC trusted publishing;
|
|
196
|
+
- failed workflow logs do not contain real secrets or private data;
|
|
197
|
+
- visible issues, PRs, labels, and project metadata do not expose private context.
|
|
198
|
+
|
|
199
|
+
If a check fails, classify it before reacting:
|
|
200
|
+
|
|
201
|
+
1. Secret/PHI/private source? Rotate/revoke first, then consider history rewrite.
|
|
202
|
+
2. Package leak or private artifact? Remove from package/tree and rerun gates.
|
|
203
|
+
3. Unknown private identity metadata? Approve, redact, or rewrite based on risk.
|
|
204
|
+
4. Public maintainer metadata? Usually allowlist and document.
|
|
205
|
+
5. Sloppy public docs? Rewrite, do not delete useful project memory.
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
# World-Class Open-Source V0 Roadmap
|
|
2
|
+
|
|
3
|
+
Date: 2026-06-01
|
|
4
|
+
|
|
5
|
+
Status: staged build plan for `mimetic-cli`.
|
|
6
|
+
|
|
7
|
+
## Target Outcome
|
|
8
|
+
|
|
9
|
+
A maintainer can install `mimetic-cli` into a normal JavaScript app, let their
|
|
10
|
+
coding agent run setup, and get a public-safe persona simulation harness with:
|
|
11
|
+
|
|
12
|
+
- committed `mimetic/` source plane;
|
|
13
|
+
- ignored `.mimetic/` runtime plane;
|
|
14
|
+
- `commander` CLI;
|
|
15
|
+
- safe `init`;
|
|
16
|
+
- synthetic dry-run bundle;
|
|
17
|
+
- verifier;
|
|
18
|
+
- observer;
|
|
19
|
+
- public-safe feedback issue draft;
|
|
20
|
+
- clear docs and agent skill.
|
|
21
|
+
|
|
22
|
+
## Stage 0: Repo Plan And Issue Queue
|
|
23
|
+
|
|
24
|
+
Status: complete enough to start implementation.
|
|
25
|
+
|
|
26
|
+
Proof:
|
|
27
|
+
|
|
28
|
+
- GitHub project `mimetic-cli`;
|
|
29
|
+
- seeded issues;
|
|
30
|
+
- future-public boundary docs;
|
|
31
|
+
- feedback issue-draft doctrine.
|
|
32
|
+
- layout/install/goal docs;
|
|
33
|
+
- implementation tickets for the install path.
|
|
34
|
+
|
|
35
|
+
Primary issue queue:
|
|
36
|
+
|
|
37
|
+
- [#13 package: scaffold npm package and Commander mimetic binary](https://github.com/danielgwilson/mimetic-cli/issues/13)
|
|
38
|
+
- [#14 init: scaffold committed mimetic source and ignored .mimetic runtime layout](https://github.com/danielgwilson/mimetic-cli/issues/14)
|
|
39
|
+
- [#16 fixtures: create target app fixture for init, dry-run, verify, and observer proof](https://github.com/danielgwilson/mimetic-cli/issues/16)
|
|
40
|
+
- [#7 cli: scaffold doctor, run --dry-run, review, verify, runs, and watch](https://github.com/danielgwilson/mimetic-cli/issues/7)
|
|
41
|
+
- [#6 core: run IDs, artifact paths, git state, history, and lifecycle primitives](https://github.com/danielgwilson/mimetic-cli/issues/6)
|
|
42
|
+
- [#10 observer: static mission-control viewer over fixture bundle](https://github.com/danielgwilson/mimetic-cli/issues/10)
|
|
43
|
+
- [#5 feedback: specify public issue-draft CLI command](https://github.com/danielgwilson/mimetic-cli/issues/5)
|
|
44
|
+
- [#15 skill: package agent setup guidance for installing Mimetic](https://github.com/danielgwilson/mimetic-cli/issues/15)
|
|
45
|
+
- [#17 release: open-source readiness, package metadata, license, and publish dry-run](https://github.com/danielgwilson/mimetic-cli/issues/17)
|
|
46
|
+
|
|
47
|
+
## Stage 1: Package Scaffold
|
|
48
|
+
|
|
49
|
+
Build the minimum npm package:
|
|
50
|
+
|
|
51
|
+
- `package.json`;
|
|
52
|
+
- TypeScript config;
|
|
53
|
+
- `src/cli.ts`;
|
|
54
|
+
- `commander`;
|
|
55
|
+
- test runner;
|
|
56
|
+
- lint/typecheck/check scripts;
|
|
57
|
+
- binary name `mimetic`;
|
|
58
|
+
- stable JSON command envelope.
|
|
59
|
+
|
|
60
|
+
Proof:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
pnpm install
|
|
64
|
+
pnpm check
|
|
65
|
+
pnpm mimetic -- --help
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Stage 2: Project Layout And Init
|
|
69
|
+
|
|
70
|
+
Implement `mimetic init`:
|
|
71
|
+
|
|
72
|
+
- creates committed `mimetic/`;
|
|
73
|
+
- creates ignored `.mimetic/`;
|
|
74
|
+
- writes starter synthetic personas/scenarios/policies;
|
|
75
|
+
- patches `package.json` scripts;
|
|
76
|
+
- updates `.gitignore`;
|
|
77
|
+
- supports `--dry-run`, `--yes`, and `--json`.
|
|
78
|
+
|
|
79
|
+
Proof:
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
pnpm test
|
|
83
|
+
pnpm mimetic -- init --dry-run --json
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Fixture proof should run against a temporary app fixture, not this repo only.
|
|
87
|
+
|
|
88
|
+
## Stage 3: Run Bundle And Verify
|
|
89
|
+
|
|
90
|
+
Implement a synthetic dry-run bundle:
|
|
91
|
+
|
|
92
|
+
- run id;
|
|
93
|
+
- manifest;
|
|
94
|
+
- scenario/persona selection;
|
|
95
|
+
- lifecycle events;
|
|
96
|
+
- review skeleton;
|
|
97
|
+
- redaction result;
|
|
98
|
+
- artifact paths;
|
|
99
|
+
- source/git state.
|
|
100
|
+
|
|
101
|
+
Implement `mimetic verify` over that bundle.
|
|
102
|
+
|
|
103
|
+
Proof:
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
pnpm mimetic -- run --dry-run --json
|
|
107
|
+
pnpm mimetic -- verify --run latest --json
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
## Stage 4: Observer
|
|
111
|
+
|
|
112
|
+
Status: upgraded from static report to mission-control substrate for synthetic
|
|
113
|
+
stream contracts.
|
|
114
|
+
|
|
115
|
+
Implemented:
|
|
116
|
+
|
|
117
|
+
- normalized `observer/observer-data.json` view model;
|
|
118
|
+
- `events.ndjson` event stream contract;
|
|
119
|
+
- stream-shaped sim lanes for UI, CLI, TUI, and Codex UI;
|
|
120
|
+
- localhost watch server with no-store polling;
|
|
121
|
+
- mission-control grid and focus mode;
|
|
122
|
+
- terminal/TUI transcript stage;
|
|
123
|
+
- evidence rail for events, artifacts, and gaps;
|
|
124
|
+
- public-safe Codex UI stream contract with no raw provider payloads.
|
|
125
|
+
|
|
126
|
+
Still next:
|
|
127
|
+
|
|
128
|
+
- real browser actor adapter;
|
|
129
|
+
- real PTY capture;
|
|
130
|
+
- native Codex app-server adapter;
|
|
131
|
+
- screenshot/trace gallery from real products;
|
|
132
|
+
- reviewer acceptance gates over live product behavior.
|
|
133
|
+
|
|
134
|
+
Proof:
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
pnpm mimetic -- watch
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
If browser verification is added, use screenshots of the observer as proof.
|
|
141
|
+
|
|
142
|
+
## Stage 5: Feedback Issue Draft
|
|
143
|
+
|
|
144
|
+
Status: implemented for the synthetic dry-run bundle path.
|
|
145
|
+
|
|
146
|
+
Implement:
|
|
147
|
+
|
|
148
|
+
```bash
|
|
149
|
+
mimetic feedback draft --run latest --json
|
|
150
|
+
mimetic feedback issue --run latest --repo owner/repo --format markdown
|
|
151
|
+
mimetic feedback issue-url --run latest --repo owner/repo
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
Rules:
|
|
155
|
+
|
|
156
|
+
- no GitHub API mutation;
|
|
157
|
+
- no tokens;
|
|
158
|
+
- no Projects;
|
|
159
|
+
- redaction must pass;
|
|
160
|
+
- dry-run-only claims are labeled as contract proof, not product proof;
|
|
161
|
+
- issue body includes `mimetic_feedback` block.
|
|
162
|
+
|
|
163
|
+
Proof:
|
|
164
|
+
|
|
165
|
+
```bash
|
|
166
|
+
pnpm mimetic -- feedback issue --run latest --repo example/app --format markdown
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
## Stage 6: Agent Skill
|
|
170
|
+
|
|
171
|
+
Status: implemented as an installer-visible skills.sh skill under
|
|
172
|
+
`skills/mimetic-cli/SKILL.md`.
|
|
173
|
+
|
|
174
|
+
Create a shareable skill package that teaches agents to install and configure
|
|
175
|
+
Mimetic in target repos.
|
|
176
|
+
|
|
177
|
+
It should cover:
|
|
178
|
+
|
|
179
|
+
- `npm i -D mimetic-cli`;
|
|
180
|
+
- `npx mimetic init`;
|
|
181
|
+
- committed vs ignored layout;
|
|
182
|
+
- public-safety rules;
|
|
183
|
+
- creating personas;
|
|
184
|
+
- creating scenarios;
|
|
185
|
+
- adding E2B/OpenAI env var names without values;
|
|
186
|
+
- running doctor/run/watch/verify/feedback issue;
|
|
187
|
+
- troubleshooting.
|
|
188
|
+
|
|
189
|
+
Proof:
|
|
190
|
+
|
|
191
|
+
```bash
|
|
192
|
+
DISABLE_TELEMETRY=1 npx skills add . --list
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
Future proof: fresh-agent fixture follows the skill and reaches dry-run +
|
|
196
|
+
issue draft.
|
|
197
|
+
|
|
198
|
+
## Stage 6.5: Release Readiness
|
|
199
|
+
|
|
200
|
+
Status: public package candidate, blocked only on explicit publish approval.
|
|
201
|
+
|
|
202
|
+
Readiness lives in
|
|
203
|
+
[`docs/release/open-source-readiness.md`](../release/open-source-readiness.md).
|
|
204
|
+
The package has MIT metadata and public npm package shape. `npm publish`
|
|
205
|
+
remains a human release action.
|
|
206
|
+
|
|
207
|
+
## Stage 6.75: Self-Dogfood Config
|
|
208
|
+
|
|
209
|
+
Status: implemented for dry-run contract proof.
|
|
210
|
+
|
|
211
|
+
The repository now includes committed `mimetic/` source files so Mimetic can run
|
|
212
|
+
against `mimetic-cli` itself. This makes `doctor` green on the repo, lets
|
|
213
|
+
dry-run bundles read and digest `mimetic/personas/synthetic-new-user.yaml` and
|
|
214
|
+
`mimetic/scenarios/first-run-smoke.yaml`, and keeps the live Codex TUI actor gap
|
|
215
|
+
explicit. The live Codex TUI dogfood path and noninteractive `codex-exec`
|
|
216
|
+
fanout hardening are tracked in
|
|
217
|
+
[#28](https://github.com/danielgwilson/mimetic-cli/issues/28).
|
|
218
|
+
|
|
219
|
+
## Stage 6.8: One-Command Watch UX
|
|
220
|
+
|
|
221
|
+
Status: implemented for synthetic contract-proof stream lanes.
|
|
222
|
+
|
|
223
|
+
`mimetic watch` now creates a fresh four-lane synthetic run, renders Observer,
|
|
224
|
+
starts a localhost watch server, opens the served Observer in the browser, and
|
|
225
|
+
keeps the shell attached. The CI-safe form is `mimetic watch --json --no-open`.
|
|
226
|
+
`--sims <n>` remains the explicit scale control, and `--run <id>` watches
|
|
227
|
+
existing evidence.
|
|
228
|
+
|
|
229
|
+
## Stage 6.9: OSS Meta-Lab
|
|
230
|
+
|
|
231
|
+
Status: implemented as an experimental live Observer-of-Observers bootstrap
|
|
232
|
+
with a retained disposable smoke harness.
|
|
233
|
+
|
|
234
|
+
`mimetic lab oss` opens the top-level Observer for public OSS meta-sims. Each
|
|
235
|
+
lane is assigned a public GitHub `owner/repo` slug from `--repos` or repeated
|
|
236
|
+
`--repo` values and carries the headed E2B desktop + Codex TUI bootstrap prompt
|
|
237
|
+
for setting up Mimetic inside that repo and keeping the nested Observer visible.
|
|
238
|
+
When live keys are present, Mimetic launches E2B desktops, uploads the locally
|
|
239
|
+
packed Mimetic package, starts visible bootstrap terminals, clones each assigned
|
|
240
|
+
repo inside the desktop, runs nested Mimetic setup/proof commands, attempts a
|
|
241
|
+
Codex TUI pass, and opens the nested Observer in the sandbox browser.
|
|
242
|
+
|
|
243
|
+
`mimetic lab oss-smoke` keeps the earlier clone/discard proof loop: shallow
|
|
244
|
+
clone lightweight public GitHub repositories into ignored `.mimetic/tmp`, apply
|
|
245
|
+
Mimetic setup in disposable clones, run the four-lane synthetic Observer proof,
|
|
246
|
+
verify it, record git-status evidence, write an ignored
|
|
247
|
+
`.mimetic/lab/oss/<run-id>/` report, and remove clones by default.
|
|
248
|
+
|
|
249
|
+
Proof:
|
|
250
|
+
|
|
251
|
+
```bash
|
|
252
|
+
pnpm mimetic -- lab oss --detach --open --repos developit/mitt,lukeed/clsx
|
|
253
|
+
pnpm mimetic -- lab oss --dry-run --json --no-open --repos developit/mitt,lukeed/clsx
|
|
254
|
+
pnpm mimetic -- lab oss-smoke --limit 1 --json
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
Next substrate work: poll the remote bootstrap logs and nested Observer health
|
|
258
|
+
back into the top-level bundle so the Observer can graduate each lane from
|
|
259
|
+
`running` to explicit `passed` or `failed` without relying on a human watching
|
|
260
|
+
the E2B stream.
|
|
261
|
+
|
|
262
|
+
## Stage 7: Local Browser And First Real Adapter
|
|
263
|
+
|
|
264
|
+
Only after the package and dry-run path are stable:
|
|
265
|
+
|
|
266
|
+
- local app target detection;
|
|
267
|
+
- Playwright/browser substrate;
|
|
268
|
+
- first scripted browser scenario;
|
|
269
|
+
- browser-app adapter fixture.
|
|
270
|
+
|
|
271
|
+
Proof:
|
|
272
|
+
|
|
273
|
+
- real browser screenshots in `.mimetic/runs`;
|
|
274
|
+
- observer renders screenshots;
|
|
275
|
+
- `verify` validates bundle.
|
|
276
|
+
|
|
277
|
+
## Non-Goals For V0
|
|
278
|
+
|
|
279
|
+
- live E2B;
|
|
280
|
+
- OpenAI computer-use actor;
|
|
281
|
+
- live GitHub mutation;
|
|
282
|
+
- hosted queues/databases/webhooks;
|
|
283
|
+
- provider spend;
|
|
284
|
+
- production deploys;
|
|
285
|
+
- real user/persona data;
|
|
286
|
+
- private upstream artifacts.
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mimetic-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Open-source-safe CLI for persona simulation, observer review, and public-safe feedback drafts.",
|
|
5
|
+
"author": "Daniel G Wilson <daniel@danielgwilson.com>",
|
|
5
6
|
"keywords": [
|
|
6
7
|
"agent-harness",
|
|
7
8
|
"cli",
|
|
@@ -27,11 +28,22 @@
|
|
|
27
28
|
"mimetic": "./dist/cli.js"
|
|
28
29
|
},
|
|
29
30
|
"files": [
|
|
31
|
+
"AGENTS.md",
|
|
30
32
|
"dist",
|
|
33
|
+
"docs/architecture",
|
|
31
34
|
"docs/assets",
|
|
35
|
+
"docs/contracts",
|
|
36
|
+
"docs/goals",
|
|
37
|
+
"docs/principles",
|
|
38
|
+
"docs/product",
|
|
39
|
+
"docs/ramp",
|
|
40
|
+
"docs/release",
|
|
41
|
+
"docs/roadmap",
|
|
32
42
|
"skills",
|
|
33
43
|
"README.md",
|
|
34
|
-
"LICENSE"
|
|
44
|
+
"LICENSE",
|
|
45
|
+
"SECURITY.md",
|
|
46
|
+
"CONTRIBUTING.md"
|
|
35
47
|
],
|
|
36
48
|
"publishConfig": {
|
|
37
49
|
"access": "public"
|
|
@@ -12,7 +12,7 @@ private artifacts. Keep every example synthetic and public-safe.
|
|
|
12
12
|
|
|
13
13
|
Never read, copy, commit, summarize, or generate PII, PHI, secrets, keys,
|
|
14
14
|
tokens, raw private transcripts, private screenshots, raw customer data, raw
|
|
15
|
-
patient data, or private
|
|
15
|
+
patient data, or private upstream artifacts.
|
|
16
16
|
|
|
17
17
|
Do not edit `.env` or secret files. Do not paste credential values. Use env var
|
|
18
18
|
names only, usually `OPENAI_API_KEY` and `E2B_API_KEY`. Stop before live
|