docs: 重构 v0-local-cli-view AI-Native 总纲#9
Merged
TatsukiMeng merged 4 commits intomainfrom Apr 11, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR refactors the openspec/changes/v0-local-cli-view change set to reposition the project direction from “scanner-first” to “graph-asset-first”, while also introducing a Bun/TypeScript monorepo workspace with placeholder cli/core/web packages and smoke tests to validate wiring.
Changes:
- Rewrote the OpenSpec change (proposal/design/tasks/specs) to establish “graph is the primary asset”, “CLI is the primary entrypoint”, and “scanner is evidence/validation only”.
- Added a Bun + TypeScript workspace skeleton (
packages/cli,packages/core,packages/web) with placeholder APIs and smoke tests. - Added/updated repository-level tooling/configuration (tsconfig, oxlint config, scripts, lockfile, gitignore) to support lint/typecheck/test.
Reviewed changes
Copilot reviewed 22 out of 25 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
tsconfig.json |
Adds workspace TypeScript compiler configuration for Bun/TS development. |
package.json |
Introduces workspace scripts (lint/test/typecheck) and CLI entry script. |
bun.lock |
Locks Bun dependencies for the new workspace/tooling. |
.oxlintrc.json |
Adds oxlint configuration for repo-wide linting. |
.gitignore |
Ignores local .graphspec/ snapshot directory. |
README.md |
Updates project status and local dev commands to match “skeleton” phase. |
packages/core/* |
Adds placeholder core API + smoke test + package docs/config. |
packages/web/* |
Adds placeholder web API + smoke test + package docs/config. |
packages/cli/* |
Adds placeholder CLI runner + bin entry + smoke test + package docs/config. |
openspec/changes/v0-local-cli-view/* |
Major documentation restructure: proposal/design/tasks/specs aligned to graph-asset-first direction. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
v0-local-cli-view总纲,把方向从 scanner-first 收敛为 graph-asset-firstWhat Changed
Notes
openspec status --change v0-local-cli-view --json仍为 complete