sqlite-web 0.7.2
gitea.db
action
Create
Query
access
access_token
action
action_artifact
action_run
action_run_index
action_run_job
action_runner
action_runner_token
action_schedule
action_schedule_spec
action_task
action_task_output
action_task_step
action_tasks_version
action_variable
app_state
attachment
auth_token
badge
branch
collaboration
comment
commit_status
commit_status_index
commit_status_summary
commit_sync_log
commit_sync_status
dbfs_data
dbfs_meta
deploy_key
email_address
email_hash
external_login_user
follow
gpg_key
gpg_key_import
hook_task
issue
issue_assignees
issue_content_history
issue_dependency
issue_index
issue_label
issue_pin
issue_user
issue_watch
label
language_stat
lfs_lock
lfs_meta_object
login_source
milestone
mirror
notice
notification
oauth2_application
oauth2_authorization_code
oauth2_grant
org_user
package
package_blob
package_blob_upload
package_cleanup_rule
package_file
package_property
package_version
project
project_board
project_issue
protected_branch
protected_tag
public_key
pull_auto_merge
pull_request
push_mirror
reaction
release
renamed_branch
repo_archiver
repo_hidden_file
repo_indexer_status
repo_license
repo_redirect
repo_topic
repo_transfer
repo_unit
repository
review
review_state
secret
session
sqlite_sequence
star
stopwatch
system_setting
task
team
team_invite
team_repo
team_unit
team_user
topic
tracked_time
two_factor
upload
user
user_badge
user_blocking
user_open_id
user_redirect
user_setting
version
watch
webauthn_credential
webhook
Toggle helper tables
Structure
Content
Query
Insert
Drop
Import
Export
Delete row 31158 from action
id
31158
user_id
5
op_type
5
act_user_id
5
repo_id
116
comment_id
0
is_deleted
0
ref_name
refs/heads/main
is_private
0
content
{"Commits":[{"Sha1":"04d02d611
{"Commits":[{"Sha1":"04d02d611af85737ed1ee7ae7d6644b6dedb51ad","Message":"chore(reports): check:module-imports 回绑 @ e61bfcf\n\n经 governance/rebind-reports.mjs 在 HEAD 的临时干净检出里重跑,绑 e61bfcf / worktreeDirty=false。\n扫描 396 个源文件(扫描集 git,含新纳入的 runtime/clients 9 个),0 处违规。\n\n本工作区另有 5 份 stale 报告(release-manifest / sbom / image-smoke / runtime 的 naming 与\nfork-readiness)不由本次改动引起,属其他任务的 WIP,未动。\n\nCo-Authored-By: Claude Opus 5 \u003cnoreply@anthropic.com\u003e\n","AuthorEmail":"hillao@juhailaoluodeMacBook-Pro.local","AuthorName":"juhailaoluo pro","CommitterEmail":"hillao@juhailaoluodeMacBook-Pro.local","CommitterName":"juhailaoluo pro","Timestamp":"2026-09-18T15:29:14-07:00"},{"Sha1":"e61bfcf394f90171647b453a6960e84408109ed8","Message":"fix(governance): check:module-imports 补上 clients 扫描面与行号——对外发布包此前零门禁,违规行号整体前移\n\n扫描集与三处判定问题一并收口:\n\n1. 扫描集取自 `git ls-files` 而不是文件系统遍历:walk() 只认 SKIP_DIR、从不读 .gitignore,\n workbench 静态导出产物与两个 next-env.d.ts 也被计进 filesScanned,同一提交在干净检出报 387、\n 在构建过的开发机报 411。filesScanned 是绑在 provenance.gitSha 上的声明,必须是该提交能复现的数。\n 代价是未 `git add` 的新文件扫不到(实测:未 add 绿、`git add -N` 后红),由 worktreeDirty=true 标出。\n\n2. runtime/clients 此前是**双重盲区**:既不在 SCAN_ROOTS,evaluateImports 也没有该路径前缀的分支,\n 实测三种违规(module 包 / @repo/* / 越包相对)全部返回 []。唯一的事实防线是 tsc,而它只拦带绑定的\n import(TS2307);`import \"@juhai/module-permission\";` 这种纯副作用写法 exit 0,偏偏它就足以把整个\n 模块拉进发布包的运行时依赖图。`governance/evidence-scopes.json` 的 module-imports 条目 scope 里\n 早就写着 runtime/clients——登记与实现在此分叉,登记那侧是对的。\n 新增 CLIENT_FORBIDDEN_IMPORT / ESCAPES_CLIENT;禁的是整个 @repo/*,不只 @repo/contracts:\n @repo/config 与 @repo/telemetry 同样 workspace-only,发布后消费者一律解析不到。对 module-kit 不开口子。\n\n3. 违规行号系统性偏移:stripComments 整段删块注释、又把 // 行从数组里 filter 掉,两处都在丢行。\n 本仓文件普遍有顶部大段块注释,实测真实第 9 行的违规报成第 3 行。改为等量保留换行。\n 行号是报告与 CLI 给人定位的唯一坐标,错的行号比没有行号更费事。\n\n4. violations 按 (文件, 行) 排序再交出:extractSpecifiers 按三个 pattern 分组扫,原始顺序里\n `import \"x\";` 会掉到同文件更靠后的 `import … from \"x\"` 之后。用 codePoint 序而非 localeCompare,\n 避免 CI 与本机 ICU 不同让 reports/ 的 diff 无故抖动。\n\n导出 SCAN_ROOTS 供测试引用,消除测试里另抄一份路径清单(抄的那份会跟实现分叉)。\n\n本机实测:扫描 396 个源文件(387 + 9 个 clients),全量 pnpm check 16 道 exit 0,\ngovernance 测试 341 → 346(+4 行号与 clients 回归、+1 排序回归);篡改必红实测通过。\n\nCo-Authored-By: Claude Opus 5 \u003cnoreply@anthropic.com\u003e\n","AuthorEmail":"hillao@juhailaoluodeMacBook-Pro.local","AuthorName":"juhailaoluo pro","CommitterEmail":"hillao@juhailaoluodeMacBook-Pro.local","CommitterName":"juhailaoluo pro","Timestamp":"2026-09-18T15:28:21-07:00"}],"HeadCommit":{"Sha1":"04d02d611af85737ed1ee7ae7d6644b6dedb51ad","Message":"chore(reports): check:module-imports 回绑 @ e61bfcf\n\n经 governance/rebind-reports.mjs 在 HEAD 的临时干净检出里重跑,绑 e61bfcf / worktreeDirty=false。\n扫描 396 个源文件(扫描集 git,含新纳入的 runtime/clients 9 个),0 处违规。\n\n本工作区另有 5 份 stale 报告(release-manifest / sbom / image-smoke / runtime 的 naming 与\nfork-readiness)不由本次改动引起,属其他任务的 WIP,未动。\n\nCo-Authored-By: Claude Opus 5 \u003cnoreply@anthropic.com\u003e\n","AuthorEmail":"hillao@juhailaoluodeMacBook-Pro.local","AuthorName":"juhailaoluo pro","CommitterEmail":"hillao@juhailaoluodeMacBook-Pro.local","CommitterName":"juhailaoluo pro","Timestamp":"2026-09-18T15:29:14-07:00"},"CompareURL":"luoanwu/enterprise-platform/compare/56039d0a57c27a4ec97ad38e4fc982ec28f136c1...04d02d611af85737ed1ee7ae7d6644b6dedb51ad","Len":2}
...
created_unix
1789771529
Delete
Cancel