@hobocode/thought-layer 0.4.1 → 0.4.2
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/README.md +6 -2
- package/SECURITY.md +48 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -17,6 +17,10 @@ This is open source and BYOK by design. The point is to help people build real t
|
|
|
17
17
|
- **thought-layer-prd.** Draft the complete PRD — with a first-cut domain glossary and testable requirements — from the validated idea and business model. The plan the grill then hardens.
|
|
18
18
|
- **thought-layer-grill.** The last design step: grills the draft PRD against the domain one question at a time, sharpening the glossary and hardening the requirements inline until it is build-ready. Runs after the PRD, not instead of the framework.
|
|
19
19
|
- **thought-layer-naming.** Name the thing, with rationale and domain-ready slugs.
|
|
20
|
+
- **thought-layer-build.** Build the hardened PRD into a static-first, deploy-ready artifact, verified to run, and leave a manifest the deploy step reads.
|
|
21
|
+
- **thought-layer-deploy.** Take the build live to a URL you own, with no lock-in: a Netlify token deploys into your own account, or the Netlify CLI handles a logged-in or anonymous deploy.
|
|
22
|
+
- **thought-layer-speedrun.** A fast, unranked path to a build-ready spec when you do not need the full panel and score.
|
|
23
|
+
- **Optional deep-dives**, pulled in when you want to go further than the backbone: `thought-layer-strategy`, `thought-layer-brand`, `thought-layer-market-research`, and `thought-layer-business-model`.
|
|
20
24
|
|
|
21
25
|
**A Pi package** that adds, on top of the skills:
|
|
22
26
|
|
|
@@ -30,11 +34,11 @@ This is open source and BYOK by design. The point is to help people build real t
|
|
|
30
34
|
|
|
31
35
|
```bash
|
|
32
36
|
pi install npm:@hobocode/thought-layer
|
|
33
|
-
# or
|
|
37
|
+
# or track the latest from GitHub:
|
|
34
38
|
pi install git:github.com/hobocode-ofc/thought-layer-kit
|
|
35
39
|
```
|
|
36
40
|
|
|
37
|
-
Installing the package lights up the skills, the `/tl` commands, and the `tl_score
|
|
41
|
+
Installing the package lights up the skills, the `/tl` commands, and the deterministic tools (`tl_score`, `tl_domains`, `tl_project`, `tl_state`, `tl_scaffold`, `deploy`). You can also invoke a skill directly with `/skill:thought-layer-panel`.
|
|
38
42
|
|
|
39
43
|
### Claude Code (or any agent that reads the Agent Skills format)
|
|
40
44
|
|
package/SECURITY.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Security
|
|
2
|
+
|
|
3
|
+
The Thought Layer Kit is bring-your-own-key by design. It has no server, no
|
|
4
|
+
telemetry, and no central account. The threat model and the guarantees below
|
|
5
|
+
follow from that.
|
|
6
|
+
|
|
7
|
+
## What the kit handles
|
|
8
|
+
|
|
9
|
+
- **Secrets are read from the environment only.** The Netlify token
|
|
10
|
+
(`NETLIFY_AUTH_TOKEN` / `NETLIFY_TOKEN`) and the domain-check key
|
|
11
|
+
(`THOUGHT_LAYER_DOMAIN_KEY` / `RAPIDAPI_KEY`) are read from `process.env`. They
|
|
12
|
+
are never accepted as tool or CLI parameters, never logged or printed, and
|
|
13
|
+
never written to disk. The `deploy.json` record stores the resulting URLs and
|
|
14
|
+
ids, never the token.
|
|
15
|
+
- **Deploys go to your own account.** With a token, the deploy uses Netlify's
|
|
16
|
+
file-digest API to publish into your account. With no token, it delegates to
|
|
17
|
+
your installed Netlify CLI (a site in your account when logged in, or an
|
|
18
|
+
anonymous, claimable site when logged out). Nothing is hosted on infrastructure
|
|
19
|
+
we control, and there is no claim handshake we mediate.
|
|
20
|
+
- **No shell injection.** External commands (the Netlify CLI) are invoked with an
|
|
21
|
+
argument array and no shell, so values such as a site name or publish directory
|
|
22
|
+
cannot break out into a shell. Site names are sanitized to `[a-z0-9-]`.
|
|
23
|
+
- **File writes are confined.** The scaffold and state-file writers resolve paths
|
|
24
|
+
against the working directory; the state file and build artifacts live under
|
|
25
|
+
`.thought-layer/` and the chosen publish directory.
|
|
26
|
+
- **No network calls you did not ask for.** The only outbound requests are to the
|
|
27
|
+
Netlify API (deploy) and, if you set a domain key, the RapidAPI domains
|
|
28
|
+
endpoint. There is no analytics or phone-home.
|
|
29
|
+
|
|
30
|
+
## What stays your responsibility
|
|
31
|
+
|
|
32
|
+
- The kit runs inside your own agent (Pi, Claude Code, or another) on your own
|
|
33
|
+
model and keys. The quality and safety of code an agent builds from a spec is a
|
|
34
|
+
function of that agent and model, not the kit.
|
|
35
|
+
- Keep your provider keys and Netlify token in your environment or your agent's
|
|
36
|
+
secret store, not in committed files. `.thought-layer/` and `.env` are
|
|
37
|
+
gitignored in this repo for that reason.
|
|
38
|
+
|
|
39
|
+
## Reporting a vulnerability
|
|
40
|
+
|
|
41
|
+
Email security reports to **jerm@hobocode.net**. Please include steps to
|
|
42
|
+
reproduce and the affected version. We aim to acknowledge within a few days.
|
|
43
|
+
Public disclosure is welcome once a fix is released.
|
|
44
|
+
|
|
45
|
+
## Supported versions
|
|
46
|
+
|
|
47
|
+
The latest published `@hobocode/thought-layer` release on npm is the supported
|
|
48
|
+
version. Fixes ship forward; please update before reporting.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hobocode/thought-layer",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "The Thought Layer: rigor for building. Validate an idea, grill it into a buildable spec, then build and deploy it, inside the agent you already use. BYOK, no telemetry.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Hobocode LLC <jerm@hobocode.net>",
|
|
@@ -70,6 +70,7 @@
|
|
|
70
70
|
"core/deploy-io.ts",
|
|
71
71
|
"dist",
|
|
72
72
|
"README.md",
|
|
73
|
+
"SECURITY.md",
|
|
73
74
|
"LICENSE"
|
|
74
75
|
]
|
|
75
76
|
}
|