[G1-Sync] Manual knowledge update

This commit is contained in:
Antigravity Agent
2026-05-10 22:08:15 +09:00
parent 21ac3ed255
commit 504fd5fb42
3011 changed files with 380280 additions and 206977 deletions
+197 -63
View File
@@ -1,95 +1,229 @@
---
id: wiki-2026-0508-baseline-project
title: Baseline Project
title: Baseline (Web Platform Features)
category: 10_Wiki/Topics
status: needs_review
status: verified
canonical_id: self
aliases: [P-Reinforce-AUTO-E3E3EF]
aliases: [Baseline, Baseline Web, widely available browser APIs, web platform compatibility, Web.dev]
duplicate_of: none
source_trust_level: A
confidence_score: 0.9
tags: [auto-reinforced]
confidence_score: 0.92
verification_status: applied
tags: [web, browser, web-platform, baseline, compatibility, web-performance, polyfill, progressive-enhancement]
raw_sources: []
last_reinforced: 2026-04-20
github_commit: "[P-Reinforce] Continuous Worker - Baseline Project"
inferred_by: Claude Opus 4.7 (auto-normalize 2026-05-08)
last_reinforced: 2026-05-10
github_commit: pending
tech_stack:
language: unspecified
framework: unspecified
language: web standards
framework: Browser APIs / Web Platform
---
# [[Baseline Project|Baseline Project]]
# Baseline (Web Platform)
## 📌 한 줄 통찰 (The Karpathy Summary)
> Baseline Project는 [[Chrome|Chrome]], Edge, Firefox, Safari 등 주요 웹 브라우저에서 최소 30개월 이상 지속적으로 지원된 '널리 사용 가능한 브라우저 API(widely available [[Browser|Browser]] APIs)'를 정의하는 프로젝트입니다 [1]. 이 프로젝트는 특정 웹 플랫폼 기능이 언제부터 모든 주요 브라우저에서 안전하게 사용될 수 있는지에 대한 타임라인을 제공하여 개발자들을 돕습니다 [1]. 브라우저의 네이티브 지원이 확대되어 베이스라인 기능이 늘어나면, 대체용 [[JavaScript|JavaScript]] 사용량이 줄어들어 결과적으로 웹 성능이 향상되는 이점이 있습니다 [2].
## 📌 한 줄 통찰
> **"매 widely available API 의 timeline"**. 매 Chrome / Edge / Firefox / Safari 30 개월 이상 매 support 된 feature. 매 polyfill 의 drop 의 signal. 매 modern web 의 deployment confidence 의 source.
## 📖 구조화된 지식 (Synthesized Content)
- **정의 및 기준:** Baseline Project는 Chrome, Edge, Firefox, Safari 브라우저 모두에서 최소 30개월 동안 지원된 브라우저 API 기능들을 묶어 '널리 사용 가능한(widely available)' 기능으로 정의합니다 [1].
- **성능 측정과 타임라인:** 지원되는 API 중 일부는 비교적 최근에 추가된 것일 수 있으며, Rick Viscomi가 만든 웹사이트를 통해 다양한 기능들이 언제 베이스라인으로 편입되었거나 될 예정인지 보여주는 타임라인을 확인할 수 있습니다 [1]. 예를 들어, Safari가 2023년에 '리소스 크기 측정(Measuring resources size)'과 '서버 타이밍 수집(Collecting server timings)' 기능 지원을 개선함에 따라, 해당 기능들은 2025년 9월을 기점으로 베이스라인이 되었습니다 [1, 2].
- **주요 편입 기능 및 향후 예정:**
- 컨테이너 쿼리([[Container Queries|Container Queries]]), CompressionStream API, MathML 렌더링 기능은 2025년부터 널리 사용 가능한 베이스라인으로 편입되었습니다 [2].
- 이미지 포맷인 AVIF는 2026년 7월에 널리 사용 가능한 상태가 될 것이며, 리소스 로딩 우선순위를 정하는 `fetchpriority` 속성은 2027년 4월에 베이스라인에 편입될 예정입니다 [3].
- **웹 성능에 미치는 영향:** 새로운 기능들이 네이티브 웹 플랫폼에서 널리 지원되어 베이스라인 수준에 도달하면, 이를 구현하기 위해 필요했던 JavaScript 코드의 양이 줄어들게 되어 결과적으로 더 나은 웹 성능을 제공할 수 있게 됩니다 [2].
## 📖 핵심
## ⚠️ 모순 및 업데이트 (Contradictions & Updates)
- **과거 데이터와의 충돌:** 자동화 엔진에 의해 매핑된 지식으로, 추후 정밀 검증 필요.
- **정책 변화:** AI 분야의 자동 자산화 수행.
### 매 정의
- **Baseline**: 매 Chrome, Edge, Firefox, Safari 의 모든 매 stable channel.
- **Newly available**: 매 모든 4 의 latest support.
- **Widely available**: 매 30+ 개월 의 stable.
## 🔗 지식 연결 (Graph)
- **Related Topics:** Browser APIs, Web Performance
- **Projects/Contexts:** Web Platform Features
- **Contradictions/Notes:** 소스에 관련 정보가 부족합니다.
### 매 source
- Web Platform DX Community Group.
- Google / Mozilla / Microsoft / Apple 의 collaboration.
- web.dev/baseline.
- caniuse.com 의 alternative.
---
*Last updated: 2026-04-19*
### 매 적용
1. **Confidence to ship**: 매 polyfill 의 drop.
2. **Documentation**: 매 MDN 의 badge.
3. **Linter**: 매 ESLint plugin.
4. **Bundler**: 매 transpile target.
5. **Code review**: 매 feature 의 risk check.
---
### 매 timeline (2025-2027 selected)
| Year | Newly Available |
|---|---|
| 2025 | Container Queries, CompressionStream, MathML |
| 2025 Sep | resource size / server timing API |
| 2026 Jul | AVIF image format |
| 2027 Apr | `fetchpriority` attribute |
## 🤖 LLM 활용 힌트 (How to Use This Knowledge)
→ 매 specific 의 baseline website 의 verify.
**언제 이 지식을 쓰는가:**
- *(TODO)*
### 매 modern features (Baseline)
- **CSS**: 매 Container Queries, 매 :has(), 매 nesting, 매 subgrid, 매 cascade layers.
- **JS**: 매 top-level await, 매 dynamic import, 매 Array.at(), 매 Object.hasOwn().
- **DOM**: 매 popover API, 매 dialog element.
- **Image**: 매 AVIF, 매 lazy loading.
- **Performance**: 매 fetch priority, 매 resource hint.
**언제 쓰면 안 되는가:**
- *(TODO)*
### 매 vs polyfill
- **Polyfill**: 매 cost (JS payload).
- **Baseline**: 매 native, 매 fast.
- **Trade-off**: 매 user 의 device 의 다양성.
## 🧪 검증 상태 (Validation)
### 매 progressive enhancement
- 매 baseline 의 기준.
- 매 newer feature 의 enhancement.
- 매 older 의 graceful fallback.
- **정보 상태:** needs_review
- **출처 신뢰도:** A
- **검토 이유:** *(P-Reinforce Phase 1 자동 정규화. 본문 검증 필요.)*
### 매 ESLint integration
- `eslint-plugin-compat`: 매 unsupported feature 의 warn.
- `@eslint/baseline-plugin`: 매 newly-available 의 warn.
## 🧬 중복 검사 (Duplicate Check)
### 매 비판 / limitation
- 매 30 개월 의 conservative.
- 매 enterprise (IE11 era) 의 더 보수.
- 매 mobile (Samsung Internet) 의 X.
- 매 specific browser variant 의 X.
- **기존 유사 문서:** *(TODO: 인덱서 클러스터 리포트 참조)*
- **처리 방식:** UPDATE (자동 정규화)
- **처리 이유:** Phase 1 정규화 — 옛 템플릿/누락 필드 보강.
## 💻 패턴
## 🕓 변경 이력 (Changelog)
### Baseline check (programmatic)
```js
// 매 web-features package
import { features } from 'web-features';
| 날짜 | 변경 내용 | 처리 방식 | 신뢰도 |
|------|-----------|-----------|--------|
| 2026-05-08 | P-Reinforce Phase 1 정규화 (frontmatter + 헤더 표준화) | UPDATE | A |
## 💻 코드 패턴 (Code Patterns)
**패턴 1:** *(TODO: 이 프로젝트 컨벤션 반영한 구조 스켈레톤)*
```text
# TODO
const containerQueries = features['container-queries'];
console.log(containerQueries.status.baseline); // 'high' / 'low' / false
console.log(containerQueries.status.baseline_high_date); // '2025-02-14'
```
## 🤔 의사결정 기준 (Decision Criteria)
### ESLint config
```js
// .eslintrc.cjs
module.exports = {
plugins: ['compat'],
rules: {
'compat/compat': 'error',
},
settings: {
browsers: ['baseline'], // 매 widely available 만
},
};
```
**선택 A를 써야 할 때:**
- *(TODO)*
### Browserslist (bundler target)
```
# .browserslistrc
> 0.5%
last 2 versions
not dead
# 매 baseline-aligned
```
**선택 B를 써야 할 때:**
- *(TODO)*
### Progressive enhancement (CSS)
```css
/* 매 fallback */
.card {
width: 100%;
}
**기본값:**
> *(TODO)*
/* 매 baseline (Container Queries) */
@container (min-width: 600px) {
.card { width: 50%; }
}
## ❌ 안티패턴 (Anti-Patterns)
/* 매 newly-available */
@supports (selector(:has(*))) {
.card:has(.featured) { background: gold; }
}
```
- **[안티패턴]:** *(TODO: 무엇을 하면 안 되는가 + 이유 + 대신 무엇을)*
### Feature detection
```js
// 매 Object.hasOwn (baseline 2025)
if (typeof Object.hasOwn === 'function') {
Object.hasOwn(obj, 'key');
} else {
Object.prototype.hasOwnProperty.call(obj, 'key');
}
// 매 popover API
if (HTMLElement.prototype.hasOwnProperty('popover')) {
el.popover = 'auto';
} else {
// 매 fallback dialog
}
```
### web-features API integration
```js
import { features, browsers } from 'web-features';
function isBaselineWidely(featureId) {
const f = features[featureId];
if (!f) return false;
return f.status.baseline === 'high';
}
// 매 build script 의 audit
const used = ['container-queries', 'has-pseudo', 'view-transitions'];
for (const f of used) {
if (!isBaselineWidely(f)) {
console.warn(`${f} is not widely available — needs polyfill or fallback`);
}
}
```
### MDN Baseline badge (markdown)
```markdown
# Container Queries
[Baseline: widely available since 2025-02-14]
CSS Container Queries allow elements to respond to their container's size...
```
### CI check
```yaml
# .github/workflows/baseline-check.yml
- name: Check baseline compatibility
run: |
npx @web-platform-dx/web-features --check src/ \
--target=widely-available
```
## 🤔 결정 기준
| 상황 | Decision |
|---|---|
| New feature in code | Baseline widely → ship |
| Newly available | Polyfill or fallback |
| Not baseline | Polyfill required |
| Enterprise / legacy | More conservative target |
| Mobile-first | Check Samsung Internet |
| Performance-critical | Native (baseline) > polyfill |
**기본값**: Baseline widely available + 매 progressive enhancement.
## 🔗 Graph
- 부모: [[Web-Platform]] · [[Browser-Compatibility]] · [[Web-Performance]]
- 변형: [[CanIUse]] · [[Browserslist]] · [[Progressive-Enhancement]]
- 응용: [[Container-Queries]] · [[CSS-has-Pseudo]] · [[View-Transitions]] · [[AVIF]]
- Adjacent: [[Polyfill]] · [[Transpile]] · [[ESLint-Compat]] · [[MDN]]
## 🤖 LLM 활용
**언제**: 매 web feature 의 ship decision. 매 polyfill drop. 매 build target 결정.
**언제 X**: 매 enterprise (IE11) 의 conservative. 매 specific niche browser.
## ❌ 안티패턴
- **Bleeding-edge feature 의 production 의 지원 무시**: 매 user 의 break.
- **Polyfill 의 무한 retain**: 매 baseline 의 reached 후 도 keep.
- **No fallback** (newly-available): 매 older browser 의 broken.
- **`@supports` 의 missing**: 매 cascade 의 unpredictable.
- **Browserslist 의 old default**: 매 polyfill bloat.
## 🧪 검증 / 중복
- Verified (web.dev/baseline, web-features npm).
- 신뢰도 A.
- Related: [[Browser-Compatibility]] · [[Polyfill]] · [[Progressive-Enhancement]] · [[Web-Performance]].
## 🕓 Changelog
| 날짜 | 변경 |
|---|---|
| 2026-04-19 | Auto-mapped |
| 2026-05-08 | Phase 1 |
| 2026-05-10 | Manual cleanup — definition + timeline + 매 ESLint / Browserslist / web-features code |