feat: implement scope organization runtime for RFC #1345 - #1401
Open
PsiACE wants to merge 31 commits into
Open
Conversation
…ation-runtime # Conflicts: # docs/en/development/server-web-ui.md # docs/en/docs/reference/interfaces.md # docs/zh/development/server-web-ui.md # docs/zh/docs/reference/interfaces.md # src/powercontext/server/web.py
There was a problem hiding this comment.
license-eye has checked 978 files.
| Valid | Invalid | Ignored | Fixed |
|---|---|---|---|
| 704 | 21 | 253 | 0 |
Click to see the invalid file list
- integrations/codex/plugins/powercontext/hooks/bind_tools.py
- integrations/codex/plugins/powercontext/hooks/session_binding.py
- integrations/codex/plugins/powercontext/scripts/scope_binding.py
- src/powercontext/builtin/handoff_report/init.py
- src/powercontext/builtin/handoff_report/adapters.py
- src/powercontext/builtin/handoff_report/canonical.py
- src/powercontext/builtin/handoff_report/errors.py
- src/powercontext/builtin/handoff_report/protocols.py
- src/powercontext/builtin/handoff_report/rendering.py
- src/powercontext/builtin/scope/init.py
- src/powercontext/builtin/scope/application.py
- src/powercontext/builtin/scope/errors.py
- src/powercontext/builtin/scope/models.py
- src/powercontext/builtin/scope/repository.py
- src/powercontext/server/static/handoff-report.js
- src/powercontext/server/static/scope-selection.js
- src/powercontext/server/templates/pages/handoff_report.html
- tests/builtin/test_scope_application.py
- tests/codex_plugin/test_scope_binding.py
- tests/test_handoff_report.py
- tests/test_scope_api.py
Use this command to fix any missing license headers
```bash
docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix
</details>
…ation-runtime # Conflicts: # src/powercontext/server/app.py
PsiACE
marked this pull request as ready for review
September 1, 2026 08:22
There was a problem hiding this comment.
license-eye has checked 993 files.
| Valid | Invalid | Ignored | Fixed |
|---|---|---|---|
| 725 | 1 | 267 | 0 |
Click to see the invalid file list
- integrations/dsh/plugins/powercontext/pnpm-lock.yaml
Use this command to fix any missing license headers
```bash
docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix
</details>
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| lockfileVersion: '9.0' |
There was a problem hiding this comment.
Suggested change
| lockfileVersion: '9.0' | |
| # Copyright (c) 2026 OceanBase. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| # See the License for the specific language governing permissions and | |
| # limitations under the License. | |
| lockfileVersion: '9.0' |
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| lockfileVersion: '9.0' |
There was a problem hiding this comment.
Suggested change
| lockfileVersion: '9.0' | |
| # Copyright (c) 2026 OceanBase. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| # See the License for the specific language governing permissions and | |
| # limitations under the License. | |
| lockfileVersion: '9.0' |
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.
Which issue or RFC does this PR close?
Implements the runtime design in #1345.
Rationale for this change
Scope is the durable boundary for memory ownership, isolation, sharing, and reporting. The runtime and Agent integrations need to use the same server-owned Scope model instead of Project, Workstream, or client-generated Scope identifiers.
What changes are included in this PR?
Are there any user-facing changes?
Yes. This is a breaking change:
How was this change tested?
make checkmake testmake contract-testmake docs-testmake harness-checkAI usage statement
OpenAI Codex was used for code analysis, implementation, tests, and documentation editing.