콘텐츠로 이동

.gram meaning, persistence, and History/6

이 상세 자료는 아직 한국어로 번역되지 않아 영문 원문을 표시합니다.

자동 복사가 허용되지 않았습니다. 내용을 선택해 직접 복사하세요.

GA 공개 출처와 지원 범위
Status
GA
Component
.gram format / Gram Core
Deployment
n/a (format spec)
Applies to version
Latest
출처 확인일
2026-10-25
Owner
thegram-one/thegram-format
Public evidence
Basis
The public format page describes a plain-text .gram file with typed records and retained revision history; it does not publish a separate Core release version.

All pages: version and status matrix

출처 확인은 실제 계정 설치·기기 동작·서비스 상태의 검증을 뜻하지 않습니다.

A useful knowledge artifact must preserve more than a final paragraph. A decision without its evidence, a task without its changing status, or a source detached from the claim it supports loses context needed for later review. .gram gives a document a stable identity and records typed entities, fields, explicit relations, literal content blocks, and source references. Document, card, graph, and timeline are ways to project that meaning; none changes the underlying entity semantics. The format is deliberately data, not a workflow engine, access-control system, animation language, or executable script.

The design goal is not to compress away human meaning. Short type and field codes make structure compact, while titles, descriptions, and rich prose keep the reason understandable to people and models. A parser can preserve source spans, comments, unknown fields, and unsupported constructs instead of silently normalizing away content it does not know.

A current document starts with @gram 2, one doc owner, and typed records with stable identifiers. For example, D choose-retention can hold a title, status, and ::reason block; an E export-test record can hold a result and point to the decision with supports. The relation is explicit and directional. source can identify provenance records; ref can point to a URI. IDs are not derived from visible titles, so editing a title does not make relationships refer to a different object.

Fields are textual values, including dates and quantities. Their interpretation belongs to the consuming view or record convention; the parser does not silently turn a string into a changed fact. Rich body content is literal and not executable. Unknown block names remain data. A label such as private does not encrypt a file or grant a permission. Those boundaries matter when a file moves between apps or is sent to a service.

The current writer stores the source at the front and a @gram-history 6 trailer after it. The history stores revision headers and reverse line hunks sufficient to reconstruct earlier exact source states. Each revision is linked by a chain hash. Core records revision metadata such as actor and recorded time; an AI-authored document fragment does not invent those runtime facts. Current source and historical states are distinct: opening today’s source does not by itself recreate an earlier state, but replay through Core can.

Writes use a compare-and-swap boundary: the writer compares the observed base revision and, where required, expected whole-file hash before replacing the file. That protects against a stale update in the cooperating writer protocol; it is not a cryptographic signature and does not make an uncooperating external editor safe. Legacy History/0–5 and @gram 1 inputs are read or migrated under Core rules. History/6 migration preserves revision metadata; a bare @gram 1 JSON ::rich block is not silently promoted by current rules.

For example, a D fallback record titled “Retain the offline route” can have x accepted and a reason block stating that the verified export remains usable without a service account. A separate E export-check record can state that a copied file reopened offline and declare supports fallback.

The fragment makes the decision and evidence separately addressable. A client can show the relationship as a graph edge or readable line. It does not claim who performed the test or when; those are runtime provenance values only when recorded by the writer.

Embedding custom semantics into each type would make the language brittle; treating all content as free text would make relations and history less inspectable. The format keeps a small typed vocabulary and permits unknown data, while Core owns parsing, canonicalization, history replay, and safe write transactions. Application caches and search indexes remain derived. The current architecture is not a guarantee that every renderer supports every rich block or every old format equally.

Read the format and rich-document specifications for syntax, relationships, projections, and Core's journal implementation. The history walkthrough shows real before/after states from a Core-written journal. Historical benchmark results are not proof of current performance.

Claims describe the checked Core README, language and architecture specifications, rich-document specification, and current History/6 implementation.

Source: Format repository README

Internal source reviewed at revision 625edecee877ddf5f6c303cb478c64fa4cbca651 on branch main (README.md); not publicly available.

Source: .gram language specification

Internal source reviewed at revision 625edecee877ddf5f6c303cb478c64fa4cbca651 on branch main (spec/language.md); not publicly available.

Source: Format architecture specification

Internal source reviewed at revision 625edecee877ddf5f6c303cb478c64fa4cbca651 on branch main (spec/architecture.md); not publicly available.

Source: Rich document specification

Internal source reviewed at revision 625edecee877ddf5f6c303cb478c64fa4cbca651 on branch main (spec/rich-document.md); not publicly available.

Source: Current History/6 implementation

Internal source reviewed at revision 625edecee877ddf5f6c303cb478c64fa4cbca651 on branch main (native/history6.rs); not publicly available.

Knowledge: Explicit typed entities and relations carry document meaning

Stable IDs, fields, blocks, and links keep claims addressable without deriving identity from titles.

Reference: → Supports: History/6 preserves exact earlier source states

Knowledge: History/6 preserves exact earlier source states

Current source leads the file; reverse line hunks and chained revisions support replay of prior source.

Knowledge: A data format is not an access-control system

Scope labels and references do not encrypt bytes, enforce ACLs, or make arbitrary renderer blocks executable.

Reference: → Supports: Explicit typed entities and relations carry document meaning

Requirement: Runtime, not authored prose, records revision metadata

Actors, recorded time, revision identity and chain metadata are supplied by the writing runtime, not invented in content.

Reference: → Supports: History/6 preserves exact earlier source states

Source and renderer evidence

Canonical source SHA-256
587aaf143ec58b961ced930605a065a95894af665b945297a8e3312bacd3739b
Selected revision
r5 · sha256:1f6fe1989f85c3943a159ee2c5c61f5ce124886583ad37786262126f3522ec5d
Local renderer
configured local Thegram renderer · API thegram-web-render/1
Core source
git+https://github.com/clab-one/thegram-format.git?rev=b16489e1d0d77d38f82d2f61776524737aa31557#b16489e1d0d77d38f82d2f61776524737aa31557

Canonical source: format-architecture.gram

안내와 다른 점이 있나요? 문서 오류 신고 · 문제 해결
이메일은 직접 검토해 전송하세요. API key나 비공개 문서 내용은 보내지 마세요.