bpmax-cli 0.1.44-beta.2 → 0.1.44-beta.20

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 (58) hide show
  1. package/README.md +49 -0
  2. package/dist/bin.js +8995 -4787
  3. package/dist/bin.js.map +1 -1
  4. package/package.json +1 -1
  5. package/skills/bpmax-ai-taskbook/SKILL.md +178 -0
  6. package/skills/bpmax-approval-matrix/SKILL.md +87 -0
  7. package/skills/bpmax-cli/SKILL.md +3 -0
  8. package/skills/bpmax-dataset-field-template-editor/SKILL.md +5 -2
  9. package/skills/bpmax-dataset-template-editor/SKILL.md +2 -2
  10. package/skills/bpmax-dataset-template-editor/references/pre-process-script-example-catalog.md +8 -8
  11. package/skills/bpmax-e2e-flow-config-orchestrator/SKILL.md +53 -1
  12. package/skills/bpmax-e2e-flow-config-orchestrator/references/orchestration-matrix.md +4 -1
  13. package/skills/bpmax-e2e-flow-test-operator/SKILL.md +106 -3
  14. package/skills/bpmax-e2e-flow-test-operator/profiles/negative_sale.json +4 -4
  15. package/skills/bpmax-e2e-flow-test-operator/profiles/negative_sale_final_v2.json +4 -4
  16. package/skills/bpmax-e2e-flow-test-operator/profiles/negative_sale_main.json +4 -4
  17. package/skills/bpmax-e2e-flow-test-operator/profiles/negative_sale_region.json +4 -4
  18. package/skills/bpmax-e2e-flow-test-operator/references/ai-test-suite.md +333 -0
  19. package/skills/bpmax-e2e-flow-test-operator/references/browser-only-checkpoints.md +8 -0
  20. package/skills/bpmax-e2e-flow-test-operator/references/filter-field-discovery.md +2 -2
  21. package/skills/bpmax-e2e-flow-test-operator/references/minimal-test-loop.md +9 -4
  22. package/skills/bpmax-e2e-flow-test-operator/references/negative-sale-api-matrix.md +3 -3
  23. package/skills/bpmax-e2e-flow-test-operator/references/profile-schema.md +6 -4
  24. package/skills/bpmax-e2e-flow-test-operator/references/state-schema.md +25 -0
  25. package/skills/bpmax-e2e-flow-test-operator/scripts/e2e_doc.py +26 -0
  26. package/skills/bpmax-e2e-flow-test-operator/scripts/flow_test_profile.py +11 -11
  27. package/skills/bpmax-flow-template-editor/SKILL.md +52 -11
  28. package/skills/bpmax-flow-template-editor/references/flow-template-api-workflow.md +17 -2
  29. package/skills/bpmax-flow-template-editor/references/lessons-from-price-plan-flow.md +3 -3
  30. package/skills/bpmax-flow-template-editor/references/matrix-flow-form-nav-collaboration.md +9 -4
  31. package/skills/bpmax-flow-template-editor/references/project-create-runtime-gotchas.md +54 -2
  32. package/skills/bpmax-flow-template-editor/references/script-review-hard-rules.md +3 -0
  33. package/skills/bpmax-form-template-editor/SKILL.md +44 -14
  34. package/skills/bpmax-form-template-editor/references/form-template-api-workflow.md +15 -5
  35. package/skills/bpmax-form-template-editor/references/local-temp-workflow.md +1 -1
  36. package/skills/bpmax-form-template-editor/scripts/export_form_template.py +2 -0
  37. package/skills/bpmax-form-template-editor/scripts/form_template_editor_common.py +17 -0
  38. package/skills/bpmax-form-template-editor/tests/test_form_template_editor.py +6 -17
  39. package/skills/bpmax-list-template-editor/SKILL.md +10 -0
  40. package/skills/bpmax-list-template-editor/references/content-config-shape.md +17 -0
  41. package/skills/bpmax-list-template-editor/references/list-template-api-workflow.md +9 -4
  42. package/skills/bpmax-list-template-editor/references/runtime-verified-workflow.md +17 -10
  43. package/skills/bpmax-list-template-editor/references/special-formats.md +17 -0
  44. package/skills/bpmax-nav-config-editor/SKILL.md +3 -2
  45. package/skills/bpmax-nav-config-editor/references/api-workflow.md +6 -4
  46. package/skills/bpmax-nav-config-editor/references/path-mapping-rules.md +5 -0
  47. package/skills/bpmax-project/SKILL.md +8 -1
  48. package/skills/bpmax-project-detail-template-editor/SKILL.md +26 -0
  49. package/skills/bpmax-project-detail-template-editor/references/module-catalog-and-config-notes.md +73 -0
  50. package/skills/bpmax-role-editor/SKILL.md +1 -1
  51. package/skills/bpmax-user-mock-operator/SKILL.md +106 -0
  52. package/skills/bpmax-user-mock-operator/agents/openai.yaml +4 -0
  53. package/skills/bpmax-user-mock-operator/scripts/switch_user_identity.py +37 -0
  54. package/skills/bpmax-user-mock-operator/scripts/user_mock_operator_common.py +136 -0
  55. package/skills/bpmax-user-mock-operator/tests/test_user_mock_operator.py +138 -0
  56. package/skills/bpmax-workspace-editor/SKILL.md +78 -0
  57. package/skills/bpmax-workspace-editor/agents/openai.yaml +4 -0
  58. package/skills/form-control-library/references/form-controls.md +37 -37
package/README.md CHANGED
@@ -320,6 +320,55 @@ Use `bbs sync` when there is no local/catalog match, then check again before fal
320
320
 
321
321
  For mutating raw API calls, `bpmax-cli api` requires `--confirm-mutating` and supports `--data @file.json`. Raw API calls to `POST /project` or `POST /project/<anything>` are blocked even with `--confirm-mutating`; the only project POST allowed in raw mode is the read-style `/project/list`. Search projects through `bpmax-cli project search`, and create projects through `bpmax-cli project create --flow-id <id> --json <json>` so the CLI can run form-template checks and choose safe direct submit or handoff. Prefer typed commands such as `step submit` for workflow state changes.
322
322
 
323
+ Workspace configuration is also typed. Use `bpmax-cli config workspace export --id key:<workspace_key>` for readback and `bpmax-cli config workspace build/submit` for create or edit. Workspace keys must be 2-20 characters, start with a letter, and contain only letters, numbers, `_`, or `-`; real writes require an exact confirmation such as `--confirm "submit workspace ops_demo"`.
324
+
325
+ ## BPMAX AI test suites
326
+
327
+ `bpmax-cli test-suite` manages local `.ai_test` case assets for BPMAX E2E regression work:
328
+
329
+ ```bash
330
+ bpmax-cli test-suite lint --root .ai_test/suite_draft --latest-proof .codex/tmp/ai_test_suite/latest-yaditest-proof.json
331
+ bpmax-cli test-suite lint --root .ai_test/suite_draft --latest-proof .codex/tmp/ai_test_suite/latest-yaditest-proof.json --explain
332
+ bpmax-cli test-suite review init --scenario <scenario_id> --draft-root .ai_test/suite_draft --latest-proof <proof.json>
333
+ bpmax-cli test-suite review repair --scenario <scenario_id> --draft-root .ai_test/suite_draft --latest-proof <proof.json>
334
+ bpmax-cli test-suite review explain
335
+ bpmax-cli test-suite index --root .ai_test/suite --latest-proof .codex/tmp/ai_test_suite/latest-yaditest-proof.json
336
+ bpmax-cli test-suite draft-update --scenario <scenario_id> --replace --latest-proof <proof.json>
337
+ bpmax-cli test-suite promote --scenario <scenario_id> --replace --latest-proof <proof.json>
338
+ bpmax-cli test-suite next-report-dir --root .ai_test/report --create
339
+ bpmax-cli test-suite lint-report --root .ai_test/report
340
+ ```
341
+
342
+ The suite commands are local file operations. `lint`, `index`, `draft-update`, and `promote` require a `latest-*` proof JSON so case assets stay tied to a verified sysconfig baseline. Use `lint --explain` or `review explain` to print the required `review.json` schema. `review init` creates a minimal draft review file, and `review repair` fills missing schema fields without replacing existing review text. Promote also requires `review.json` with the required review perspectives and zero unresolved P0/P1 findings. Copy operations return a diff summary plus `.copy_diff/last.diff` so agents can review changed files and case IDs before overwriting.
343
+
344
+ Project detail template runtime defaults are explicit: `bpmax-cli config project-detail-template export --id 0` exports the global default template only. For `/project_detail/0/<project_id>` runtime behavior, first resolve the flow default:
345
+
346
+ ```bash
347
+ bpmax-cli config project-detail-template resolve-default --flow-type <flow_type> --flow-key "" --profile <profile> --format json
348
+ bpmax-cli config project-detail-template export --id <resolved_id> --profile <profile>
349
+ ```
350
+
351
+ When a local sysconfig mirror only has a UUID, resolve it before using typed config writes:
352
+
353
+ ```bash
354
+ bpmax-cli config resolve-id --domain project-detail-template --uuid <uuid> --repo <sysconfig_repo> --profile <profile> --format json
355
+ ```
356
+
357
+ `bpmax-cli config adapters --format json` returns a JSON array of adapter rows. Each row includes `domain`, capability prefix, supported statuses, read/write endpoints, and notes.
358
+
359
+ ## BPMAX AI implementation taskbooks
360
+
361
+ `bpmax-cli taskbook` manages local AI implementation taskbooks before configuration work is dispatched:
362
+
363
+ ```bash
364
+ bpmax-cli taskbook init --out .codex/tmp/TASKBOOK.md
365
+ bpmax-cli taskbook lint --source .codex/tmp/TASKBOOK.md
366
+ bpmax-cli taskbook lint-prompt --prompt-source .codex/tmp/TASK_PROMPT.md
367
+ bpmax-cli taskbook progress init --source .codex/tmp/TASKBOOK.md --out .codex/tmp/taskbook-progress.csv
368
+ ```
369
+
370
+ Taskbook commands are local file gates. They do not write BPMAX configuration. Use them to enforce object locks, subagent mode, required skills, prompt readiness, and progress CSV initialization before calling typed `config` commands.
371
+
323
372
  If `aily-skillhub` is available in `PATH`, the installer also runs:
324
373
 
325
374
  ```bash