@gluecharm-lab/easyspecs-cli 0.3.5 → 0.3.6
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/commands.md +4 -4
- package/dist/main.cjs +1655 -513
- package/dist/main.cjs.map +4 -4
- package/package.json +1 -1
- package/resources/opencode-agents/agent-list-infrastructure-components.md +187 -0
- package/resources/opencode-agents/agent-list-infrastructure.md +222 -0
- package/resources/opencode-agents/agent-list-qa-test-cases.md +187 -0
- package/resources/opencode-agents/agent-list-qa.md +222 -0
- package/resources/opencode-agents/agent-md-infrastructure-component-detail.md +165 -0
- package/resources/opencode-agents/agent-md-infrastructure-detail.md +95 -0
- package/resources/opencode-agents/agent-md-qa-detail.md +95 -0
- package/resources/opencode-agents/agent-md-qa-test-case-detail.md +165 -0
- package/resources/opencode-agents/agent-review-infrastructure-components-list.md +34 -0
- package/resources/opencode-agents/agent-review-infrastructure-list.md +60 -0
- package/resources/opencode-agents/agent-review-qa-list.md +60 -0
- package/resources/opencode-agents/agent-review-qa-test-cases-list.md +34 -0
- package/resources/schemas/context-lists/features-list.schema.json +2 -2
- package/resources/schemas/context-lists/infrastructure-components-list.schema.json +175 -0
- package/resources/schemas/context-lists/infrastructure-list.schema.json +179 -0
- package/resources/schemas/context-lists/qa-list.schema.json +187 -0
- package/resources/schemas/context-lists/qa-test-cases-list.schema.json +180 -0
- package/resources/schemas/context-lists/zero-reference-classifier-record.schema.json +2 -0
- package/resources/schemas/context-lists/zero-reference-routing.schema.json +2 -0
- package/resources/schemas/context-lists/zero-reference-triage-record.schema.json +4 -4
- package/resources/schemas/index-application-context.schema.json +9 -3
package/commands.md
CHANGED
|
@@ -68,11 +68,11 @@ Environment (stderr styling): `**NO_COLOR`** (any non-empty value) disables ANSI
|
|
|
68
68
|
|
|
69
69
|
---
|
|
70
70
|
|
|
71
|
-
## Workstation host inventory (**SRS-
|
|
71
|
+
## Workstation host inventory (**SRS-75** / **SRS-62**)
|
|
72
72
|
|
|
73
|
-
`**easyspecs-cli workstation info**` prints the CPU count used for the **SRS-
|
|
73
|
+
`**easyspecs-cli workstation info**` prints the CPU count used for the **SRS-75 §4** heuristic (restored **SRS-64 §4.1**), total installed RAM, **`N_sys`** (JSON key **`maxSystemConcurrentAiWorkstations`**), and **`hostHardMaxConcurrentAi`** = **`min(N_sys, 64)`** (product agent ceiling per **SRS-62**). **macOS** (`darwin`) and **Linux** only; on other platforms the CLI exits **non-zero**, writes a short message to stderr, and does **not** print JSON on stdout (even if **`--json`** was passed).
|
|
74
74
|
|
|
75
|
-
**Formula (SRS-
|
|
75
|
+
**Formula (SRS-75 §4 / SRS-64 §4.1):** `N_cpu_float(P) = 15 + 8.5×(P−1)` for **`P ≤ 11`**, else **`100 + 8.5×(P−11)`**; `N_float = N_cpu_float(P) × min(1, R_GiB / (4×P))`; **`N_sys = max(1, round(N_float))`**; **`hostHardMax = min(64, N_sys)`**. **Worked examples:** **`P=4, R=16 GiB → N_sys = 41 → hostHardMax = 41`**; **`P=11, R=44 GiB → N_sys = 100 → hostHardMax = 64`**. The **SRS-69** compact form `min(P, R/8)` is **withdrawn**. While the workstation pool runs, **SRS-62 R6** lowers **`adaptiveMaxConcurrentAi`** when host load-average pressure exceeds **85%** (normalised per logical CPU — see **`cpuPressureSample.ts`**). Operators on shared / interactive hosts should set **`easyspecs.workstations.maxConcurrentAi`** *below* the reported `hostHardMax`. See live signals via **`[host-pool]`** / **`[host-pool-rec]`** (**SRS-68**).
|
|
76
76
|
|
|
77
77
|
Use the **global** **`--json`** flag (before the subcommand) for one parseable summary line. JSON includes **`totalMemBytes`**, **`platform`**, **`cpusForCap`**, **`cpusForCapSource`**, **`physicalCpus`** (integer when physical cores are known, else **`null`**), **`maxSystemConcurrentAiWorkstations`**, and **`hostHardMaxConcurrentAi`**.
|
|
78
78
|
|
|
@@ -85,7 +85,7 @@ When Analysis (or other callers) passes a **`diagnosticLog`** sink into the exte
|
|
|
85
85
|
- **`scope=host`** — machine-wide **RAM** (**total** / **free** / **used** bytes) plus **1-minute load average**, logical **CPU** count, and **load / CPUs** (not the same metric as the **SRS-62** runtime pool **CPU guard** — see **[SRS-65](../../.gluecharm/docs/srs/srs-65.md)**).
|
|
86
86
|
- **`scope=child`** — once per run: **child CPU time** (milliseconds) and **RSS** bytes for that **PID** (**Linux**: **`/proc`**, **macOS**: **`ps`**), or **`childRssBytes=unknown`** on unsupported platforms / read errors.
|
|
87
87
|
|
|
88
|
-
Tune concurrent agents with **`easyspecs.workstations.maxConcurrentAi`**, **`applyHostConcurrencyCap`**, and **`easyspecs-cli workstation info`** (**SRS-62** / **SRS-
|
|
88
|
+
Tune concurrent agents with **`easyspecs.workstations.maxConcurrentAi`**, **`applyHostConcurrencyCap`**, and **`easyspecs-cli workstation info`** (**SRS-62** / **SRS-75**); these lines help interpret **live** pressure alongside that configuration.
|
|
89
89
|
|
|
90
90
|
### Workstation pool host pressure (**SRS-68**)
|
|
91
91
|
|