René's URL Explorer Experiment


Title: docs(contracts): Core 作为应用契约唯一真源,补回命令表与 AI 配置章节 by xiaoyumuxi · Pull Request #24 · Lithe-IDEA/Lithe-core-rust · GitHub

Open Graph Title: docs(contracts): Core 作为应用契约唯一真源,补回命令表与 AI 配置章节 by xiaoyumuxi · Pull Request #24 · Lithe-IDEA/Lithe-core-rust

X Title: docs(contracts): Core 作为应用契约唯一真源,补回命令表与 AI 配置章节 by xiaoyumuxi · Pull Request #24 · Lithe-IDEA/Lithe-core-rust

Description: 关联 Refs 1lck/Lithe-IDEA#1853:Core 是应用契约和 fixture 的唯一真源,删除 Lithe-IDEA shared/contracts、shared/fixtures 里的副本。本 PR 是 Core 这一侧的准备,桌面端的删除在配套 PR 里做。 叠在 #23 上。#23 合入后本 PR 的 base 改回 main。 这个 PR 做什么 Lithe-IDEA 删除副本之后,rust/contracts/ 就是唯一的一份。合入前先补齐 Core 这份里缺的内容,再删掉 Core 里本来就不属于 Core 的 fixture。 补回 #19 误删的内容 #19 把契约迁进 Core 时,rust-core-api.md 少了两块,Lithe-IDEA 的副本里还在: 内容 处理 ## Commands 下的命令总表 补回。按当前解析器重新生成,共 375 行,CoreCommand::parse 接受的每个命令一行,#23 删掉的命令不在表里 ### AI configuration 章节 补回,放在 ### Declarative plugins 前面。fixture 路径改成 Core 的 rust/fixtures/ai/cli-configuration-v1.json Build systems 表 补上 build.resolveStoredOptions、build.editStoredOption 两行 第 276 行 删掉过时的 “plus MCP configuration planning”。Core 现在只做 ai.configuration.* 的确定性解析 防止命令表再次漂移 protocol/command.rs 新增测试 api_command_table_lists_exactly_the_parsed_commands: 从 command.rs 源码里读出 CoreCommand::parse 匹配的全部命令名; 和 rust-core-api.md 命令表第一列逐条比对; 表里多了、少了或者重复,都会失败,并列出具体的命令名。 所以以后增加、改名或删除命令,必须在同一次提交里更新表格。我验证过故意删掉表里的 git.shelf 一行,测试会失败。 删除不属于 Core 的 fixture 位置 原因 rust/fixtures/i18n/(format-v1.json、native-abi-v1.json) 只有 Lithe-IDEA 的 i18n 生成器读取,Core 没有任何代码读取。配套 PR 把它们移到 Lithe-IDEA 的 shared/i18n/fixtures/,和生成器放在一起。application-boundary.md 的链接改为指向那里 rust/fixtures/phpunit-project/(5 个文件) 两个仓库都没有读取方 不改动 不改命令、C ABI、JSON 字段或错误码。 契约正文除上面列出的几处外,没有其他改动。 验证 cargo fmt --all --check:通过。 scripts/rust-core/verify-rust-core-comments.sh:通过。 node shared/plugins/scripts/verify-docs.mjs:通过。 cargo test --workspace:全部通过,其中 lithe-core 1744 passed / 0 failed,含新增的命令表测试。 Lithe-IDEA 桌面端测试读取的全部 fixture,包括 debug/、execution/、process-lifecycle/ 整个目录里实际读到的文件,在 Core 的 rust/fixtures/ 中都存在,并且字节一致。不一致的只有 #23 中性化或删除的 3 个 debug fixture 和 6 个 Java 运行发现 fixture,桌面端都不读取。 后续 桌面端配套 PR(叠在 1lck/Lithe-IDEA#1859 上)会做这些事: 删除 shared/contracts、shared/fixtures; 测试改为读取 Core 检出中的 rust/fixtures,新增环境变量 LITHE_CORE_FIXTURE_DIR; 把 PINNED_CORE_REVISION 升到本 PR。

Open Graph Description: 关联 Refs 1lck/Lithe-IDEA#1853:Core 是应用契约和 fixture 的唯一真源,删除 Lithe-IDEA shared/contracts、shared/fixtures 里的副本。本 PR 是 Core 这一侧的准备,桌面端的删除在配套 PR 里做。 叠在 #23 上。#23 合入后本 PR 的 base 改回 main。 这个 PR 做什么 Lithe...

X Description: 关联 Refs 1lck/Lithe-IDEA#1853:Core 是应用契约和 fixture 的唯一真源,删除 Lithe-IDEA shared/contracts、shared/fixtures 里的副本。本 PR 是 Core 这一侧的准备,桌面端的删除在配套 PR 里做。 叠在 #23 上。#23 合入后本 PR 的 base 改回 main。 这个 PR 做什么 Lithe...

Opengraph URL: https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:24bd0390-7fef-e369-f089-886036060f71
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDE3C:10F8DB:1F6EF5A:2AE9133:6B072772
html-safe-nonce279d2e7896c530f3f001df3c979259af611c4f75595cb2066986284bddf10d80
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTNDOjEwRjhEQjoxRjZFRjVBOjJBRTkxMzM6NkIwNzI3NzIiLCJ2aXNpdG9yX2lkIjoiMjcyMzIzMDI1MjExNjk0NDc1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdf1c59afe8d3b2c2c7725e2d8321db60020231989df634d5977cb209da6ad458
hovercard-subject-tagpull_request:5298854692
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files
twitter:imagehttps://avatars.githubusercontent.com/u/145102356?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/145102356?s=400&v=4
og:image:alt关联 Refs 1lck/Lithe-IDEA#1853:Core 是应用契约和 fixture 的唯一真源,删除 Lithe-IDEA shared/contracts、shared/fixtures 里的副本。本 PR 是 Core 这一侧的准备,桌面端的删除在配套 PR 里做。 叠在 #23 上。#23 合入后本 PR 的 base 改回 main。 这个 PR 做什么 Lithe...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5a20fe9aa5e45c6df9328a5ec3f167a7805856126d8bf72d810541ca01962ef9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/Lithe-IDEA/Lithe-core-rust git https://github.com/Lithe-IDEA/Lithe-core-rust.git
octolytics-dimension-user_id340144206
octolytics-dimension-user_loginLithe-IDEA
octolytics-dimension-repository_id1449354685
octolytics-dimension-repository_nwoLithe-IDEA/Lithe-core-rust
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1449354685
octolytics-dimension-repository_network_root_nwoLithe-IDEA/Lithe-core-rust
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6ce961d9a663a99bc4bcab9fd6ac5cca54bd6fcc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FLithe-IDEA%2FLithe-core-rust%2Fpull%2F24%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FLithe-IDEA%2FLithe-core-rust%2Fpull%2F24%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=Lithe-IDEA%2FLithe-core-rust
Reloadhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files
Reloadhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files
Reloadhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files
Lithe-IDEAhttps://github.com/Lithe-IDEA
Lithe-core-rusthttps://github.com/Lithe-IDEA/Lithe-core-rust
Codehttps://github.com/Lithe-IDEA/Lithe-core-rust
Issues1 (1)https://github.com/Lithe-IDEA/Lithe-core-rust/issues
Pull requests2 (2)https://github.com/Lithe-IDEA/Lithe-core-rust/pulls
Actionshttps://github.com/Lithe-IDEA/Lithe-core-rust/actions
Projectshttps://github.com/Lithe-IDEA/Lithe-core-rust/projects
Security and qualityhttps://github.com/Lithe-IDEA/Lithe-core-rust/security
Insightshttps://github.com/Lithe-IDEA/Lithe-core-rust/insights
Sign up for GitHub https://github.com/signup?return_to=%2FLithe-IDEA%2FLithe-core-rust%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FLithe-IDEA%2FLithe-core-rust%2Fissues%2Fnew%2Fchoose
xiaoyumuxihttps://github.com/xiaoyumuxi
refactor/core-remove-java-special-caseshttps://github.com/Lithe-IDEA/Lithe-core-rust/tree/refactor/core-remove-java-special-cases
docs/core-app-contracts-single-sourcehttps://github.com/Lithe-IDEA/Lithe-core-rust/tree/docs/core-app-contracts-single-source
Conversation 0 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24
Commits 1 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/commits
Checks 5 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/checks
Files changed https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files
docs(contracts): Core 作为应用契约唯一真源,补回命令表与 AI 配置章节 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#top
Show all changes 1 commit https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files
443c8a4 docs(contracts): Core 作为应用契约唯一真源,补回命令表与 AI 配置章节 xiaoyumuxi Nov 13, 2026 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/commits/443c8a42c762296587612d0fd00c019cf5111d17
Clear filters https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files
application-boundary.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-6d551b6fa51a9a2280969a8e9ada7c3b84b9cc807fdb264c2d5aee511985029d
rust-core-api.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
format-v1.json https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-d74a806d7dfd602824f7368282c9659dc8acfcd3b301697afbe2bd9330a96d2c
native-abi-v1.json https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-2edc56921cf47de8e4118f7a1af61ee2b2eaae80e593719bf3db1b09a9731fd1
.gitignore https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-56cd2e5396b12b2f7c9c1ccaf910318eb1fea1d19ba4adcb37f39aba2f6bf333
composer.json https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-0223979de16183fa842a51f9f5b2e8acf59f364bb67498695551d70e723f82a5
phpunit.xml https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-71af31c1f7d450f3aa67f5cfb1941b91bda89f5b7b39946f39eebef400147e0b
Store.php https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-dce52398d48b3830edfa1917c35205310ca3848135fa54093663c899cec88da6
StoreTest.php https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-d36453803bb98bc6e48e22761dce5e6e9c971737888c08c7a2368210f7971bf1
command.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-ae2268a5aac26be34143baf33d6d2bec0647cd108e6e82707bc30800cc74c65a
rust/contracts/application-boundary.mdhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-6d551b6fa51a9a2280969a8e9ada7c3b84b9cc807fdb264c2d5aee511985029d
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/443c8a42c762296587612d0fd00c019cf5111d17/rust/contracts/application-boundary.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-6d551b6fa51a9a2280969a8e9ada7c3b84b9cc807fdb264c2d5aee511985029d
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-6d551b6fa51a9a2280969a8e9ada7c3b84b9cc807fdb264c2d5aee511985029d
rust/contracts/rust-core-api.mdhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/443c8a42c762296587612d0fd00c019cf5111d17/rust/contracts/rust-core-api.md
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files
rust/fixtures/i18n/format-v1.jsonhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-d74a806d7dfd602824f7368282c9659dc8acfcd3b301697afbe2bd9330a96d2c
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/5a8e67d4b73f5e633e67dc09e722c3b22b47b280/rust/fixtures/i18n/format-v1.json
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files
rust/fixtures/i18n/native-abi-v1.jsonhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-2edc56921cf47de8e4118f7a1af61ee2b2eaae80e593719bf3db1b09a9731fd1
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/5a8e67d4b73f5e633e67dc09e722c3b22b47b280/rust/fixtures/i18n/native-abi-v1.json
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files
rust/fixtures/phpunit-project/.gitignorehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-56cd2e5396b12b2f7c9c1ccaf910318eb1fea1d19ba4adcb37f39aba2f6bf333
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/5a8e67d4b73f5e633e67dc09e722c3b22b47b280/rust/fixtures/phpunit-project/.gitignore
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files
rust/fixtures/phpunit-project/composer.jsonhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-0223979de16183fa842a51f9f5b2e8acf59f364bb67498695551d70e723f82a5
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/5a8e67d4b73f5e633e67dc09e722c3b22b47b280/rust/fixtures/phpunit-project/composer.json
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files
rust/fixtures/phpunit-project/phpunit.xmlhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-71af31c1f7d450f3aa67f5cfb1941b91bda89f5b7b39946f39eebef400147e0b
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/5a8e67d4b73f5e633e67dc09e722c3b22b47b280/rust/fixtures/phpunit-project/phpunit.xml
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files
rust/fixtures/phpunit-project/src/Store.phphttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-dce52398d48b3830edfa1917c35205310ca3848135fa54093663c899cec88da6
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/5a8e67d4b73f5e633e67dc09e722c3b22b47b280/rust/fixtures/phpunit-project/src/Store.php
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files
rust/fixtures/phpunit-project/tests/StoreTest.phphttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-d36453803bb98bc6e48e22761dce5e6e9c971737888c08c7a2368210f7971bf1
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/5a8e67d4b73f5e633e67dc09e722c3b22b47b280/rust/fixtures/phpunit-project/tests/StoreTest.php
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files
rust/lithe-core/src/protocol/command.rshttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-ae2268a5aac26be34143baf33d6d2bec0647cd108e6e82707bc30800cc74c65a
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/443c8a42c762296587612d0fd00c019cf5111d17/rust/lithe-core/src/protocol/command.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-ae2268a5aac26be34143baf33d6d2bec0647cd108e6e82707bc30800cc74c65a
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files#diff-ae2268a5aac26be34143baf33d6d2bec0647cd108e6e82707bc30800cc74c65a
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/24/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.