Files
SDP_Lab_1_To-do-app/docs/AI_TRANSPARENCY.md

2.0 KiB

AI Usage and Transparency Declaration

Transparency Statement

In compliance with COMS3011A lab evaluation guidelines, AI assistance was utilized during the development of this project under pair-programming and pedagogical learning workflows.

AI Roles & Responsibilities

  1. Concept Explanation: Explaining Next.js Server Components, Server Actions, SQLite prepared statements, and CSS Module scoping.
  2. Architecture Design: Structuring local-first database operations, dynamic overdue calculation rules, and component hierarchies.
  3. Troubleshooting & Debugging: Identifying schema mismatch errors (table tasks has no column named description) and providing database migration reset steps.
  4. User-Authored Code: All source code modifications were driven interactively and reviewed by the author for complete hands-on learning.

Conversation Log Transcripts

All raw conversation step logs and prompt histories are preserved locally in the system environment log directory:

  • Path: C:\Users\mahla\.gemini\antigravity-ide\brain\1c0b1ab9-bf0e-425f-a67e-38d23d353de7\.system_generated\logs\transcript.jsonl
  • Full Transcript: C:\Users\mahla\.gemini\antigravity-ide\brain\1c0b1ab9-bf0e-425f-a67e-38d23d353de7\.system_generated\logs\transcript_full.jsonl

Summary of AI Interactions

  • Query 1: Diagnosed SqliteError: table tasks has no column named description and provided schema update steps.
  • Query 2: Explained Turbopack workspace root detection warnings.
  • Query 3: Explained Next.js Server Actions, SQL injection prevention via prepared statements (?), and server cache revalidation (revalidatePath).
  • Query 4: Detailed line-by-line breakdown of TSX components, React hooks (useState, useRef), and prop passing.
  • Query 5: Refactored page inline styles into scoped CSS Modules (page.module.css).
  • Query 6: Harmonized UI design system with light page background, royal blue typography, and dark component cards.
  • Query 7: Built Archived Tasks popup dialog with unarchiving / restoring capabilities.