Commit History

feat(database): enable row level security on all tables
b2c15d2

Dama12 commited on

fix(backend): sanitize Ellipsis and placeholders in K2 response conversion
df2f637

Dama12 commited on

fix: make K2 Think JSON extraction and repair extremely robust
5fad32f

Dama12 commited on

docs: create SECURITY.md policy file
d55c3ba

Dama12 commited on

fix: resolve slowapi circular import
c78b0fb

Dama12 commited on

feat: enforce strict CORS and SlowAPI rate limiting
41d7760

Dama12 commited on

feat: add startup-grade backend routes for massive credit refills, SaaS policy settings, and real-time logs fetch
b3b5fcf

Dama12 commited on

feat: implement POST /me/share API endpoint to safely reward users with +500 K2 Credits
2927cc5

Dama12 commited on

feat: implement secured admin route router, endpoints, user is_admin property helper, and auto-seeding promo script
45f2b19

Dama12 commited on

style: enhance Matplotlib chart with premium dark background, value labels, and tight margins
2e2ba73

Dama12 commited on

fix: return FileResponse for chart POST endpoint instead of JSON
6ab7381

Dama12 commited on

fix: indent JSON parsing block inside for loop
2c32679

Dama12 commited on

fix: merge multiple markdown json blocks to prevent dropping keys
d17ad5b

Dama12 commited on

fix: handle lists returned by K2 for string fields in ExperimentalProtocol
e16be18

Dama12 commited on

fix: robust extraction of nested JSON keys from K2 engine output
51106b6

Dama12 commited on

fix: static chart serving and JSON URL response for Strategy Visualizer
2d235d4

Dama12 commited on

fix: optimize K2 engine performance with reduced tokens and conciseness to prevent timeouts
d7bc33f

Dama12 commited on

fix: gracefully catch ArXiv HTTP 429 errors and fix export analysis endpoint parameter binding
31ec26c

Dama12 commited on

feat: enhance protocol schema and add audit log traceability
d25a07a

Dama12 commited on

fix: prioritize full block JSON extraction and fix comparative_analysis search
a00d4cb

Dama12 commited on

chore: update K2 JSON schema order, update extraction strategy, and add debugging files
131a589

Dama12 commited on

fix: harden JSON parsing and handle missing think tags
be55d37

Dama12 commited on

Fix Pydantic validation errors for fallback objects
65f02ee

Dama12 commited on

Bulletproof JSON extraction, strict prompts, and salvaged text fallback
03fd36b

Dama12 commited on

Fix f-string syntax error: escape curly braces
dabb335

Dama12 commited on

Fix syntax error: restore missing triple quotes in K2 prompt
5170ded

Dama12 commited on

Enhance LLM prompt and regex extraction for JSON robustness
01974d7

Dama12 commited on

Fix chat UUID mapping and harden JSON auto-repair
67b321e

Dama12 commited on

Fix Pydantic ValidationError for ExperimentalProtocol missing fields
08406cf

Dama12 commited on

Fix K2 timeout detection and JSON parsing errors
ab28f75

Dama12 commited on

Implement adaptive retry for K2 timeouts
acf0966

Dama12 commited on

Fix schema nesting for frontend compatibility
8226ea7

Dama12 commited on

Total rewrite of K2ThinkEngine for robustness
3fde512

Dama12 commited on

Optimize K2 prompt and add JSON repair logic
d2ed3a3

Dama12 commited on

Fix NameError, improve logging and UUID handling
766e6f5

Dama12 commited on

Capture errors and stabilize LLM output
a4aa7df

Dama12 commited on

Hardened JSON extraction and normalization logic
9d9415d

Dama12 commited on

Fix K2 Think JSON extraction by stripping <think> tags
71c0681

Dama12 commited on

Fix analysis normalization logic and missing fields
9d73844

Dama12 commited on

Fix IndentationError in analysis.py
9c30bbb

Dama12 commited on

Fix API route conflict causing 404 on /chat endpoints and optimize LLM params
388ee0f

Dama12 commited on

Add final validation to ensure displayable content
3fa30ed

Dama12 commited on

Add result normalization to ensure frontend compatibility
9ebb2bd

Dama12 commited on

Add debug logging to see K2 result structure
f6b050b

Dama12 commited on

Fix analysis retrieval to work with mismatched project_ids from frontend
5c2107a

Dama12 commited on

Force K2 Think real analysis mode by default instead of mock data
f40422b

Dama12 commited on

Fix K2 Think JSON parsing and secure default configs
7aeb053

Dama12 commited on

Fix robust JSON regex extraction to bypass unclosed think blocks
a7a2c03

Dama12 commited on

Fix K2 Think JSON parsing and infinite loop
08ae312

Dama12 commited on

Fix frontend data mismatch by flattening result_data in GET analysis response
185e32d

Dama12 commited on