openvibers/openvibe.reviews Commits
openvibe-shared v4.108.0 (was v4.107.4) (#209)
Changes
@@@ -290,7 +290,7 @@ by editors; signals arrive only from Sources.- OpenVibe.AI — optional, proposes summaries through `reviews.summary.propose`- OpenVibe.Search — consumes the index events- PostgreSQL 18 and Valkey 9 (OpenVibe.Host `roles/data/`, ADR-035): every read and write is async through `openvibe-sdk/db`; Valkey holds the per-actor limit counters (optional)--- packages: openvibe-publishing v1.3.0, openvibe-contracts v0.107.0, openvibe-shared v4.107.4, openvibe-sdk v0.82.0++- packages: openvibe-publishing v1.3.0, openvibe-contracts v0.107.0, openvibe-shared v4.108.0, openvibe-sdk v0.82.0## Capabilities@@@ -386,6 +386,6 @@ Part of the [OpenVibe network](https://openvibe.network). Built in the open by [<!-- versions:start -->- openvibe-contracts: v0.222.0- openvibe-sdk: v0.82.0--- openvibe-shared: v4.107.4++- openvibe-shared: v4.108.0- openvibe-publishing: v1.3.0<!-- versions:end -->@@@ -9,10 +9,10 @@"domain": "openvibe.reviews","contracts": "openvibe-contracts v0.222.0","sdk": "openvibe-sdk v0.82.0",-- "shared": "openvibe-shared v4.107.4",++ "shared": "openvibe-shared v4.108.0","packages": ["openvibe-publishing v1.3.0",-- "openvibe-shared v4.107.4",++ "openvibe-shared v4.108.0","openvibe-sdk v0.82.0"],"capabilities": [@@@ -17,7 +17,7 @@"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.222.0","openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.3.0","openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.82.0",-- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.107.4",++ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.108.0","pg": "^8.23.0"},"devDependencies": {@@@ -1196,9 +1196,9 @@}},"node_modules/openvibe-shared": {-- "version": "4.107.4",-- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.107.4",-- "integrity": "sha512-tThN0m3KMncEHVcBOvE+ysHjsZTlVIDLG1P+/i2Mulmxfc/AUpebAXhpWWrut50OChZ8o+HeePxsSrPI8mUQOQ==",++ "version": "4.108.0",++ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.108.0",++ "integrity": "sha512-NPzwjxpzGIpFpIm4uw3+VwHfsxbJ2+cD9yuhRzSwolSwqv2kCmwaVtHJ0DA9gKO3K8PCBfIP3UpKzpuSbYEJ+g==","license": "MIT","dependencies": {"jsonwebtoken": "^9.0.0",@@@ -27,7 +27,7 @@"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.222.0","openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.3.0","openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.82.0",-- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.107.4",++ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.108.0","pg": "^8.23.0"},"engines": {@@@ -115,13 +115,16 @@ function createMachine({ svc, config, releaseLastmod }) {name: 'OpenVibe.Reviews',summary: SITE_SUMMARY,details: 'Every entity page has a JSON representation at the same address plus ".json" (same content). Each signal names its source item, retrieval time and licence note; the aggregate lists its inputs, exclusions and computation (method reviews-aggregate@1). Summaries never carry a rating; AI-drafted summaries are labelled and published only after a person approves them. Review text is not republished.',++ markdown: true,++ base: origin,sections: [{ title: 'Start here', links: [{ title: 'Entities', url: `${origin}/` }, { title: 'How it works', url: `${origin}/about` }] },-- { title: 'Machine-readable', links: [-- { title: 'Sitemap', url: `${origin}/sitemap.xml` },-- { title: 'Published summaries (Atom)', url: `${origin}/feed.atom` },-- { title: 'Published summaries (JSON Feed)', url: `${origin}/feed.json` },-- ] },++ ],++ optional: [++ { title: 'Sitemap', url: `${origin}/sitemap.xml` },++ { title: 'Full text for language models', url: `${origin}/llms-full.txt` },++ { title: 'Published summaries (Atom)', url: `${origin}/feed.atom` },++ { title: 'Published summaries (JSON Feed)', url: `${origin}/feed.json` },],}));});@@@ -124,7 +124,10 @@ t('every public page reads without JavaScript; sitemaps, feeds and robots followconst rb = await req(h, 'GET', '/robots.txt');assert.match(rb.text, /Sitemap: http:\/\/reviews\.test\/sitemap\.xml/);assert.match(rb.text, /Disallow: \/editor/);-- assert.match((await req(h, 'GET', '/llms.txt')).text, /OpenVibe\.Reviews/);++ const llmsText = (await req(h, 'GET', '/llms.txt')).text;++ assert.match(llmsText, /OpenVibe\.Reviews/);++ assert.ok(llmsText.includes('(http://reviews.test/index.md)'), 'home link points at its Markdown twin');++ assert.ok(llmsText.includes('\n## Optional\n'), 'llms.txt has an Optional section');for (const p of ['/', '/about', `/e/${e.slug}/history`, `/e/${e.slug}/summary/1`, '/search?q=portal']) {const r = await req(h, 'GET', p);assert.strictEqual(r.status, 200, p);
@@ -290,7 +290,7 @@ by editors; signals arrive only from Sources.
@@ -290,7 +290,7 @@ by editors; signals arrive only from Sources.
- OpenVibe.AI — optional, proposes summaries through `reviews.summary.propose`
- OpenVibe.AI — optional, proposes summaries through `reviews.summary.propose`
- OpenVibe.Search — consumes the index events
- OpenVibe.Search — consumes the index events
- PostgreSQL 18 and Valkey 9 (OpenVibe.Host `roles/data/`, ADR-035): every read and write is async through `openvibe-sdk/db`; Valkey holds the per-actor limit counters (optional)
- PostgreSQL 18 and Valkey 9 (OpenVibe.Host `roles/data/`, ADR-035): every read and write is async through `openvibe-sdk/db`; Valkey holds the per-actor limit counters (optional)
-- packages: openvibe-publishing v1.3.0, openvibe-contracts v0.107.0, openvibe-shared v4.107.4, openvibe-sdk v0.82.0
+- packages: openvibe-publishing v1.3.0, openvibe-contracts v0.107.0, openvibe-shared v4.108.0, openvibe-sdk v0.82.0
## Capabilities
## Capabilities
@@ -386,6 +386,6 @@ Part of the [OpenVibe network](https://openvibe.network). Built in the open by [
@@ -386,6 +386,6 @@ Part of the [OpenVibe network](https://openvibe.network). Built in the open by [
<!-- versions:start -->
<!-- versions:start -->
- openvibe-contracts: v0.222.0
- openvibe-contracts: v0.222.0
- openvibe-sdk: v0.82.0
- openvibe-sdk: v0.82.0
-- openvibe-shared: v4.107.4
+- openvibe-shared: v4.108.0
- openvibe-publishing: v1.3.0
- openvibe-publishing: v1.3.0
<!-- versions:end -->
<!-- versions:end -->
@@ -9,10 +9,10 @@
@@ -9,10 +9,10 @@
"domain": "openvibe.reviews",
"domain": "openvibe.reviews",
"contracts": "openvibe-contracts v0.222.0",
"contracts": "openvibe-contracts v0.222.0",
"sdk": "openvibe-sdk v0.82.0",
"sdk": "openvibe-sdk v0.82.0",
- "shared": "openvibe-shared v4.107.4",
+ "shared": "openvibe-shared v4.108.0",
"packages": [
"packages": [
"openvibe-publishing v1.3.0",
"openvibe-publishing v1.3.0",
- "openvibe-shared v4.107.4",
+ "openvibe-shared v4.108.0",
"openvibe-sdk v0.82.0"
"openvibe-sdk v0.82.0"
],
],
"capabilities": [
"capabilities": [
@@ -17,7 +17,7 @@
@@ -17,7 +17,7 @@
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.222.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.222.0",
"openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.3.0",
"openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.3.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.82.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.82.0",
- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.107.4",
+ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.108.0",
"pg": "^8.23.0"
"pg": "^8.23.0"
},
},
"devDependencies": {
"devDependencies": {
@@ -1196,9 +1196,9 @@
@@ -1196,9 +1196,9 @@
}
}
},
},
"node_modules/openvibe-shared": {
"node_modules/openvibe-shared": {
- "version": "4.107.4",
- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.107.4",
- "integrity": "sha512-tThN0m3KMncEHVcBOvE+ysHjsZTlVIDLG1P+/i2Mulmxfc/AUpebAXhpWWrut50OChZ8o+HeePxsSrPI8mUQOQ==",
+ "version": "4.108.0",
+ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.108.0",
+ "integrity": "sha512-NPzwjxpzGIpFpIm4uw3+VwHfsxbJ2+cD9yuhRzSwolSwqv2kCmwaVtHJ0DA9gKO3K8PCBfIP3UpKzpuSbYEJ+g==",
"license": "MIT",
"license": "MIT",
"dependencies": {
"dependencies": {
"jsonwebtoken": "^9.0.0",
"jsonwebtoken": "^9.0.0",
@@ -27,7 +27,7 @@
@@ -27,7 +27,7 @@
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.222.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.222.0",
"openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.3.0",
"openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.3.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.82.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.82.0",
- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.107.4",
+ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.108.0",
"pg": "^8.23.0"
"pg": "^8.23.0"
},
},
"engines": {
"engines": {
@@ -115,13 +115,16 @@ function createMachine({ svc, config, releaseLastmod }) {
@@ -115,13 +115,16 @@ function createMachine({ svc, config, releaseLastmod }) {
name: 'OpenVibe.Reviews',
name: 'OpenVibe.Reviews',
summary: SITE_SUMMARY,
summary: SITE_SUMMARY,
details: 'Every entity page has a JSON representation at the same address plus ".json" (same content). Each signal names its source item, retrieval time and licence note; the aggregate lists its inputs, exclusions and computation (method reviews-aggregate@1). Summaries never carry a rating; AI-drafted summaries are labelled and published only after a person approves them. Review text is not republished.',
details: 'Every entity page has a JSON representation at the same address plus ".json" (same content). Each signal names its source item, retrieval time and licence note; the aggregate lists its inputs, exclusions and computation (method reviews-aggregate@1). Summaries never carry a rating; AI-drafted summaries are labelled and published only after a person approves them. Review text is not republished.',
+ markdown: true,
+ base: origin,
sections: [
sections: [
{ title: 'Start here', links: [{ title: 'Entities', url: `${origin}/` }, { title: 'How it works', url: `${origin}/about` }] },
{ title: 'Start here', links: [{ title: 'Entities', url: `${origin}/` }, { title: 'How it works', url: `${origin}/about` }] },
- { title: 'Machine-readable', links: [
- { title: 'Sitemap', url: `${origin}/sitemap.xml` },
- { title: 'Published summaries (Atom)', url: `${origin}/feed.atom` },
- { title: 'Published summaries (JSON Feed)', url: `${origin}/feed.json` },
- ] },
+ ],
+ optional: [
+ { title: 'Sitemap', url: `${origin}/sitemap.xml` },
+ { title: 'Full text for language models', url: `${origin}/llms-full.txt` },
+ { title: 'Published summaries (Atom)', url: `${origin}/feed.atom` },
+ { title: 'Published summaries (JSON Feed)', url: `${origin}/feed.json` },
],
],
}));
}));
});
});
@@ -124,7 +124,10 @@ t('every public page reads without JavaScript; sitemaps, feeds and robots follow
@@ -124,7 +124,10 @@ t('every public page reads without JavaScript; sitemaps, feeds and robots follow
const rb = await req(h, 'GET', '/robots.txt');
const rb = await req(h, 'GET', '/robots.txt');
assert.match(rb.text, /Sitemap: http:\/\/reviews\.test\/sitemap\.xml/);
assert.match(rb.text, /Sitemap: http:\/\/reviews\.test\/sitemap\.xml/);
assert.match(rb.text, /Disallow: \/editor/);
assert.match(rb.text, /Disallow: \/editor/);
- assert.match((await req(h, 'GET', '/llms.txt')).text, /OpenVibe\.Reviews/);
+ const llmsText = (await req(h, 'GET', '/llms.txt')).text;
+ assert.match(llmsText, /OpenVibe\.Reviews/);
+ assert.ok(llmsText.includes('(http://reviews.test/index.md)'), 'home link points at its Markdown twin');
+ assert.ok(llmsText.includes('\n## Optional\n'), 'llms.txt has an Optional section');
for (const p of ['/', '/about', `/e/${e.slug}/history`, `/e/${e.slug}/summary/1`, '/search?q=portal']) {
for (const p of ['/', '/about', `/e/${e.slug}/history`, `/e/${e.slug}/summary/1`, '/search?q=portal']) {
const r = await req(h, 'GET', p);
const r = await req(h, 'GET', p);
assert.strictEqual(r.status, 200, p);
assert.strictEqual(r.status, 200, p);