sqlite-web 0.7.2
gitea.db
issue_content_history
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 42 from issue_content_history
id
42
poster_id
5
issue_id
861
comment_id
0
edited_unix
1793153681
content_text
> **叠在 #13 之上,请先合 #13。** 本 PR 自身只有最后 2 个提交:`7fa
> **叠在 #13 之上,请先合 #13。** 本 PR 自身只有最后 2 个提交:`7faad2a`(P1 前置片)与 `19128ad`(报告回绑);其余提交属 #13。#13 合入后这里的差异会只剩这两项。 ## 内容(对接蓝图 §4.15,P1 / H5) - **contracts**(`packages/contracts/src/enterprise-fact.ts`,台账 PKG-004) - 新增 `organizationCanonicalIdSchema`(`org_`)。 - 新增 `EmploymentStarted`、`EmploymentTerminated`、`OrganizationUnitStatusChanged` v1 的载荷 Schema,逐字段对应 04 `contracts/schemas/facts/*.v1.json`(CHG-061)。 - 新增三份信封 Schema,固定事实类型、实体(Employment / Organization)、来源域(hr / organization)与 `juhai.hr`。另加生产侧交叉约束: - 载荷里的实体 ID 必须等于 `entity_id`; - 组织事实的 `valid_from` 必须等于 `effective_at`; - `change_kind` 与 `state_after` 必须一致。 - V-04:Intent 记录的 `sourceDomain` 放宽为 `hr` / `organization`,具体取值仍由注册表里的信封 Schema 收紧。 - **刻意不做**:出站注册表、`facts.owns`、生效事务写 Intent。原因是 `check:app-manifest` M6 只认 pinned `@juhai/contracts` 的 Catalog,而含 CHG-061 的版本尚未发布(Registry 最新是 rc.7,Catalog 只有 11 条)。为此起草了给 04 的发版请求:`docs/domain/request-draft-04-contracts-release-chg061-2026-10-28.md`,未转交。 - **另受阻断**:`OrganizationUnitMoved` 受 Catalog Q5 阻断。`unit_type` 是必填项,但 HR 组织没有类型字段,词表要等 02 定。 - **文档**:蓝图 §4.15 与 H5 / P1 行、CLAUDE.md G23、CHG 草案的实现进度。 ## 验证(本地,报告绑定 `7faad2a`、clean) - contracts 223/223(enterprise-fact 共 20 例,其中新增 8 例)。 - 4 个变异探针各使 1 例判红:分别去掉实体 ID 一致、状态一致、`valid_from` 一致三条约束,以及回退 V-04。 - `check:d3` 通过;去掉 PKG-004 后判红(6 项)。 - `check:app-manifest` 14/14,`check:contract-consumers`、`check:validation`、`check:naming`、lint、typecheck 通过。 - `check:runtime` 470/470、`check:ui` 46/46,用一次性 PostgreSQL / Redis,跑完已删。 - 静态链如实停在 O22(OS main 尚无 0.19.6),`check:governance` 只剩 O22。 - 远端 CI 见本页。 🤖 Generated with [Claude Code](https://claude.com/claude-code)
...
is_first_created
1
is_deleted
0
Delete
Cancel