@jetrabbits/agentic 0.3.3 → 0.5.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.
Files changed (94) hide show
  1. package/AGENTS.md +8 -0
  2. package/CHANGELOG.md +18 -0
  3. package/Makefile +26 -5
  4. package/README.md +25 -6
  5. package/agentic +801 -66
  6. package/areas/devops/ci-cd/workflows/onboard-repo.md +29 -0
  7. package/areas/devops/ci-cd/workflows/pipeline-debug.md +26 -0
  8. package/areas/devops/ci-cd/workflows/release-pipeline.md +53 -0
  9. package/areas/devops/database-ops/workflows/backup-verify.md +27 -0
  10. package/areas/devops/database-ops/workflows/db-incident.md +30 -0
  11. package/areas/devops/devsecops/workflows/policy-onboard.md +34 -0
  12. package/areas/devops/devsecops/workflows/security-scan-pipeline.md +33 -0
  13. package/areas/devops/infrastructure/workflows/destroy-environment.md +31 -0
  14. package/areas/devops/infrastructure/workflows/drift-remediation.md +29 -0
  15. package/areas/devops/infrastructure/workflows/module-development.md +32 -0
  16. package/areas/devops/infrastructure/workflows/provision-environment.md +29 -0
  17. package/areas/devops/kubernetes/workflows/cluster-bootstrap.md +36 -0
  18. package/areas/devops/kubernetes/workflows/debug-workload.md +29 -0
  19. package/areas/devops/kubernetes/workflows/onboard-service.md +35 -0
  20. package/areas/devops/kubernetes/workflows/upgrade-cluster.md +30 -0
  21. package/areas/devops/networking/workflows/onboard-ingress.md +27 -0
  22. package/areas/devops/networking/workflows/service-mesh-onboard.md +27 -0
  23. package/areas/devops/observability/workflows/alert-investigation.md +29 -0
  24. package/areas/devops/observability/workflows/observability-stack-setup.md +33 -0
  25. package/areas/devops/observability/workflows/onboard-service-monitoring.md +31 -0
  26. package/areas/devops/sre/workflows/incident-response.md +48 -0
  27. package/areas/devops/sre/workflows/postmortem.md +32 -0
  28. package/areas/devops/sre/workflows/slo-review.md +35 -1
  29. package/areas/software/backend/workflows/add-migration.md +33 -0
  30. package/areas/software/backend/workflows/create-endpoint.md +40 -0
  31. package/areas/software/backend/workflows/debug-issue.md +31 -0
  32. package/areas/software/backend/workflows/develop-epic.md +37 -0
  33. package/areas/software/backend/workflows/develop-feature.md +44 -0
  34. package/areas/software/backend/workflows/refactor-module.md +35 -0
  35. package/areas/software/backend/workflows/test-feature.md +30 -0
  36. package/areas/software/data-engineering/workflows/backfill-data.md +25 -0
  37. package/areas/software/data-engineering/workflows/data-quality-incident.md +31 -0
  38. package/areas/software/data-engineering/workflows/lineage-trace.md +25 -0
  39. package/areas/software/data-engineering/workflows/new-model.md +30 -0
  40. package/areas/software/data-engineering/workflows/schema-migration.md +29 -0
  41. package/areas/software/frontend/workflows/a11y-fix.md +30 -0
  42. package/areas/software/frontend/workflows/bundle-analyze.md +28 -0
  43. package/areas/software/frontend/workflows/release-prep.md +33 -0
  44. package/areas/software/frontend/workflows/scaffold-component.md +32 -0
  45. package/areas/software/frontend/workflows/visual-regression.md +32 -0
  46. package/areas/software/full-stack/workflows/backend-project-full-cycle.md +47 -2
  47. package/areas/software/full-stack/workflows/debug-issue.md +29 -0
  48. package/areas/software/full-stack/workflows/develop-feature.md +38 -0
  49. package/areas/software/full-stack/workflows/feature-implementation-flow.md +38 -0
  50. package/areas/software/full-stack/workflows/testing-ci-pipeline.md +30 -0
  51. package/areas/software/general/workflows/code-review-workflow.md +31 -0
  52. package/areas/software/general/workflows/development-cycle-workflow.md +38 -0
  53. package/areas/software/general/workflows/project-setup-workflow.md +38 -0
  54. package/areas/software/mlops/workflows/champion-challenger.md +29 -0
  55. package/areas/software/mlops/workflows/deploy-endpoint.md +30 -0
  56. package/areas/software/mlops/workflows/evaluate-model.md +28 -0
  57. package/areas/software/mlops/workflows/model-incident.md +29 -0
  58. package/areas/software/mlops/workflows/train-experiment.md +25 -0
  59. package/areas/software/mobile/workflows/crash-triage.md +28 -0
  60. package/areas/software/mobile/workflows/device-testing.md +27 -0
  61. package/areas/software/mobile/workflows/ota-update.md +25 -0
  62. package/areas/software/mobile/workflows/release-build.md +30 -0
  63. package/areas/software/mobile/workflows/store-submission.md +29 -0
  64. package/areas/software/platform/workflows/cost-audit.md +28 -0
  65. package/areas/software/platform/workflows/deploy-production.md +30 -0
  66. package/areas/software/platform/workflows/drift-check.md +29 -0
  67. package/areas/software/platform/workflows/incident-response.md +33 -0
  68. package/areas/software/platform/workflows/provision-env.md +36 -0
  69. package/areas/software/qa/workflows/flakiness-investigation.md +30 -0
  70. package/areas/software/qa/workflows/performance-audit.md +29 -0
  71. package/areas/software/qa/workflows/regression-suite.md +28 -0
  72. package/areas/software/qa/workflows/smoke-test.md +31 -0
  73. package/areas/software/qa/workflows/test-coverage-report.md +28 -0
  74. package/areas/software/security/workflows/compliance-report.md +27 -0
  75. package/areas/software/security/workflows/pen-test-sim.md +28 -0
  76. package/areas/software/security/workflows/secret-rotation.md +33 -2
  77. package/areas/software/security/workflows/security-scan.md +29 -0
  78. package/areas/software/security/workflows/threat-model-review.md +30 -0
  79. package/docs/agentic-usage.md +19 -2
  80. package/docs/catalog.schema.json +5 -1
  81. package/docs/mcp/README.md +28 -0
  82. package/docs/opencode_setup.md +21 -1
  83. package/docs/site/README.md +15 -1
  84. package/docs/site/app.js +68 -0
  85. package/docs/site/catalog.json +74 -1
  86. package/docs/site/index.html +5 -1
  87. package/docs/site/styles.css +52 -4
  88. package/extensions/opencode/opencode.json +0 -1
  89. package/extensions/opencode/profiles/githubcopilot/opencode.json +87 -0
  90. package/extensions/opencode/profiles/openai/opencode.json +100 -0
  91. package/package.json +1 -1
  92. package/scripts/build_docs_catalog.py +13 -1
  93. package/scripts/sync_workflow_diagrams.py +199 -0
  94. package/extensions/opencode/plugins/sound-notification.ts +0 -13
package/AGENTS.md CHANGED
@@ -63,6 +63,14 @@ Cross-cutting practices that apply to every project regardless of area.
63
63
  - Apply the `product-owner` role to confirm that docs describe the user-facing behavior, acceptance criteria, and
64
64
  operational constraints of the change.
65
65
 
66
+ ### Versioning And Changelog
67
+
68
+ - After every completed feature, update the project version in the appropriate version source for the repository.
69
+ - Update `CHANGELOG.md` in the same change set with a concise user-facing summary, operational notes, and any migration
70
+ or rollout considerations.
71
+ - Do not leave feature behavior documented only in implementation notes, rollout logs, or PR text; the version and
72
+ changelog are part of the feature completion contract.
73
+
66
74
  ### MCP Memory Providers
67
75
 
68
76
  See [MEMORY.md](MEMORY.md) for the full protocol: provider roles, Context7 usage, MemPalace session-start queries,
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.5.0
4
+ - Fixed skill and rule dependencies within workflows
5
+
6
+ ## v0.4.0
7
+
8
+ - Fixed OpenCode MCP config generation to use top-level `mcp` entries and migrate/remove legacy `mcpServers` from generated OpenCode configs.
9
+ - Added readable OpenCode menu labels for Telegram notifications and agent model mapping while preserving existing internal ids.
10
+ - Added committed OpenCode model profiles for OpenAI and GitHub Copilot under `extensions/opencode/profiles`.
11
+ - Added OpenCode profile choices to the optional OpenCode menu with manifest persistence and MCP-safe config merging.
12
+ - Renamed generated Docker MCP server entries from `MCP_DOCKER` to `docker`.
13
+ - Added non-fatal local prerequisite warnings for selected Kubernetes and Docker MCP integrations.
14
+ - Removed the macOS bash 3.2 warning and added compatibility handling for older bash empty-array behavior.
15
+ - Extended deterministic e2e coverage for all-MCP doctor setup, OpenCode MCP migration, OpenCode profiles, readable menu labels, and bash 3 compatibility.
16
+
17
+ ## v0.3.4
18
+
19
+ - Enabled Codex project memories by generating `.codex/config.toml` with `[features] memories = true` whenever Codex is selected.
20
+
3
21
  ## v0.3.3
4
22
 
5
23
  - Updated MemPalace project initialization to pipe explicit confirmation (`echo "Y" | mempalace init ...`) for non-interactive setup robustness.
package/Makefile CHANGED
@@ -1,4 +1,4 @@
1
- .PHONY: help install dev test test-all test-cli test-tui test-cross test-doctor test-markers test-opencode-plugins test-telegram-plugin test-ubuntu-blackbox test-real-agent-doctor test-real-blackbox test-real-blackbox-codex test-real-blackbox-opencode test-real-blackbox-telegram test-real-opencode-mapper test-coverage _test-coverage-steps lint fmt clean build assess-areas
1
+ .PHONY: help install dev test test-all test-cli test-tui test-mcp test-cross test-doctor test-markers test-opencode-plugins test-telegram-plugin test-ubuntu-blackbox test-real-agent-doctor test-real-blackbox test-real-blackbox-codex test-real-blackbox-opencode test-real-blackbox-telegram test-real-opencode-mapper test-coverage _test-coverage-steps check-no-pycache lint fmt clean build sync-diagrams assess-areas
2
2
 
3
3
  define timed_step
4
4
  @label='$(1)'; \
@@ -27,6 +27,7 @@ help:
27
27
  " test-all Run fast tests, real blackbox, and coverage" \
28
28
  " test-cli Run CLI end-to-end tests" \
29
29
  " test-tui Run TUI end-to-end tests" \
30
+ " test-mcp Run MCP selection/config end-to-end tests" \
30
31
  " test-cross Run cross-mode end-to-end tests" \
31
32
  " test-doctor Run deterministic doctor end-to-end tests" \
32
33
  " test-markers Run generated marker and idempotency tests" \
@@ -40,10 +41,12 @@ help:
40
41
  " test-real-blackbox-telegram Run real OpenCode Telegram blackbox test" \
41
42
  " test-real-opencode-mapper Run real OpenCode mapper input blackbox" \
42
43
  " test-coverage Run traced e2e coverage for agentic" \
44
+ " check-no-pycache Fail if Python bytecode/cache artifacts are present" \
43
45
  " lint Run prompt and catalog validation" \
44
46
  " fmt Check formatting hooks placeholder" \
45
47
  " clean Remove generated reports" \
46
48
  " build Build generated docs catalog" \
49
+ " sync-diagrams Generate workflow agent interaction diagrams" \
47
50
  " assess-areas Generate area quality scorecards"
48
51
 
49
52
  install:
@@ -55,6 +58,7 @@ dev:
55
58
  test:
56
59
  $(call timed_step,test-cli,bash tests/e2e/cli.e2e.sh)
57
60
  $(call timed_step,test-tui,bash tests/e2e/tui.e2e.sh)
61
+ $(call timed_step,test-mcp,bash tests/e2e/mcp.e2e.sh)
58
62
  $(call timed_step,test-cross,bash tests/e2e/cross.e2e.sh)
59
63
  $(call timed_step,test-opencode-plugins,bash tests/e2e/opencode_plugins.e2e.sh)
60
64
  $(call timed_step,test-telegram-plugin,bash tests/e2e/telegram_plugin.e2e.sh)
@@ -75,6 +79,9 @@ test-cli:
75
79
  test-tui:
76
80
  $(call timed_step,test-tui,bash tests/e2e/tui.e2e.sh)
77
81
 
82
+ test-mcp:
83
+ $(call timed_step,test-mcp,bash tests/e2e/mcp.e2e.sh)
84
+
78
85
  test-cross:
79
86
  $(call timed_step,test-cross,bash tests/e2e/cross.e2e.sh)
80
87
 
@@ -131,11 +138,21 @@ _test-coverage-steps:
131
138
  $(call timed_step,test-coverage-doctor,AGENTIC_COVERAGE_TRACE_FILE="$(AGENTIC_COVERAGE_TRACE_FILE)" AGENTIC_TEST_CLI="$(CURDIR)/tests/e2e/coverage_shim.sh" bash tests/e2e/doctor.e2e.sh >/tmp/agentic-coverage-doctor.log 2>&1)
132
139
  $(call timed_step,test-coverage-parse,bash tests/e2e/coverage_parse.sh "$(AGENTIC_COVERAGE_TRACE_FILE)")
133
140
 
141
+ check-no-pycache:
142
+ @found="$$(find . -name .git -prune -o \( -type d -name __pycache__ -o -type f \( -name '*.pyc' -o -name '*.pyo' -o -name '*.pyd' \) \) -print)"; \
143
+ if [ -n "$$found" ]; then \
144
+ printf '%s\n' "Python bytecode/cache artifacts are not allowed:"; \
145
+ printf '%s\n' "$$found"; \
146
+ exit 1; \
147
+ fi
148
+
134
149
  lint:
135
150
  bash -n agentic
136
- python3 -m py_compile scripts/build_docs_catalog.py scripts/lint_prompts.py scripts/assess_area_quality.py
137
- python3 scripts/lint_prompts.py --strict
138
- python3 scripts/build_docs_catalog.py --validate --output /tmp/agentic-catalog-check.json
151
+ PYTHONPYCACHEPREFIX=/tmp/agentic-pycache-check python3 -m py_compile scripts/build_docs_catalog.py scripts/lint_prompts.py scripts/assess_area_quality.py scripts/sync_workflow_diagrams.py
152
+ PYTHONDONTWRITEBYTECODE=1 python3 scripts/lint_prompts.py --strict
153
+ PYTHONDONTWRITEBYTECODE=1 python3 scripts/sync_workflow_diagrams.py --check
154
+ PYTHONDONTWRITEBYTECODE=1 python3 scripts/build_docs_catalog.py --validate --output /tmp/agentic-catalog-check.json
155
+ $(MAKE) check-no-pycache
139
156
 
140
157
  fmt:
141
158
  @printf '%s\n' "No formatter configured."
@@ -144,7 +161,11 @@ clean:
144
161
  rm -f reports/area-quality.json reports/area-quality.md
145
162
 
146
163
  build:
147
- python3 scripts/build_docs_catalog.py --output docs/site/catalog.json --validate
164
+ PYTHONDONTWRITEBYTECODE=1 python3 scripts/sync_workflow_diagrams.py --check
165
+ PYTHONDONTWRITEBYTECODE=1 python3 scripts/build_docs_catalog.py --output docs/site/catalog.json --validate
166
+
167
+ sync-diagrams:
168
+ python3 scripts/sync_workflow_diagrams.py
148
169
 
149
170
  assess-areas:
150
171
  python3 scripts/assess_area_quality.py --json-output reports/area-quality.json --markdown-output reports/area-quality.md
package/README.md CHANGED
@@ -194,15 +194,34 @@ project/.agent/
194
194
 
195
195
  ### MCP
196
196
 
197
- - `context7`: adds a remote MCP server for up-to-date framework, library, SDK, and API documentation.
198
- - `mempalace`: adds a local memory MCP server for project context discovery and reuse.
197
+ - `opencode-docs` (safe): adds OpenCode documentation through a local MCP server.
198
+ - `playwright` (sensitive): adds browser automation through Playwright MCP.
199
+ - `kubernetes` (dangerous): adds Kubernetes cluster access through Kubernetes MCP.
200
+ - `youtube-transcript` (safe): adds YouTube transcript lookup through a local MCP server.
201
+ - `docker-mcp` (dangerous): adds Docker MCP Gateway as the generated `docker` MCP server.
202
+ - `context7` (safe): adds a remote MCP server for up-to-date framework, library, SDK, and API documentation.
203
+ - `mempalace` (sensitive): adds a local memory MCP server for project context discovery and reuse.
204
+ - `anydb` (dangerous): adds database access through AnyDB MCP.
199
205
 
200
206
  ### OpenCode Plugins
201
207
 
202
- - `telegram-opencode-notifier`: sends Telegram notifications when an OpenCode session becomes idle, including the final
203
- response or an attachment for long output.
204
- - `agent-model-mapper`: maps `.opencode/agents/*.md` roles to main and fallback OpenCode models during interactive
205
- `agentic install`/`agentic tui`. OpenCode startup never prompts or writes project files.
208
+ - `Telegram Notifications`: sends Telegram notifications when an OpenCode session becomes idle, including the final
209
+ response or an attachment for long output. Stored internally as `telegram-notification`.
210
+ - `Agent Model Mapping`: maps `.opencode/agents/*.md` roles to main and fallback OpenCode models during interactive
211
+ `agentic install`/`agentic tui`. Stored internally as `agent-model-mapper`; OpenCode startup never prompts or writes
212
+ project files.
213
+
214
+ ### OpenCode Model Profiles
215
+
216
+ - `OpenAI Model Profile`: applies the bundled OpenAI model mapping from `extensions/opencode/profiles/openai/`.
217
+ - `GitHub Copilot Model Profile`: applies the bundled GitHub Copilot model mapping from
218
+ `extensions/opencode/profiles/githubcopilot/`.
219
+ - User profiles: place `opencode.json` files under `$HOME/.config/agentic/opencode/profiles/<profile-id>/`. For
220
+ example, `$HOME/.config/agentic/opencode/profiles/DT/opencode.json` appears in the optional OpenCode plugin menu as
221
+ `DT profile`, and `$HOME/.config/agentic/opencode/profiles/GH/opencode.json` appears as `GH profile`.
222
+ - `none`: applies no model profile and does not copy the baseline `extensions/opencode/opencode.json` just for profile
223
+ selection. OpenCode MCPs, Telegram notifications, and model mapping may still create or update `.opencode/opencode.json`
224
+ when those options are selected.
206
225
 
207
226
  ---
208
227