Files
msd-core/docs/ko-KR
Rezolv e87fb409ee enhance(#2573): stamp STATE.md with its commit and surface a freshness hint (#2622)
* enhance(#2573): stamp STATE.md with its commit and surface a commit-age freshness hint

Adds a `state_head` stamp to STATE.md and derives a tri-state commit-age
freshness proxy (state_commits_behind / state_commit_stale) through
state.cjs's readStateHeadFreshness, surfaced on smart-entry signals and as
health W024. The proxy is advisory: classify() deliberately does NOT consume
it (ADR-1787 locks the classification/routing boundary — a signal, not a route).

Composes with #3099 and #1882 (both merged to next after this branch): the
commit-age proxy reads `state_head` while the LAST_ACTIVITY_UNPARSEABLE
diagnostic reads `last_activity` — two different fields, not "two staleness
signals on one field." A new regression test asserts a STATE.md carrying both
an unparseable last_activity AND a valid state_head resolves each independently
(diagnostic fires once; freshness reads state_head, commits_behind 0).

Rebased onto next (flattened): resolved the add/add conflicts in
src/smart-entry.cts (kept both the #2573 freshness import/derivation and the
#3099 diagnostic import/call) and tests/smart-entry.unit.test.cjs (kept both
describe blocks). Drift-ack for health.md's W024 row is unchanged (12348 B).
Tests: smart-entry 62, state/state-transition/health/verify 639, all pass.

* chore(#2573): allowlist health-validation test in the prompt-injection scan

The scanner's `exec('` code-execution pattern matches the benign
`re.exec('<phase-id>')` RegExp method calls in the phase-ID grammar tests
(pre-existing: 16 such calls on next, this PR adds none). The file entered the
diff-mode scan's changed-file set only because #2573's W024 state_head
assertions touch it. Allowlist it alongside the other test files that carry
pattern-matching content as data (same DEFECT.PROMPT-INJECTION-SCAN-COLLISION
class). Scanner self-test 38/0; diff scan 14 files, 0 findings.
2026-08-11 17:10:23 -04:00
..

GSD Core 문서

문서는 네 가지 유형으로 구성됩니다. 튜토리얼은 직접 해보며 배우고, how-to 가이드는 특정 작업을 해결하며, 레퍼런스는 권위 있는 사실을 제시하고, 설명은 개념과 설계 결정을 탐구합니다.

언어 버전: English · Português (pt-BR) · 日本語 · 简体中文 · 한국어


튜토리얼


How-to guides


레퍼런스

  • 명령어 — 플래그와 예제가 포함된 모든 명령어
  • 설정 — 전체 설정 스키마, 모델 프로필, git 브랜칭 전략
  • CLI 도구 — 워크플로우와 에이전트를 위한 gsd-tools.cjs 프로그래밍 API
  • 기능 — 전체 기능 색인
  • 인벤토리 — 설치된 스킬과 서피스 맵
  • STATE.md 스키마 — .planning/STATE.md 필드별 레퍼런스
  • CONTEXT.md 스키마 — .planning/phases/<N>/CONTEXT.md 필드별 레퍼런스
  • PLAN.md 스키마 — .planning/phases/<N>/PLAN.md 필드별 레퍼런스
  • 기획 아티팩트 — 모든 .planning/ 파일과 역할

설명