From 3ed5e87a12b60e2a3bd2d00c68fc7ef1fdc9c325 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 23 Jan 2026 07:45:25 +0000 Subject: [PATCH 1/2] Initial plan From ce84ecf08af2ebd7d8540a790a99da2a9b816d22 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 23 Jan 2026 07:48:48 +0000 Subject: [PATCH 2/2] Fix CI pipeline issues: DATABASE_URL, syntax errors, and test assertions Co-authored-by: MightyPrytanis <219587333+MightyPrytanis@users.noreply.github.com> --- .github/workflows/ci.yml | 3 +++ Cyrano/package-lock.json | 22 +------------------ .../citations/michigan-citations.js | 2 ++ .../integration/attorney-verification.test.ts | 1 - Cyrano/tests/tools/document-drafter.test.ts | 2 +- 5 files changed, 7 insertions(+), 23 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f2dc2c7d..8d7639e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,9 @@ jobs: name: Run Tests runs-on: ubuntu-latest + env: + DATABASE_URL: "sqlite::memory:" + defaults: run: working-directory: ./Cyrano diff --git a/Cyrano/package-lock.json b/Cyrano/package-lock.json index 5242feab..a95d738a 100644 --- a/Cyrano/package-lock.json +++ b/Cyrano/package-lock.json @@ -7505,16 +7505,6 @@ "node": ">=18.0.0" } }, - "node_modules/hono": { - "version": "4.11.4", - "resolved": "https://registry.npmjs.org/hono/-/hono-4.11.4.tgz", - "integrity": "sha512-U7tt8JsyrxSRKspfhtLET79pU8K+tInj5QZXs1jSugO1Vq5dFj3kmZsRldo29mTBfcjDRVRXrEZ6LS63Cog9ZA==", - "license": "MIT", - "peer": true, - "engines": { - "node": ">=16.9.0" - } - }, "node_modules/html-encoding-sniffer": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-6.0.0.tgz", @@ -9706,16 +9696,6 @@ "url": "https://opencollective.com/express" } }, - "node_modules/react": { - "version": "19.2.0", - "resolved": "https://registry.npmjs.org/react/-/react-19.2.0.tgz", - "integrity": "sha512-tmbWg6W31tQLeB5cdIBOicJDJRR2KzXsV7uSK9iNfLWQ5bIZfxuPEHp7M8wiHyHnn0DD1i7w3Zmin0FtkrwoCQ==", - "license": "MIT", - "peer": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/react-icons": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.5.0.tgz", @@ -11224,7 +11204,7 @@ "version": "5.9.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", - "devOptional": true, + "dev": true, "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", diff --git a/Cyrano/src/tools/verification/citations/michigan-citations.js b/Cyrano/src/tools/verification/citations/michigan-citations.js index 91c2ae0d..4eb047d0 100644 --- a/Cyrano/src/tools/verification/citations/michigan-citations.js +++ b/Cyrano/src/tools/verification/citations/michigan-citations.js @@ -303,4 +303,6 @@ export class MichiganCitationValidator { } return result; } +} + export const michiganCitationValidator = new MichiganCitationValidator(); \ No newline at end of file diff --git a/Cyrano/tests/integration/attorney-verification.test.ts b/Cyrano/tests/integration/attorney-verification.test.ts index a5c86a16..7dd86249 100644 --- a/Cyrano/tests/integration/attorney-verification.test.ts +++ b/Cyrano/tests/integration/attorney-verification.test.ts @@ -30,7 +30,6 @@ describe('Attorney Verification Integration (Track Delta)', () => { const review = requireAttorneyVerification( 'work-product-123', 'court_filing', - true, 'Original AI-generated content' ); diff --git a/Cyrano/tests/tools/document-drafter.test.ts b/Cyrano/tests/tools/document-drafter.test.ts index e6281190..7cc75199 100644 --- a/Cyrano/tests/tools/document-drafter.test.ts +++ b/Cyrano/tests/tools/document-drafter.test.ts @@ -248,4 +248,4 @@ describe('Document Drafter Tool', () => { expect(result).toBeDefined(); }); }); -; +});