@cassiomc1/forgeloop 2.0.0-rc.5 → 2.0.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/CONTRIBUTING.md +3 -1
- package/DOCS_INDEX.md +2 -0
- package/ENG/accessibility-eng.md +6 -6
- package/ENG/clean-code-eng.md +2 -2
- package/ENG/design-code-eng.md +13 -13
- package/ENG/documentation-quality-eng.md +10 -2
- package/ENG/flutter-development-eng.md +38 -59
- package/ENG/games-code-design-web-eng.md +2 -2
- package/ENG/perf-code-eng.md +3 -3
- package/ENG/php-development-eng.md +2 -2
- package/ENG/premium-sites-studio-eng.md +9 -2
- package/ENG/python-development-eng.md +7 -1
- package/ENG/rust-development-eng.md +22 -32
- package/ENG/sec-code-eng.md +19 -3
- package/ENG/taste-frontend-eng.md +108 -1
- package/ENG/test-code-eng.md +2 -2
- package/GUIDE_ROUTER.md +18 -4
- package/README.md +15 -13
- package/THIRD_PARTY_NOTICES.md +59 -6
- package/docs/AGENT_PROTOCOL_SUMMARY.md +1 -1
- package/docs/AGENT_SKILL.md +16 -0
- package/docs/DOCUMENTATION_GUIDE.md +6 -0
- package/docs/GUIDE_MAINTENANCE.md +106 -0
- package/docs/PACKAGE_CONTENTS.md +18 -0
- package/docs/RELEASE_CHECKLIST.md +41 -29
- package/docs/REVENUE_CENTRIC_DESIGN.md +69 -0
- package/docs/SECURITY_AUDIT_SKILL.md +131 -0
- package/docs/SECURITY_REVIEW.md +6 -0
- package/docs/STABLE_2_ACCEPTANCE.md +80 -0
- package/docs/TROUBLESHOOTING.md +12 -0
- package/docs/documentation-manifest.json +244 -0
- package/package.json +12 -3
- package/scripts/generate-forgeloop-skill.mjs +8 -0
- package/scripts/verify-revenue-design-skill.mjs +37 -0
- package/scripts/verify-security-audit-skill.mjs +68 -0
- package/skills/forgeloop/SKILL.md +8 -0
- package/skills/forgeloop/references/revenue-centric-design/LICENSE +30 -0
- package/skills/forgeloop/references/revenue-centric-design/PIN.json +14 -0
- package/skills/forgeloop/references/revenue-centric-design/SKILL.md +64 -0
- package/skills/forgeloop/references/revenue-centric-design/references/playbook.md +36 -0
- package/skills/security-audit/AI-AND-LLM.md +83 -0
- package/skills/security-audit/ATTACK-CLASSES.md +130 -0
- package/skills/security-audit/CLIENT-SIDE.md +83 -0
- package/skills/security-audit/CLOUD-AND-DEPLOYMENT.md +86 -0
- package/skills/security-audit/DATA-ISOLATION-AND-LIFECYCLE.md +84 -0
- package/skills/security-audit/DESKTOP-MOBILE-AND-LOCAL-IPC.md +89 -0
- package/skills/security-audit/HUNTING.md +251 -0
- package/skills/security-audit/LICENSE +21 -0
- package/skills/security-audit/MEMORY-SAFETY-AND-BINARY.md +101 -0
- package/skills/security-audit/PIN.json +30 -0
- package/skills/security-audit/PROTOCOLS-RPC-AND-MESSAGING.md +81 -0
- package/skills/security-audit/RECONNAISSANCE.md +156 -0
- package/skills/security-audit/RESOURCE-EXHAUSTION-AND-AVAILABILITY.md +78 -0
- package/skills/security-audit/SKILL.md +192 -0
- package/skills/security-audit/SUPPLY-CHAIN-AND-RELEASE.md +73 -0
- package/skills/security-audit/VALIDATION-AND-REPORTING.md +186 -0
- package/skills/security-audit/WEB-PROTOCOL-AND-AUTH.md +105 -0
- package/skills/security-audit/report-schema.json +461 -0
- package/skills/security-audit/validate-coverage-ledger.cjs +872 -0
- package/skills/security-audit/validate-coverage-ledger.test.cjs +740 -0
- package/skills/security-audit/validate-findings.cjs +773 -0
- package/skills/security-audit/validate-findings.test.cjs +652 -0
- package/src/core/completion-artifacts.js +4 -7
- package/src/core/diagnosis.js +3 -5
- package/src/core/diagnostic-record.js +4 -4
- package/src/core/next-action-recovery-phases.js +3 -0
- package/src/core/next-action-review-correction.js +26 -0
- package/src/core/next-action-review-phase.js +11 -10
- package/src/core/reconcile-closure.js +5 -0
- package/src/core/review-correction.js +51 -0
- package/src/storage/capabilities.js +1 -1
|
@@ -3,7 +3,7 @@ name: taste-frontend-eng
|
|
|
3
3
|
language: en
|
|
4
4
|
description: "Contextual visual-taste review for premium frontend and brand-heavy work."
|
|
5
5
|
version: "2026.09"
|
|
6
|
-
last-reviewed: "2026-
|
|
6
|
+
last-reviewed: "2026-10-16"
|
|
7
7
|
guide-id: taste
|
|
8
8
|
---
|
|
9
9
|
|
|
@@ -20,6 +20,25 @@ approach. ForgeLoop keeps the useful review vocabulary while applying its own
|
|
|
20
20
|
protocol boundaries: user evidence, accessibility, performance, security, and
|
|
21
21
|
the active product constraints have priority over aesthetic preference.
|
|
22
22
|
|
|
23
|
+
## Upstream Baseline and Intentional Differences
|
|
24
|
+
|
|
25
|
+
Reviewed baseline: [Taste Skill v2.0.0](https://github.com/Leonxlnx/taste-skill/tree/v2.0.0/skills/taste-skill),
|
|
26
|
+
released 2026-10-13 and reviewed for this adaptation on 2026-10-16. See the
|
|
27
|
+
[versioned instructions](https://github.com/Leonxlnx/taste-skill/blob/v2.0.0/skills/taste-skill/SKILL.md)
|
|
28
|
+
and [changelog](https://github.com/Leonxlnx/taste-skill/blob/v2.0.0/CHANGELOG.md).
|
|
29
|
+
This identifies the upstream reference, not full feature parity or automatic
|
|
30
|
+
synchronization. The guide's frontmatter version follows ForgeLoop's guide
|
|
31
|
+
versioning separately.
|
|
32
|
+
|
|
33
|
+
ForgeLoop adapts the content inventory, subject-specific concept, and screenshot
|
|
34
|
+
correction practices. It deliberately keeps direction selection contextual
|
|
35
|
+
rather than requiring a scripted draw. It does not adopt universal bans on
|
|
36
|
+
colors, gradients, borders, fonts, or headline line counts, or minimum image
|
|
37
|
+
and animated-element counts. Existing brand constraints, language expansion,
|
|
38
|
+
content needs, reduced motion, accessibility, and performance determine those
|
|
39
|
+
choices. An aesthetic preference never becomes lifecycle or completion
|
|
40
|
+
authority.
|
|
41
|
+
|
|
23
42
|
## Design Read
|
|
24
43
|
|
|
25
44
|
Before editing, describe the existing or proposed system in observable terms:
|
|
@@ -35,6 +54,39 @@ Before editing, describe the existing or proposed system in observable terms:
|
|
|
35
54
|
Separate observed evidence from inference. If the implementation is not yet
|
|
36
55
|
available, record the read as a hypothesis and keep it reversible.
|
|
37
56
|
|
|
57
|
+
## Client Content Inventory
|
|
58
|
+
|
|
59
|
+
Collect a small, source-backed inventory before choosing a visual direction:
|
|
60
|
+
|
|
61
|
+
- the client's actual product, audience, vocabulary, location, materials, and
|
|
62
|
+
distinguishing constraints, where relevant and supported;
|
|
63
|
+
- available product views, photographs, illustrations, documents, and brand
|
|
64
|
+
assets, with their source and permitted use;
|
|
65
|
+
- the content each requested section must deliver and the evidence supporting
|
|
66
|
+
its claims;
|
|
67
|
+
- missing content, representative examples, and facts requiring confirmation.
|
|
68
|
+
|
|
69
|
+
Reuse the inventory from the premium website brief when it exists. Do not
|
|
70
|
+
invent a differentiator, price, metric, testimonial, customer, or asset to make
|
|
71
|
+
the direction work. Label representative content and keep unsupported proof
|
|
72
|
+
out of release claims. For each section, connect the visitor's question, the
|
|
73
|
+
proposed claim, and its supporting source before committing to a layout.
|
|
74
|
+
|
|
75
|
+
## Visual Concept
|
|
76
|
+
|
|
77
|
+
Write one sentence connecting an evidenced client detail to a concrete visual
|
|
78
|
+
decision and the visitor's goal. For example, an existing product workflow can
|
|
79
|
+
organize the page's composition and sequence. Explain how that decision
|
|
80
|
+
extends beyond the hero into supporting sections and narrow layouts.
|
|
81
|
+
|
|
82
|
+
Check whether the sentence would fit a nearby competitor unchanged. If it
|
|
83
|
+
would, refine it using the inventory rather than inventing a distinction.
|
|
84
|
+
Keep an established brand or design system when appropriate. Add a distinctive
|
|
85
|
+
interaction only when it serves the authorized scope and has an accessible
|
|
86
|
+
fallback; a new interaction is not required merely to make the page unusual.
|
|
87
|
+
Record reversible choices in the existing design artifact or contract
|
|
88
|
+
assumptions, following the normal decision policy.
|
|
89
|
+
|
|
38
90
|
## Design Dials
|
|
39
91
|
|
|
40
92
|
Use three lightweight dials to make an intentional decision rather than a
|
|
@@ -130,6 +182,61 @@ If visual evidence is unavailable, record `NOT_VERIFIED` or a bounded
|
|
|
130
182
|
limitation. Never turn an imagined screenshot or an unrun browser check into
|
|
131
183
|
an observed result.
|
|
132
184
|
|
|
185
|
+
## Screenshot Review
|
|
186
|
+
|
|
187
|
+
Use an already available, authorized browser to capture and inspect the real
|
|
188
|
+
page. A useful starting set is 1440, 768, and 390 CSS pixels wide; adapt it to
|
|
189
|
+
the supported device matrix and include required reflow, zoom, and interaction
|
|
190
|
+
checks. These widths do not replace accessibility requirements.
|
|
191
|
+
|
|
192
|
+
1. Record the tested URL or build, browser, viewport dimensions, relevant
|
|
193
|
+
state, and screenshot references in the task's evidence.
|
|
194
|
+
2. Inspect each capture for hierarchy, content completeness, concept continuity,
|
|
195
|
+
typography, contrast, crops, overflow, and obscured or missing content.
|
|
196
|
+
Check interactive behavior separately; a screenshot alone cannot establish
|
|
197
|
+
keyboard access, form behavior, or runtime performance.
|
|
198
|
+
3. Identify up to three actionable problems with their location, visible
|
|
199
|
+
evidence, and user impact. Prioritize required acceptance criteria over
|
|
200
|
+
stylistic preferences.
|
|
201
|
+
4. Correct the scoped issues through the existing ForgeLoop diagnosis and
|
|
202
|
+
correction loop when verification fails. Re-run affected checks, capture
|
|
203
|
+
the changed states, and inspect them again.
|
|
204
|
+
|
|
205
|
+
Use at most three review rounds by default, within the task contract's limits.
|
|
206
|
+
Stop earlier when the applicable criteria are satisfied. The round limit does
|
|
207
|
+
not waive a failure: report unresolved issues and their verification status,
|
|
208
|
+
then follow the canonical next action or blocker. Do not fabricate aesthetic
|
|
209
|
+
scores or claim browser, inspector, or screenshot evidence that was not
|
|
210
|
+
actually obtained. This procedure adds no separate approval gate.
|
|
211
|
+
|
|
212
|
+
## Optional Upstream Tools
|
|
213
|
+
|
|
214
|
+
The upstream v2 scripts, direction library, and reference collection are not
|
|
215
|
+
bundled with this guide or required by ForgeLoop runtime:
|
|
216
|
+
|
|
217
|
+
| Upstream tool | Optional purpose |
|
|
218
|
+
| --- | --- |
|
|
219
|
+
| `scripts/draw.mjs` | Propose directions and composition blueprints |
|
|
220
|
+
| `scripts/lint.mjs` | Review source against upstream style patterns |
|
|
221
|
+
| `scripts/inspect.mjs` | Measure a page in a browser and capture screenshots |
|
|
222
|
+
| `scripts/assets.mjs` | Find external media and record source and credit information |
|
|
223
|
+
|
|
224
|
+
Use a separately available, reviewed copy only when appropriate and authorized;
|
|
225
|
+
do not install, fetch, or execute it automatically. The reviewed inspector
|
|
226
|
+
requires Node 22+ and an installed Chrome, Edge, or Chromium; the other scripts
|
|
227
|
+
require Node 18+, and media discovery requires network access. Check the
|
|
228
|
+
selected copy's requirements and output paths before use. Upstream tools may
|
|
229
|
+
write project artifacts and user-level history outside ForgeLoop's evidence
|
|
230
|
+
store; those files do not become attested evidence merely by existing.
|
|
231
|
+
|
|
232
|
+
Prefer an available equivalent when it supports the same task checks. Treat
|
|
233
|
+
upstream style findings as contextual recommendations, not new ForgeLoop gates.
|
|
234
|
+
For external media, confirm the exact asset's license, attribution, and
|
|
235
|
+
relevance; search results alone do not establish reuse rights. Identify found
|
|
236
|
+
or generated imagery honestly rather than presenting it as the client's own.
|
|
237
|
+
Record the tool version and checks actually run, and mark unavailable required
|
|
238
|
+
evidence `NOT_VERIFIED` without claiming upstream tool coverage.
|
|
239
|
+
|
|
133
240
|
## Redesign Audit
|
|
134
241
|
|
|
135
242
|
For an existing interface, scan first and classify each issue as hierarchy,
|
package/ENG/test-code-eng.md
CHANGED
|
@@ -3,7 +3,7 @@ name: test-code-eng
|
|
|
3
3
|
language: en
|
|
4
4
|
description: "Risk-based testing strategy and tools for modern languages and platforms."
|
|
5
5
|
version: "2026.09"
|
|
6
|
-
last-reviewed: "2026-
|
|
6
|
+
last-reviewed: "2026-10-17"
|
|
7
7
|
guide-id: test
|
|
8
8
|
completion-evidence:
|
|
9
9
|
- tests
|
|
@@ -15,7 +15,7 @@ completion-evidence:
|
|
|
15
15
|
|
|
16
16
|
**Related documents**: for general clean code principles (names, small functions, formatting), see [`clean-code-eng.md`](./clean-code-eng.md). For security, including SAST/DAST, see [`sec-code-eng.md`](./sec-code-eng.md). For accessibility, use the repository's specific guide together with [WCAG 2.2](https://www.w3.org/TR/WCAG22/). For HTML video and motion, see [HyperFrames](https://hyperframes.heygen.com). This file is the canonical reference for deciding the testing strategy by language and platform.
|
|
17
17
|
|
|
18
|
-
**Tooling policy**: identify the stack, the stage, and the applicable checks; prefer an already available equivalent that produces compatible evidence.
|
|
18
|
+
**Tooling policy**: identify the stack, the stage, and the applicable checks; prefer an already available equivalent that produces compatible evidence. Installation or environment changes require authority; reuse scoped authorization already given rather than asking again. If no safe equivalent exists, record the required check as blocked and never claim that it passed. Do not install merely optional resources.
|
|
19
19
|
|
|
20
20
|
## Start with risk, not a tool
|
|
21
21
|
|
package/GUIDE_ROUTER.md
CHANGED
|
@@ -73,6 +73,10 @@ structural detection and route tests are implemented.
|
|
|
73
73
|
|
|
74
74
|
## Domain rules
|
|
75
75
|
|
|
76
|
+
For catalog upkeep, use the [engineering guide maintenance map](https://github.com/cassiomc1/forgeloop/blob/b9a16e9f665116306e9fca3b905b1f0fe2abd633/docs/GUIDE_MAINTENANCE.md).
|
|
77
|
+
It distinguishes guide discovery, implemented routing, contextual defaults,
|
|
78
|
+
and observed verification; it does not add runtime routing rules.
|
|
79
|
+
|
|
76
80
|
### `clean` — code and structure
|
|
77
81
|
|
|
78
82
|
**Activate when:** creating or modifying code, fixing a bug, refactoring, changing architecture, reviewing quality, or producing development instructions.
|
|
@@ -117,6 +121,12 @@ rg -n '^## |authentication|authorization|upload|SSRF|CSP|OAuth|JWT|secrets|suppl
|
|
|
117
121
|
|
|
118
122
|
**Expected evidence:** explicit trust boundaries, server-side validation, least privilege, no secrets in Git, and negative tests.
|
|
119
123
|
|
|
124
|
+
For requested source audits or focused vulnerability investigations, consult
|
|
125
|
+
the optional bundled Cloudflare `security-audit` companion described by the
|
|
126
|
+
security guide. Ordinary security routing does not start a full audit or
|
|
127
|
+
require the companion. Its reports remain advisory; canonical security gates
|
|
128
|
+
and verification remain unchanged.
|
|
129
|
+
|
|
120
130
|
### `performance` — measurable cost
|
|
121
131
|
|
|
122
132
|
**Activate when:** the request involves latency, scale, a critical path, rendering, bundles, databases, networking, memory, battery, load, Web Vitals, FPS, or a budget.
|
|
@@ -188,12 +198,16 @@ require GSAP or a static-site approach, prescribe fonts/layouts, or override
|
|
|
188
198
|
accessibility, performance, security, or product evidence.
|
|
189
199
|
|
|
190
200
|
```bash
|
|
191
|
-
rg -n '^## (Design Read|Design Dials|Anti-Slop Checks|Typography Quality|Layout Composition|Motion Restraint|Responsive Composition|Design-System Selection|Visual Pre-Flight|Redesign Audit)' ENG/taste-frontend-eng.md
|
|
201
|
+
rg -n '^## (Upstream Baseline and Intentional Differences|Design Read|Client Content Inventory|Visual Concept|Design Dials|Anti-Slop Checks|Typography Quality|Layout Composition|Motion Restraint|Responsive Composition|Design-System Selection|Visual Pre-Flight|Screenshot Review|Optional Upstream Tools|Redesign Audit)' ENG/taste-frontend-eng.md
|
|
192
202
|
```
|
|
193
203
|
|
|
194
|
-
**Expected evidence:** a contextual design read,
|
|
195
|
-
anti-slop review, and
|
|
196
|
-
|
|
204
|
+
**Expected evidence:** a source-backed client inventory, contextual design read,
|
|
205
|
+
visual concept, intentional dials, bounded anti-slop review, and screenshot
|
|
206
|
+
review with up to three correction rounds within the task contract. Run only
|
|
207
|
+
the visual/accessibility/performance checks in scope and retain unresolved
|
|
208
|
+
failures. Upstream scripts remain optional and unbundled; see the guide's
|
|
209
|
+
versioned baseline and intentional differences. Mark unavailable visual
|
|
210
|
+
evidence `NOT_VERIFIED`.
|
|
197
211
|
|
|
198
212
|
### `games` — web game architecture and operation
|
|
199
213
|
|
package/README.md
CHANGED
|
@@ -74,11 +74,13 @@ Routing uses bounded structural evidence; SQL remains a schema/query/migration
|
|
|
74
74
|
overlay. Extensions, tool files, lockfiles, runtime images, and prose alone do
|
|
75
75
|
not establish project identity. Public project evidence remains v1.
|
|
76
76
|
|
|
77
|
+
See the [23-guide maintenance map](./docs/GUIDE_MAINTENANCE.md) for review scope and revalidation.
|
|
78
|
+
|
|
77
79
|
## Distribution and license
|
|
78
80
|
|
|
79
81
|
GitHub hosts source and issues. The core npm package is publicly available;
|
|
80
|
-
the MCP companion retains restricted distribution.
|
|
81
|
-
|
|
82
|
+
the MCP companion retains restricted distribution. Stable `2.0.0` targets
|
|
83
|
+
`latest`; publication requires verified release identity and native user audits.
|
|
82
84
|
ForgeLoop-owned source and documentation are licensed under the
|
|
83
85
|
[PolyForm Noncommercial License 1.0.0](./LICENSE). Commercial use is not granted
|
|
84
86
|
by this license. Third-party notices are documented in
|
|
@@ -497,22 +499,18 @@ see [CONTRIBUTING.md](./CONTRIBUTING.md#focused-verification-and-maintenance).
|
|
|
497
499
|
|
|
498
500
|
## ForgeLoopAudit workspace
|
|
499
501
|
|
|
500
|
-
The read-only auditor lives in `ForgeLoopAudit
|
|
501
|
-
[setup,
|
|
502
|
-
project inspection and audit views.
|
|
502
|
+
The read-only auditor lives in `ForgeLoopAudit/`; see its
|
|
503
|
+
[setup, demo and screenshots](./docs/FORGELOOP_AUDIT.md).
|
|
503
504
|
|
|
504
505
|
## Protocol compatibility
|
|
505
506
|
|
|
506
|
-
The npm package version is independent of protocol version.
|
|
507
|
-
|
|
507
|
+
The npm package version is independent of protocol version. Artifacts use
|
|
508
|
+
`schemaVersion: 1` and `protocolVersion: 1`.
|
|
508
509
|
|
|
509
|
-
- Patch releases preserve the v1 schemas
|
|
510
|
-
|
|
511
|
-
- Minor releases preserve existing v1 artifacts and commands; they may add
|
|
512
|
-
documentation, commands, guides, or an explicitly named schema.
|
|
510
|
+
- Patch releases preserve the v1 schemas and existing command contracts.
|
|
511
|
+
- Minor releases preserve existing v1 artifacts; additions remain compatible.
|
|
513
512
|
- Major releases may change required fields, enums, transitions, or safety
|
|
514
|
-
semantics
|
|
515
|
-
change.
|
|
513
|
+
semantics, requiring a new protocol version and documented migration.
|
|
516
514
|
|
|
517
515
|
Consumers must reject unknown artifact fields rather than silently treating
|
|
518
516
|
unrecognized protocol data as valid. The compatibility marker is
|
|
@@ -525,6 +523,10 @@ it must not infer current ownership from `task.json` or `recovery.json` alone.
|
|
|
525
523
|
|
|
526
524
|
## Security and dependency boundary
|
|
527
525
|
|
|
526
|
+
Optional [security audits](./docs/SECURITY_AUDIT_SKILL.md) and
|
|
527
|
+
[product design](./docs/REVENUE_CENTRIC_DESIGN.md) ship with pinned attribution,
|
|
528
|
+
integrity checks and their respective licenses; guidance remains advisory.
|
|
529
|
+
|
|
528
530
|
Runtime uses Node built-ins and the approved exact `@typesafe-ai/sdk` and
|
|
529
531
|
`smol-toml` dependencies; it installs no agents, providers, plugins, services,
|
|
530
532
|
or telemetry. Paths, symlinks, JSON,
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -97,13 +97,31 @@ dependencies, version, and distribution conditions before adoption.
|
|
|
97
97
|
configure, or enable its CI/agent integrations. Verify current upstream
|
|
98
98
|
license, CLI, telemetry, network behavior, and dependencies before use.
|
|
99
99
|
|
|
100
|
+
### Cloudflare security audit skill — optional bundled companion
|
|
101
|
+
|
|
102
|
+
- Project: [cloudflare/security-audit-skill](https://github.com/cloudflare/security-audit-skill).
|
|
103
|
+
- Pinned source commit: `c1c8a8c1471069fb0e188eeaff69b8e8db6564a8`.
|
|
104
|
+
- License: MIT, copyright (c) 2025-2026 Cloudflare, Inc.; the complete upstream
|
|
105
|
+
notice is preserved at `skills/security-audit/LICENSE`.
|
|
106
|
+
- Use in this collection: the unchanged upstream `skills/security-audit/`
|
|
107
|
+
tree, including references, schema, validators and tests, is bundled for
|
|
108
|
+
optional agent guidance and explicitly requested source audits. The root
|
|
109
|
+
upstream license is copied alongside it. ForgeLoop-owned `PIN.json` records
|
|
110
|
+
the source and per-file SHA-256 digests.
|
|
111
|
+
- Boundary: instruction content and local report validators, not a runtime
|
|
112
|
+
dependency, automatic scanner, Security Review provider, evidence importer,
|
|
113
|
+
or completion gate. It is not installed into a host by `init` or `update`.
|
|
114
|
+
The upstream files retain MIT terms independently of ForgeLoop's license.
|
|
115
|
+
|
|
100
116
|
### Runtime and validator boundary
|
|
101
117
|
|
|
102
118
|
The distributed CLI and repository validators use Node.js and Python standard
|
|
103
119
|
libraries plus the JSON Schema documents shipped in this repository. The core
|
|
104
|
-
CLI
|
|
105
|
-
|
|
106
|
-
|
|
120
|
+
CLI exact-pins `smol-toml` for structural Cargo manifest parsing and
|
|
121
|
+
`@typesafe-ai/sdk` for the semantic decision plane. Parsing is local; configured
|
|
122
|
+
semantic-required operations use the external TypeSafe service under the
|
|
123
|
+
canonical decision contract. Neither dependency gains lifecycle or evidence
|
|
124
|
+
authority. Every future runtime capability must review its own license,
|
|
107
125
|
dependency tree, credentials, network behavior, and distribution terms
|
|
108
126
|
separately.
|
|
109
127
|
|
|
@@ -207,14 +225,19 @@ The contextual frontend taste guide is informed by Taste Skill:
|
|
|
207
225
|
|
|
208
226
|
- Taste Skill, Copyright (c) 2026 Leonxlnx, MIT License.
|
|
209
227
|
- Source: <https://github.com/leonxlnx/taste-skill>
|
|
228
|
+
- Reviewed baseline: [v2.0.0](https://github.com/Leonxlnx/taste-skill/tree/v2.0.0/skills/taste-skill),
|
|
229
|
+
released 2026-10-13; adaptation reviewed 2026-10-16.
|
|
210
230
|
|
|
211
231
|
ForgeLoop includes a short, adapted guide under `ENG/taste-frontend-eng.md`.
|
|
212
|
-
It
|
|
213
|
-
|
|
232
|
+
It incorporates selected content-inventory, visual-concept, and screenshot-review
|
|
233
|
+
practices. It does not vendor upstream scripts or the direction library,
|
|
234
|
+
depend on its repository at runtime, or claim full upstream feature parity.
|
|
235
|
+
Upstream tooling is optional and separately supplied; its prescriptive style
|
|
236
|
+
rules and media or motion counts are not universal ForgeLoop requirements.
|
|
214
237
|
|
|
215
238
|
## Runtime dependencies with upstream notices
|
|
216
239
|
|
|
217
|
-
### smol-toml 1.
|
|
240
|
+
### smol-toml 1.9.0
|
|
218
241
|
|
|
219
242
|
- Project/source: [squirrelchat/smol-toml](https://github.com/squirrelchat/smol-toml).
|
|
220
243
|
- License declared by the upstream package: BSD-3-Clause.
|
|
@@ -224,6 +247,18 @@ or make its prescriptive examples universal.
|
|
|
224
247
|
`package-lock.json`; the dependency has no role in routing authority beyond
|
|
225
248
|
the parser result and is not exposed as a public ForgeLoop integration.
|
|
226
249
|
|
|
250
|
+
### TypeSafe AI SDK 0.6.0
|
|
251
|
+
|
|
252
|
+
- Package: `@typesafe-ai/sdk`; source:
|
|
253
|
+
[typesafe-ai/typesafe-sdk-js](https://github.com/typesafe-ai/typesafe-sdk-js).
|
|
254
|
+
- License declared by the installed upstream package: MIT.
|
|
255
|
+
- Use in this collection: exact-pinned client for the bounded semantic
|
|
256
|
+
decision plane documented in `docs/SEMANTIC_DECISION_PLANE.md`.
|
|
257
|
+
- Boundary: credentials stay outside protocol artifacts. The SDK's responses
|
|
258
|
+
cannot execute commands, grant ownership, record evidence, or establish
|
|
259
|
+
completion. Network requirements remain explicit for semantic-required
|
|
260
|
+
operations; this is separate from optional security audit guidance.
|
|
261
|
+
|
|
227
262
|
### Microsoft tgrep
|
|
228
263
|
|
|
229
264
|
- Project: [microsoft/tgrep](https://github.com/microsoft/tgrep).
|
|
@@ -247,3 +282,21 @@ or make its prescriptive examples universal.
|
|
|
247
282
|
- Boundary: the ForgeLoop core package (`@cassiomc1/forgeloop`) has no
|
|
248
283
|
dependency on the MCP SDK; the SDK ships only inside
|
|
249
284
|
`@cassiomc1/forgeloop-mcp`. Review upstream terms before redistribution.
|
|
285
|
+
|
|
286
|
+
## Revenue-centric design companion
|
|
287
|
+
|
|
288
|
+
- Source: [heliocosta-dev/revenue-centric-design](https://github.com/heliocosta-dev/revenue-centric-design/tree/1942760c2242f609bf63ce2c97204f5a1791bd68).
|
|
289
|
+
- Ideas, frameworks and the term Revenue-Centric Design: Richard
|
|
290
|
+
([@richardrx](https://x.com/richardrx)); upstream curation is used with permission.
|
|
291
|
+
- Terms: [complete custom source-available license](./skills/forgeloop/references/revenue-centric-design/LICENSE),
|
|
292
|
+
retained in full. Attribution and preservation of those terms are required.
|
|
293
|
+
Gambling, betting, casino and real-money games-of-chance uses, including
|
|
294
|
+
loot boxes, are excluded by the author's permission. These terms apply to
|
|
295
|
+
this companion, separately from ForgeLoop's PolyForm license; they are not
|
|
296
|
+
an OSI-approved open-source license.
|
|
297
|
+
- Adaptation: a focused advisory skill and offline journey playbook under
|
|
298
|
+
`skills/forgeloop/references/revenue-centric-design/`, with a reviewed commit
|
|
299
|
+
and normalized-text integrity pin. Upstream themes are pinned links; media,
|
|
300
|
+
updater scripts and scraping dependencies are not bundled.
|
|
301
|
+
- Authority: the companion adds no runtime dependency, guide ID, automatic
|
|
302
|
+
gate or completion authority. See [setup and boundaries](./docs/REVENUE_CENTRIC_DESIGN.md).
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
ForgeLoop is a portable protocol and support CLI for verifiable engineering workflows. It records and validates task state, contracts, routing, checks, evidence, continuity, and optional code attestations. It does not become an agent scheduler, delegation service, source-control authority, or secret manager.
|
|
8
8
|
|
|
9
9
|
Protocol version: 1
|
|
10
|
-
Package version: 2.0.0
|
|
10
|
+
Package version: 2.0.0
|
|
11
11
|
|
|
12
12
|
## Canonical loop
|
|
13
13
|
|
package/docs/AGENT_SKILL.md
CHANGED
|
@@ -74,8 +74,24 @@ authorization headers must never be persisted in ForgeLoop artifacts.
|
|
|
74
74
|
External Agent Skills tooling is not a ForgeLoop dependency and is not used in
|
|
75
75
|
CI. ForgeLoop adds no runtime Skill installation or synchronization command.
|
|
76
76
|
|
|
77
|
+
## Optional product design guidance
|
|
78
|
+
|
|
79
|
+
The [revenue-centric design companion](./REVENUE_CENTRIC_DESIGN.md) lives under
|
|
80
|
+
`skills/forgeloop/references/revenue-centric-design/`. Its focused skill and
|
|
81
|
+
local journey playbook support relevant product work with source attribution,
|
|
82
|
+
custom license terms, informed choice and measurable hypotheses. It adds no
|
|
83
|
+
runtime dependency, guide ID or lifecycle authority. The generator links to
|
|
84
|
+
this maintained reference tree and does not overwrite or install it.
|
|
85
|
+
|
|
77
86
|
## Packaging
|
|
78
87
|
|
|
88
|
+
The optional [Cloudflare security audit companion](./SECURITY_AUDIT_SKILL.md)
|
|
89
|
+
ships separately at `skills/security-audit/`. The generated ForgeLoop Skill
|
|
90
|
+
points to it for requested security work without starting a full audit or
|
|
91
|
+
requiring installation. Its upstream files, license, and hash manifest remain
|
|
92
|
+
separate from the generated ForgeLoop Skill. Host discovery copies are opt-in
|
|
93
|
+
and are not synchronized by the generator or by `init`/`update`.
|
|
94
|
+
|
|
79
95
|
The generated Skill, this document, and the bounded generator ship in the npm
|
|
80
96
|
package as instruction/documentation content. They add no runtime dependency.
|
|
81
97
|
Harness-specific installed copies and caches are not shipped.
|
|
@@ -40,6 +40,12 @@ Persistent transport truth -> src/persistent-transport/*, CLI search dispatcher,
|
|
|
40
40
|
|
|
41
41
|
Operational documentation must explain canonical behavior, not redefine it.
|
|
42
42
|
|
|
43
|
+
For the 23 engineering guides, use the
|
|
44
|
+
[guide maintenance map](./GUIDE_MAINTENANCE.md). Check activation descriptions
|
|
45
|
+
against the detector/router and frontmatter requirements before changing a
|
|
46
|
+
guide. Keep contextual styling and optional tools separate from lifecycle
|
|
47
|
+
gates; do not update review dates on untouched material.
|
|
48
|
+
|
|
43
49
|
Terminology must remain consistent across active documents: say “advisory
|
|
44
50
|
context,” not “canonical memory”; “handoff acceptance,” not “ownership
|
|
45
51
|
transfer”; and “operational receipt,” not “delegation.” Advisory output is
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# Engineering guide maintenance
|
|
2
|
+
|
|
3
|
+
ForgeLoop's [guide registry](../src/config/guides.json) contains 23 guides.
|
|
4
|
+
The [router](../GUIDE_ROUTER.md) selects relevant context; a catalog entry is
|
|
5
|
+
not evidence that its toolchain is installed, its examples were executed, or
|
|
6
|
+
its target application is ready for release.
|
|
7
|
+
|
|
8
|
+
## Review scope and authority
|
|
9
|
+
|
|
10
|
+
The catalog consistency review dated 2026-10-17 covered every registered guide
|
|
11
|
+
for activation claims, precedence, optional-tool boundaries, verification
|
|
12
|
+
language, version handling, and related documentation. Local source and
|
|
13
|
+
validators govern routing, metadata, packaging, and evidence. Official
|
|
14
|
+
version-matched sources govern language/platform semantics. This review is
|
|
15
|
+
not a new certification of every API, release, framework, device, or external
|
|
16
|
+
link, and it does not execute consumer applications.
|
|
17
|
+
|
|
18
|
+
Use this precedence when maintaining guidance:
|
|
19
|
+
|
|
20
|
+
1. Preserve platform rules, the user's request, repository constraints, and
|
|
21
|
+
the canonical ForgeLoop protocol.
|
|
22
|
+
2. Derive activation from `src/core/project-detection.js`, its specialist
|
|
23
|
+
parsers, `src/core/router.js`, and the public project-evidence schemas.
|
|
24
|
+
3. Read guide gates and completion requirements from registered frontmatter;
|
|
25
|
+
prose examples do not create extra lifecycle gates or protocol enums.
|
|
26
|
+
4. Preserve project versions and architecture. Dated release examples are
|
|
27
|
+
reference material, not permission to upgrade a compiler or framework.
|
|
28
|
+
5. Treat named tools and aesthetic defaults as contextual choices. Do not
|
|
29
|
+
install a missing optional tool or introduce a user-approval gate for a
|
|
30
|
+
reversible local choice. Reuse scoped authority already given.
|
|
31
|
+
6. Keep unavailable checks and observations separate from passing evidence,
|
|
32
|
+
legal compliance, publication, deployment, and production readiness.
|
|
33
|
+
|
|
34
|
+
## Catalog maintenance map
|
|
35
|
+
|
|
36
|
+
The focus column records the boundary inspected and retained, or the
|
|
37
|
+
substantive correction made. All rows remain subject to the review limits
|
|
38
|
+
above; retained guidance does not imply a fresh external release audit.
|
|
39
|
+
|
|
40
|
+
| ID | Guide | Maintenance focus |
|
|
41
|
+
| --- | --- | --- |
|
|
42
|
+
| `premium` | [Premium websites](../ENG/premium-sites-studio-eng.md) | Clarified production stages versus runtime gates and genuine client/publication authority |
|
|
43
|
+
| `clean` | [Clean code](../ENG/clean-code-eng.md) | Retained cohesion, public contracts, cancellation, observability, and risk-based dependency guidance; clarified existing installation authority |
|
|
44
|
+
| `test` | [Testing](../ENG/test-code-eng.md) | Retained proportional tests, protected checks, unavailable-tool reporting, and observed evidence; clarified existing installation authority |
|
|
45
|
+
| `security` | [Security](../ENG/sec-code-eng.md) | Retained threat-boundary gate, negative tests, and advisory Cloudflare companion boundary; clarified existing installation authority |
|
|
46
|
+
| `design` | [Design](../ENG/design-code-eng.md) | Preserved product tokens, made example styling and Impeccable contextual, and removed install-capable verifier examples |
|
|
47
|
+
| `taste` | [Taste frontend](../ENG/taste-frontend-eng.md) | Retained contextual v2 adaptation, source/asset provenance, no aesthetic authority, and screenshot-based review |
|
|
48
|
+
| `performance` | [Performance](../ENG/perf-code-eng.md) | Clarified async I/O versus CPU offloading; retained measured baselines, field/lab separation, and bounded resources |
|
|
49
|
+
| `accessibility` | [Accessibility](../ENG/accessibility-eng.md) | Defaulted missing profile to AA without an artificial approval gate; corrected contrast and native-control keyboard guidance |
|
|
50
|
+
| `games` | [Web games](../ENG/games-code-design-web-eng.md) | Retained bounded fixed-step simulation, authoritative resync, validated procedural generation, capability fallback, and deployment checks; clarified installation authority |
|
|
51
|
+
| `documentation` | [Documentation](../ENG/documentation-quality-eng.md) | Added guide-specific checks for factual activation, gates, defaults, optional tools, and release claims |
|
|
52
|
+
| `flutter` | [Flutter](../ENG/flutter-development-eng.md) | Replaced prospective routing instructions with implemented manifest detection and task-specific verification semantics |
|
|
53
|
+
| `dotnet` | [.NET](../ENG/dotnet-aspnetcore-development-eng.md) | Retained structural SDK project detection, scoped ASP.NET/ABP overlays, version compatibility, and build/release distinctions |
|
|
54
|
+
| `nodejs` | [Node.js](../ENG/nodejs-backend-development-eng.md) | Retained bounded backend evidence, module/runtime compatibility, cancellation, resource controls, and operational verification |
|
|
55
|
+
| `rust` | [Rust](../ENG/rust-development-eng.md) | Grounded the release review in primary Rust sources and narrowed safety/API claims; retained Cargo/MSRV and ownership boundaries |
|
|
56
|
+
| `c` | [C](../ENG/c-development-eng.md) | Retained bounded native build/source identity, pointer/ABI contracts, cleanup, sanitizers, and missing-tool limits |
|
|
57
|
+
| `cpp` | [C++](../ENG/cpp-development-eng.md) | Retained native identity, RAII/lifetime/ABI policy, bounded concurrency, and exact-standard verification |
|
|
58
|
+
| `java` | [Java](../ENG/java-development-eng.md) | Retained static Maven/Gradle/Bazel evidence, scoped topology, runtime/build separation, and bounded executor policy |
|
|
59
|
+
| `sql` | [SQL](../ENG/sql-development-eng.md) | Retained host-project overlay, dialect/version discovery, transaction/retry policy, and separate migration authority |
|
|
60
|
+
| `go` | [Go](../ENG/go-development-eng.md) | Retained bounded module/workspace topology, language/toolchain distinction, goroutine ownership, and race/fuzz evidence limits |
|
|
61
|
+
| `typescript` | [TypeScript](../ENG/typescript-development-eng.md) | Retained JSONC/config ownership, runtime-neutral identity, erased-type/runtime validation distinction, and compiler API migration boundary |
|
|
62
|
+
| `php` | [PHP](../ENG/php-development-eng.md) | Aligned the source fallback description with both `<?php` and `<?=` recognized by the parser |
|
|
63
|
+
| `swift` | [Swift](../ENG/swift-development-eng.md) | Retained SwiftPM/native target composition, source-backed identity, concurrency/FFI policy, and signing/platform evidence limits |
|
|
64
|
+
| `python` | [Python](../ENG/python-development-eng.md) | Explicitly documented reference-only status: automatic structural Python routing is not implemented |
|
|
65
|
+
|
|
66
|
+
## Revalidation procedure
|
|
67
|
+
|
|
68
|
+
For a guide change, inspect the registered path, frontmatter, related router
|
|
69
|
+
rules, representative valid/invalid fixtures, and affected consumer docs.
|
|
70
|
+
Check an external version-sensitive claim against the project's pinned
|
|
71
|
+
version and the relevant official source before revising it. Update
|
|
72
|
+
`last-reviewed` when that guide is materially revalidated; do not change dates
|
|
73
|
+
on untouched guides merely to make the catalog look fresh.
|
|
74
|
+
|
|
75
|
+
For policy changes, compare related guides as well: a safe default in one
|
|
76
|
+
document must not become a mandatory tool, approval, rewrite, or installation
|
|
77
|
+
in another. Preserve explicit user requirements and real blocking decisions.
|
|
78
|
+
|
|
79
|
+
Run proportional checks, including the existing documentation suite:
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
npm run docs:check
|
|
83
|
+
python3 scripts/validate_markdown.py
|
|
84
|
+
npm run pack:check
|
|
85
|
+
npm run security-skill:check
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Use `npm run verify:fast` while editing and `npm run verify:prepush` before a
|
|
89
|
+
PR. Those commands verify repository consistency and applicable code/package
|
|
90
|
+
behavior; they do not run all 23 consumer toolchains. New documentation must
|
|
91
|
+
be registered in the documentation manifest and review matrix. Add
|
|
92
|
+
consumer-facing pages to the package allowlist, and derive generated content
|
|
93
|
+
through its existing generator.
|
|
94
|
+
|
|
95
|
+
## Primary reference points for changed guidance
|
|
96
|
+
|
|
97
|
+
- [WCAG contrast](https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html)
|
|
98
|
+
and [ARIA Authoring Practices](https://www.w3.org/WAI/ARIA/apg/).
|
|
99
|
+
- [Node.js event-loop guidance](https://nodejs.org/en/learn/asynchronous-work/dont-block-the-event-loop).
|
|
100
|
+
- [Official Rust 1.99.0 announcement](https://blog.rust-lang.org/2026/10/01/Rust-1.99.0/).
|
|
101
|
+
- ForgeLoop's [project detector](../src/core/project-detection.js),
|
|
102
|
+
[PHP recognizer](../src/core/php-project.js),
|
|
103
|
+
[guide registry](../src/config/guides.json), and
|
|
104
|
+
[project-evidence schema](../schemas/routing-input.schema.json).
|
|
105
|
+
- [Repository dependency policy](https://github.com/cassiomc1/forgeloop/blob/main/scripts/check-dependency-policy.mjs) and
|
|
106
|
+
[package metadata](../package.json) for runtime dependencies and versions.
|
package/docs/PACKAGE_CONTENTS.md
CHANGED
|
@@ -56,6 +56,9 @@ The published tarball includes the following consumer-facing groups:
|
|
|
56
56
|
ASP.NET Core and ABP are conditional routing overlays on the `dotnet` guide,
|
|
57
57
|
not additional package guides. The package does not install or invoke
|
|
58
58
|
framework, compiler, build, package-manager, or database tooling.
|
|
59
|
+
`docs/GUIDE_MAINTENANCE.md` ships the full catalog maintenance map and
|
|
60
|
+
revalidation boundaries; it does not add automatic Python routing or new
|
|
61
|
+
lifecycle gates.
|
|
59
62
|
- **Initialization material:** the root protocol and integration documents,
|
|
60
63
|
the PolyForm Noncommercial license, third-party notices, the target profile template, and every path listed by
|
|
61
64
|
`src/core/templates.js`. These files are read by `init` and `update`, so
|
|
@@ -76,6 +79,12 @@ The published tarball includes the following consumer-facing groups:
|
|
|
76
79
|
documentation are also packaged.
|
|
77
80
|
The generated portable ForgeLoop Agent Skill and `docs/AGENT_SKILL.md` are
|
|
78
81
|
packaged as instruction/documentation content, not runtime authority.
|
|
82
|
+
The optional Cloudflare companion at `skills/security-audit/` also ships,
|
|
83
|
+
including its upstream references, schema, validators and tests, MIT
|
|
84
|
+
license, and `PIN.json`. Its usage guide at `docs/SECURITY_AUDIT_SKILL.md`
|
|
85
|
+
and offline `scripts/verify-security-audit-skill.mjs` checker are packaged.
|
|
86
|
+
It adds no runtime dependency or automatic scan and is not copied by
|
|
87
|
+
`init`/`update` into host skill directories.
|
|
79
88
|
Provider implementation modules ship under `src/`, but packaged source file
|
|
80
89
|
does not mean a supported public import path; the generic `./providers`
|
|
81
90
|
subpath remains unexported.
|
|
@@ -146,3 +155,12 @@ gate before `npm publish --provenance --access public`.
|
|
|
146
155
|
Publication therefore remains owned by the authorized manual GitHub Actions
|
|
147
156
|
workflow and uses public npm access for the core package; local package inspection proves the
|
|
148
157
|
candidate boundary but does not publish it.
|
|
158
|
+
|
|
159
|
+
## Optional product design companion
|
|
160
|
+
|
|
161
|
+
The generated ForgeLoop skill includes the maintained
|
|
162
|
+
`skills/forgeloop/references/revenue-centric-design/` reference tree. It ships
|
|
163
|
+
a focused skill, local journey playbook, complete custom source-available
|
|
164
|
+
license and integrity pin. `docs/REVENUE_CENTRIC_DESIGN.md` and
|
|
165
|
+
`scripts/verify-revenue-design-skill.mjs` describe and verify it. Upstream media
|
|
166
|
+
and updater scripts are excluded; external theme references are pinned links.
|