phasegate 0.109.0 → 0.111.0
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/CHANGELOG.md +16 -0
- package/LICENSE +20 -215
- package/README.ja.md +229 -682
- package/README.md +17 -2
- package/docs/guide/layer-model.md +7 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Phasegate
|
|
2
2
|
|
|
3
|
-
[](https://opensource.org/licenses/MIT)
|
|
4
4
|
[](https://nodejs.org/)
|
|
5
5
|
|
|
6
6
|
**Phasegate -- AI-agnostic quality defense toolkit.**
|
|
@@ -376,6 +376,21 @@ Additional resources:
|
|
|
376
376
|
|
|
377
377
|
---
|
|
378
378
|
|
|
379
|
+
## Roadmap (Planned but not yet implemented)
|
|
380
|
+
|
|
381
|
+
The following are documented behaviors that are partially implemented or rely on user-side wiring. Each is tracked as a Work Item and will land in a future minor release. Inception docs live under `docs/inception/_cross/WI-XXX/description.md`.
|
|
382
|
+
|
|
383
|
+
| Work Item | Title | Why it matters |
|
|
384
|
+
|---|---|---|
|
|
385
|
+
| **[WI-031](docs/inception/_cross/WI-031/description.md)** | CI template unification + `phasegate init --with-ci` | Today the bundled YAML and the `ci:generate-template` output diverge (different cron schedule, only the bundled one creates GitHub Issues). `phasegate init` does not deploy the workflow, so L4 only runs after the user manually copies the file. WI-031 unifies the two paths and adds an opt-in deploy flag. |
|
|
386
|
+
| **[WI-032](docs/inception/_cross/WI-032/description.md)** | AGENTS.md / CLAUDE.md auto-refresh pipeline | `ci:migrate-agents-md` exists as a one-shot CLI but there is no scheduled job, and CLAUDE.md is fully hand-maintained. WI-032 adds an `auto-refresh-agent-context` workflow plus a template-driven CLAUDE.md regenerator that preserves user-owned sections. |
|
|
387
|
+
| **[WI-033](docs/inception/_cross/WI-033/description.md)** | Promote `doc-freshness` / `pointer-validation` to L4 validators | Both capabilities exist as `p2:check-freshness` / `p2:validate-pointers` CLI commands but are not registered as L4 validators, so `validate --layer L4` skips them. WI-033 plumbs them through `validator-system` so they run via the standard L4 path and presets. |
|
|
388
|
+
| **[WI-034](docs/inception/_cross/WI-034/description.md)** | Retire legacy L0 validators (`L0-001` / `L0-002`) | The `fuse-hook-config` / `fuse-mount-status` validator IDs are leftovers from an earlier FUSE-based design. They are disabled by default and have no actual implementation behind them. WI-034 removes them and lets the agent-integration runtime hooks be the sole L0 surface. |
|
|
389
|
+
|
|
390
|
+
`requirement-test-matrix.json` auto-generation for L3 Nyquist Validation is also a known gap; see the L3 section above.
|
|
391
|
+
|
|
392
|
+
---
|
|
393
|
+
|
|
379
394
|
## Contributing
|
|
380
395
|
|
|
381
396
|
Contributions are welcome. See [DEVELOPMENT.md](DEVELOPMENT.md) for internal architecture, regression tests, and release procedures.
|
|
@@ -384,7 +399,7 @@ Contributions are welcome. See [DEVELOPMENT.md](DEVELOPMENT.md) for internal arc
|
|
|
384
399
|
|
|
385
400
|
## License
|
|
386
401
|
|
|
387
|
-
[
|
|
402
|
+
[MIT License](LICENSE)
|
|
388
403
|
|
|
389
404
|
---
|
|
390
405
|
|
|
@@ -142,13 +142,13 @@ L4 validators are designed to run on a weekly schedule and detect slow-moving dr
|
|
|
142
142
|
|
|
143
143
|
> **Status**: L4 is **disabled by default** (`layers.L4.enabled: false` in `phasegate.config.json`). Projects opt in by flipping the flag and scheduling the command via CI cron (see `ci:generate-template --type consistency-check`). Implementation-wise the validators listed below are functional; the default-off state is a conservative rollout choice, not a missing feature.
|
|
144
144
|
|
|
145
|
-
| Validator | Description |
|
|
146
|
-
|
|
147
|
-
| **drift-detect** | Bidirectional design-code drift detection. Compares design documents against the actual codebase to find divergence in either direction. |
|
|
148
|
-
| **consistency-check** | Cross-document layer consistency. Ensures that references between design documents, ADRs, and code remain coherent. |
|
|
149
|
-
| **dead-code** | Detects unused exports and unreachable code that should be removed. |
|
|
150
|
-
|
|
151
|
-
|
|
145
|
+
| Validator | ID | Description |
|
|
146
|
+
|-----------|-----|-------------|
|
|
147
|
+
| **drift-detect** | L4-001 | Bidirectional design-code drift detection. Compares design documents against the actual codebase to find divergence in either direction. |
|
|
148
|
+
| **consistency-check** | L4-002 | Cross-document layer consistency. Ensures that references between design documents, ADRs, and code remain coherent. |
|
|
149
|
+
| **dead-code** | L4-003 | Detects unused exports and unreachable code that should be removed. |
|
|
150
|
+
|
|
151
|
+
> **Note (2026-04-25)**: `doc-freshness` and `pointer-validation` capabilities exist as standalone CLI commands `p2:check-freshness` and `p2:validate-pointers` (implemented in the `phase2-extensions` unit), **not as L4 validators yet**. Promoting them to L4-004 / L4-005 is tracked as **WI-033**. Until that lands, run them explicitly via `npx phasegate p2:check-freshness` / `p2:validate-pointers`.
|
|
152
152
|
|
|
153
153
|
**Command:**
|
|
154
154
|
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "phasegate",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.111.0",
|
|
4
4
|
"packageManager": "pnpm@10.30.1",
|
|
5
5
|
"description": "Phasegate — AI-agnostic quality defense toolkit. Enforces structural integrity between design intent and code.",
|
|
6
|
-
"license": "
|
|
6
|
+
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "https://github.com/junpei-9898/phasegate.git"
|