Commit Graph
327 Commits
Author SHA1 Message Date
yunyingk c74fdda7da Merge pull request #107 from yunyingk/feat/workflow-debug-prod-allow-with-prompt
feat(workflow): allow enabled workflow debugging with full security prompts instead of hard block
2026-10-15 14:19:20 +08:00
gitea c507879896 feat(workflow): allow enabled workflow debugging with full security prompts instead of hard block 2026-10-15 14:19:00 +08:00
yunyingk f6227f277a Merge pull request #106 from yunyingk/fix/workflow-prod-debug-guard
fix(workflow): intercept production debug on enabled workflows without force and document platform vulnerability
2026-10-15 14:14:13 +08:00
gitea 0b4519652b fix(workflow): intercept production debug on enabled workflows without force and document platform vulnerability 2026-10-15 14:13:50 +08:00
yunyingk 36a3c3b28d Merge pull request #105 from yunyingk/chore/workflow-help-docs
chore(cli): document diff, diff-job, and test subcommands in workflow help
2026-10-15 13:26:13 +08:00
gitea 86d6c1d340 chore(cli): document diff, diff-job, and test subcommands in workflow help 2026-10-15 13:26:03 +08:00
yunyingk ed3f38f1ab Merge pull request #104 from yunyingk/feat/workflow-debug-test-and-branch-diagnosis
feat(workflow): end-to-end workflow debug test command and condition branch explanation
2026-10-15 13:24:50 +08:00
gitea fe6183dd44 feat(workflow): add end-to-end workflow debug test command and condition branch explanation 2026-10-15 13:24:14 +08:00
yunyingk febeecdec7 Merge pull request #103 from yunyingk/feat/datalink-ref-card-display
feat(datalink): support card data.dataLink unwrapping in normalizeDatalinkRecord
2026-10-15 11:05:38 +08:00
gitea 0b3b022edf feat(datalink): support card data.dataLink unwrapping in normalizeDatalinkRecord 2026-10-15 11:05:12 +08:00
yunyingk 0e2fb6a9b8 Merge pull request #102 from yunyingk/feat/datalink-compact-reference-normalization
fix(datalink): compact reference and card object flattening in normalizeDatalinkRecord
2026-10-15 11:03:17 +08:00
gitea 2c32758e34 fix(datalink): compact reference and card object flattening in normalizeDatalinkRecord 2026-10-15 11:02:57 +08:00
yunyingk 1ee26d786a Merge pull request #101 from yunyingk/feat/platform-records-streaming-and-stats
feat(platform): add streaming ndjson, stats profiling, flat normalization, and public sdk surface
2026-10-15 11:01:23 +08:00
gitea 03195bbbe5 feat(platform): add streaming ndjson, stats profiling, flat normalization, and public sdk surface 2026-10-15 11:00:18 +08:00
yunyingk 26a6b7318c Merge pull request #100 from yunyingk/feat/platform-ledger-audit-and-batch-ops
feat(datalink,platform): add ledger math audit, continuity check, and in-line declarative batch update (Phase 4 & 5)
2026-10-14 22:26:27 +08:00
gitea cd0aa2bf41 feat(datalink,platform): add ledger math audit, continuity check, and in-line declarative batch update 2026-10-14 22:25:48 +08:00
yunyingk d3f7d3efbc Merge pull request #99 from yunyingk/feat/workflow-diff-suite
feat(workflow): add workflow snapshot diff and job execution diff suite (Phase 3)
2026-10-14 22:13:32 +08:00
gitea 2f94768184 feat(workflow): add workflow snapshot diff and job execution diff suite (Phase 3) 2026-10-14 22:13:05 +08:00
yunyingk d37ebb7fcd Merge pull request #98 from yunyingk/feat/flow-trace-diagnostics
feat(bill,flow): add unified bill trace and flow get diagnostic engine (Phase 2)
2026-10-14 22:01:35 +08:00
gitea ffec604ed9 feat(bill,flow): add unified bill trace and flow get diagnostic engine (Phase 2) 2026-10-14 22:00:55 +08:00
yunyingk 7891959853 Merge pull request #97 from yunyingk/feat/observable-ops-phase1
feat(ops): add dynamic staff link switching and deep failed job inspection (Phase 1)
2026-10-14 18:33:06 +08:00
gitea 0c6a3ee660 feat(workflow,corps): add dynamic staff link switching and deep failed job inspection 2026-10-14 18:32:14 +08:00
gitea 0499ccb2cc refactor(corps): normalize credential categories and format workflow history logs 2026-10-14 18:19:13 +08:00
yunyingk f91a80f9dd Merge pull request #96 from yunyingk/chore/legacy-cleanup
chore(legacy): remove ekb-mcp migration layer and other compat residue
2026-10-05 16:29:33 +08:00
gitea 95eb8ee676 chore(legacy): remove ekb-mcp migration layer, approval db compat shim, and stale daily notes
The ekb-mcp -> hose-use rename migration (LEGACY_* constants,
syncLegacyEnterprisesDir/syncLegacyGlobalConfig with 7-day grace
cleanup, dual-source enterprises resolution) has completed its job:
legacy data self-deleted on active machines years of grace ago.
Config resolution now returns the single primary
~/.config/hose-use source; startup no longer scans the legacy dir.

- core/config/loader.ts: drop legacy constants, sync functions, and
  LEGACY path from diagnostics candidates; loader.test.ts drops the
  three legacy-migration cases
- domains/approval/db.ts deleted: pure pass-through over core/db whose
  consumers (repository.ts) already call core/db directly; the four
  test files now import getDatabase/closeDatabase from core/db
- scripts/dev-hygiene.ts: drop the config.legacy finding and
  legacyConfig snapshot field
- docs/daily/* removed: Python-era (ekb-cli/ekb-mcp) notes describing
  commands and architecture that no longer exist (preserved in git
  history)

No behavior change on machines without legacy data: tsc clean,
313 tests pass (316 minus the 3 removed legacy cases).
2026-10-05 16:29:19 +08:00
yunyingk 70fbbe22df Merge pull request #95 from yunyingk/release/v0.8.13
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
chore(release): bump version to v0.8.13
v0.8.13
2026-10-04 15:09:14 +08:00
gitea ed2dffb091 chore(release): bump version to v0.8.13 2026-10-04 15:09:03 +08:00
yunyingk 27c465491f Merge pull request #94 from yunyingk/chore/pin-bun-version
chore(release): pin Bun toolchain (setup-bun SHA + bun 1.3.14, packageManager/engines)
2026-10-04 14:49:00 +08:00
yunyingk 91d768afd2 Merge pull request #93 from yunyingk/refactor/commands-directories
refactor(cli): split the five oversized command files into directory form
2026-10-04 14:48:55 +08:00
yunyingk 3b40598ced Merge pull request #92 from yunyingk/chore/repo-root-cleanup
chore(repo): consolidate spec artifacts into specs/ and complete README coverage
2026-10-04 14:48:49 +08:00
gitea 160a8977e6 chore(release): pin Bun toolchain for reproducible, supply-chain-safe releases
- Pin oven-sh/setup-bun to v2.2.0 by full commit SHA instead of the
  mutable v2 tag, and pin bun-version to 1.3.14 instead of latest
- Declare packageManager (bun@1.3.14) and engines (>=1.3.14) in
  package.json so local dev and CI use the same Bun toolchain
2026-10-04 14:21:05 +08:00
gitea 8c6ee6ca89 refactor(cli): split commands/bill.ts into bill/{context,approve,search,flow,related,meta,index}.ts
The five closures that captured corp/client/confirmation state move
into a per-invocation createBillActionContext factory; case bodies
become ctx-taking handlers grouped by concern (approval write actions,
list/get, flow/risk/budget, refs/relations/attachments/download,
schema/link/spec). index.ts keeps the original switch semantics.
No behavior change: tsc clean, 316 tests pass.
2026-10-04 14:18:29 +08:00
gitea 6cb05ebc37 refactor(cli): split commands/platform.ts into platform/{shared,app-info,records,record-actions,index}.ts
Verbatim code moves grouped by concern: app metadata & permissions,
record query + ledger audit, and record write actions (incl. batch
safe edit). No behavior change: tsc clean, 316 tests pass.
2026-10-04 14:14:57 +08:00
gitea c8450b9908 refactor(cli): split commands/update.ts into update/{index,releases}.ts
releases.ts carries the GitHub/Gitea release infrastructure (types,
listing, mirrored download, archive extraction, semver compare);
index.ts keeps handleUpdateCommand and re-exports the previously
public members so update.test.ts stays source-compatible.
Verbatim code moves, no behavior change: tsc clean, 316 tests pass.
2026-10-04 14:12:03 +08:00
gitea 6f1f2623a3 refactor(cli): split commands/workflow.ts into directory form (list/lifecycle/draft/history/job/check/analyze)
Verbatim code moves; drops dead WORKFLOW_STATE_DIR const that was
declared but never read. No behavior change: tsc clean, 316 tests pass.
2026-10-04 14:09:34 +08:00
gitea 52342a9b8e refactor(cli): split commands/corps.ts into directory form mirroring domains layout
Pilot for the command-directory form: 1077-line corps.ts becomes
corps/{index,shared,query,context,link,credentials,probe}.ts with
verbatim code moves. index.ts keeps the dispatch switch plus
re-exports so auth.ts and registry.ts consumers stay source-compatible.

No behavior change: tsc clean, 316 tests pass.
2026-10-04 14:06:25 +08:00
gitea a3b64d8c8d chore(repo): consolidate spec artifacts into specs/ and complete README coverage
- Move generated OpenAPI bundles out of dist/ into committed specs/
  (specs/openapi.json, specs/openapi.raw.json); source YAML tree moves
  openapi/ -> specs/openapi/; schemas/workflow-schema.json joins as
  specs/workflow-schema.json
- Update all generators/consumers: bundle-openapi, generate-raw-openapi,
  check-version-sync, bump-version, export-workflow-schema,
  packaging/embedded-openapi
- Rewrite stale .env.example with current HOSE_* environment variables
- Archive stale repo-local enterprise configs (superseded by
  ~/.config/hose-use/enterprises) out of the repo; root enterprises/
  keeps only the tracked example.json plus an explanatory README
- Add missing directory READMEs: approval/contact/message/task/events
  domains, cli/, http/, packaging/
- Fix stale domain doc links in README.domains.md and
  docs/modules/platform.md
2026-10-04 14:00:03 +08:00
yunyingk 6d532fc719 Merge pull request #91 from yunyingk/refactor/architecture-cleanup
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
refactor(architecture): unify layering, command registry, SQLite persistence, and token caching (v0.8.12)
v0.8.12
2026-09-30 09:23:24 +08:00
gitea 0c745fdb0c chore(release): bump version to v0.8.12 2026-09-30 09:22:15 +08:00
gitea fd24e844b0 docs(architecture): update AGENTS.md and README.domains.md with full layering and 14-domain matrix 2026-09-30 00:37:49 +08:00
gitea 88c57558e1 refactor(aipro): modularize 1181-line aipro-cli.ts into src/cli/commands/aipro and reuse shared CLI helpers 2026-09-30 00:35:27 +08:00
gitea fbdfbaa8d3 refactor(cli): introduce declarative CLI command registry and shared runtime helpers 2026-09-30 00:31:30 +08:00
gitea 27c86e052a refactor(core,packaging): relocate embedded assets and binary runtime to src/packaging and enforce core whitelist 2026-09-30 00:29:20 +08:00
gitea 3864f0ffd0 refactor(db,persistence): unify EventStore and WorkflowAlertStore onto core/db SQLite 2026-09-30 00:26:49 +08:00
gitea 5a0c277993 refactor(architecture): eliminate direct domains/*/api imports in CLI entrypoints and add boundary tests 2026-09-30 00:22:36 +08:00
gitea fb11fedb76 docs(architecture): sync core and domain READMEs with refactored modules and layering 2026-09-30 00:14:54 +08:00
gitea c15d622ba2 refactor(errors): unify EkbError hierarchy across domains and structured CLI error classification 2026-09-30 00:13:35 +08:00
gitea 2b220bc5d9 refactor(auth,config): split 2260-line login.ts into focused modules and normalize CorpConfig fields 2026-09-30 00:04:28 +08:00
gitea 2d744d283b perf(http,auth): persist EASO, Unity, and Piper tokens across CLI invocations via token-store 2026-09-29 23:45:38 +08:00
gitea 76f7832522 refactor(mcp): remove deprecated fine-grained MCP tool definitions and simplify server to single CLI gateway 2026-09-29 23:42:12 +08:00