Skip to content
This repository was archived by the owner on Oct 20, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data-conformance/tests/variables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ fn data_dataset_apply_reports_unapplicable_rows_instead_of_faking_them() {
let applies = s.apply_data_set("Alpha").unwrap();
let sales = applies.iter().find(|a| a.variable == "Sales").unwrap();
assert!(!sales.applicable);
assert!(sales.note.as_deref().unwrap().contains("D-15"));
assert!(sales.note.as_deref().unwrap().contains("cannot be applied"));
let orphan = applies.iter().find(|a| a.variable == "Orphan").unwrap();
assert!(!orphan.applicable);
assert!(orphan.note.as_deref().unwrap().contains("no binding"));
Expand Down
5 changes: 2 additions & 3 deletions data-js/src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1420,9 +1420,8 @@ impl DataSession {
if !decl.var_trait.is_bindable() {
apply.applicable = false;
apply.note = Some(
"graph-data variables are carried through the library but have no \
paged.data binding to apply — a chart surface lives in another \
plugin and the isolation contract forbids reaching into it (RFI D-15)"
"graph-data variables are kept in the library but cannot be applied: \
paged.data does not fill charts"
.to_string(),
);
} else if !defined.contains(&decl.name) {
Expand Down
2 changes: 1 addition & 1 deletion data-sources/src/remote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub enum RemoteError {
UnsupportedScheme(String),
#[error("remote url has no host")]
MissingHost,
#[error("remote url embeds credentials (user:pass@) — use a credential_ref (D-11)")]
#[error("remote url embeds credentials (user:pass@) — use a stored credential instead")]
EmbeddedCredentials,
#[error("source is not a remote source")]
NotRemote,
Expand Down
2 changes: 1 addition & 1 deletion docs/status.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Status

What `paged.data` ships and what it does not, read from the code on `main` (2026-10-06;
package version 0.1.0-canary.13, built against core v0.71.1 and plugin-api/plugin-sdk
package version 0.1.0-canary.14, built against core v0.71.1 and plugin-api/plugin-sdk
0.2.45-canary.0). The 2026-10-05 round of work is on `main`; its outcome is summarised at the end of
[`design/analysis-2026-10-05.md`](design/analysis-2026-10-05.md). How
the parts fit is in [`architecture.md`](architecture.md); the analysis behind the current round
Expand Down
6 changes: 3 additions & 3 deletions packages/data-bundle/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "media.paged.data",
"name": "paged.data",
"version": "0.1.0-canary.13",
"version": "0.1.0-canary.14",
"apiVersion": "^0.2",
"publisher": "paged.media",
"capabilities": {
Expand Down Expand Up @@ -260,14 +260,14 @@
"type": {
"kind": "text"
},
"summary": "Property bindings: the selector of the objects it writes (ADR 131)."
"summary": "Property bindings: the selector of the objects it writes."
},
{
"path": "path",
"type": {
"kind": "text"
},
"summary": "Property bindings: the property path it writes (ADR 132)."
"summary": "Property bindings: the property path it writes."
},
{
"path": "coerce",
Expand Down
2 changes: 1 addition & 1 deletion packages/data-bundle/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@paged-media/data",
"private": false,
"version": "0.1.0-canary.13",
"version": "0.1.0-canary.14",
"license": "AGPL-3.0-only OR LicenseRef-PMEL",
"type": "module",
"main": "./src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/data-bundle/src/__tests__/remote.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ describe("remote descriptors — credentialRef strings only (data.security.crede
it("rejects URLs with embedded credentials", () => {
const session = createSession(fakeHost([]), 0);
const err = session.addRemoteSource("bad", "https://user:secret@api.test/x.csv", "csv");
expect(err).toContain("credentialRef");
expect(err).toContain("stored credential");
expect(session.getState().remote).toHaveLength(0);
expect(validateRemoteUrl("https://user:secret@api.test/x.csv")).toContain("credentials");
});
Expand Down
2 changes: 1 addition & 1 deletion packages/data-bundle/src/__tests__/variables.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,6 @@ describe("data_dataset_apply session lane (§9.9)", () => {
(engine as { data_set_payload_bytes?: () => number }).data_set_payload_bytes = () => 60_000;
const s = await sessionWith(fake.host, engine);
await s.captureEveryRecord("q1", { nameColumn: "name" });
expect(s.getState().message).toContain("D-08");
expect(s.getState().message).toContain("a document can store");
});
});
2 changes: 1 addition & 1 deletion packages/data-bundle/src/remote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function validateRemoteUrl(url: string): string | null {
return `remote url must be http(s), got ${parsed.protocol}//`;
}
if (parsed.username !== "" || parsed.password !== "") {
return "remote url embeds credentials (user:pass@) — use a credentialRef (D-11)";
return "remote url embeds credentials (user:pass@) — use a stored credential instead";
}
if (parsed.hostname === "") {
return "remote url has no host";
Expand Down
8 changes: 4 additions & 4 deletions packages/data-bundle/src/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ export interface DataMergeExport {
}

export const NO_NEW_DOCUMENT_DOOR =
"this host cannot open a second document (no documents door, D-26) — merge into the current document instead";
"this editor version cannot open a second document — merge into the current document instead";

/** The session API the panels + commands drive. */
export interface DataSourceSession extends ReviewSession, PropertyMethods {
Expand Down Expand Up @@ -2309,7 +2309,7 @@ export function createSession(rawHost: BundleHost, today: number): DataSourceSes
credentialRef: options?.credentialRef,
consent: "required",
status: "inert",
message: "Inert — origin consent required before any fetch (D-03).",
message: "Inert — allow this origin before anything is fetched.",
contentKey: null,
});
markDirty();
Expand Down Expand Up @@ -2711,8 +2711,8 @@ export function createSession(rawHost: BundleHost, today: number): DataSourceSes
state.message =
`Captured ${names.length} data set(s) from "${queryId}".` +
(bytes > CAP * 0.8
? ` WARNING: the variable payload is ${bytes} bytes of the ${CAP}-byte ` +
"document-metadata cap (D-08) — delete data sets or capture fewer records."
? ` WARNING: the captured data sets take ${bytes} of the ${CAP} bytes a ` +
"document can store for them — delete data sets or capture fewer records."
: "");
return names;
} catch (err) {
Expand Down
Loading