human-to-code 0.1.4 → 0.1.5
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/assets/brand/BRAND.md +31 -0
- package/assets/brand/favicon-512.png +0 -0
- package/assets/brand/favicon.svg +5 -0
- package/assets/brand/logo-concept.png +0 -0
- package/assets/brand/logo-mark-dark.svg +7 -0
- package/assets/brand/logo-mark.svg +7 -0
- package/assets/brand/social-card.png +0 -0
- package/assets/brand/social-card.svg +42 -0
- package/assets/brand/wordmark-dark.svg +10 -0
- package/assets/brand/wordmark.svg +10 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +28 -18
- package/dist/cli.js.map +1 -1
- package/dist/pipeline/simple.d.ts +47 -0
- package/dist/pipeline/simple.d.ts.map +1 -1
- package/dist/pipeline/simple.js +110 -7
- package/dist/pipeline/simple.js.map +1 -1
- package/docs/roadmap/README.md +69 -0
- package/docs/roadmap/bash.md +46 -0
- package/docs/roadmap/csharp.md +44 -0
- package/docs/roadmap/dart.md +43 -0
- package/docs/roadmap/docker.md +46 -0
- package/docs/roadmap/go.md +47 -0
- package/docs/roadmap/html-css.md +47 -0
- package/docs/roadmap/java.md +48 -0
- package/docs/roadmap/kotlin.md +44 -0
- package/docs/roadmap/php.md +42 -0
- package/docs/roadmap/ruby.md +46 -0
- package/docs/roadmap/sql.md +48 -0
- package/docs/roadmap/swift.md +43 -0
- package/docs/roadmap/terraform.md +47 -0
- package/docs/roadmap/yaml.md +47 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simple.js","sourceRoot":"","sources":["../../src/pipeline/simple.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,Q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,EAAE,CAAC,CAAC;QAC9H,MAAM,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC;QAClE,OAAO,IAAI,CAAC,UAAW,CAAC;IAC1B,CAAC;IACD,kEAAkE;IAClE,MAAM,QAAQ,GAAG,MAAM,QAAQ,CAAC,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;IAC7D,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,KAAM,CAAC;IACnC,MAAM,QAAQ,GAAG,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,GAAG,IAAI,CAAC,IAAI,EAAE,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC;IACnF,MAAM,SAAS,CAAC,IAAI,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;IAC/C,OAAO,IAAI,CAAC,UAAU,CAAC;AACzB,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,UAAU,CAAC,MAAc;IAC7C,IAAI,CAAC;QACH,MAAM,IAAI,CAAC,MAAM,CAAC,CAAC;QACnB,OAAO,IAAI,CAAC;IACd,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC;AAED,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Language & framework support roadmap
|
|
2
|
+
|
|
3
|
+
One file per language/framework we intend to support. Each file is an
|
|
4
|
+
integration plan, not a promise of a date — items are implemented one by one,
|
|
5
|
+
and a plan graduates out of this folder when its profile ships.
|
|
6
|
+
|
|
7
|
+
## The four support levels
|
|
8
|
+
|
|
9
|
+
Support in human-to-code is layered; "supporting a language" means moving it
|
|
10
|
+
up this ladder deliberately:
|
|
11
|
+
|
|
12
|
+
1. **Direct path** (`src/pipeline/simple.ts`) — the language has an entry in
|
|
13
|
+
`LANGUAGE_PROFILES` (output extension + prompt label) and, if it has an
|
|
14
|
+
inline-comment form, its source extensions are in `SCANNED_EXTENSIONS` for
|
|
15
|
+
`@human` markers. No grounding, no validation; receipt-and-confirm only.
|
|
16
|
+
*Today: TypeScript, JavaScript, Python, Rust, Go, Java, Ruby, C#, C++, C.*
|
|
17
|
+
2. **General fallback** (`src/analysis/adapters/general.ts`) — any declared
|
|
18
|
+
language can flow through the guided pipeline ungrounded, permanently
|
|
19
|
+
`INCONCLUSIVE`. This exists for every language already; it is the floor,
|
|
20
|
+
not a goal.
|
|
21
|
+
3. **Grounded profile** — a static `EcosystemAdapter` recognizes real
|
|
22
|
+
projects, collects version evidence, and emits a validation plan; the
|
|
23
|
+
variant is declared in the support matrix at `preview` tier. This is what
|
|
24
|
+
each plan in this folder describes.
|
|
25
|
+
4. **Certified** — the profile passes the benchmark gate in
|
|
26
|
+
`src/providers/certification.ts` (≥25 tasks × 3 runs × ≥95% strong-sandbox
|
|
27
|
+
pass rate per provider/model). Never self-declared.
|
|
28
|
+
|
|
29
|
+
## What every plan must cover
|
|
30
|
+
|
|
31
|
+
The integration steps are fixed by [docs/SCALABILITY.md](../SCALABILITY.md#adding-an-ecosystem-eg-django-spring);
|
|
32
|
+
each plan fills in the language-specific facts:
|
|
33
|
+
|
|
34
|
+
| Section | It answers |
|
|
35
|
+
| --- | --- |
|
|
36
|
+
| Status today | Which level (1/2) the language sits at right now. |
|
|
37
|
+
| Target profile | The `Ecosystem` name, variants, and version range for the support matrix. |
|
|
38
|
+
| Detection signals | Manifests/lockfiles/config the static adapter may read — never execute. |
|
|
39
|
+
| Version evidence | Where exact resolved versions come from (lockfile, manifest pin). |
|
|
40
|
+
| Validation plan | Candidate commands (argv arrays) the sandbox would run — build, test, lint. |
|
|
41
|
+
| Skill pack | Conventions the `compiler-skills.ts` policy pack must encode. |
|
|
42
|
+
| Risks & gates | What must be treated as elevated risk or refused (codegen hooks, FFI, migrations…). |
|
|
43
|
+
| Checklist | The mechanical steps, in order, with test obligations. |
|
|
44
|
+
|
|
45
|
+
Ground rules that apply to every plan (from CONTRIBUTING.md's invariants):
|
|
46
|
+
analysis stays static and read-only; new variants start at `preview`; support
|
|
47
|
+
is declared in `support-matrix.ts`, never inferred; ambiguity returns
|
|
48
|
+
`NEEDS_INPUT`/`UNSUPPORTED` rather than guessing; adding an `Ecosystem` value
|
|
49
|
+
is a schema-visible change and updates `analyzer-types.ts`, skills selection,
|
|
50
|
+
and the certification profile keys together.
|
|
51
|
+
|
|
52
|
+
## Plans
|
|
53
|
+
|
|
54
|
+
| Plan | Kind | Sits at level | Target |
|
|
55
|
+
| --- | --- | --- | --- |
|
|
56
|
+
| [go.md](go.md) | language | 1 (direct path) | Go modules ecosystem |
|
|
57
|
+
| [java.md](java.md) | language | 1 (direct path) | Maven/Gradle ecosystem |
|
|
58
|
+
| [csharp.md](csharp.md) | language | 1 (direct path) | .NET SDK ecosystem |
|
|
59
|
+
| [ruby.md](ruby.md) | language | 1 (direct path) | Bundler/Rails ecosystem |
|
|
60
|
+
| [php.md](php.md) | language | 2 (general only) | Composer/Laravel ecosystem |
|
|
61
|
+
| [swift.md](swift.md) | language | 2 (general only) | SwiftPM ecosystem |
|
|
62
|
+
| [kotlin.md](kotlin.md) | language | 2 (general only) | Gradle/Android ecosystem |
|
|
63
|
+
| [dart.md](dart.md) | language | 2 (general only) | Pub/Flutter ecosystem |
|
|
64
|
+
| [bash.md](bash.md) | language | 2 (general only) | Shell-script profile |
|
|
65
|
+
| [sql.md](sql.md) | language | 2 (general only) | Migration-aware SQL profile |
|
|
66
|
+
| [yaml.md](yaml.md) | config | 2 (general only) | Schema-validated config profile |
|
|
67
|
+
| [html-css.md](html-css.md) | language | 2 (general only) | Static web profile |
|
|
68
|
+
| [docker.md](docker.md) | infra | 2 (general only) | Dockerfile/Compose profile |
|
|
69
|
+
| [terraform.md](terraform.md) | infra | 2 (general only) | Terraform/HCL profile |
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Bash / shell-script support plan
|
|
2
|
+
|
|
3
|
+
## Status today
|
|
4
|
+
Level 2 only: not in `LANGUAGE_PROFILES`; `.sh` not scanned for markers
|
|
5
|
+
(`# @human` markers would already parse — the `#` comment form is supported
|
|
6
|
+
by the marker regex — but `.sh` files are not in `SCANNED_EXTENSIONS`).
|
|
7
|
+
|
|
8
|
+
## Target profile
|
|
9
|
+
- `Ecosystem`: `shell`.
|
|
10
|
+
- Variant: `script-collection` — a repo (or subtree) of `*.sh`/`*.bash`
|
|
11
|
+
scripts. There is no manifest, so this profile is signal-based:
|
|
12
|
+
shebang lines + extension inventory, and it should stay deliberately
|
|
13
|
+
narrow. Anything ambiguous stays with the general fallback.
|
|
14
|
+
- Versions: bash ≥ 4 assumed by image; POSIX-sh scripts flagged by shebang.
|
|
15
|
+
|
|
16
|
+
## Detection signals (static only)
|
|
17
|
+
- Shebangs (`#!/usr/bin/env bash`, `#!/bin/sh`), `.shellcheckrc`,
|
|
18
|
+
`Makefile` targets referencing scripts, `bats` test files (`*.bats`).
|
|
19
|
+
|
|
20
|
+
## Version evidence
|
|
21
|
+
No package manager: dependency grounding is out of scope. The profile's
|
|
22
|
+
honesty lever is that generation is anchored to shellcheck-clean patterns
|
|
23
|
+
rather than external APIs.
|
|
24
|
+
|
|
25
|
+
## Validation plan
|
|
26
|
+
- `["shellcheck", "<changed scripts>"]` and `["bash", "-n", "<script>"]`
|
|
27
|
+
syntax checks; `["bats", "test/"]` when a bats suite exists. All in the
|
|
28
|
+
sandbox image — scripts themselves are never executed outside it.
|
|
29
|
+
|
|
30
|
+
## Skill pack
|
|
31
|
+
`set -euo pipefail` discipline, quoting rules, `trap` cleanup, no curl-pipe
|
|
32
|
+
patterns (aligns with the validator's implicit-downloader rejection),
|
|
33
|
+
portable vs bash-specific constructs by shebang.
|
|
34
|
+
|
|
35
|
+
## Risks & gates
|
|
36
|
+
Every script is arbitrary code — validation runs syntax/lint/bats only,
|
|
37
|
+
never the script itself. Scripts that self-modify or fetch remote content
|
|
38
|
+
must be flagged as elevated risk in contracts.
|
|
39
|
+
|
|
40
|
+
## Checklist
|
|
41
|
+
0. Add `bash` to `LANGUAGE_PROFILES` (`.sh`) and `.sh`/`.bash` to `SCANNED_EXTENSIONS`.
|
|
42
|
+
1. `Ecosystem` union + `analysis/adapters/shell.ts` (small, signal-based).
|
|
43
|
+
2. `shell/script-collection` at `preview`.
|
|
44
|
+
3. Register adapter; shell skill pack.
|
|
45
|
+
4. Tests: shebang inventory, non-script repos not claimed, bats detection, stable fingerprints.
|
|
46
|
+
5. Docs updates.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# C# / .NET support plan
|
|
2
|
+
|
|
3
|
+
## Status today
|
|
4
|
+
Level 1: `LANGUAGE_PROFILES` has `csharp` (`.cs`), and `.cs` is scanned for
|
|
5
|
+
inline `// @human` markers. No grounded profile.
|
|
6
|
+
|
|
7
|
+
## Target profile
|
|
8
|
+
- `Ecosystem`: `dotnet`.
|
|
9
|
+
- Variants: `sdk-project` (single `.csproj`), `solution` (`.sln` with
|
|
10
|
+
multiple projects), with ASP.NET Core detected as a framework signal.
|
|
11
|
+
- Versions: .NET 8 LTS+ (from `<TargetFramework>`).
|
|
12
|
+
|
|
13
|
+
## Detection signals (static only)
|
|
14
|
+
- `.sln` project references; `.csproj` `<TargetFramework>`, `<PackageReference>`,
|
|
15
|
+
`<Nullable>`, `<ImplicitUsings>`.
|
|
16
|
+
- `Program.cs` minimal-hosting vs `Startup.cs` as entry-point signals;
|
|
17
|
+
`*.Tests.csproj` for test roots. Never invoke `dotnet`.
|
|
18
|
+
|
|
19
|
+
## Version evidence
|
|
20
|
+
`packages.lock.json` when `RestorePackagesWithLockFile` is enabled gives
|
|
21
|
+
exact versions; otherwise `<PackageReference Version="...">` literals. Range
|
|
22
|
+
versions without a lockfile leave the dependency unproven for API grounding.
|
|
23
|
+
|
|
24
|
+
## Validation plan
|
|
25
|
+
- `["dotnet", "build", "--nologo"]`, `["dotnet", "test", "--nologo"]` against
|
|
26
|
+
a preinstalled SDK image matching `<TargetFramework>`; NuGet restore needs
|
|
27
|
+
either a no-network local cache or is `INCONCLUSIVE` (validation has no network).
|
|
28
|
+
|
|
29
|
+
## Skill pack
|
|
30
|
+
Nullable-reference-type discipline; DI via `IServiceCollection`; xUnit
|
|
31
|
+
conventions; `record` for DTOs; generated `obj/`/`bin/` and `*.Designer.cs`
|
|
32
|
+
protected.
|
|
33
|
+
|
|
34
|
+
## Risks & gates
|
|
35
|
+
Source generators/analyzers in project files, `unsafe` blocks, P/Invoke
|
|
36
|
+
(`DllImport`), and EF Core migrations are elevated-risk; migrations are
|
|
37
|
+
generated for review, never applied (existing invariant).
|
|
38
|
+
|
|
39
|
+
## Checklist
|
|
40
|
+
1. `Ecosystem` union + `analysis/adapters/dotnet.ts`.
|
|
41
|
+
2. `dotnet/sdk-project`, `dotnet/solution` at `preview`.
|
|
42
|
+
3. Register adapter; .NET skill pack.
|
|
43
|
+
4. Tests: solution/project graph ambiguity, lockfile vs floating versions, offline-restore behavior, stable fingerprints.
|
|
44
|
+
5. Docs updates.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Dart / Flutter support plan
|
|
2
|
+
|
|
3
|
+
## Status today
|
|
4
|
+
Level 2 only: not in `LANGUAGE_PROFILES`; `.dart` not scanned for markers.
|
|
5
|
+
|
|
6
|
+
## Target profile
|
|
7
|
+
- `Ecosystem`: `dart`.
|
|
8
|
+
- Variants: `package` (pure Dart), `flutter-app` (validation limited to
|
|
9
|
+
`flutter test` unit/widget tests — no device/emulator).
|
|
10
|
+
- Versions: Dart ≥ 3.0 (from `environment.sdk` in `pubspec.yaml`).
|
|
11
|
+
|
|
12
|
+
## Detection signals (static only)
|
|
13
|
+
- `pubspec.yaml` (`environment`, `dependencies`, `flutter:` section),
|
|
14
|
+
`pubspec.lock`, `lib/`, `test/`, `analysis_options.yaml`. The `flutter`
|
|
15
|
+
SDK dependency distinguishes the variants. Never run `dart`/`flutter` CLIs.
|
|
16
|
+
|
|
17
|
+
## Version evidence
|
|
18
|
+
`pubspec.lock` is exact and required for grounding; caret ranges in
|
|
19
|
+
`pubspec.yaml` alone are unproven.
|
|
20
|
+
|
|
21
|
+
## Validation plan
|
|
22
|
+
- `["dart", "analyze"]` + `["dart", "test"]`, or `["flutter", "test"]` for
|
|
23
|
+
the flutter variant, in an image with the SDK and a primed pub cache
|
|
24
|
+
(sandbox has no network for `pub get`).
|
|
25
|
+
|
|
26
|
+
## Skill pack
|
|
27
|
+
Effective-Dart naming/layout, null-safety, widget test conventions,
|
|
28
|
+
`build_runner` outputs (`*.g.dart`, `*.freezed.dart`) protected as
|
|
29
|
+
generated files.
|
|
30
|
+
|
|
31
|
+
## Risks & gates
|
|
32
|
+
`build_runner` codegen (never run by the tool; generated files protected),
|
|
33
|
+
platform channels/FFI, and Flutter platform folders (`android/`, `ios/`)
|
|
34
|
+
which follow their own ecosystems' rules — treat as prohibited paths
|
|
35
|
+
initially.
|
|
36
|
+
|
|
37
|
+
## Checklist
|
|
38
|
+
0. Add `dart` to `LANGUAGE_PROFILES` (`.dart`) and scan `.dart` for `// @human`.
|
|
39
|
+
1. `Ecosystem` union + `analysis/adapters/dart.ts`.
|
|
40
|
+
2. `dart/package`, `dart/flutter-app` at `preview`.
|
|
41
|
+
3. Register adapter; Dart/Flutter skill pack.
|
|
42
|
+
4. Tests: lock absence, flutter vs pure-dart, generated-file protection, stable fingerprints.
|
|
43
|
+
5. Docs updates.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Docker / containerfile support plan
|
|
2
|
+
|
|
3
|
+
## Status today
|
|
4
|
+
Level 2 only. Note the tool already *consumes* Docker/Podman as its
|
|
5
|
+
validation sandbox (`src/pipeline/validation.ts`); this plan is about
|
|
6
|
+
generating and editing Dockerfiles/Compose files as change targets.
|
|
7
|
+
|
|
8
|
+
## Target profile
|
|
9
|
+
- `Ecosystem`: `container`.
|
|
10
|
+
- Variants: `dockerfile` (Dockerfile/Containerfile present),
|
|
11
|
+
`compose` (`compose.yaml`/`docker-compose.yml`), usually attached as a
|
|
12
|
+
secondary workspace signal to the ecosystem that owns the app.
|
|
13
|
+
- Versions: Compose schema version; base-image tags/digests as evidence.
|
|
14
|
+
|
|
15
|
+
## Detection signals (static only)
|
|
16
|
+
- `Dockerfile*`, `Containerfile`, `compose*.y(a)ml`, `.dockerignore`;
|
|
17
|
+
`FROM` lines (stage graph), `COPY --from` references — all textual.
|
|
18
|
+
|
|
19
|
+
## Version evidence
|
|
20
|
+
Base images pinned by digest are proven; tag-only `FROM` lines are recorded
|
|
21
|
+
as unpinned evidence and the skill pack pushes toward digests. Compose
|
|
22
|
+
`image:` entries likewise.
|
|
23
|
+
|
|
24
|
+
## Validation plan
|
|
25
|
+
- `["hadolint", "Dockerfile"]` lint in the sandbox image;
|
|
26
|
+
`["docker", "compose", "config", "-q"]` for Compose syntax (offline,
|
|
27
|
+
no engine calls beyond config parsing). An actual `docker build` is
|
|
28
|
+
arbitrary remote-fetching execution — out of scope for validation; at
|
|
29
|
+
most a later opt-in tier with a network-off buildkit and preloaded bases.
|
|
30
|
+
|
|
31
|
+
## Skill pack
|
|
32
|
+
Multi-stage builds, non-root `USER`, explicit `WORKDIR`, no secrets in
|
|
33
|
+
layers/ARGs (aligns with the secret scanner), `.dockerignore` completeness,
|
|
34
|
+
healthchecks, digest pinning.
|
|
35
|
+
|
|
36
|
+
## Risks & gates
|
|
37
|
+
`FROM` changes, new `RUN curl | sh` patterns (refuse — matches the
|
|
38
|
+
implicit-downloader rejection), privileged/host-mount Compose options, and
|
|
39
|
+
port/secret exposure are elevated-risk requiring contract authorization.
|
|
40
|
+
|
|
41
|
+
## Checklist
|
|
42
|
+
1. `Ecosystem` union + `analysis/adapters/container.ts`.
|
|
43
|
+
2. `container/dockerfile`, `container/compose` at `preview`.
|
|
44
|
+
3. Skill pack; patch-policy tests for RUN-pattern and privilege gating.
|
|
45
|
+
4. Tests: multi-stage graphs, digest vs tag evidence, compose schema versions.
|
|
46
|
+
5. Docs updates.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Go support plan
|
|
2
|
+
|
|
3
|
+
## Status today
|
|
4
|
+
Level 1: `LANGUAGE_PROFILES` has `go` (`.go`), and `.go` is in
|
|
5
|
+
`SCANNED_EXTENSIONS`, so whole-file `.human` and inline `// @human` markers
|
|
6
|
+
already work through the direct path. No grounded profile.
|
|
7
|
+
|
|
8
|
+
## Target profile
|
|
9
|
+
- `Ecosystem`: `go` (new union member in `analyzer-types.ts`).
|
|
10
|
+
- Variants: `module` (single `go.mod`), `workspace` (`go.work`), with
|
|
11
|
+
HTTP-framework signals (net/http, chi, gin, echo) recorded as profile
|
|
12
|
+
signals, not variants, until one earns its own entry.
|
|
13
|
+
- Versions: Go ≥ 1.21 (from the `go` directive in `go.mod`).
|
|
14
|
+
|
|
15
|
+
## Detection signals (static only)
|
|
16
|
+
- `go.mod` — module path, `go`/`toolchain` directives, `require` blocks.
|
|
17
|
+
- `go.sum` — presence distinguishes resolved deps; `go.work`/`go.work.sum`
|
|
18
|
+
for workspaces. Conflicting nested modules without `go.work` → `NEEDS_INPUT`.
|
|
19
|
+
- `*_test.go` naming for test roots; `cmd/`, `internal/`, `pkg/` conventions
|
|
20
|
+
for entry-point/source-root inventory. Never run `go list`.
|
|
21
|
+
|
|
22
|
+
## Version evidence
|
|
23
|
+
`go.mod` `require` lines give exact pinned versions (Go modules pin by
|
|
24
|
+
design); `go.sum` corroborates. Both are protected/lockfile paths the model
|
|
25
|
+
must not edit.
|
|
26
|
+
|
|
27
|
+
## Validation plan (sandbox argv arrays)
|
|
28
|
+
- `["go", "build", "./..."]`, `["go", "vet", "./..."]`, `["go", "test", "./..."]`.
|
|
29
|
+
- Needs a Go toolchain image; record the `go` directive so an image mismatch
|
|
30
|
+
is `INCONCLUSIVE`, not a guess.
|
|
31
|
+
|
|
32
|
+
## Skill pack
|
|
33
|
+
Module-path-relative imports only; table-driven tests; error-wrapping
|
|
34
|
+
(`%w`) conventions; no `init()` side effects; generated files
|
|
35
|
+
(`*_gen.go`, `zz_generated*`) are protected.
|
|
36
|
+
|
|
37
|
+
## Risks & gates
|
|
38
|
+
`cgo`, `unsafe`, `//go:generate`, build tags, and replace directives are
|
|
39
|
+
elevated-risk and need explicit contract authorization — same posture as
|
|
40
|
+
Rust's `unsafe`/FFI gates.
|
|
41
|
+
|
|
42
|
+
## Checklist
|
|
43
|
+
1. Add `go` to the `Ecosystem` union + `analysis/adapters/go.ts` implementing `EcosystemAdapter`.
|
|
44
|
+
2. Declare `go/module` + `go/workspace` in `support-matrix.ts` at `preview`.
|
|
45
|
+
3. Register in `DEFAULT_ECOSYSTEM_ADAPTERS`; add a Go skill pack in `compiler-skills.ts`.
|
|
46
|
+
4. Tests per CONTRIBUTING's analyzer checklist: nested modules, missing `go.sum`, `go.work` ambiguity, cgo detection, stable fingerprints.
|
|
47
|
+
5. Update `docs/MODULES.md` and the support matrix section of the README.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# HTML & CSS support plan
|
|
2
|
+
|
|
3
|
+
## Status today
|
|
4
|
+
Level 2 only: not in `LANGUAGE_PROFILES`. React/Vite workspaces already
|
|
5
|
+
cover most component markup/styling through the existing node adapter; this
|
|
6
|
+
plan is for *static* sites and stylesheet-centric projects.
|
|
7
|
+
|
|
8
|
+
## Target profile
|
|
9
|
+
- `Ecosystem`: `static-web`.
|
|
10
|
+
- Variant: `static-site` — plain HTML/CSS/vanilla-JS trees (like this
|
|
11
|
+
repo's `website/`), optionally with a recognized static generator config
|
|
12
|
+
(Eleventy, Astro static) as a later variant.
|
|
13
|
+
- Signals: `index.html` at a root, no framework manifest claiming the tree.
|
|
14
|
+
|
|
15
|
+
## Detection signals (static only)
|
|
16
|
+
- `index.html` + sibling `*.css`/`*.js` without `package.json` build
|
|
17
|
+
tooling; `<link rel="stylesheet">`/`<script src>` graphs (textual);
|
|
18
|
+
generator configs (`.eleventy.js`, `astro.config.*`) detected but not
|
|
19
|
+
executed.
|
|
20
|
+
|
|
21
|
+
## Version evidence
|
|
22
|
+
CDN dependencies (script/link URLs) are recorded as evidence with their
|
|
23
|
+
pinned versions when the URL encodes one; unpinned CDN URLs are flagged —
|
|
24
|
+
the skill pack should push toward pinned or vendored assets.
|
|
25
|
+
|
|
26
|
+
## Validation plan
|
|
27
|
+
- `["npx", "html-validate", "<files>"]` and `["npx", "stylelint", "<files>"]`
|
|
28
|
+
style checks with tools preinstalled in the image; link-graph check
|
|
29
|
+
(internal hrefs resolve) implementable in-process without execution.
|
|
30
|
+
|
|
31
|
+
## Skill pack
|
|
32
|
+
Semantic landmarks, heading order, alt text, `prefers-reduced-motion` and
|
|
33
|
+
`prefers-color-scheme` support, no inline event handlers, responsive images
|
|
34
|
+
— accessibility is the correctness bar for markup.
|
|
35
|
+
|
|
36
|
+
## Risks & gates
|
|
37
|
+
Third-party `<script src>` additions are supply-chain-sensitive →
|
|
38
|
+
elevated-risk, must be pinned and contract-authorized. Inline scripts are
|
|
39
|
+
ordinary code and reviewed as such.
|
|
40
|
+
|
|
41
|
+
## Checklist
|
|
42
|
+
0. Add `html`/`css` to `LANGUAGE_PROFILES` (`.html`, `.css`) for the direct path.
|
|
43
|
+
1. `Ecosystem` union + `analysis/adapters/static-web.ts`.
|
|
44
|
+
2. `static-web/static-site` at `preview`.
|
|
45
|
+
3. Skill pack centred on accessibility conventions.
|
|
46
|
+
4. Tests: framework-owned trees not double-claimed, CDN pin detection, link-graph checks.
|
|
47
|
+
5. Docs updates.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Java support plan
|
|
2
|
+
|
|
3
|
+
## Status today
|
|
4
|
+
Level 1: `LANGUAGE_PROFILES` has `java` (`.java`), and `.java` is scanned for
|
|
5
|
+
inline `// @human` markers. No grounded profile.
|
|
6
|
+
|
|
7
|
+
## Target profile
|
|
8
|
+
- `Ecosystem`: `java`.
|
|
9
|
+
- Variants: `maven` (`pom.xml`) and `gradle` (`build.gradle`/`.kts`,
|
|
10
|
+
`settings.gradle`), with Spring Boot recorded as a framework signal first
|
|
11
|
+
and promoted to its own variant once the adapter proves reliable.
|
|
12
|
+
- Versions: JDK 17+ (from `maven.compiler.release` / Gradle toolchain block).
|
|
13
|
+
|
|
14
|
+
## Detection signals (static only)
|
|
15
|
+
- `pom.xml` parent/modules for Maven multi-module ownership.
|
|
16
|
+
- `settings.gradle(.kts)` `include(...)` for Gradle subprojects — parsed
|
|
17
|
+
textually and conservatively; unresolvable dynamic includes → `NEEDS_INPUT`.
|
|
18
|
+
- `src/main/java`, `src/test/java` for source/test roots; `@SpringBootApplication`
|
|
19
|
+
as an entry-point signal. Never execute Maven/Gradle.
|
|
20
|
+
|
|
21
|
+
## Version evidence
|
|
22
|
+
Maven: exact `<version>` pins in `pom.xml` (property-indirected versions
|
|
23
|
+
resolved only when the property is a literal in the same reactor).
|
|
24
|
+
Gradle: version catalogs (`gradle/libs.versions.toml`) and lockfiles
|
|
25
|
+
(`gradle.lockfile`) when present; otherwise the dependency is unproven and
|
|
26
|
+
API grounding for it must refuse.
|
|
27
|
+
|
|
28
|
+
## Validation plan
|
|
29
|
+
- Maven: `["mvn", "-B", "-q", "verify"]`. Gradle: `["./gradlew", "--no-daemon", "build"]`
|
|
30
|
+
only when the wrapper exists (wrapper jars are arbitrary code — sandbox only).
|
|
31
|
+
- JDK image recorded by version; mismatch is `INCONCLUSIVE`.
|
|
32
|
+
|
|
33
|
+
## Skill pack
|
|
34
|
+
Package/directory correspondence; constructor injection over field injection
|
|
35
|
+
(Spring); JUnit 5 conventions; no reflection-based config edits; generated
|
|
36
|
+
sources under `target/`/`build/` are protected.
|
|
37
|
+
|
|
38
|
+
## Risks & gates
|
|
39
|
+
Annotation processors, Gradle build-script edits, `module-info.java`
|
|
40
|
+
changes, and dependency additions are elevated-risk; build scripts are
|
|
41
|
+
executable code and must never be model-editable.
|
|
42
|
+
|
|
43
|
+
## Checklist
|
|
44
|
+
1. `Ecosystem` union + `analysis/adapters/java.ts`.
|
|
45
|
+
2. `java/maven`, `java/gradle` at `preview` in `support-matrix.ts`.
|
|
46
|
+
3. Register adapter; Java/Spring skill pack.
|
|
47
|
+
4. Adversarial tests: multi-module reactors, dynamic Gradle includes, version properties, wrapper absence, stable fingerprints.
|
|
48
|
+
5. Docs updates (MODULES.md, README support matrix).
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Kotlin support plan
|
|
2
|
+
|
|
3
|
+
## Status today
|
|
4
|
+
Level 2 only: not in `LANGUAGE_PROFILES`; `.kt` not scanned for markers.
|
|
5
|
+
|
|
6
|
+
## Target profile
|
|
7
|
+
- `Ecosystem`: `kotlin` (JVM/Gradle first; Android later as its own variant
|
|
8
|
+
because of SDK/emulator validation constraints).
|
|
9
|
+
- Variants: `gradle-jvm`, then `android` (deferred until a headless
|
|
10
|
+
validation story exists — unit tests only, no instrumented tests).
|
|
11
|
+
- Versions: Kotlin ≥ 1.9 (from the Kotlin Gradle plugin version in the
|
|
12
|
+
version catalog or build script literals).
|
|
13
|
+
|
|
14
|
+
## Detection signals (static only)
|
|
15
|
+
- `build.gradle.kts` with `kotlin("jvm")`/`org.jetbrains.kotlin` plugin
|
|
16
|
+
(textual, conservative), `gradle/libs.versions.toml`,
|
|
17
|
+
`src/main/kotlin`, `src/test/kotlin`; `AndroidManifest.xml` marks the
|
|
18
|
+
android variant. Never execute Gradle.
|
|
19
|
+
|
|
20
|
+
## Version evidence
|
|
21
|
+
Version catalogs and `gradle.lockfile` when present; literal plugin/dependency
|
|
22
|
+
versions otherwise. Dynamic version expressions leave deps unproven.
|
|
23
|
+
|
|
24
|
+
## Validation plan
|
|
25
|
+
- `["./gradlew", "--no-daemon", "test"]` (wrapper = arbitrary code, sandbox
|
|
26
|
+
only, deps preinstalled/cached offline). Android: `testDebugUnitTest` only.
|
|
27
|
+
|
|
28
|
+
## Skill pack
|
|
29
|
+
Null-safety idioms, data classes, coroutines conventions (structured
|
|
30
|
+
concurrency, no `GlobalScope`), JUnit5/Kotest layout, `build/` and generated
|
|
31
|
+
KSP/KAPT output protected.
|
|
32
|
+
|
|
33
|
+
## Risks & gates
|
|
34
|
+
KSP/KAPT processors, Gradle script edits, multiplatform targets, and JNI are
|
|
35
|
+
elevated-risk. Shares most gates with the Java plan — build one Gradle
|
|
36
|
+
inventory helper both adapters reuse (`analyzer-utils.ts` addition).
|
|
37
|
+
|
|
38
|
+
## Checklist
|
|
39
|
+
0. Add `kotlin` to `LANGUAGE_PROFILES` (`.kt`) and scan `.kt`/`.kts` for `// @human`.
|
|
40
|
+
1. `Ecosystem` union + `analysis/adapters/kotlin.ts` (shared Gradle helpers with java.md's adapter).
|
|
41
|
+
2. `kotlin/gradle-jvm` at `preview`; `kotlin/android` deferred and documented.
|
|
42
|
+
3. Register adapter; Kotlin skill pack.
|
|
43
|
+
4. Tests: catalog vs literal versions, multiplatform refusal, Android detection, stable fingerprints.
|
|
44
|
+
5. Docs updates.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# PHP support plan
|
|
2
|
+
|
|
3
|
+
## Status today
|
|
4
|
+
Level 2 only: not in `LANGUAGE_PROFILES` (direct path would fall back to a
|
|
5
|
+
`.txt` profile) and `.php` is not scanned for markers.
|
|
6
|
+
|
|
7
|
+
## Target profile
|
|
8
|
+
- `Ecosystem`: `php`.
|
|
9
|
+
- Variants: `composer-app`, `laravel` (artisan + `bootstrap/app.php`),
|
|
10
|
+
`symfony` later.
|
|
11
|
+
- Versions: PHP ≥ 8.2 (from `composer.json` `require.php`).
|
|
12
|
+
|
|
13
|
+
## Detection signals (static only)
|
|
14
|
+
- `composer.json` (`require`, `autoload.psr-4`), `composer.lock`,
|
|
15
|
+
`artisan`, `routes/`, `app/Http/` for Laravel; `phpunit.xml(.dist)` for
|
|
16
|
+
tests. Never run composer or artisan.
|
|
17
|
+
|
|
18
|
+
## Version evidence
|
|
19
|
+
`composer.lock` `packages[].version` is exact; `composer.json` ranges alone
|
|
20
|
+
leave dependencies unproven.
|
|
21
|
+
|
|
22
|
+
## Validation plan
|
|
23
|
+
- `["vendor/bin/phpunit"]`; `["vendor/bin/phpstan", "analyse"]` when
|
|
24
|
+
configured; `["php", "-l", "<changed files>"]` as a cheap syntax gate.
|
|
25
|
+
`vendor/` must be preinstalled in the image (no network).
|
|
26
|
+
|
|
27
|
+
## Skill pack
|
|
28
|
+
PSR-4 path↔namespace correspondence, PSR-12 style, Laravel conventions
|
|
29
|
+
(form requests for validation, Eloquent scopes), `vendor/` and framework
|
|
30
|
+
cache dirs protected.
|
|
31
|
+
|
|
32
|
+
## Risks & gates
|
|
33
|
+
Laravel migrations review-only; `eval`/dynamic includes opaque to import
|
|
34
|
+
grounding; service-provider registration changes are elevated-risk.
|
|
35
|
+
|
|
36
|
+
## Checklist
|
|
37
|
+
0. Add `php` to `LANGUAGE_PROFILES` (`.php`) and `.php` to `SCANNED_EXTENSIONS` — direct-path quick win.
|
|
38
|
+
1. `Ecosystem` union + `analysis/adapters/php.ts`.
|
|
39
|
+
2. `php/composer-app`, `php/laravel` at `preview`.
|
|
40
|
+
3. Register adapter; PHP/Laravel skill pack.
|
|
41
|
+
4. Tests: missing lockfile, PSR-4 mismatches, Laravel vs plain-composer ambiguity, stable fingerprints.
|
|
42
|
+
5. Docs updates.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Ruby support plan
|
|
2
|
+
|
|
3
|
+
## Status today
|
|
4
|
+
Level 1: `LANGUAGE_PROFILES` has `ruby` (`.rb`); `.rb` is **not** yet in
|
|
5
|
+
`SCANNED_EXTENSIONS`, so inline `# @human` markers in Ruby files are not
|
|
6
|
+
discovered — adding it is a one-line prerequisite worth shipping early.
|
|
7
|
+
|
|
8
|
+
## Target profile
|
|
9
|
+
- `Ecosystem`: `ruby`.
|
|
10
|
+
- Variants: `gem` (gemspec), `rails` (config/application.rb + bin/rails),
|
|
11
|
+
`rack` (config.ru without Rails).
|
|
12
|
+
- Versions: Ruby ≥ 3.1 (from `.ruby-version` / Gemfile `ruby` directive).
|
|
13
|
+
|
|
14
|
+
## Detection signals (static only)
|
|
15
|
+
- `Gemfile` + `Gemfile.lock`; `*.gemspec`; `config/application.rb`,
|
|
16
|
+
`config/routes.rb`, `app/{models,controllers}` for Rails layout;
|
|
17
|
+
`spec/` (RSpec) vs `test/` (Minitest) for test roots. Never run `bundle`.
|
|
18
|
+
|
|
19
|
+
## Version evidence
|
|
20
|
+
`Gemfile.lock` `GEM/specs` entries are exact — this is the grounding source;
|
|
21
|
+
a Gemfile without a lockfile leaves dependencies unproven.
|
|
22
|
+
|
|
23
|
+
## Validation plan
|
|
24
|
+
- `["bundle", "exec", "rspec"]` or `["bundle", "exec", "rails", "test"]`
|
|
25
|
+
depending on detected harness; `["bundle", "exec", "rubocop"]` when
|
|
26
|
+
`.rubocop.yml` exists. Gems must be vendored/preinstalled in the image —
|
|
27
|
+
no network in the sandbox.
|
|
28
|
+
|
|
29
|
+
## Skill pack
|
|
30
|
+
Rails conventions (strong parameters, concerns, service objects), RSpec
|
|
31
|
+
structure, frozen-string-literal pragma, Zeitwerk autoloading constraints
|
|
32
|
+
(file path ↔ constant name), `db/schema.rb` and migrations protected.
|
|
33
|
+
|
|
34
|
+
## Risks & gates
|
|
35
|
+
Rails migrations (review-only, never applied), monkey-patching core classes,
|
|
36
|
+
`method_missing` metaprogramming, and native-extension gems are
|
|
37
|
+
elevated-risk. Dynamic requires make import grounding partially opaque —
|
|
38
|
+
document as an accepted limitation like Python's.
|
|
39
|
+
|
|
40
|
+
## Checklist
|
|
41
|
+
0. Add `.rb` to `SCANNED_EXTENSIONS` in `pipeline/simple.ts` (independent quick win).
|
|
42
|
+
1. `Ecosystem` union + `analysis/adapters/ruby.ts`.
|
|
43
|
+
2. `ruby/gem`, `ruby/rails`, `ruby/rack` at `preview`.
|
|
44
|
+
3. Register adapter; Ruby/Rails skill pack.
|
|
45
|
+
4. Tests: lockfile absence, Rails vs Rack ambiguity, engine subdirectories, stable fingerprints.
|
|
46
|
+
5. Docs updates.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# SQL support plan
|
|
2
|
+
|
|
3
|
+
## Status today
|
|
4
|
+
Level 2 only: not in `LANGUAGE_PROFILES`. SQL also intersects an existing
|
|
5
|
+
invariant: database migrations may be *generated for review* but are never
|
|
6
|
+
applied — any SQL profile inherits that rule wholesale.
|
|
7
|
+
|
|
8
|
+
## Target profile
|
|
9
|
+
- `Ecosystem`: `sql`.
|
|
10
|
+
- Variant: `migration-set` — a directory of ordered migration files managed
|
|
11
|
+
by a recognizable tool (Flyway `V__*.sql`, dbmate, golang-migrate,
|
|
12
|
+
Prisma/TypeORM/Alembic SQL output). Free-floating `.sql` files stay on the
|
|
13
|
+
general fallback.
|
|
14
|
+
- Dialects recorded as signals (postgres/mysql/sqlite) from tool config, not
|
|
15
|
+
guessed from syntax.
|
|
16
|
+
|
|
17
|
+
## Detection signals (static only)
|
|
18
|
+
- Migration tool config (`flyway.conf`, `dbmate` env refs, `migrations/`
|
|
19
|
+
naming schemes), ordered filename conventions, and the owning framework's
|
|
20
|
+
adapter (a NestJS/FastAPI workspace may own its migrations directory).
|
|
21
|
+
|
|
22
|
+
## Version evidence
|
|
23
|
+
The "dependency" is the schema itself: prior migrations in order are the
|
|
24
|
+
grounding evidence a new migration builds on. No package versions.
|
|
25
|
+
|
|
26
|
+
## Validation plan
|
|
27
|
+
- Syntax-only gates in the sandbox: `["sqlfluff", "lint", "--dialect", "<dialect>"]`
|
|
28
|
+
or the tool's dry-run/check mode where one exists **without a database**.
|
|
29
|
+
- Optional stronger tier later: apply to a disposable in-container database
|
|
30
|
+
(sqlite/postgres in the image) — still never the operator's database.
|
|
31
|
+
|
|
32
|
+
## Skill pack
|
|
33
|
+
One reversible change per migration (paired down-migration when the tool
|
|
34
|
+
supports it), no destructive `DROP` without explicit contract authorization,
|
|
35
|
+
idempotence patterns, naming convention of the detected tool.
|
|
36
|
+
|
|
37
|
+
## Risks & gates
|
|
38
|
+
Everything: destructive statements, data backfills, and permission changes
|
|
39
|
+
are elevated-risk requiring explicit authorization in the contract. Applied
|
|
40
|
+
migration files are immutable history — protected paths; only new files may
|
|
41
|
+
be created.
|
|
42
|
+
|
|
43
|
+
## Checklist
|
|
44
|
+
1. `Ecosystem` union + `analysis/adapters/sql.ts` keyed on migration-tool detection.
|
|
45
|
+
2. `sql/migration-set` at `preview`.
|
|
46
|
+
3. SQL skill pack; extend patch policy tests for "create-only in migrations dir".
|
|
47
|
+
4. Tests: ordering, tool detection, destructive-statement gating, dialect signals.
|
|
48
|
+
5. Docs updates.
|