Lalabase
티켓·문서·근무시간·고객대화를 한 곳에 모아 KI로 검색, 소프트웨어 기업 고객 프로젝트용, 오픈소스로 자체 서버·독일 클라우드에 배포
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Role-scoped Supabase reporting guidance and agent API
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
Versioned, agent-readable instructions and source for the active Lightning Supabase reporting interfaces.
Every agent must read AGENTS.md. The runtime contract is available from the authenticated agent-reporting catalog route.README 전문 보기 ↗Owner-approved 2026-10-12: past on-road/working truck counts use settlements for the requested week. Stored Gross > 0 means the physical truck was on road that settlement week; Gross = 0 means off duty/not on road. Count distinct nonblank Truck, not rows, excluding settlement allocation buckets 1/2/3. A null Gross is unknown, not zero; negative Gross has no approved active/off-duty classification: disclose both as unresolved coverage, never silently classify them.
Weeks run Tuesday–Monday. period_from and period_to are inclusive bounds on From, not To; for one week set both to the same Tuesday. Resolve an explicit past date without assignment wording to its containing settlement week and disclose the date-to-week resolution and exact Tuesday–Monday period. Use historical settlement Owner/Dispatch, exact owner/dispatch filters, and Owner OR shared_owner matching; never substitute current truck attribution. Paginate all rows and reconcile fetched count with total_count. Across multiple weeks, union distinct qualifying trucks; weekly counts are not additive.
This is week-level activity, not exact-day status, GPS movement or proof of full-week driving. DriverPay on_road_at is only for explicitly requested assignment overlap, not the default historical on-road count. Current/now/today operational status still uses the fresh approved live Ninox feed unchanged. Report source, filters, resolved period, row/distinct counts, pagination, Gross coverage and source freshness.
For Drivers Insurance, insured-driver lists/counts, drivers with/under insurance, driver-insurance breakdowns or an individual's current insurance, fetch https://lightningtransport.ninoxdb.com/share/x9f4rn221pibyhx3lwup2f8otfzfy8kijpk2?locale=en&utcoffset=-240 immediately before each answer, credential-free. Follow live driver-insurance contract. Validate the complete array within 30 seconds overall and 2 MiB; default to all rows and exact Insurance labels, not a hard-coded insurer. The approved native/client query_drivers_insurance returns all required and optional Ninox keys when present in chat and Excel; omit absent keys and never invent values. The full public field set is First Name, Last Name, Insurance, CDL Number, Gender, DOB, State, Hire of Date, and Years_of_Experience. Treat DOB/CDL as sensitive; avoid unnecessary repetition outside the requested roster output. Preserve missing-CDL rows, disclose roster entries versus verified distinct CDL identity/duplicates, and never deduplicate by name. Failure is unknown/null, not zero; no cached/Supabase fallback. Current roster only: no historical coverage, premiums, policy validity or uninsured complement. This is direct-source guidance, not a new gateway/MCP report or Jev route.
Current on-road / working trucks (owner-approved 2026-10-08): fetch https://lightningtransport.ninoxdb.com/share/eno5u22ebn2qdn215dpzwn02squ5wsixob8f?locale=en&utcoffset=-240 immediately before each answer, credential-free; follow live on-road contract. This primary most-current source answers current/now/today operational status. Fully validate all seven keys and exact Status=On The Road Working within 30 seconds overall and 2 MiB; count distinct truck_number, use exact source owner/dispatcher/insurance, and state fetch-start/completion timestamps. Failure means unknown/null, never zero; no cached/DriverPay fallback, GPS movement claim or fleet/off-duty complement. Only explicitly requested assignment overlap uses fully paginated driver_pay?on_road_at=D (Out Date <= D, Return Date > D; null returns and return day excluded).
Versioned, agent-readable instructions and source for the active Lightning Supabase reporting interfaces.
Every agent must read AGENTS.md. The runtime contract is available from the authenticated agent-reporting catalog route.
Grok Bot and Cursor agents: the reporting dashboard lives in apps/reporting-dashboard. Link https://lightning-settlement-dashboard.vercel.app for Settlements, /out-schedule for Out Schedule, /trucks-return for Trucks Return, and /diesel for Diesel; do not generate a replacement one-off HTML file. Conventions: docs/html-reporting.md. Copy skills/reporting-html-shadcn/assets/report-ui.css only for other static reports that are not this dashboard.
Outside_Repairs (125 live-verified physical columns), including shared-owner attribution for settlement and fuel reporting.agent-reporting Edge Function.reporting-query Edge Function.apps/reporting-dashboard) for Grok Bot / Cursor agents, with Settlements (weekly/monthly review, rankings, fuel-by-owner, KPIs), Out Schedule, Trucks Return, Diesel, fixed Tabs navigation, and evidence footers.docs/chatgpt-plugin.md.agent-reporting — approved AI service accountsGET https://aaqquwhdglueqlnbifvn.supabase.co/functions/v1/agent-reportingx-agent-key authentication; never place the key in a URL, browser, prompt, log, or repository.AGENT_ALLOW_SENSITIVE_<n>=false only to restrict a particular key. Road/outside/not-company-shop repairs route to outside_repairs, not internal-shop LTR Invoices; confirm the deployed catalog includes the report for your assigned key before querying.?report=catalog&compact=true, then load selected report metadata. Canonical MCP catalog({}) is compact-first; explicit compact=false retains full discovery. Hermes wrappers must apply compact at the HTTP layer before their output-size guard and reload their installed code; skill synchronization alone does not patch a wrapper. See docs/agent-reporting.md and api/openapi.yaml.reporting-query — individual Supabase Auth membershipsCurrent “trucks in yard”, “off duty”, and “not working” questions use the owner-approved live Ninox JSON source, fetched fresh immediately before reporting without credentials. Every included truck is off duty/not on road, even Ready To Go or Outside/vendor trucks; general yard questions include the full feed. Count distinct truck_number after complete bounded validation. This is current state only, not an on-road complement or historical list; failures are unknown, not zero. The legacy insurance-choice formula remains unsupported. No new agent-reporting report, dedicated MCP tool, or fast-path implementation is introduced.
Raw public tables remain protected by RLS. This public knowledge repository contains no business rows, passwords, API keys, JWTs, refresh tokens, database credentials, or service-role/secret keys.
uv run --with pyyaml --with jsonschema python -m unittest discover -s tests
python3 -m unittest discover -s chatgpt-plugin/mcp-server/tests
uv run --with openapi-spec-validator python -m openapi_spec_validator api/openapi.yaml
git diff --check
tests/test_departure_contract.py validates synthetic schema envelopes, failure/null-total constraints, document links and the feedback-schema mirror. No tests pin live departure counts: the share is volatile. The installed-client checklist is separate from repository tests.
docs/knowledge-maintenance.md; user corrections use the versioned sanitized event contract and are not approved rules until verified.data-reporting-kit-sync job so updated rules reach local skill bundles.docs/offboarding.md to revoke access.Departure totals use the same inclusive Out Date window on both DriverPay and live Ninox Schedule_Teams. Normalize only truck-key format, union distinct nonblank trucks, and report source, overlap, source-only, and combined counts. Never add source counts, count assignment/driver rows, apply return exclusions, or use the returning-trucks formula. Use departures only after the deployed authenticated catalog confirms it; out_schedule is the planned list, not a combined total. See departure contract.
The packaged helper and ChatGPT MCP source are prepared; installed clients remain not integrated until deployed and verified. See client rollout checklist. No deployment, installed-runtime modification, credential or operational-row publication is implied.