# Mode5Test - Working Version

**Status:** ✅ WORKING AND STABLE

**Created:** January 19, 2026

## Details

This is an exact copy of Mode3Test, which has been confirmed as the last working version of the application. This copy was created to establish a stable baseline for the orchestrator.

## What's Working

- Backend service (Hono/Bun) running on port 3005
- Frontend serving static files with PocketBase authentication
- Job file integration with Microsoft Graph API
- Token management and caching
- SharePoint document access and resolution

## Authentication

- Uses PocketBase at `https://pocketbase.ccllc.pro`
- OAuth flow via Microsoft Graph
- Token-based auth with fallback to signin page

## Environment

- Uses `.env` configuration from Mode3Test
- Redis connection attempted but not required for core functionality
- All dependencies locked in `bun.lock`

## Instructions for Future Development

To make changes:
1. Update files directly in Mode5Test
2. Test thoroughly before committing
3. If breaking changes occur, restore from git history
4. Document any significant changes in this file

## Lock Status

This directory is locked as read-only to prevent accidental modifications. Use `chmod -R u+w Mode5Test` to unlock if needed.
