aiwg 2026.7.21 → 2026.7.23

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.
Files changed (109) hide show
  1. package/README.md +23 -6
  2. package/agentic/code/addons/agent-persistence/manifest.json +4 -0
  3. package/agentic/code/addons/agent-persistence/skills/agent-persistence/SKILL.md +37 -0
  4. package/agentic/code/addons/aiwg-hooks/manifest.json +4 -0
  5. package/agentic/code/addons/aiwg-hooks/skills/aiwg-hooks/SKILL.md +33 -0
  6. package/agentic/code/addons/aiwg-utils/skills/aiwg-delivery-pr/SKILL.md +1 -1
  7. package/agentic/code/addons/aiwg-utils/skills/aiwg-language-map/SKILL.md +7 -2
  8. package/agentic/code/addons/aiwg-utils/skills/aiwg-pr/SKILL.md +12 -0
  9. package/agentic/code/addons/auto-memory/manifest.json +8 -0
  10. package/agentic/code/addons/auto-memory/skills/auto-memory/SKILL.md +40 -0
  11. package/agentic/code/addons/droid-bridge/manifest.json +4 -0
  12. package/agentic/code/addons/droid-bridge/skills/droid-bridge/SKILL.md +31 -0
  13. package/agentic/code/addons/llm-wiki/manifest.json +4 -1
  14. package/agentic/code/addons/llm-wiki/skills/llm-wiki/SKILL.md +77 -0
  15. package/agentic/code/extensions/repo-maintainer/rules/repo-maintainer-role-gating.md +8 -3
  16. package/agentic/code/extensions/repo-maintainer/schemas/repo-maintenance-decision.schema.json +43 -5
  17. package/agentic/code/extensions/repo-maintainer/skills/repo-maintainer.md +10 -10
  18. package/agentic/code/extensions/repo-maintainer/templates/repo-maintenance-decision.yaml +13 -2
  19. package/agentic/code/extensions/repo-maintainer/templates/repo-maintenance-handoff.md +3 -1
  20. package/agentic/code/frameworks/knowledge-base/skills/knowledge-base-quickref/SKILL.md +3 -1
  21. package/agentic/code/frameworks/ops-complete/docs/extensions-guide.md +1 -1
  22. package/agentic/code/frameworks/sdlc-complete/flows/capabilities/threat-assessment.yaml +19 -0
  23. package/agentic/code/frameworks/sdlc-complete/flows/flow-handoff-checklist.playbook.yaml +16 -1
  24. package/agentic/code/frameworks/sdlc-complete/flows/flow-release.playbook.yaml +16 -1
  25. package/agentic/code/frameworks/sdlc-complete/skills/address-issues/SKILL.md +7 -1
  26. package/agentic/code/frameworks/sdlc-complete/skills/address-issues-threat-assess/SKILL.md +12 -0
  27. package/agentic/code/frameworks/sdlc-complete/skills/address-issues-threat-assess/scripts/assess.mjs +87 -208
  28. package/agentic/code/frameworks/sdlc-complete/skills/flow-handoff-checklist/SKILL.md +10 -1
  29. package/agentic/code/frameworks/sdlc-complete/skills/flow-release/SKILL.md +10 -0
  30. package/agentic/code/frameworks/validation-complete/manifest.json +9 -0
  31. package/agentic/code/frameworks/validation-complete/skills/validation-complete/SKILL.md +35 -0
  32. package/agentic/code/plugins/codex-sdlc/skills/address-issues/SKILL.md +7 -1
  33. package/agentic/code/plugins/codex-sdlc/skills/address-issues-threat-assess/SKILL.md +12 -0
  34. package/agentic/code/plugins/codex-sdlc/skills/address-issues-threat-assess/scripts/assess.mjs +14 -272
  35. package/agentic/code/plugins/codex-sdlc/skills/flow-handoff-checklist/SKILL.md +10 -1
  36. package/agentic/code/plugins/codex-sdlc/skills/flow-release/SKILL.md +10 -0
  37. package/agentic/code/plugins/sdlc/skills/address-issues/SKILL.md +7 -1
  38. package/agentic/code/plugins/sdlc/skills/address-issues-threat-assess/SKILL.md +12 -0
  39. package/agentic/code/plugins/sdlc/skills/address-issues-threat-assess/scripts/assess.mjs +14 -272
  40. package/agentic/code/plugins/sdlc/skills/flow-handoff-checklist/SKILL.md +10 -1
  41. package/agentic/code/plugins/sdlc/skills/flow-release/SKILL.md +10 -0
  42. package/agentic/code/plugins/utils/skills/aiwg-delivery-pr/SKILL.md +1 -1
  43. package/agentic/code/plugins/utils/skills/aiwg-language-map/SKILL.md +7 -2
  44. package/agentic/code/plugins/utils/skills/aiwg-pr/SKILL.md +12 -0
  45. package/dist/src/api/index.d.ts +1 -0
  46. package/dist/src/api/index.js +1 -0
  47. package/dist/src/cli/handlers/sessions.js +339 -40
  48. package/dist/src/config/aiwg-config.js +12 -0
  49. package/dist/src/config/cli.js +16 -3
  50. package/dist/src/security/threat-assessment-config.js +296 -0
  51. package/dist/src/sessions/adapters/claude.js +37 -9
  52. package/dist/src/sessions/adapters/codex.js +38 -11
  53. package/dist/src/sessions/adapters/cursor.js +166 -10
  54. package/dist/src/sessions/adapters/factory.js +50 -9
  55. package/dist/src/sessions/batch-contracts.js +121 -0
  56. package/dist/src/sessions/batch-import.js +265 -0
  57. package/dist/src/sessions/contracts.js +32 -5
  58. package/dist/src/sessions/import-lease.js +152 -0
  59. package/dist/src/sessions/importer.js +163 -14
  60. package/dist/src/sessions/index.js +6 -0
  61. package/dist/src/sessions/origin.js +117 -0
  62. package/dist/src/sessions/readers.js +1 -1
  63. package/dist/src/sessions/repository.js +354 -13
  64. package/dist/src/sessions/timeline.js +148 -0
  65. package/dist/src/sessions/workspace-discovery.js +319 -0
  66. package/docs/.public/blog/2026-07-aiwg-discovery-first-cli.svg +61 -0
  67. package/docs/.public/blog/2026-07-aiwg-discovery-first-hero.png +0 -0
  68. package/docs/_manifest.json +17 -1
  69. package/docs/agentic-install-runbook.md +44 -20
  70. package/docs/architecture/adr-configurable-threat-assessment-policy.md +255 -0
  71. package/docs/blog/2026-07-aiwg-discovery-first.md +142 -0
  72. package/docs/blog/_manifest.json +1 -0
  73. package/docs/configuration/aiwg-config.md +17 -0
  74. package/docs/frameworks/ops-complete/extensions-guide.md +1 -1
  75. package/docs/getting-started/README.md +1 -0
  76. package/docs/getting-started/audit-existing-code.md +5 -3
  77. package/docs/getting-started/existing-project.md +12 -5
  78. package/docs/getting-started/install-connect-verify.md +40 -13
  79. package/docs/getting-started/just-try-it.md +13 -11
  80. package/docs/getting-started/macos-install.md +4 -1
  81. package/docs/getting-started/new-project.md +13 -18
  82. package/docs/getting-started/prerequisites.md +11 -16
  83. package/docs/getting-started/session-history.md +56 -0
  84. package/docs/getting-started/start-here.md +12 -5
  85. package/docs/getting-started/team-setup.md +10 -9
  86. package/docs/getting-started/verify-aiwg-is-working.md +7 -4
  87. package/docs/planning/session-intelligence/conformance-and-release-gates.md +29 -4
  88. package/docs/planning/session-intelligence/provider-conformance-matrix.json +2 -2
  89. package/docs/planning/session-intelligence/test-strategy.md +1 -1
  90. package/docs/providers/cursor-sessions.md +10 -5
  91. package/docs/releases/_manifest.json +2 -0
  92. package/docs/releases/v2026.7.22-announcement.md +112 -0
  93. package/docs/releases/v2026.7.23-announcement.md +60 -0
  94. package/docs/security/threat-assessment-crosswalk.md +57 -0
  95. package/docs/security/threat-assessment-evaluation.md +46 -0
  96. package/docs/security/threat-assessment-policy.md +214 -0
  97. package/docs/sessions/cli.md +107 -3
  98. package/package.json +11 -3
  99. package/prebuilt/fortemi-core/framework/aiwg-fortemi-index-v2.json +1 -1
  100. package/prebuilt/fortemi-core/framework/manifest.json +2 -2
  101. package/schemas/security/threat-assessment-input.v1.schema.json +57 -0
  102. package/schemas/security/threat-assessment-report.v1.schema.json +104 -0
  103. package/setup.aiwg.yaml +180 -0
  104. package/tools/cli/doctor.mjs +59 -0
  105. package/tools/manifest/check-discovery-coverage.mjs +293 -0
  106. package/tools/security/assess-forge-content.mjs +41 -0
  107. package/tools/security/evaluate-threat-policy.mjs +48 -0
  108. package/tools/security/threat-assessment.mjs +669 -0
  109. package/vscode-extension/schemas/aiwg.config.v1.json +1078 -0
@@ -22,6 +22,15 @@ commandHint:
22
22
 
23
23
  **You are the Core Orchestrator** for validating and executing handoffs between SDLC phases and tracks.
24
24
 
25
+ ## Threat-assessment gate
26
+
27
+ Before signoff or packaging, resolve the active workspace member's
28
+ `security.threatAssessment` policy and assess the synthesized handoff as
29
+ `handoff` with `tools/security/threat-assessment.mjs`. Store the report with
30
+ the handoff evidence. Audit mode records `wouldAction` without interrupting;
31
+ enforce-mode `flag`/`require-authorization` pauses and `reject` blocks the
32
+ handoff. Off mode disables only this AIWG classifier.
33
+
25
34
  ## Your Role
26
35
 
27
36
  **You orchestrate multi-agent workflows. You do NOT execute bash scripts.**
@@ -890,4 +899,4 @@ This orchestration succeeds when:
890
899
 
891
900
  **Handoff Patterns**:
892
901
  - Definition of Ready: `docs/definition-of-ready-pattern.md`
893
- - Operational Readiness: `docs/operational-readiness-pattern.md`
902
+ - Operational Readiness: `docs/operational-readiness-pattern.md`
@@ -36,6 +36,16 @@ commandHint:
36
36
 
37
37
  **You are the Core Orchestrator** for the project's release sequence.
38
38
 
39
+ ## Threat-assessment gate
40
+
41
+ Before publishing release notes, announcements, or forge release content,
42
+ resolve the active workspace member's `.aiwg/aiwg.config`
43
+ `security.threatAssessment` policy and assess the final content as
44
+ `release-note` with `tools/security/threat-assessment.mjs`. Persist the
45
+ machine-readable report with the release evidence. `audit` records without
46
+ interrupting; enforce-mode `flag`/`require-authorization` pauses publication
47
+ and `reject` blocks it. Off mode disables only this AIWG classifier.
48
+
39
49
  ## Your role
40
50
 
41
51
  You walk the gates declared in `.aiwg/release.config`, in order, enforcing `hard_stop` semantics. You do not hard-code which gates exist or what they do — the config does. This is what makes the skill portable across projects with different release policies (a CalVer + npm project like AIWG vs. a SemVer + container-only project will share this skill body but differ entirely in their config).
@@ -19,5 +19,5 @@ This is an explicit alias for `aiwg-pr`. Existing `aiwg-pr` callers remain valid
19
19
  ## Route
20
20
 
21
21
  1. Read `aiwg-pr` with `aiwg show skill aiwg-pr`.
22
- 2. Apply its delivery-policy gate exactly.
22
+ 2. Apply its delivery-policy and shared threat-assessment gates exactly.
23
23
  3. If the request is generic repository PR work, stop and route to ordinary git/Gitea/GitHub PR creation instead.
@@ -64,7 +64,10 @@ Example: `aiwg discover "memory ingest"`. Phrases below pass straight to `aiwg d
64
64
  | Capture / query memory | `memory query` | semantic-memory |
65
65
  | Filter context to remove distractors | `filter distractors from context` | context-curator |
66
66
 
67
- > Bundles `auto-memory` and `llm-wiki` ship as templates / topology only — they have no indexable skills today. For project-local memory bootstrapping, use `aiwg-utils` (`auto memory templates` lives there). The `llm-wiki` topology is consumed by the knowledge-base framework — see `knowledge-base-quickref`.
67
+ > `llm-wiki` has a first-class discoverable driver for profile selection and
68
+ > activation; its topology composes with the knowledge-base framework and
69
+ > semantic-memory drivers. `auto-memory` remains a template bundle pending its
70
+ > own operational driver.
68
71
 
69
72
  ### Voice & writing quality
70
73
 
@@ -188,7 +191,9 @@ Example: `aiwg discover "hitl patterns"`. Phrases below pass straight to `aiwg d
188
191
  | HITL gates (rule, ensemble review) | `hitl gates` | sdlc-complete (rule) |
189
192
  | Factory AI compat agent | `factory compat` | sdlc-complete (agent) |
190
193
 
191
- > The `aiwg-hooks`, `agent-persistence`, and `droid-bridge` addons ship templates / rules / MCP servers without indexable skills. Their content lives in `.claude/hooks/` (Claude Code lifecycle hooks), in HITL rules under sdlc-complete, and as a separate MCP server respectively. Use the curated phrases above to surface the rules; the hook scripts themselves are accessible via the `aiwg-hooks` addon README.
194
+ > `aiwg-hooks`, `agent-persistence`, and `droid-bridge` now expose
195
+ > discoverable activation drivers. Their low-level hooks, HITL gates, and MCP
196
+ > server remain implementation artifacts reached through those drivers.
192
197
 
193
198
  ### Core meta-utilities
194
199
 
@@ -51,6 +51,18 @@ cat .aiwg/aiwg.config | jq -r '.delivery.mode'
51
51
 
52
52
  If `mode: direct`, **don't open a PR**. Commit directly to main with `Closes #N` in the message. The `delivery-policy` rule (kernel rule, always loaded) is authoritative.
53
53
 
54
+ ## Threat-assessment pre-flight
55
+
56
+ Before PR metadata, diff summaries, or review comments influence execution,
57
+ resolve the active workspace member's `security.threatAssessment` policy and
58
+ assess each value with `tools/security/threat-assessment.mjs` using
59
+ `pull-request-title`, `pull-request-body`, `pull-request-diff-summary`, or
60
+ `review-comment`. Before posting the final PR body or maintainer comment,
61
+ assess it as `outbound-maintainer-comment`. Audit mode records `wouldAction`;
62
+ enforce-mode `flag`/`require-authorization` pauses and `reject` blocks the
63
+ mutation. Off mode disables only this AIWG classifier, not delivery,
64
+ authorization, provider, or platform safeguards.
65
+
54
66
  ## The walkthrough
55
67
 
56
68
  ### 1. Find or file the issue first
@@ -8,4 +8,5 @@
8
8
  export { run } from '../cli/router.js';
9
9
  export * from '../resources/index.js';
10
10
  export * from '../sessions/index.js';
11
+ export * from '../security/threat-assessment-config.js';
11
12
  //# sourceMappingURL=index.d.ts.map
@@ -8,4 +8,5 @@
8
8
  export { run } from '../cli/router.js';
9
9
  export * from '../resources/index.js';
10
10
  export * from '../sessions/index.js';
11
+ export * from '../security/threat-assessment-config.js';
11
12
  //# sourceMappingURL=index.js.map