Updates
Rolling release / release (push) Failing after 15m37s

This commit is contained in:
2026-09-12 14:12:51 -04:00
parent de422053d9
commit 05aa6da269
14 changed files with 747 additions and 5 deletions
+6
View File
@@ -25,6 +25,9 @@ test('brand tokens match the coded gold and signal palette', () => {
assert.equal(tokens.name, 'Jarvis');
assert.equal(tokens.product, 'Jarvis QVAC');
assert.equal(tokens.tagline, 'Local voice for your desktop');
assert.equal(tokens.publisher, 'HoneyPeer, LLC');
assert.equal(tokens.license, 'AGPL-3.0-or-later');
assert.match(brandSource, /publisher: 'HoneyPeer, LLC'/);
assert.equal(tokens.colors.gold, '#F4B942');
assert.equal(tokens.colors.signal, '#4FD2FF');
assert.equal(tokens.colors.ink, '#0B0E14');
@@ -65,6 +68,7 @@ test('HUD, settings, and launcher consume the brand package', () => {
assert.match(metadata.description, /Local voice for your desktop/);
assert.match(settingsWindow, /from '\.\/brand\.js'/);
assert.match(settingsWindow, /brandBanner/);
assert.match(settingsWindow, /BRAND\.publisher/);
assert.match(settingsWindow, /accentRow/);
assert.match(extensionSource, /brand\/icons\/jarvis-mark\.svg/);
assert.match(extensionSource, /text: 'Jarvis'/);
@@ -80,4 +84,6 @@ test('accent helper rejects invalid hex and keeps Gold', async () => {
assert.equal(normalizeAccent('not-a-color'), '#F4B942');
assert.equal(normalizeAccent(''), '#F4B942');
assert.equal(BRAND.accents.length, 5);
assert.equal(BRAND.publisher, 'HoneyPeer, LLC');
assert.equal(BRAND.license, 'AGPL-3.0-or-later');
});
+29
View File
@@ -0,0 +1,29 @@
import test from 'node:test';
import assert from 'node:assert/strict';
import { readFileSync } from 'node:fs';
const license = readFileSync(new URL('../LICENSE', import.meta.url), 'utf8');
const copyright = readFileSync(new URL('../COPYRIGHT', import.meta.url), 'utf8');
const readme = readFileSync(new URL('../README.md', import.meta.url), 'utf8');
const pkg = JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8'));
const deb = readFileSync(new URL('../packaging/build-deb.sh', import.meta.url), 'utf8');
const harness = JSON.parse(readFileSync(new URL('../vendor/agent-harness/package.json', import.meta.url), 'utf8'));
test('Jarvis is released under AGPLv3 by HoneyPeer, LLC', () => {
assert.match(license, /GNU AFFERO GENERAL PUBLIC LICENSE/);
assert.match(license, /Version 3, 19 November 2007/);
assert.match(license, /END OF TERMS AND CONDITIONS/);
assert.match(copyright, /Copyright \(C\) 2026 HoneyPeer, LLC/);
assert.match(copyright, /GNU Affero General Public License/);
assert.equal(pkg.license, 'AGPL-3.0-or-later');
assert.equal(pkg.author, 'HoneyPeer, LLC');
assert.match(readme, /Copyright \(C\) 2026 HoneyPeer, LLC/);
assert.match(readme, /GNU Affero General Public License v3/);
assert.match(deb, /Maintainer: HoneyPeer, LLC/);
assert.match(deb, /usr\/share\/doc\/jarvis-qvac\/copyright/);
});
test('vendored agent-harness keeps its original MIT license', () => {
assert.equal(harness.license, 'MIT');
assert.match(copyright, /vendor\/agent-harness remains under its\noriginal MIT license/);
});