create-freeholder 0.2.0-beta.5 → 0.2.0-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/dist/template/.changeset/blog-playground-content.md +4 -0
  2. package/dist/template/.changeset/blog-wordpress-structure.md +6 -0
  3. package/dist/template/.changeset/managed-preview-assistant.md +4 -0
  4. package/dist/template/.changeset/public-beta-6.md +4 -0
  5. package/dist/template/.github/ISSUE_TEMPLATE/bug_report.yml +1 -1
  6. package/dist/template/MASTER.md +81 -8
  7. package/dist/template/README.md +1 -1
  8. package/dist/template/app/(admin)/admin/assistant/page.tsx +9 -1
  9. package/dist/template/app/(admin)/admin/blog/PostSettings.tsx +26 -0
  10. package/dist/template/app/(admin)/admin/blog/[kind]/page.tsx +53 -0
  11. package/dist/template/app/(admin)/admin/blog/actions.ts +186 -6
  12. package/dist/template/app/(admin)/admin/blog/comments/page.tsx +25 -0
  13. package/dist/template/app/(admin)/admin/blog/page.tsx +21 -5
  14. package/dist/template/app/(admin)/admin/imports/[id]/page.tsx +2 -0
  15. package/dist/template/app/(admin)/admin/pages/[id]/page.tsx +3 -0
  16. package/dist/template/app/(admin)/assistant-actions.ts +13 -6
  17. package/dist/template/app/(public)/[[...slug]]/ReaderComments.tsx +25 -0
  18. package/dist/template/app/(public)/[[...slug]]/blog-parts.tsx +153 -0
  19. package/dist/template/app/(public)/[[...slug]]/comment-actions.ts +16 -0
  20. package/dist/template/app/(public)/[[...slug]]/page.tsx +182 -18
  21. package/dist/template/app/api/chat/assistant/call/route.ts +35 -0
  22. package/dist/template/db/migrations/0061_blog_structure.sql +89 -0
  23. package/dist/template/db/migrations/0062_blog_reader_comments.sql +24 -0
  24. package/dist/template/db/migrations/meta/_journal.json +14 -0
  25. package/dist/template/deploy/blog-wordpress-2026-11-07.md +146 -0
  26. package/dist/template/deploy/docker-selfhost/.env.example +1 -1
  27. package/dist/template/deploy/docker-selfhost/README.md +3 -2
  28. package/dist/template/deploy/docker-selfhost/infra/compose.https.yml +1 -1
  29. package/dist/template/deploy/docker-selfhost/infra/compose.yml +1 -1
  30. package/dist/template/deploy/f-criteria-matrix.md +74 -0
  31. package/dist/template/deploy/linux/README.md +1 -1
  32. package/dist/template/deploy/linux/install.sh +1 -1
  33. package/dist/template/deploy/managed-preview-assistant.md +99 -0
  34. package/dist/template/eslint.config.mjs +3 -1
  35. package/dist/template/locales/ar.json +85 -6
  36. package/dist/template/locales/en.json +83 -4
  37. package/dist/template/locales/es.json +83 -4
  38. package/dist/template/locales/fr.json +85 -6
  39. package/dist/template/next.config.ts +2 -0
  40. package/dist/template/package.json +1 -1
  41. package/dist/template/packages/cli/package.json +1 -1
  42. package/dist/template/packages/create-freeholder/package.json +1 -1
  43. package/dist/template/packages/freeholder-app/package.json +1 -1
  44. package/dist/template/packages/mobile-app/package.json +1 -1
  45. package/dist/template/packages/plugin-kit/package.json +1 -1
  46. package/dist/template/packages/sdk/package.json +1 -1
  47. package/dist/template/packages/sdk/src/generated.ts +177 -9
  48. package/dist/template/packages/sdk/src/version.ts +1 -1
  49. package/dist/template/packages/templates/package.json +1 -1
  50. package/dist/template/proxy.ts +18 -1
  51. package/dist/template/public/managed-assistant/0.1.10/duplex-codec/NOTICE.txt +117 -0
  52. package/dist/template/public/managed-assistant/0.1.10/duplex-codec/audio-output-processor.js +267 -0
  53. package/dist/template/public/managed-assistant/0.1.10/duplex-codec/decoderWorker.min.js +847 -0
  54. package/dist/template/public/managed-assistant/0.1.10/duplex-codec/decoderWorker.min.wasm +0 -0
  55. package/dist/template/public/managed-assistant/0.1.10/duplex-codec/encoderWorker.min.js +1 -0
  56. package/dist/template/public/managed-assistant/0.1.10/manifest.json +12 -0
  57. package/dist/template/public/managed-assistant/0.1.10/pm-ai-duplex-client.js +1376 -0
  58. package/dist/template/scripts/license-headers.mjs +3 -0
  59. package/dist/template/scripts/verify-wordpress-migration.d.mts +8 -0
  60. package/dist/template/scripts/verify-wordpress-migration.mjs +105 -0
  61. package/dist/template/security/adversarial-audit-2026-10-08.md +1 -1
  62. package/dist/template/src/adapters/ai/types.ts +5 -0
  63. package/dist/template/src/adapters/paradise/assistant.ts +37 -0
  64. package/dist/template/src/adapters/paradise/http.ts +4 -3
  65. package/dist/template/src/core/contract/json-schema.ts +8 -0
  66. package/dist/template/src/core/demo/playground-inserts.ts +29 -0
  67. package/dist/template/src/core/demo/playground-policy.ts +9 -0
  68. package/dist/template/src/core/env.ts +2 -0
  69. package/dist/template/src/core/http/csp.ts +10 -2
  70. package/dist/template/src/core/http/csrf-client.ts +10 -0
  71. package/dist/template/src/core/import/service.ts +217 -12
  72. package/dist/template/src/core/import/wordpress.ts +80 -15
  73. package/dist/template/src/core/notifications/service.ts +1 -0
  74. package/dist/template/src/core/retention/registry.ts +2 -0
  75. package/dist/template/src/core/search/registry.ts +2 -0
  76. package/dist/template/src/core/seo/feeds.ts +2 -0
  77. package/dist/template/src/core/seo/jsonld.ts +46 -2
  78. package/dist/template/src/core/seo/legacy-proxy.ts +53 -0
  79. package/dist/template/src/core/seo/meta.ts +10 -7
  80. package/dist/template/src/core/seo/service.ts +14 -1
  81. package/dist/template/src/core/update/release-declaration.json +1 -1
  82. package/dist/template/src/modules/assistant/contract.ts +1 -1
  83. package/dist/template/src/modules/assistant/limits.ts +3 -0
  84. package/dist/template/src/modules/assistant/preview.ts +124 -0
  85. package/dist/template/src/modules/assistant/provider.ts +7 -0
  86. package/dist/template/src/modules/assistant/service.ts +21 -5
  87. package/dist/template/src/modules/cms/blocks/PreviewAssistantCall.tsx +176 -0
  88. package/dist/template/src/modules/cms/blocks/SiteChatClient.tsx +10 -4
  89. package/dist/template/src/modules/cms/blocks/surfaces.tsx +10 -0
  90. package/dist/template/src/modules/cms/blog-comments-schema.ts +27 -0
  91. package/dist/template/src/modules/cms/blog-comments.ts +111 -0
  92. package/dist/template/src/modules/cms/blog-schema.ts +146 -0
  93. package/dist/template/src/modules/cms/blog-service.ts +999 -0
  94. package/dist/template/src/modules/cms/blog.tsx +245 -25
  95. package/dist/template/src/modules/cms/manifest.ts +7 -1
  96. package/dist/template/src/modules/cms/read.ts +18 -0
  97. package/dist/template/src/modules/cms/service.ts +22 -4
  98. package/dist/template/src/modules/cms/tables.ts +2 -0
  99. package/dist/template/src/modules/seed/launch.ts +31 -3
  100. package/dist/template/tests/browser/blog-structure.spec.ts +69 -0
  101. package/dist/template/tests/core/analytics-consent.test.ts +1 -1
  102. package/dist/template/tests/core/blog-playground.test.ts +106 -0
  103. package/dist/template/tests/core/blog-structure-comments.test.ts +166 -0
  104. package/dist/template/tests/core/csp.test.ts +1 -1
  105. package/dist/template/tests/core/internal-services.test.ts +4 -0
  106. package/dist/template/tests/core/legacy-redirect-proxy.test.ts +59 -0
  107. package/dist/template/tests/core/locale-routing.test.ts +1 -1
  108. package/dist/template/tests/core/playground-cache.test.ts +1 -1
  109. package/dist/template/tests/core/playground.test.ts +3 -3
  110. package/dist/template/tests/core/preview-assistant-call.test.ts +88 -0
  111. package/dist/template/tests/core/private-preview-webhooks.test.ts +1 -1
  112. package/dist/template/tests/core/private-preview.test.ts +1 -1
  113. package/dist/template/tests/core/proxy-locale.test.ts +1 -1
  114. package/dist/template/tests/core/sdk-schema.test.ts +20 -0
  115. package/dist/template/tests/core/seo.test.ts +1 -1
  116. package/dist/template/tests/core/site-chat-client.test.ts +50 -0
  117. package/dist/template/tests/core/wordpress-import-flow.test.ts +81 -18
  118. package/dist/template/tests/core/wordpress-import.test.ts +25 -12
  119. package/dist/template/tests/core/wordpress-migration-verification.test.ts +37 -0
  120. package/dist/template/tests/modules/preview-assistant.test.ts +164 -0
  121. package/dist/template-manifest.json +349 -139
  122. package/package.json +1 -1
@@ -0,0 +1,89 @@
1
+ -- Copyright (C) 2026 Tony Aly
2
+ -- SPDX-License-Identifier: Apache-2.0
3
+ -- C2.27/C2.28 (MASTER.md §43): blog posts, categories, tags and authors.
4
+ -- New tables only: the previous release never reads them, so rollback is
5
+ -- safe. A post is still a `pages` row; `blog_posts` marks it as one.
6
+ CREATE TABLE "blog_settings" (
7
+ "key" text PRIMARY KEY DEFAULT 'site' NOT NULL,
8
+ "category_base" text DEFAULT 'blog/category' NOT NULL,
9
+ "tag_base" text DEFAULT 'blog/tag' NOT NULL,
10
+ "author_base" text DEFAULT 'blog/author' NOT NULL,
11
+ "posts_per_page" integer DEFAULT 12 NOT NULL,
12
+ "created_at" timestamp with time zone DEFAULT now() NOT NULL,
13
+ "updated_at" timestamp with time zone DEFAULT now() NOT NULL
14
+ );
15
+ --> statement-breakpoint
16
+ CREATE TABLE "blog_authors" (
17
+ "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
18
+ "slug" text NOT NULL,
19
+ "path" text NOT NULL,
20
+ "name" text NOT NULL,
21
+ "bio" text,
22
+ "email" text,
23
+ "user_id" uuid,
24
+ "seo" jsonb DEFAULT '{}'::jsonb NOT NULL,
25
+ "source" text DEFAULT 'admin' NOT NULL,
26
+ "created_at" timestamp with time zone DEFAULT now() NOT NULL,
27
+ "updated_at" timestamp with time zone DEFAULT now() NOT NULL
28
+ );
29
+ --> statement-breakpoint
30
+ ALTER TABLE "blog_authors" ADD CONSTRAINT "blog_authors_user_id_users_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."users"("id") ON DELETE set null ON UPDATE no action;
31
+ --> statement-breakpoint
32
+ CREATE UNIQUE INDEX "blog_authors_slug_idx" ON "blog_authors" USING btree ("slug");
33
+ --> statement-breakpoint
34
+ CREATE UNIQUE INDEX "blog_authors_path_idx" ON "blog_authors" USING btree ("path");
35
+ --> statement-breakpoint
36
+ CREATE UNIQUE INDEX "blog_authors_user_idx" ON "blog_authors" USING btree ("user_id") WHERE "blog_authors"."user_id" is not null;
37
+ --> statement-breakpoint
38
+ CREATE TABLE "blog_terms" (
39
+ "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
40
+ "taxonomy" text NOT NULL,
41
+ "slug" text NOT NULL,
42
+ "path" text NOT NULL,
43
+ "name" text NOT NULL,
44
+ "description" text,
45
+ "parent_id" uuid,
46
+ "position" integer DEFAULT 0 NOT NULL,
47
+ "seo" jsonb DEFAULT '{}'::jsonb NOT NULL,
48
+ "source" text DEFAULT 'admin' NOT NULL,
49
+ "created_at" timestamp with time zone DEFAULT now() NOT NULL,
50
+ "updated_at" timestamp with time zone DEFAULT now() NOT NULL,
51
+ CONSTRAINT "blog_terms_taxonomy_allowed" CHECK ("blog_terms"."taxonomy" in ('category', 'tag'))
52
+ );
53
+ --> statement-breakpoint
54
+ ALTER TABLE "blog_terms" ADD CONSTRAINT "blog_terms_parent_id_blog_terms_id_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."blog_terms"("id") ON DELETE set null ON UPDATE no action;
55
+ --> statement-breakpoint
56
+ CREATE UNIQUE INDEX "blog_terms_slug_idx" ON "blog_terms" USING btree ("taxonomy","slug");
57
+ --> statement-breakpoint
58
+ CREATE UNIQUE INDEX "blog_terms_path_idx" ON "blog_terms" USING btree ("path");
59
+ --> statement-breakpoint
60
+ CREATE INDEX "blog_terms_parent_idx" ON "blog_terms" USING btree ("parent_id");
61
+ --> statement-breakpoint
62
+ CREATE TABLE "blog_posts" (
63
+ "page_id" uuid PRIMARY KEY NOT NULL,
64
+ "author_id" uuid,
65
+ "comments_enabled" boolean DEFAULT true NOT NULL,
66
+ "source_modified_at" timestamp with time zone,
67
+ "source" text DEFAULT 'admin' NOT NULL,
68
+ "created_at" timestamp with time zone DEFAULT now() NOT NULL,
69
+ "updated_at" timestamp with time zone DEFAULT now() NOT NULL
70
+ );
71
+ --> statement-breakpoint
72
+ ALTER TABLE "blog_posts" ADD CONSTRAINT "blog_posts_page_id_pages_id_fk" FOREIGN KEY ("page_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action;
73
+ --> statement-breakpoint
74
+ ALTER TABLE "blog_posts" ADD CONSTRAINT "blog_posts_author_id_blog_authors_id_fk" FOREIGN KEY ("author_id") REFERENCES "public"."blog_authors"("id") ON DELETE set null ON UPDATE no action;
75
+ --> statement-breakpoint
76
+ CREATE INDEX "blog_posts_author_idx" ON "blog_posts" USING btree ("author_id");
77
+ --> statement-breakpoint
78
+ CREATE TABLE "blog_post_terms" (
79
+ "page_id" uuid NOT NULL,
80
+ "term_id" uuid NOT NULL,
81
+ "position" integer DEFAULT 0 NOT NULL,
82
+ CONSTRAINT "blog_post_terms_page_id_term_id_pk" PRIMARY KEY("page_id","term_id")
83
+ );
84
+ --> statement-breakpoint
85
+ ALTER TABLE "blog_post_terms" ADD CONSTRAINT "blog_post_terms_page_id_blog_posts_page_id_fk" FOREIGN KEY ("page_id") REFERENCES "public"."blog_posts"("page_id") ON DELETE cascade ON UPDATE no action;
86
+ --> statement-breakpoint
87
+ ALTER TABLE "blog_post_terms" ADD CONSTRAINT "blog_post_terms_term_id_blog_terms_id_fk" FOREIGN KEY ("term_id") REFERENCES "public"."blog_terms"("id") ON DELETE cascade ON UPDATE no action;
88
+ --> statement-breakpoint
89
+ CREATE INDEX "blog_post_terms_term_idx" ON "blog_post_terms" USING btree ("term_id");
@@ -0,0 +1,24 @@
1
+ -- Copyright (C) 2026 Tony Aly
2
+ -- SPDX-License-Identifier: Apache-2.0
3
+ -- C2.29: public moderated reader comments, distinct from editorial annotations.
4
+ ALTER TABLE blog_settings ADD COLUMN comments_enabled boolean NOT NULL DEFAULT true;
5
+ --> statement-breakpoint
6
+ CREATE TABLE blog_reader_comments (
7
+ id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
8
+ page_id uuid NOT NULL REFERENCES pages(id) ON DELETE CASCADE,
9
+ parent_id uuid REFERENCES blog_reader_comments(id) ON DELETE SET NULL,
10
+ contact_id uuid REFERENCES contacts(id) ON DELETE SET NULL,
11
+ author_name text NOT NULL,
12
+ body text NOT NULL,
13
+ status text NOT NULL DEFAULT 'pending' CONSTRAINT blog_reader_comments_status_allowed CHECK(status IN ('pending','approved','spam','trash')),
14
+ source text NOT NULL DEFAULT 'reader',
15
+ external_id text,
16
+ created_at timestamptz NOT NULL DEFAULT now(),
17
+ updated_at timestamptz NOT NULL DEFAULT now()
18
+ );
19
+ --> statement-breakpoint
20
+ CREATE INDEX blog_reader_comments_page_status_idx ON blog_reader_comments(page_id,status,created_at);
21
+ --> statement-breakpoint
22
+ CREATE INDEX blog_reader_comments_contact_idx ON blog_reader_comments(contact_id);
23
+ --> statement-breakpoint
24
+ CREATE UNIQUE INDEX blog_reader_comments_source_external_idx ON blog_reader_comments(source,external_id) WHERE external_id IS NOT NULL;
@@ -428,6 +428,20 @@
428
428
  "when": 1793310000040,
429
429
  "tag": "0060_mail_preview_outbox",
430
430
  "breakpoints": true
431
+ },
432
+ {
433
+ "idx": 61,
434
+ "version": "7",
435
+ "when": 1793310000041,
436
+ "tag": "0061_blog_structure",
437
+ "breakpoints": true
438
+ },
439
+ {
440
+ "idx": 62,
441
+ "version": "7",
442
+ "when": 1793310000042,
443
+ "tag": "0062_blog_reader_comments",
444
+ "breakpoints": true
431
445
  }
432
446
  ]
433
447
  }
@@ -0,0 +1,146 @@
1
+ <!--
2
+ Copyright (C) 2026 Tony Aly
3
+ SPDX-License-Identifier: Apache-2.0
4
+ -->
5
+ # Blog structure and WordPress migration qualification
6
+
7
+ Canonical work: MASTER §43 C2.27, C2.28, C2.29 and C3.46. These remain open until
8
+ review, release and deployed acceptance. C3.45 is implemented in a separate
9
+ preview-assistant branch; this change reserves its agreed checklist text only.
10
+
11
+ When replacing a live post, bylines, taxonomy and approved imported comments
12
+ stay staged until publication in the same transaction as the body cutover.
13
+ Rollback restores the prior publication date and working copy as well as post
14
+ metadata; an imported draft must be renamed when it collides with a live page.
15
+ Republishing an edit keeps the first publication date and updates the post’s
16
+ modified date. Registered publication vetoes also hide bylines, comment threads
17
+ and archives. A slug lookup must resolve to the exact selected page ID: a
18
+ public row in another locale cannot authorize a hidden duplicate. Ordinary-page
19
+ replacements remove the old blog marker only at cutover; comments reference
20
+ the underlying page so kind changes hide history without deleting rollback data.
21
+
22
+ The original WXR post permalink stays the CMS page address, including date
23
+ segments. Blog membership is explicit metadata, so the blog listing does not
24
+ require a move under `/blog`. Original imported search titles and descriptions
25
+ carry preservation flags; new composed titles keep the existing suggested
26
+ lengths. Supported Yoast/Rank Math title, description, canonical, noindex,
27
+ nofollow and social overrides carry across; same-source canonical addresses
28
+ are rebased to the new site. Reviewed Freeholder translations supply hreflang;
29
+ an export cannot establish which source translations were actually live.
30
+
31
+ Categories, tags and authors are real records with owner screens and scoped
32
+ services. Hierarchical WordPress category paths and guest author paths are
33
+ retained. Existing matching records are reused; an old archive alias points to
34
+ an existing archive when its path differs. Private author email is absent from
35
+ public bylines and archive responses. Public category navigation includes only
36
+ categories with published posts. Date archive and old `/page/N` links use the
37
+ same published listing and filters.
38
+
39
+ Reader comments use their own table, separate from editorial annotations.
40
+ Reader history and the moderation queue paginate, so older imported comments
41
+ remain reachable. New submissions are plain text and pending, have a honeypot and per-email/post
42
+ rate limit, resolve a contact without marketing consent, and notify the owner
43
+ through ordinary notification preferences. Owner moderation and site/post
44
+ switches control new submissions; approved history remains readable when new
45
+ comments are closed. WXR ordinary comments retain dates, moderation state and
46
+ parentage. Unsupported comment types and comments on ordinary pages remain
47
+ reported as skipped. Contact merge/undo, private export and erasure include the
48
+ comment reference. Rollback removes this import's comments and unused profiles,
49
+ retaining profiles and ancestors used elsewhere.
50
+
51
+ Publication activates query-ID and parented attachment aliases. The proxy asks
52
+ the public redirect service at configured APP_URL without forwarding cookies,
53
+ credentials or request headers, follows stored chains in the service and emits
54
+ a literal 301 before slash normalization. It performs one bounded (1.5 second)
55
+ internal request per public GET/HEAD page; internal routes and assets bypass it.
56
+ A resolver outage preserves content availability, but may degrade historical
57
+ redirects: the verification must fail that path rather than accept it.
58
+
59
+ ## Read-only acceptance report
60
+
61
+ After reconciliation and explicit import publication, export the JSON result of
62
+ `imports.wordpressVerificationPlan` for the run. This scoped query changes no
63
+ site content. Run:
64
+
65
+ ```sh
66
+ node scripts/verify-wordpress-migration.mjs PLAN.json https://destination.example REPORT.json
67
+ ```
68
+
69
+ The operator-owned plan and report stay private. The script fetches source and
70
+ destination without cookies, requires final HTTP 200 after at most one redirect,
71
+ requires literal 301 for aliases, checks canonical/imported search and social
72
+ text, compares rendered source title/description/robots/hreflang and records
73
+ missing source evidence. A report with failures, warnings or unresolved source
74
+ features exits nonzero. This is cutover evidence, not permission to change DNS.
75
+
76
+ ## Remaining cutover decisions and limits
77
+
78
+ - WordPress `/feed` collides with Freeholder's existing member feed. The new blog
79
+ Atom feed is `/feeds/blog.xml`; root `?feed=rss2`, `?feed=atom` and `?feed=rss`
80
+ aliases reach it. The reserved path needs an owner-selected migration plan
81
+ before DNS cutover; it is not silently overwritten.
82
+ - Orphan attachment pages need an owner-selected destination. Parented
83
+ attachment pages and `?attachment_id` links redirect to their parent post.
84
+ - WXR omits rendered hreflang and plugin-generated metadata. A source crawl is
85
+ required for parity acceptance; an inaccessible source remains uncertainty.
86
+ - External Open Graph image URLs remain their original source URL. Confirm
87
+ long-term image availability or replace them with an owned image before
88
+ retiring the original host. Failed media downloads remain visible in the
89
+ original importer report.
90
+ - Source subdirectory roots, plugin-specific archive bases, multilingual-plugin
91
+ URL routing and custom post types require source-crawl comparison. No blanket
92
+ WordPress parity claim is made for data an export does not carry.
93
+ - No production deployment, release, DNS cutover or LinkedIn publication is
94
+ authorized by a local passing test. The LinkedIn draft remains on hold.
95
+
96
+ ## Validation record
97
+
98
+ Disposable PostgreSQL 16 at a private loopback port, containing only fixtures,
99
+ was used for migrations and importer/comment tests. No production database or
100
+ personal browser state was used. Exact final commands and results are recorded
101
+ in the pull request; browser, release and deployed acceptance remain separate.
102
+
103
+ ## Peer-review regressions
104
+
105
+ A two-locale, same-slug fixture returned a vetoed row's approved comment before
106
+ the exact-ID correction. The preserved failing result was a local fixture, not
107
+ a production disclosure. The new regression verifies refused reads/submissions,
108
+ no hidden archive/category, canonical byline identity and one visible listing.
109
+ A second regression replaces a live post with an ordinary WordPress page, then
110
+ rolls back, preserving the same approved comment ID and its privacy boundary.
111
+ Both fixes belong to C2.29/C3.46; deployed acceptance remains pending.
112
+
113
+ The standalone browser run completed owner/public functionality, email/XSS
114
+ privacy checks and eight light/dark Axe scans, then reproduced a redirect500:
115
+ native Response.redirect headers are immutable. The proxy correction creates
116
+ a mutable NextResponse before applying CSP; the full-proxy regression and the
117
+ repeated real-browser literal301 assertion qualify that boundary separately.
118
+
119
+ The next browser run returned the required301 and a valid relative Location;
120
+ the overly strict absolute-header assertion was a harness defect. The harness
121
+ now resolves that header against the trusted test origin before asserting the
122
+ exact destination, retaining the one-hop and origin checks.
123
+
124
+ Full CI found the new comment contact foreign key and public submission were
125
+ unclassified in the existing search, retention and playground completeness
126
+ guards. These were product integration omissions. Comments remain discoverable
127
+ through the scoped moderation queue; page deletion and `cms.readerComments`
128
+ privacy erasure govern their discussion history instead of a notes TTL.
129
+ Playground submissions use a 200-row comment cap and the existing shared
130
+ contact/client limits, with external notification delivery still blocked.
131
+
132
+ The new native playground regression first reproduced two content-service
133
+ refusals, then called the actual create-blog server action using a genuine
134
+ disposable session cookie and reproduced its redirect back with a refusal.
135
+ The form unnecessarily invoked operator-only bootstrap even though playground
136
+ startup already seeds chrome. It now uses that seeded chrome and explicit
137
+ content permissions. Pages/authors/terms have limits; a shared transaction
138
+ insert guard also covers inline tag batches and concurrent last-slot creators.
139
+ The framework request context/redirect is simulated; actor resolution, grants,
140
+ services and PostgreSQL are real. Deployed demo acceptance remains open.
141
+
142
+ Separate source-review limitation (CMS/kernel, C1.38): the page cap remains a
143
+ preflight outside `createPage`'s insertion transaction. These author/term and
144
+ inline-tag tests do not qualify a strict concurrent page cap. Native race
145
+ reproduction, shared page-insertion serialization and deployed acceptance are
146
+ a scoped follow-up; no live page-overflow incident has been demonstrated.
@@ -13,7 +13,7 @@ APP_URL=http://localhost:3000
13
13
  # infra/compose.https.yml, whose Caddy obtains the certificate.
14
14
  FREEHOLDER_DOMAIN=
15
15
  # The release image; `selfhost.sh update VERSION` changes it.
16
- FREEHOLDER_IMAGE=ghcr.io/campdenman/freeholder:0.2.0-beta.5
16
+ FREEHOLDER_IMAGE=ghcr.io/campdenman/freeholder:0.2.0-beta.6
17
17
  # Media on the Compose `media` volume (default) or S3-compatible storage.
18
18
  FREEHOLDER_STORAGE=local
19
19
  # For FREEHOLDER_STORAGE=s3:
@@ -24,7 +24,7 @@ moving from one to the other keeps your data.
24
24
  On a server with Docker and ports 80 and 443 open:
25
25
 
26
26
  ```sh
27
- git clone --depth 1 --branch v0.2.0-beta.5 https://github.com/CampDenman/freeholder.git
27
+ git clone --depth 1 --branch v0.2.0-beta.6 https://github.com/CampDenman/freeholder.git
28
28
  cd freeholder
29
29
  deploy/docker-selfhost/selfhost.sh prepare # or: prepare --domain example.com
30
30
  deploy/docker-selfhost/selfhost.sh start # prints your private claim link
@@ -87,7 +87,8 @@ copy of `.env` too: `CREDENTIAL_KEY` is not in the backup.
87
87
 
88
88
  ```sh
89
89
  deploy/docker-selfhost/selfhost.sh check # containers healthy, /api/health over HTTPS, latest backup
90
- deploy/docker-selfhost/selfhost.sh update 0.2.0-beta.6 # back up, switch image, roll back if unhealthy
90
+ # Replace VERSION with a published release, for example 0.2.0-beta.6.
91
+ deploy/docker-selfhost/selfhost.sh update VERSION # back up, switch image, roll back if unhealthy
91
92
  deploy/docker-selfhost/selfhost.sh logs
92
93
  ```
93
94
 
@@ -27,7 +27,7 @@ services:
27
27
  app:
28
28
  # The release this checkout belongs to (tests/core/linux-install.test.ts
29
29
  # keeps it equal to package.json). Update: selfhost.sh update VERSION.
30
- image: ${FREEHOLDER_IMAGE:-ghcr.io/campdenman/freeholder:0.2.0-beta.5}
30
+ image: ${FREEHOLDER_IMAGE:-ghcr.io/campdenman/freeholder:0.2.0-beta.6}
31
31
  restart: unless-stopped
32
32
  # Not published to the host: Caddy is the only way in.
33
33
  expose:
@@ -4,7 +4,7 @@ services:
4
4
  app:
5
5
  # The release this checkout belongs to (tests/core/linux-install.test.ts
6
6
  # keeps it equal to package.json). Update: selfhost.sh update VERSION.
7
- image: ${FREEHOLDER_IMAGE:-ghcr.io/campdenman/freeholder:0.2.0-beta.5}
7
+ image: ${FREEHOLDER_IMAGE:-ghcr.io/campdenman/freeholder:0.2.0-beta.6}
8
8
  restart: unless-stopped
9
9
  ports:
10
10
  - "3000:3000"
@@ -1208,6 +1208,51 @@ v2.
1208
1208
  - **F11** — Beta release notes: `.changeset/customer-self-service.md`; scope and remaining acceptance: `deploy/customer-surfaces-2026-10-07.md`.
1209
1209
  - **F12** — Composed software journeys: `tests/browser/customer-surfaces.spec.ts`, `tests/modules/customer-surfaces.test.ts`; actual provider acceptance remains open in `MASTER.md`.
1210
1210
 
1211
+ ## C2.27 — Blog categories and tags
1212
+
1213
+ - **F01** — Additive blog and reader-comment schema: `db/migrations/0061_blog_structure.sql`, `db/migrations/0062_blog_reader_comments.sql`.
1214
+ - **F02** — Shared typed services: `src/modules/cms/blog-service.ts`, `src/modules/cms/blog-comments.ts`; refusal and published-only checks in `tests/core/blog-structure-comments.test.ts`.
1215
+ - **F03** — Contact resolution, merge/undo, export and erasure: `src/modules/cms/blog-comments.ts`, `tests/core/blog-structure-comments.test.ts`; author contact details stay private.
1216
+ - **F04** — Owner blog, taxonomy, author and moderation screens: `app/(admin)/admin/blog/page.tsx`, `app/(admin)/admin/blog/[kind]/page.tsx`, `app/(admin)/admin/blog/comments/page.tsx`.
1217
+ - **F05** — Registry HTTP/MCP projections and generated SDK: `src/modules/cms/service.ts`, `packages/sdk/src/generated.ts`.
1218
+ - **F06** — Four locale catalogs and semantic tokens: `locales/en.json`, `locales/fr.json`, `locales/es.json`, `locales/ar.json`; browser acceptance remains pending in `deploy/blog-wordpress-2026-11-07.md`.
1219
+ - **F07** — Public email exclusion, moderated publication, honeypot, closed comments, contact merge and erasure: `tests/core/blog-structure-comments.test.ts`.
1220
+ - **F08** — Migration/rollback regressions: `tests/core/wordpress-import-flow.test.ts`; parser regressions: `tests/core/wordpress-import.test.ts`; redirect projection: `tests/core/legacy-redirect-proxy.test.ts`.
1221
+ - **F09** — Explicit operational limits, source crawl and cutover review: `deploy/blog-wordpress-2026-11-07.md`.
1222
+ - **F10** — Bounded redirect lookup, no cookie forwarding and outage fallback: `src/core/seo/legacy-proxy.ts`, `tests/core/legacy-redirect-proxy.test.ts`; scale acceptance remains pending.
1223
+ - **F11** — Release notes and qualified claims: `.changeset/blog-wordpress-structure.md`, `deploy/blog-wordpress-2026-11-07.md`.
1224
+ - **F12** — Partial software evidence: `tests/core/wordpress-import-flow.test.ts`, `tests/core/blog-structure-comments.test.ts`; deployment and source URL acceptance remain open in `deploy/blog-wordpress-2026-11-07.md`.
1225
+
1226
+ ## C2.28 — Blog author profiles
1227
+
1228
+ - **F01** — Additive blog and reader-comment schema: `db/migrations/0061_blog_structure.sql`, `db/migrations/0062_blog_reader_comments.sql`.
1229
+ - **F02** — Shared typed services: `src/modules/cms/blog-service.ts`, `src/modules/cms/blog-comments.ts`; refusal and published-only checks in `tests/core/blog-structure-comments.test.ts`.
1230
+ - **F03** — Contact resolution, merge/undo, export and erasure: `src/modules/cms/blog-comments.ts`, `tests/core/blog-structure-comments.test.ts`; author contact details stay private.
1231
+ - **F04** — Owner blog, taxonomy, author and moderation screens: `app/(admin)/admin/blog/page.tsx`, `app/(admin)/admin/blog/[kind]/page.tsx`, `app/(admin)/admin/blog/comments/page.tsx`.
1232
+ - **F05** — Registry HTTP/MCP projections and generated SDK: `src/modules/cms/service.ts`, `packages/sdk/src/generated.ts`.
1233
+ - **F06** — Four locale catalogs and semantic tokens: `locales/en.json`, `locales/fr.json`, `locales/es.json`, `locales/ar.json`; browser acceptance remains pending in `deploy/blog-wordpress-2026-11-07.md`.
1234
+ - **F07** — Public email exclusion, moderated publication, honeypot, closed comments, contact merge and erasure: `tests/core/blog-structure-comments.test.ts`.
1235
+ - **F08** — Migration/rollback regressions: `tests/core/wordpress-import-flow.test.ts`; parser regressions: `tests/core/wordpress-import.test.ts`; redirect projection: `tests/core/legacy-redirect-proxy.test.ts`.
1236
+ - **F09** — Explicit operational limits, source crawl and cutover review: `deploy/blog-wordpress-2026-11-07.md`.
1237
+ - **F10** — Bounded redirect lookup, no cookie forwarding and outage fallback: `src/core/seo/legacy-proxy.ts`, `tests/core/legacy-redirect-proxy.test.ts`; scale acceptance remains pending.
1238
+ - **F11** — Release notes and qualified claims: `.changeset/blog-wordpress-structure.md`, `deploy/blog-wordpress-2026-11-07.md`.
1239
+ - **F12** — Partial software evidence: `tests/core/wordpress-import-flow.test.ts`, `tests/core/blog-structure-comments.test.ts`; deployment and source URL acceptance remain open in `deploy/blog-wordpress-2026-11-07.md`.
1240
+
1241
+ ## C2.29 — Moderated public reader comments
1242
+
1243
+ - **F01** — Additive blog and reader-comment schema: `db/migrations/0061_blog_structure.sql`, `db/migrations/0062_blog_reader_comments.sql`.
1244
+ - **F02** — Shared typed services: `src/modules/cms/blog-service.ts`, `src/modules/cms/blog-comments.ts`; refusal and published-only checks in `tests/core/blog-structure-comments.test.ts`.
1245
+ - **F03** — Contact resolution, merge/undo, export and erasure: `src/modules/cms/blog-comments.ts`, `tests/core/blog-structure-comments.test.ts`; author contact details stay private.
1246
+ - **F04** — Owner blog, taxonomy, author and moderation screens: `app/(admin)/admin/blog/page.tsx`, `app/(admin)/admin/blog/[kind]/page.tsx`, `app/(admin)/admin/blog/comments/page.tsx`.
1247
+ - **F05** — Registry HTTP/MCP projections and generated SDK: `src/modules/cms/service.ts`, `packages/sdk/src/generated.ts`.
1248
+ - **F06** — Four locale catalogs and semantic tokens: `locales/en.json`, `locales/fr.json`, `locales/es.json`, `locales/ar.json`; browser acceptance remains pending in `deploy/blog-wordpress-2026-11-07.md`.
1249
+ - **F07** — Public email exclusion, moderated publication, honeypot, closed comments, contact merge and erasure: `tests/core/blog-structure-comments.test.ts`.
1250
+ - **F08** — Migration/rollback regressions: `tests/core/wordpress-import-flow.test.ts`; parser regressions: `tests/core/wordpress-import.test.ts`; redirect projection: `tests/core/legacy-redirect-proxy.test.ts`.
1251
+ - **F09** — Explicit operational limits, source crawl and cutover review: `deploy/blog-wordpress-2026-11-07.md`.
1252
+ - **F10** — Bounded redirect lookup, no cookie forwarding and outage fallback: `src/core/seo/legacy-proxy.ts`, `tests/core/legacy-redirect-proxy.test.ts`; scale acceptance remains pending.
1253
+ - **F11** — Release notes and qualified claims: `.changeset/blog-wordpress-structure.md`, `deploy/blog-wordpress-2026-11-07.md`.
1254
+ - **F12** — Partial software evidence: `tests/core/wordpress-import-flow.test.ts`, `tests/core/blog-structure-comments.test.ts`; deployment and source URL acceptance remain open in `deploy/blog-wordpress-2026-11-07.md`.
1255
+
1211
1256
  ## C3.01 — Add required output schemas to every service and validate
1212
1257
 
1213
1258
  - **F01** — No item-dedicated migration is named in §43; schema is owned per-module and applied through `db/migrations/0000_reviewed-baseline.sql` (reviewed baseline, C10.19); database coverage in `tests/core/service-output.test.ts`.
@@ -1862,6 +1907,35 @@ v2.
1862
1907
  - **F11** — `GETTING_STARTED.md`, `AGENTS.md`, `deploy/README.md`, `deploy/linux/README.md`; changeset `native-linux-install.md`.
1863
1908
  - **F12** — `.github/workflows/release-tarballs.yml`: Pending — a release carrying the tarballs, then the documented steps on a fresh server (HTTPS, claim, publish, backup, restore).
1864
1909
 
1910
+ ## C3.45 — Managed PM-hosted preview assistant
1911
+
1912
+ - **F01** — N/A — no new Freeholder table; existing assistant settings/turns and canonical chat messages remain authoritative. PM owns the separate backend migration.
1913
+ - **F02** — `src/modules/assistant/preview.ts`, `src/modules/assistant/service.ts`, `src/adapters/paradise/assistant.ts`; visitor binding, owner permission and budget behavior in `tests/modules/preview-assistant.test.ts`.
1914
+ - **F03** — `src/modules/assistant/service.ts`, `src/modules/assistant/preview.ts`: text and explicitly browser-observed captions use existing conversation messages; actual managed list-price receipts settle the assistant turn meter. No invoice or consent is created by captions.
1915
+ - **F04** — `app/(admin)/admin/assistant/page.tsx`, `src/modules/cms/blocks/PreviewAssistantCall.tsx`; Pending — real approved media and owner-control acceptance.
1916
+ - **F05** — Registered `assistant.previewCall`, `assistant.managedDetails`, `assistant.syncManagedSettings`; HTTP uses the same service objects. `tests/core/registry-completeness.test.ts`, `tests/core/sdk.test.ts`.
1917
+ - **F06** — Four shipped locales, `tests/core/i18n-gate.test.ts`, `tests/core/locale-quality.test.ts`; Pending — dedicated keyboard/axe proof of the call widget.
1918
+ - **F07** — `tests/modules/preview-assistant.test.ts`: cross-visitor cookie binding, off/End, exact origins, unknown-charge holds and concurrent budget claims. No chatbot age gate.
1919
+ - **F08** — `tests/modules/preview-assistant.test.ts`, existing `tests/modules/assistant.test.ts`, `tests/core/launch-template.test.ts`; native PostgreSQL and pinned shared transport/codec hashes.
1920
+ - **F09** — `src/core/messaging/chat.ts`, `src/modules/assistant/preview.ts`: existing messaging privacy/retention spine applies; no separate transcript store. Pending — real call lifecycle and full product export/erase acceptance.
1921
+ - **F10** — `deploy/managed-preview-assistant.md`; scoped server-side integration and explicit text fallback. No unrelated page opens worker origins.
1922
+ - **F11** — `MASTER.md` C3.45 and `.changeset/managed-preview-assistant.md`; coordinated backend/consumer release order is documented.
1923
+ - **F12** — `deploy/managed-preview-assistant.md`: Pending — protected exact-head CI, deployed compatible consumer/backend, text fallback, owner controls, approved media readiness, ordinary End, worker stop and one settlement. Sienna listening/asset clearance is still required.
1924
+ ## C3.46 — SEO-safe WordPress migration
1925
+
1926
+ - **F01** — Additive blog and reader-comment schema: `db/migrations/0061_blog_structure.sql`, `db/migrations/0062_blog_reader_comments.sql`.
1927
+ - **F02** — Shared typed services: `src/modules/cms/blog-service.ts`, `src/modules/cms/blog-comments.ts`; refusal and published-only checks in `tests/core/blog-structure-comments.test.ts`.
1928
+ - **F03** — Contact resolution, merge/undo, export and erasure: `src/modules/cms/blog-comments.ts`, `tests/core/blog-structure-comments.test.ts`; author contact details stay private.
1929
+ - **F04** — Owner blog, taxonomy, author and moderation screens: `app/(admin)/admin/blog/page.tsx`, `app/(admin)/admin/blog/[kind]/page.tsx`, `app/(admin)/admin/blog/comments/page.tsx`.
1930
+ - **F05** — Registry HTTP/MCP projections and generated SDK: `src/modules/cms/service.ts`, `packages/sdk/src/generated.ts`.
1931
+ - **F06** — Four locale catalogs and semantic tokens: `locales/en.json`, `locales/fr.json`, `locales/es.json`, `locales/ar.json`; browser acceptance remains pending in `deploy/blog-wordpress-2026-11-07.md`.
1932
+ - **F07** — Public email exclusion, moderated publication, honeypot, closed comments, contact merge and erasure: `tests/core/blog-structure-comments.test.ts`.
1933
+ - **F08** — Migration/rollback regressions: `tests/core/wordpress-import-flow.test.ts`; parser regressions: `tests/core/wordpress-import.test.ts`; redirect projection: `tests/core/legacy-redirect-proxy.test.ts`.
1934
+ - **F09** — Explicit operational limits, source crawl and cutover review: `deploy/blog-wordpress-2026-11-07.md`.
1935
+ - **F10** — Bounded redirect lookup, no cookie forwarding and outage fallback: `src/core/seo/legacy-proxy.ts`, `tests/core/legacy-redirect-proxy.test.ts`; scale acceptance remains pending.
1936
+ - **F11** — Release notes and qualified claims: `.changeset/blog-wordpress-structure.md`, `deploy/blog-wordpress-2026-11-07.md`.
1937
+ - **F12** — Partial software evidence: `tests/core/wordpress-import-flow.test.ts`, `tests/core/blog-structure-comments.test.ts`; deployment and source URL acceptance remain open in `deploy/blog-wordpress-2026-11-07.md`.
1938
+
1865
1939
  ## C4.01 — Build the work board, task tree/dependency view, assignment
1866
1940
 
1867
1941
  - **F01** — No item-dedicated migration is named in §43; schema is owned per-module and applied through `db/migrations/0000_reviewed-baseline.sql` (reviewed baseline, C10.19); database coverage in `tests/core/agents-board.test.ts`.
@@ -21,7 +21,7 @@ run it, open the link.
21
21
  ## Install
22
22
 
23
23
  ```sh
24
- curl -fsSLO https://github.com/CampDenman/freeholder/releases/download/v0.2.0-beta.5/install.sh
24
+ curl -fsSLO https://github.com/CampDenman/freeholder/releases/download/v0.2.0-beta.6/install.sh
25
25
  less install.sh # optional: read what it does
26
26
  sudo sh install.sh # asks for your domain; Enter = temporary address
27
27
  ```
@@ -29,7 +29,7 @@ set -eu
29
29
 
30
30
  # Bumped with every release (tests/core/linux-install.test.ts checks it
31
31
  # matches package.json), so a downloaded install.sh installs its own release.
32
- FREEHOLDER_VERSION_DEFAULT="0.2.0-beta.5"
32
+ FREEHOLDER_VERSION_DEFAULT="0.2.0-beta.6"
33
33
  REPOSITORY="CampDenman/freeholder"
34
34
 
35
35
  say() { printf 'freeholder: %s\n' "$*"; }
@@ -0,0 +1,99 @@
1
+ # Managed preview assistant (C3.45)
2
+
3
+ This consumer is prepared for review. It has no production acceptance and
4
+ does not authorize enabling PM's version 3 generator or clearing a character.
5
+ The matching PM backend is `feat/autopilot-preview-video-assistant-20261106`.
6
+ Release the compatible consumer before PM emits version 3 specs. Version 1
7
+ and 2 specs still install without an assistant.
8
+
9
+ Version 3 explicitly supplies:
10
+
11
+ ```json
12
+ "assistant": {
13
+ "provider": "paradise",
14
+ "enabled": true,
15
+ "dailyCapUsd": 1,
16
+ "contentMode": "sfw"
17
+ }
18
+ ```
19
+
20
+ Optional `hours` are owner-supplied facts. Missing hours stay unknown. The
21
+ installer uses ordinary settings/module services, adds the existing site-chat
22
+ block to Contact, and configures the existing assistant provider. Text replies
23
+ remain ordinary assistant messages on the contact's canonical conversation.
24
+ No chatbot age-confirmation form is added.
25
+
26
+ The preview's server needs its own scoped `PARADISEMODERN_API_KEY`, plus
27
+ `PARADISEMODERN_URL` and exact HTTPS voice/face worker origins in
28
+ `PARADISEMODERN_ASSISTANT_ORIGINS`. Install these in the preview's private
29
+ provider configuration. Never put the key in a launch spec, browser bundle,
30
+ page, screenshot or commit. A key is issued through PM's owner-authorized
31
+ preview-key operation, not by another site key. With no worker origins or
32
+ cleared talent, the UI offers text. An existing private link and owner claim
33
+ remain separate from assistant credentials.
34
+
35
+ PM owns exact-asset clearance, SFW knowledge/rules, plan allowance, owner
36
+ credit, daily list-price cap, GPU admission and authoritative settlement. The
37
+ site derives `visitor_ref` from its validated chat cookie; a browser cannot
38
+ supply one, an account, a prompt, an arbitrary talent, or a provider key.
39
+ `/api/chat/assistant/call` refuses cross-site requests and uses the ordinary
40
+ service permission/CSRF/audit path. Owner settings use the same scoped services
41
+ from the admin screen and API. Managed amounts are USD cents, independent of
42
+ the business's storefront currency, and the managed cap is daily.
43
+
44
+ For text, Freeholder serializes budget claims and reserves the whole remaining
45
+ local cap, passes it as a maximum to PM's quote/admission, and settles the
46
+ actual list-price receipt into the existing turn meter. An unknown timeout
47
+ keeps the reservation for ledger reconciliation; it never assumes no charge.
48
+ That conservative failure can exhaust the local cap until the next period.
49
+ No automatic retry, budget reset or unsupported reconciliation is performed.
50
+
51
+ Voice/video use the byte-pinned PM duplex 0.1.10 distribution in
52
+ `public/managed-assistant/0.1.10`, with same-origin codecs and preserved MIT/BSD
53
+ notices. Their manifest digests are tested. The site opens only configured
54
+ worker origins on Contact (including localized paths before locale rewrite),
55
+ suppresses call controls on site-chat blocks placed elsewhere, asks for microphone access after a click, polls
56
+ bounded queue tickets, renews leases within the server's hard deadline and
57
+ always attempts End and local media cleanup. Browser captions are explicitly
58
+ labeled browser observations and deduplicated onto the existing conversation;
59
+ they are never billing, identity or consent receipts.
60
+
61
+ Local validation: existing launch/assistant suites 72 cases on isolated native
62
+ PostgreSQL; 10 new managed consumer cases cover v3 compatibility/installation,
63
+ byte pins, CSP, actual receipt and unknown-charge holds, concurrent claims,
64
+ visitor binding, End after off, owner authorization and caption deduplication.
65
+ TypeScript, focused lint, transaction-boundary, locale, licensing and plan
66
+ checks are separate from protected CI and production acceptance.
67
+
68
+ Before closing C3.45, qualify both exact deployed releases, text fallback on
69
+ the actual PM-hosted preview, owner off/cap/talent changes, one approved real
70
+ call with media readiness, captions, ordinary End, worker stop and one durable
71
+ settlement, plus cross-visitor refusals. Sienna's replacement voice still needs
72
+ Tony's listening approval and exact-asset clearance. No live call is accepted
73
+ from a fake grant or local test.
74
+
75
+ Peer review qualified the multilingual CSP defect as source integration, not a
76
+ live English-preview incident. Contact, /fr/contact and localized variants now
77
+ share the exact media policy; unrelated pages retain their ordinary policy.
78
+ Focused CSP/browser suites18 pass (7 database cases skipped in that invocation);
79
+ native managed tests and full fast gates are recorded separately.
80
+
81
+ Existing signed-in site-chat HTTP integration also omitted the double-submit
82
+ CSRF header on message/assistant/End requests. All chat media/text actions now
83
+ reuse a browser-safe token helper; a mounted browser regression runs those
84
+ requests through the real requireCsrf guard with a simulated httpOnly login
85
+ cookie. Anonymous visitor behavior and server CSRF requirements are preserved.
86
+
87
+ Hosted full CI found two additional source integration defects (shards19/26).
88
+ The first top-level discriminated object-action union reached a MCP adapter
89
+ that required an explicit root object type and otherwise erased every oneOf
90
+ branch. The shared JSONSchema projection now retains all object alternatives
91
+ and required fields with a semantically equivalent explicit root object;
92
+ mixed primitive unions stay unchanged. Native old-source MCP reproduction
93
+ was red; the corrected HTTP/MCP/SDK projections are qualified together.
94
+
95
+ The playground completeness guard also found managed call control and its
96
+ private caption phase unclassified. Unknown services already failed closed;
97
+ explicit refusal reasons now keep both provider-backed actions unavailable
98
+ in demos. No provider admission or privacy leak was observed. Both findings
99
+ remain linked to C3.45 until normal green release and deployed acceptance.
@@ -164,7 +164,9 @@ export default tseslint.config(
164
164
  // pnpm workspace with its own tsconfig, dependencies and CI job, so
165
165
  // type-aware linting here would resolve its imports against the wrong
166
166
  // project and report every one of them as missing.
167
- ignores: [".next/**", ".work/**", "node_modules/**", "packages/**", "db/**", "apps/**"],
167
+ // Byte-pinned shared transport build and MIT/BSD codecs; source policy
168
+ // belongs to their owning project. Consumer manifest digests are tested.
169
+ ignores: [".next/**", ".work/**", "node_modules/**", "packages/**", "db/**", "apps/**", "public/managed-assistant/0.1.10/**"],
168
170
  },
169
171
  // Type-aware from here down. Several gates in §15 are statements about
170
172
  // values, not syntax, and cannot be written without the type checker.