Commit Graph
184 Commits
Author SHA1 Message Date
yunyingk 1b5ae12254 Merge pull request #48 from yunyingk/feat/configurable-approval-gateway
feat(approval): introduce configurable gateway policy script and enforce strict reject/approve guardrails
2026-09-07 14:04:52 +08:00
gitea 27660bed92 feat(approval): introduce configurable gateway policy script and enforce strict reject/approve guardrails 2026-09-07 14:03:22 +08:00
yunyingk 01a3263423 Merge pull request #47 from yunyingk/fix/update-download-timeout
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
feat(aipro): approval lifecycle, gateway guardrails, update timeouts, and bump to v0.7.2
v0.7.2
2026-09-07 00:02:06 +08:00
gitea 052fa77df6 chore(release): bump version to v0.7.2 2026-09-07 00:01:41 +08:00
gitea ca00e9a2cc feat(aipro): implement bind, review, decide with gateway guardrail and <150 chars opinion validation 2026-09-06 23:54:36 +08:00
gitea 7e39d95b36 feat(aipro): translate JSON output field names to Chinese in scopes and rules commands 2026-09-06 23:32:25 +08:00
gitea b0149ed32d feat(aipro): introduce init session with 6-char short runId and 6h TTL, support --run audit logging in scopes, translate, rules and logs 2026-09-06 23:23:57 +08:00
gitea a16d429d44 feat(aipro): add standalone document field translator and translate command 2026-09-06 22:58:34 +08:00
gitea 2afde446d2 feat(aipro): require wrapped array for rules input and flatten output by code 2026-09-06 22:46:37 +08:00
gitea 950dd6d8fa feat(aipro): add multi-index rules command outputting matched scopes and rules 2026-09-06 22:44:00 +08:00
gitea 8d203fc230 feat(aipro): format scopes command output as pure json with index and scope 2026-09-06 22:39:45 +08:00
gitea 62025cb6f1 feat(aipro): add scopes index command and decouple points from bills 2026-09-06 22:36:58 +08:00
gitea 2f8bcb90c9 refactor(cli): purge short hose alias and standardize on hose-use across docs, scripts, and prompts 2026-09-06 22:26:04 +08:00
gitea 304a8c0d98 fix(update): relax binary download timeout to 600s and pass auth token for github assets 2026-09-06 22:20:47 +08:00
yunyingk 86b88d8785 Merge pull request #46 from yunyingk/fix/approval-corp-isolation-and-release-packaging
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
fix(approval): isolate runs by corp, handle execution error, bundle hose-aipro alias, and bump to v0.7.1
v0.7.1
2026-09-06 21:58:15 +08:00
gitea 9fa4cfe38f fix(approval): isolate runs by corp, handle execution error, bundle hose-aipro alias, and bump to v0.7.1 2026-09-06 21:57:53 +08:00
yunyingk 77bd125ef3 Merge pull request #45 from yunyingk/feat/approval-sqlite-engine
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
feat(approval): introduce sqlite rule engine, deterministic gateway, and hose-aipro cli (v0.7.0)
v0.7.0
2026-09-06 19:07:40 +08:00
gitea 644c3d2005 fix(cli): unify hose-aipro as multicall symlink alias to hose-use binary 2026-09-06 19:05:07 +08:00
gitea 4e36a1d9a5 feat(approval): introduce sqlite rule engine, deterministic gateway, and hose-aipro cli (v0.7.0)
- Pure Rule Model & AST Parser:
  - Eliminate redundant title field; model rules purely via scope (scene index) and natural language body.
  - Implement AST parser for inline clauses: [action]{硬性|弹性|建议|特殊}.
  - Validate and enforce preference references with @{级别} syntax, strictly blocking invalid grammar.

- Embedded SQLite Database & Repository:
  - Native bun:sqlite integration with zero external dependencies, stored at ~/.config/hose-use/approval.db.
  - 5 core schemas: rules, preferences, approval_runs, approval_findings, and aipro_logs.
  - Support deduplicated scope indexing (listScopes with 1-based indices) and scope drill-down (getScopeDetail).

- Bill Requisition & Backlog Query Extension:
  - Add formatFlowAsBill adapter in domains/bill/tools.ts.
  - Fall back to flow and backlog inspection when bills are not found in invoice endpoints, unlocking full structured inspection for requisitions (such as S26000001) and loan requests.

- Deterministic Approval Gateway & Lifecycle:
  - Enforce mandatory approval lifecycle: points -> checklist -> review -> decide.
  - Physical gateway blocking: forbid decision if audit checklist is missing or empty, or if pending points remain unverified.
  - Hard tier severance: automatically sever and throw GatewayBlockError on approval attempts violating {硬性} clauses.

- Dedicated hose-aipro Global CLI & Immutable Audit Ledger:
  - Register secondary global binary hose-aipro alongside hose-use in package.json and build-binary.mjs.
  - Automatically record every AI Pro invocation, document context, args snapshot, operator, status, and verdict in aipro_logs.
  - Provide intuitive subcommands: points, checklist, review, decide, logs, rules.
  - Bump project version to v0.7.0 and regenerate OpenAPI bundles.
2026-09-06 19:03:06 +08:00
yunyingk 7c0bdb7518 Merge pull request #44 from yunyingk/feat/update-sources-and-repo-opt
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
feat(cli): enhance update sources, normalize repo, upgrade MCP to 2.0, bump to v0.6.2
v0.6.2
2026-09-05 22:32:55 +08:00
gitea 2865728885 feat(cli): enhance update sources, normalize repo, upgrade to MCP 2.0, and bump to v0.6.2 2026-09-05 22:32:39 +08:00
yunyingk eaa2b9391f Merge pull request #43 from yunyingk/fix/update-asset-fallback
fix(update): fall back to GitHub releases when Gitea mirror has empty assets
2026-09-05 22:21:03 +08:00
gitea 51502fada5 fix(update): fall back to GitHub releases when Gitea mirror has empty assets 2026-09-05 22:20:45 +08:00
yunyingk cf5d12b0a5 Merge pull request #42 from yunyingk/fix/case-insensitive-version-and-help
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
fix(cli): support case-insensitive version & help aliases and bump to v0.6.1
v0.6.1
2026-09-05 22:17:48 +08:00
gitea 535404871c chore(release): bump version to v0.6.1 2026-09-05 22:17:32 +08:00
gitea 269b7e8f0f fix(cli): support case-insensitive version and help flags and subcommands 2026-09-05 22:16:56 +08:00
yunyingk c99c5d98ec Merge pull request #41 from yunyingk/fix/version-and-help-aliases
fix(cli): support version and help aliases (v, V, -V, h, -h)
2026-09-05 22:14:22 +08:00
gitea 4fbd737402 fix(cli): support version and help aliases (v, V, -V, h, -h) 2026-09-05 22:13:57 +08:00
yunyingk 40b3b29ca5 Merge pull request #40 from yunyingk/codex/release-v0.6.0
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
chore(release): v0.6.0
v0.6.0
2026-09-05 22:05:23 +08:00
gitea 04d3dbcc02 chore(release): bump version to v0.6.0 2026-09-05 22:03:33 +08:00
yunyingk 39fb3a47f5 Merge pull request #39 from yunyingk/codex/issue-8-approval-actions
feat: add bill approval action suite
2026-09-05 21:57:06 +08:00
gitea aa2a61d44f feat: add bill approval action suite 2026-09-05 21:56:38 +08:00
yunyingk 507bf6ab91 Merge pull request #38 from yunyingk/feat/issue-6-flow-durations
feat: add approval flow dwell time metadata
2026-09-05 21:16:48 +08:00
gitea 9ddbd0390d feat: add approval flow dwell time metadata 2026-09-05 21:16:26 +08:00
yunyingk a2d078aafe Merge pull request #37 from yunyingk/feat/issue-11-message-pagination
feat: complete message listing and read-all pagination
2026-09-05 21:14:40 +08:00
gitea 85bbc9bbb4 feat: add complete message listing and pagination 2026-09-05 21:13:05 +08:00
yunyingk e84cae7f80 Merge pull request #36 from yunyingk/feat/issue-7-bill-audit
feat: include risk snapshot in bill details
2026-09-05 21:08:24 +08:00
gitea 2b4bf49663 feat: include risk snapshot in bill details 2026-09-05 21:07:48 +08:00
yunyingk 06da94152d Merge pull request #35 from yunyingk/feat/issue-9-attachment-download
feat: add bill attachment download command
2026-09-05 20:56:16 +08:00
gitea 17e5418005 feat: add bill attachment download command 2026-09-05 20:55:39 +08:00
yunyingk a5bfaafa10 Merge pull request #34 from yunyingk/feat/issue-12-event-poller
feat: add durable service event poller
2026-09-05 20:48:45 +08:00
gitea 84e6fa58fd feat: add durable service event poller 2026-09-05 20:48:32 +08:00
yunyingk f72deb01b1 Merge pull request #33 from yunyingk/feat/issue-32-role-permissions
feat: add read-only permission snapshot CLI
2026-09-05 20:45:54 +08:00
gitea acd187b616 feat: add read-only permission snapshot CLI 2026-09-05 20:45:34 +08:00
yunyingk 43d923f567 Merge pull request #31 from yunyingk/fix/issue-9-draft-attachments
fix: resolve attachments from draft bills
2026-09-05 20:40:05 +08:00
gitea e44b120cc2 fix: resolve attachments from draft bills 2026-09-05 20:39:54 +08:00
yunyingk 7d9f656567 Merge pull request #30 from yunyingk/chore/platform-null-test
test: cover nullable app metadata
2026-09-05 20:36:14 +08:00
gitea c14338f1bc test: cover nullable app metadata 2026-09-05 20:36:03 +08:00
yunyingk 9d351ed15d Merge pull request #29 from yunyingk/feat/issue-1-workflow-analysis
feat: add workflow static analysis CLI
2026-09-05 20:34:42 +08:00
gitea 373fb11a81 feat: add workflow static analysis CLI 2026-09-05 20:34:25 +08:00