forgedock 1.0.10 → 1.0.11
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 +84 -0
- package/bin/forgedock.mjs +537 -5627
- package/bin/init-enrich-api.mjs +14 -4
- package/bin/tui.mjs +8 -5
- package/commands/forgedock-init.md +498 -317
- package/commands/work-on.md +4 -3
- package/docs/CONFIG.md +19 -0
- package/docs/FORGE-PROTOCOL.md +740 -0
- package/docs/anthropic-devrel-outreach.md +197 -0
- package/docs/articles/devto-how-i-built-an-ai-agent-that-never-forgets.md +165 -0
- package/docs/demo.tape +113 -0
- package/docs/distribution-submissions.md +181 -0
- package/docs/launch/reddit-r-claudeai.md +83 -0
- package/docs/launch/reddit-r-devops.md +80 -0
- package/docs/launch/reddit-r-localllama.md +86 -0
- package/docs/launch/reddit-r-programming.md +81 -0
- package/docs/launch/reddit-r-sideproject.md +84 -0
- package/docs/launch/show-hn.md +84 -0
- package/docs/site/command-reference.md +423 -0
- package/docs/site/forge-annotation-protocol.md +266 -0
- package/docs/site/getting-started.md +168 -0
- package/docs/site/how-it-works.md +191 -0
- package/docs/site/index.md +59 -0
- package/docs/site/vs-manual-workflows.md +167 -0
- package/docs/twitter-launch-thread.md +303 -0
- package/docs/youtube-demo-script.md +297 -0
- package/package.json +1 -1
package/commands/work-on.md
CHANGED
|
@@ -1006,15 +1006,16 @@ PR #${PR_NUMBER} created targeting \`{PR_BASE}\`. Invoking /review-pr with --aut
|
|
|
1006
1006
|
|
|
1007
1007
|
Large-context sessions that accumulated significant build history cause review-pr to hit the token limit mid-review. Check the accumulated context before delegating:
|
|
1008
1008
|
|
|
1009
|
-
- If the build changed **≥
|
|
1009
|
+
- If the build changed **≥10 files** OR this agent has made **≥20 Skill invocations** since it started: invoke `work-on/review` as a fresh sub-agent (via `Skill(skill="work-on/review", args="...")`) rather than calling review-pr directly. The sub-agent starts with a clean context window.
|
|
1010
1010
|
- Otherwise (small build, few skill calls): invoke review-pr directly as below.
|
|
1011
|
+
- **Fallback**: if `work-on/review` is not available (partial install), invoke review-pr directly regardless of file count and add a note that context may be large.
|
|
1011
1012
|
|
|
1012
|
-
**Direct invocation** (small builds — <
|
|
1013
|
+
**Direct invocation** (small builds — <10 changed files AND <20 Skill invocations):
|
|
1013
1014
|
```
|
|
1014
1015
|
Skill(skill="review-pr", args="{PR_NUMBER} --auto-merge --issue {NUMBER} --base {PR_BASE} --gh-flag {GH_FLAG}")
|
|
1015
1016
|
```
|
|
1016
1017
|
|
|
1017
|
-
**Sub-agent invocation** (large builds — ≥
|
|
1018
|
+
**Sub-agent invocation** (large builds — ≥10 changed files OR ≥20 Skill invocations):
|
|
1018
1019
|
```
|
|
1019
1020
|
Skill(skill="work-on/review", args="{NUMBER} --repo {GH_REPO} --gh-flag {GH_FLAG} --worktree {WORKTREE_PATH} --branch {BRANCH} --base {PR_BASE}")
|
|
1020
1021
|
```
|
package/docs/CONFIG.md
CHANGED
|
@@ -472,6 +472,25 @@ Colors are grouped by semantic meaning:
|
|
|
472
472
|
|
|
473
473
|
---
|
|
474
474
|
|
|
475
|
+
## `marketing` (OPTIONAL)
|
|
476
|
+
|
|
477
|
+
Controls opt-in growth features such as 'Powered by ForgeDock' footers on PR descriptions created by the pipeline.
|
|
478
|
+
|
|
479
|
+
> **Note**: `pr_footer` injection requires future pipeline support in `/work-on`. Setting `pr_footer: true` today has no effect — it is a configuration interface that will be activated when the feature ships. When implemented, the pipeline will append a one-line footer to every PR body it creates.
|
|
480
|
+
|
|
481
|
+
```yaml
|
|
482
|
+
marketing:
|
|
483
|
+
pr_footer: false
|
|
484
|
+
```
|
|
485
|
+
|
|
486
|
+
| Field | Type | Required | Default | Description |
|
|
487
|
+
|-------|------|----------|---------|-------------|
|
|
488
|
+
| `pr_footer` | boolean | No | `false` | When `true`, the pipeline appends a 'Powered by ForgeDock' footer link to every PR description it creates. Opt-in only — non-intrusive one-line footer, not a banner. Requires pipeline support (not yet implemented). |
|
|
489
|
+
|
|
490
|
+
**Commands that use this section**: `work-on` (Phase 4 PR creation — when `pr_footer: true`)
|
|
491
|
+
|
|
492
|
+
---
|
|
493
|
+
|
|
475
494
|
## Config Reading Conventions
|
|
476
495
|
|
|
477
496
|
ForgeDock commands use two accepted patterns for reading `forge.yaml`:
|