feat(pbs): resolve editorial chains and expose read-only external sources
This commit is contained in:
+19
@@ -537,3 +537,22 @@ The current PBS design direction is:
|
||||
10. `declare host` remains reserved to stdlib/toolchain interface modules.
|
||||
11. Reserved attributes such as `[Host(...)]` are compile-time metadata, not runtime objects.
|
||||
12. The compiler consumes `Host` metadata to produce runtime-facing host-binding artifacts defined elsewhere.
|
||||
|
||||
## Editorial exposure of external sources
|
||||
|
||||
SDK/core remain reserved bundled sources. Editorial navigation MUST NOT extract
|
||||
or copy them into a project or disk cache. Compiler-known dependency sources,
|
||||
including those under `.workspace`, and SDK/core are exposed as read-only external
|
||||
documents with revision-consistent text, ranges and frontend semantic context.
|
||||
Hover and continued definition use that retained context. Compilation, module
|
||||
admission, ABI and linking rules are unchanged. See Compiler Spec 23 §8.3 and
|
||||
Studio Spec 11 for the consumer protocol and atomic write restrictions (DEC-0062).
|
||||
|
||||
PBS project hover, definition, completion and signature help MUST share receiver
|
||||
type resolution using PBS expression parsing and semantic overload rules. Coverage
|
||||
includes function/method chains with known return types, nested call arguments,
|
||||
explicitly typed and inferred variables, parentheses, completion after a trailing
|
||||
dot and signature help during incomplete arguments. An unrelated parse error MUST
|
||||
NOT invalidate a recoverable receiver. Unknown or ambiguous receivers MUST NOT
|
||||
invent a type or overload. Indexing/operator-produced receivers are outside the
|
||||
new coverage; existing behavior MUST NOT regress.
|
||||
|
||||
+10
@@ -356,3 +356,13 @@ Content hashes identify the packaged texts, not a semantic language release.
|
||||
Conformance MUST include reading all indexed references from installed JARs outside
|
||||
the repository and compiling the shipped example against the installed SDK. No
|
||||
network access or source checkout may be required by that reference-read path.
|
||||
|
||||
## Editorial exposure of external sources
|
||||
|
||||
SDK/core remain reserved bundled sources. Editorial navigation MUST NOT extract
|
||||
or copy them into a project or disk cache. Compiler-known dependency sources,
|
||||
including those under `.workspace`, and SDK/core are exposed as read-only external
|
||||
documents with revision-consistent text, ranges and frontend semantic context.
|
||||
Hover and continued definition use that retained context. Compilation, module
|
||||
admission, ABI and linking rules are unchanged. See Compiler Spec 23 §8.3 and
|
||||
Studio Spec 11 for the consumer protocol and atomic write restrictions (DEC-0062).
|
||||
|
||||
Reference in New Issue
Block a user