Architecture Map
Start with the shape before touching code.
Top-Level Tree
./README.md ./components.json ./contributors.md ./index.html ./package-lock.json ./package.json ./postcss.config.js ./public/vite.svg ./src/App.tsx ./src/components/developer-dashboard.tsx ./src/components/give-kudos-modal.tsx ./src/components/sidebar.tsx ./src/components/tech-lead-dashboard.tsx ./src/index.css ./src/lib/app-context.tsx ./src/lib/types.ts ./src/lib/utils.ts ./src/main.tsx ./src/vite-env.d.ts ./tailwind.config.js ./tsconfig.json ./tsconfig.node.json ./vite.config.ts
Agent Reading Order
These files are the first tour stops.
src/main.tsx
Core execution surface likely to coordinate the main behavior.
11 linessrc/index.css
Core execution surface likely to coordinate the main behavior.
85 linesREADME.md
Human-facing overview. Read this before touching code.
35 linespackage.json
Node scripts, package metadata, and workflow clues.
41 linessrc/App.tsx
Implementation surface likely to contain core behavior.
62 linessrc/components/developer-dashboard.tsx
Implementation surface likely to contain core behavior.
156 linessrc/components/give-kudos-modal.tsx
Implementation surface likely to contain core behavior.
241 linessrc/components/sidebar.tsx
Implementation surface likely to contain core behavior.
108 linessrc/components/tech-lead-dashboard.tsx
Implementation surface likely to contain core behavior.
441 linessrc/components/ui/avatar.tsx
Implementation surface likely to contain core behavior.
53 linessrc/components/ui/button.tsx
Implementation surface likely to contain core behavior.
60 linessrc/components/ui/card.tsx
Implementation surface likely to contain core behavior.
93 linesRunnable Commands
npm run devvitenpm run buildtsc && vite buildnpm run previewvite previewnpm run linteslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0Guardrails
Where an agent should slow down.
Risk Areas
No obvious high-risk paths found by deterministic scan.
Safe First Tasks
- Read README and agent instruction files before editing.
- Run the cheapest available verification command before and after changes.
- Start with docs, examples, or tests before touching core implementation.
- Run `npm run build` after structural or UI changes.
Exact Code, Plain English
Use real snippets as the trust anchor.
import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App'
import './index.css'
ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
<App />
</React.StrictMode>,
)
This snippet is a likely implementation anchor. Read it with nearby imports and callers before changing it.
@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";
:root {
--radius: 0.625rem;
font-family: 'Geist', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
This snippet is a likely implementation anchor. Read it with nearby imports and callers before changing it.
function AppContent() {
const [viewMode, setViewMode] = useState<ViewMode>('developer')
return (
<div className="flex h-screen bg-background">
{/* Sidebar */}
<Sidebar />
{/* Main Content */}
<div className="flex-1 flex flex-col">
{/* Navigation Header */}
<div className="border-b border-border p-4">
This snippet is a likely implementation anchor. Read it with nearby imports and callers before changing it.
export function DeveloperDashboard() {
const { state, addKudos, getSessionTimeRemaining } = useApp()
const { currentSprint, session } = state
const [isModalOpen, setIsModalOpen] = useState(false)
const [timeLeft, setTimeLeft] = useState({ days: 0, hours: 0, minutes: 0 })
// Get kudos for current sprint
const currentSprintKudos = currentSprint ? getKudosForSprint(currentSprint.id) : []
useEffect(() => {
// Update countdown timer
const updateTimer = () => {
This snippet is a likely implementation anchor. Read it with nearby imports and callers before changing it.
const teamMembers = [
"John Doe",
"Jane Smith",
"Mike Johnson",
"Sarah Wilson",
"Alex Chen",
"Emily Davis",
"Chris Brown",
"Lisa Garcia"
]
export function GiveKudosModal({ isOpen, onClose, onSubmit }: GiveKudosModalProps) {
This snippet is a likely implementation anchor. Read it with nearby imports and callers before changing it.