Skip to content

Dev - #6

Merged
ahmaddev-codex merged 26 commits into
mainfrom
dev
Sep 1, 2026
Merged

Dev#6
ahmaddev-codex merged 26 commits into
mainfrom
dev

Conversation

@ahmaddev-codex

Copy link
Copy Markdown
Owner

No description provided.

…and Socratic remediation

- Add simulation.ts: M/M/1 queuing theory engine with QPS propagation, chaos events (db-crash, cache-stampede, slow-consumer-lag, network-partition, ddos-flood), and SLO evaluation
- Add SimulationPanel.tsx: interactive HUD with QPS slider (1k-500k), traffic profiles, and 1-click chaos toggles
- Add FailureDecisionModal.tsx: Socratic incident prompt with architectural remediation choices
- Integrate simulation mode into ArchitectureCanvas: Design/Simulate toggle, live node health halos, metrics overlay
- Fix chaos health state preservation: skip M/M/1 override when chaos already set critical
- Add 21-test suite covering baseline health, load degradation, chaos events, SLO violations, and edge cases
- Fix test fixture categories and clean up unused imports
- Expand conceptSchema with tenDimensionsSchema covering the 10 universal questions (Problem, Why It Happens, Primitive Solution, Scale Limit, Component, Trade-Offs, Failure Modes, Alternatives, Interview Signals, Real Systems)
- Author complete 10D profiles for 12 core architecture components in system-design.ts
- Create ComponentReferenceModal with tabbed views (The Progression, Trade-Offs Matrix, Production Reality, Interview Signals)
- Integrate 10D Spec trigger into ArchitectureCanvas node inspector, ConceptPopover, and ConceptMindMap
- Add comprehensive test suite in tests/content/component-dimensions.test.ts
- Create src/lib/system-design/remediation.ts to map weak dimensions to targeted 10D component specs and chaos simulation configs
- Add dedicated architecture presets for distributed-cache and real-time-chat in canvas-presets.ts
- Expand Scorecard with Targeted Remediation Plan, 10D Component chips, and 'Simulate & Fix on Whiteboard' trigger
- Enhance ArchitectureCanvas to support initialMode and initialSimConfig props
- Support embedded 1-click remediation whiteboard launching in ScenarioLab
- Add comprehensive test suite in tests/system-design/remediation.test.ts
…trast

- Portal ComponentReferenceModal directly to document.body at z-70 to prevent stacking context traps
- Unmount ConceptPopover card and backdrop catcher when opening 10D breakdown modal
- Redesign tab navigation and step badges using high-contrast token pairings (bg-accent text-accent-foreground border-border-strong) that look crisp in both light and dark modes
- Replace unreadable text-accent in light mode with semantic tokens (text-foreground, text-link, text-danger, text-success)
- Fix 10D Spec button contrast in ArchitectureCanvas node inspector and Scorecard chips
- Add gc-modal-enter and gc-tab-enter keyframe animations to globals.css with reduced-motion support
- Add smooth entrance and tab transitions to ComponentReferenceModal
- Add active scale and hover micro-animations to SimulationPanel and FailureDecisionModal
…I interviewer, and personalization engine

- Add mock track definitions for DSA (FAANG 45m, Speed 30m) and System Design (Core 45m, Staff+ Streaming 60m)
- Implement Socratic AI Interviewer agent engine with contextual hints, probing questions, stage management, and candidate scorecards
- Build Leitner spaced repetition engine and retention storage manager
- Create interactive interview workspaces with StageTimer, InterviewerChat, and MockScorecardModal
- Add /interviews catalog and dynamic simulation routes for DSA and System Design
- Integrate PersonalizedDashboard into main Dashboard with activity heatmap and spaced repetition review queue
- Smooth 10D architectural reference tab transitions and scroll reset
…ensive accessibility audit

- Add responsive mobile pane switchers for DsaMockWorkspace and SystemDesignMockWorkspace (< 1024px)
- Create accessible useFocusTrap hook with Tab/Shift+Tab containment, Escape handling, and opener focus restoration
- Wire focus trap and ARIA dialog semantics into ComponentReferenceModal, MockScorecardModal, and FailureDecisionModal
- Add aria-live polite milestone announcer and timer role to StageTimer
- Add role=alert and assertive live announcements to SimulationPanel
- Add a11y audit test suite in tests/design/a11y-audit.test.ts
…age Runtime Registry

- Define canonical Unified Execution Trace Intermediate Representation (IR) v2.0.0 supporting pointers, trees, stacks, queues, arrays, maps, and grids
- Build TraceIRBuilder with schema validation (validateTraceIR) and serialization/deserialization helpers
- Create multi-language runtime profile registry covering Tier 1 (Python, JS, TS) and Tier 2 (Java, C++, Go)
- Add comprehensive test suite in tests/runtime/unified-ir.test.ts
…ery (Modules G2 & C10)

- Build Community Solution Sharing engine with localStorage persistence and upvoting in src/lib/community/solutions.ts
- Provide curated seed solutions for launch exercises (two-sum, invert-binary-tree, build-lru-cache)
- Create SolutionShareModal with accessible focus trapping, approach description, and Big-O complexity inputs
- Create CommunitySolutionGallery with language filters, sorting, upvotes, and spoiler gate for unsolved problems
- Integrate seamlessly into Workspace.tsx with post-pass Share button and Community Solutions tab
- Add unit test suite in tests/community/solutions.test.ts
…Language Expansion)

- Build TypeScript runtime adapter (stripTypeScriptTypes) with line-preserving type stripping in src/lib/runtime/typescript.ts
- Enable TypeScript grammar and syntax highlighting in CodeMirror via language-support.ts
- Verify TypeScript execution, interface stripping, and line-step preservation in tests/runtime/typescript.test.ts
- Satisfy LanguageRuntime interface and adapter conformance in tests/runtime/adapter-conformance.test.ts
…Q&A (Module G1)

- Build Discussion and Q&A engine with threaded replies, local persistence, and upvoting in src/lib/community/discussions.ts
- Provide curated seed edge-case discussions for launch exercises (two-sum, invert-binary-tree, build-lru-cache)
- Create ProblemDiscussions component with tag filters (Questions, Edge Cases, Optimizations, Intuition), inline reply composer, and author badges
- Integrate Discussions tab into Workspace.tsx alongside Test Cases and Community Solutions
- Add unit test suite in tests/community/discussions.test.ts
Leaderboard:
- Build leaderboard engine with seeded phantom rankings and multi-sort (problems solved, streak, challenges, submissions) in src/lib/community/leaderboard.ts
- Create Leaderboard component with podium top-3, ranked table, badges, and sort controls in src/components/community/Leaderboard.tsx
- Add /leaderboard public page and wire into dashboard navigation
- Add unit test suite in tests/community/leaderboard.test.ts

Content Enrichment:
- Enrich landing page with Mock Interviews, Company Guides, Community Layer, and final CTA sections
- Update differentiator section to mention TypeScript alongside Python and JavaScript
- Add Leaderboard track to dashboard navigation
- Elevate 'Create free account' as primary CTA across landing hero and final CTA, with clear 'Explore as guest' secondary paths
- Reframe value proposition: guests can explore and solve immediately with local browser storage, but signing up is required to permanently preserve progress, sync streaks, and rank on the leaderboard
- Add contextual in-workspace sign-up prompt when a guest user submits a solved problem
- Add guest leaderboard callout to encourage creating an account to claim rankings
- Maintain privacy compliance disclosures and register /leaderboard in design route catalog tests
…auth pages

- Build Logo.dev resolver and CompanyLogo component with token integration and graceful fallback in src/lib/company-logo.ts and src/components/company/CompanyLogo.tsx
- Add img.logo.dev remotePatterns and expose publishable key in next.config.ts
- Add company logos to /companies directory cards, /companies/[slug] header, landing page company guides, problem detail tags, and dashboard company filters
- Update Auth pages (SignInForm and SignUpForm) to use high-resolution PNG logo (/getcracked.png) instead of SVGs
- Replace inline SVGs in SocialButtons with logo.dev PNG marks for Google and GitHub
- Add comprehensive test suite in tests/company/company-logo.test.tsx
… in dashboard header

- Replace generic ShieldCheck icon with CompanyLogo (Google, GitHub, etc.) under 'How you sign in' on the Account page
- Elevate Leaderboard into a distinct, prominent feature card inside the Dashboard header at the top of the page
…tch panel size with DSA overview, and format tables

- Set Assistant panel width to max-w-xl matching the DSA overview slidepanel (TopicPanel)
- Enforce Balsamiq font across all AI Assistant text, headings, textarea, and markdown elements via @Utility font-node
- Automatically convert keycap number emojis (1️⃣, 2️⃣, etc.) into clean markdown numbers (1., 2., etc.) and strip decorative emojis via sanitize helper
- Prevent shifty response layout shifts by adding overflow-x-auto and break-words
- Update system prompt with platform-first recommendations and strict no-emoji policy
- Fix unformatted LaTeX in PersonalizedDashboard to 'Review schedule: 1d → 3d → 7d → 14d → 30d intervals'
- Install remark-gfm and add token styling for tables, headings, and lists in Markdown.tsx
- Replace emoji triggers across Workspace and Visualizer with Lucide icons (Sparkles, RotateCcw, X)
- Update Spine vertical positioning from top-0 to top-11 bottom-0 in src/components/learn/Roadmap.tsx
- Prevents the first TrackLabel ('Data Structures') from covering the top of the spine or having an awkward connector stub sticking out above the heading
…arance

- Move Spine top from top-11 to top-16 (64px) in src/components/learn/Roadmap.tsx
- Provides generous breathing room completely below the TrackLabel ('Data Structures') so the label no longer covers or touches any part of the spine
- Update topic cards under 'By topic' to match dashboard 'Where to go' cards (2-col grid, items-center justify-between with ArrowRight)
- Wire up searchParams and filter bar with difficulty, topic, and company tags matching Dashboard
- Simplify Problems page (/problems) to exclusively showcase 'By topic' sets with dashboard-style cards, pointing learners to the dashboard catalog for global filtering
- Author 4 high-yield DSA practice problems: Three Sum, Product of Array Except Self, Binary Tree Level Order Traversal, Longest Common Subsequence
- Author Global Notification Service scenario lab covering message queues, idempotency, and vendor failover
- Author Stripe verified interview guide in company directory
- Add 'pnpm content:new' scaffold CLI tool (scripts/create-content.ts) to easily author new problems and content
@vercel

vercel Bot commented Sep 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
getcracked Ready Ready Preview Sep 1, 2026 11:09pm UTC
getcracked-qa Ready Ready Preview Sep 1, 2026 11:09pm UTC

@ahmaddev-codex
ahmaddev-codex merged commit 03d9a82 into main Sep 1, 2026
13 of 18 checks passed

This branch was successfully deployed

2 active deployments
Preview – getcracked — 1f142069 Deployed Sep 1, 2026 by vercel[bot]
Production – getcracked-qa — 1f142069 Deployed Sep 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant