labring / labring/brain

F4: AI Diagnosis Layer — Read-Only

Open
#197 0 comments 0 reactions 0 assignees View on GitHub
priority:p0 scope:v2.1 track:fault-detection type:epic
Dominant language
TypeScript
Stars
11
Forks
7
Avg merge
20h 35m
Merged PRs (30d)
66

Description

## Summary
General, read-only diagnosis across the full range of infrastructure failures. The agent has K8s-level read access (logs, events, service/ingress config, port bindings, resource state) and reasons broadly: OOM, crash-loops, misconfigured ports, wrong service selectors, gateway/ingress routing, DNS, missing env vars, and unenumerated cases.

## Acceptance Criteria
- [ ] K8s read access: logs, events, service/ingress config, port bindings, resource state
- [ ] Diagnosis covers: OOM, crash-loops, port misconfig, service selectors, gateway/ingress routing, DNS, missing env vars
- [ ] Sealos-native knowledge (our networking/gateway model)
- [ ] Soft-launched to beta cohort in Sprint 4
- [ ] Rolled out to all users in Sprint 5
- [ ] Inspection reports generated (what was checked, what was found)

## Architecture
- Read-only — a wrong guess costs nothing
- General by design — not a narrow rules engine
- Sealos-native: outperforms generic coding assistants debugging blind

## Success Metrics
- Diagnosis coverage and accuracy across issue types
- Recommendation acceptance rate
- Inspection report engagement rate

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are identified in the issue. Start by locating the agent diagnosis entry point and the Kubernetes read-access integration, then define how inspection reports and the listed failure cases are represented; done means read-only diagnosis is validated against those cases and the beta and rollout criteria are met.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes, typescript
Domain
ai, cloud, observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.