Lalabase
Tickets, Doku, Zeiterfassung und Kundengespräche an einem Ort, durchsuchbar per KI. Für Softwarefirmen mit Kundenprojekten. Open Source: auf deinem eigenen Server oder in unserer Cloud in Deutschland.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證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.