Skip to content

Commit 25504e6

Browse files
committed
chore: enforce source license checks
1 parent 96a8486 commit 25504e6

15 files changed

Lines changed: 55 additions & 11 deletions

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The relay uses a narrow handwritten Codex app-server adapter rather than checked
1414

1515
## Completion rules
1616

17-
Use Node.js 24 or newer. Before completion and before opening or updating a pull request, run `npm run format:check`, `npm run check`, `npm test`, `npm run lint`, and `npm run build`. Run `npm run test:e2e` for browser-visible behavior or end-to-end relay flows. If `npm run format:check` fails, run `npm run format`, inspect the resulting scope, and rerun the formatting check before committing.
17+
Use Node.js 24 or newer. Before completion and before opening or updating a pull request, run `npm run format:check`, `npm run license:check`, `npm run check`, `npm test`, `npm run lint`, and `npm run build`. Run `npm run test:e2e` for browser-visible behavior or end-to-end relay flows. If `npm run format:check` fails, run `npm run format`, inspect the resulting scope, and rerun the formatting check before committing. If `npm run license:check` fails, run `npm run license:apply`, inspect the resulting scope, and rerun both formatting and license checks before committing.
1818

1919
Do not log prompts, model output, secrets, or environment values. Every accepted file-changing Org L1 has exactly one conventional commit, unless it has no changes.
2020

src/client/RelayApp.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
/* Copyright (C) 2026 Dyne.org foundation SPDX-License-Identifier: AGPL-3.0-or-later */
1+
/*
2+
* Copyright (C) 2026 Dyne.org foundation
3+
* Designed by Denis Roio <jaromil@dyne.org>
4+
* SPDX-License-Identifier: AGPL-3.0-or-later
5+
*/
26
// @vitest-environment jsdom
37
import { cleanup, fireEvent, render, screen } from '@testing-library/svelte';
48
import { afterEach, describe, expect, it, vi } from 'vitest';

src/client/features/chat/chat-cache.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
/* Copyright (C) 2026 Dyne.org foundation SPDX-License-Identifier: AGPL-3.0-or-later */
1+
/*
2+
* Copyright (C) 2026 Dyne.org foundation
3+
* Designed by Denis Roio <jaromil@dyne.org>
4+
* SPDX-License-Identifier: AGPL-3.0-or-later
5+
*/
26
import { expect, it } from 'vitest';
37
import { serializeChatCache } from './chat-cache.js';
48
import { createChatProjection, failInteraction, hydrateCache } from './chat-projection.js';

src/client/features/chat/chat-cache.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
* Copyright (C) 2026 Dyne.org foundation
3+
* Designed by Denis Roio <jaromil@dyne.org>
34
* SPDX-License-Identifier: AGPL-3.0-or-later
45
*/
56

src/client/features/chat/chat-controller.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
/* Copyright (C) 2026 Dyne.org foundation SPDX-License-Identifier: AGPL-3.0-or-later */
1+
/*
2+
* Copyright (C) 2026 Dyne.org foundation
3+
* Designed by Denis Roio <jaromil@dyne.org>
4+
* SPDX-License-Identifier: AGPL-3.0-or-later
5+
*/
26
import { describe, expect, it, vi } from 'vitest';
37
import { ChatController, type ChatViewState } from './chat-controller.js';
48

src/client/features/chat/chat-controller.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
* Copyright (C) 2026 Dyne.org foundation
3+
* Designed by Denis Roio <jaromil@dyne.org>
34
* SPDX-License-Identifier: AGPL-3.0-or-later
45
*/
56

src/client/features/chat/chat-follow-tail.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
/* Copyright (C) 2026 Dyne.org foundation SPDX-License-Identifier: AGPL-3.0-or-later */
1+
/*
2+
* Copyright (C) 2026 Dyne.org foundation
3+
* Designed by Denis Roio <jaromil@dyne.org>
4+
* SPDX-License-Identifier: AGPL-3.0-or-later
5+
*/
26
import { expect, it, vi } from 'vitest';
37
import { ChatFollowTail } from './chat-follow-tail.js';
48

src/client/features/chat/chat-projection.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
/* Copyright (C) 2026 Dyne.org foundation SPDX-License-Identifier: AGPL-3.0-or-later */
1+
/*
2+
* Copyright (C) 2026 Dyne.org foundation
3+
* Designed by Denis Roio <jaromil@dyne.org>
4+
* SPDX-License-Identifier: AGPL-3.0-or-later
5+
*/
26
import { describe, expect, it } from 'vitest';
37
import {
48
acceptSnapshot,

src/client/features/chat/chat-projection.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
* Copyright (C) 2026 Dyne.org foundation
3+
* Designed by Denis Roio <jaromil@dyne.org>
34
* SPDX-License-Identifier: AGPL-3.0-or-later
45
*/
56

src/client/features/chat/chat-tail-scheduler.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
/* Copyright (C) 2026 Dyne.org foundation SPDX-License-Identifier: AGPL-3.0-or-later */
1+
/*
2+
* Copyright (C) 2026 Dyne.org foundation
3+
* Designed by Denis Roio <jaromil@dyne.org>
4+
* SPDX-License-Identifier: AGPL-3.0-or-later
5+
*/
26
import { expect, it, vi } from 'vitest';
37
import { ChatTailScheduler } from './chat-tail-scheduler.js';
48
it('drops A commits after invalidation and accepts B initial work once', () => {

0 commit comments

Comments
 (0)