Skip to content
rfc-workflow RepoState RFC Brief
Login

RepoState RFC Brief

Document identity

Objective

Specify how a Fossil repository derives repository views from the crosslinked set of stored structural artifacts.

The document owns the computation of:

The document is a companion to Artifact, which defines the card and hash syntax whose downstream effect is computed here, and to Sync, which moves the artifacts between peers.

Clean-room capability target

A clean-room implementer must be able to:

Required section inventory

The document should keep this section shape:

  1. Introduction
    1. Scope
  2. Terminology
  3. Check-in DAG Construction
    1. Linkage record shape
    2. Primary parent vs. merge parents
    3. Ancestry direction and traversal
  4. Crosslink Processing
    1. T-card syntax validation
    2. Crosslink procedure
    3. Rejection conditions
    4. Comment rendering of crosslink effects
    5. Serialization of tag artifacts
  5. Tag Types and Propagation
    1. Tag Type Values
    2. Storage Model
    3. Direct Application Procedure
    4. Propagation Algorithm
    5. Blocking Conditions
  6. Branch Membership and Naming
    1. Branch of a check-in
    2. Branch creation
    3. Enumerating branches
    4. A note on branch current
  7. Leaves
    1. Definition
    2. Normative leaf test
    3. Maintenance algorithm
    4. Open leaves and closed-marker semantics
    5. Leaf-set enumeration and ambiguity
    6. Triggers for re-evaluation
    7. Relationship to name resolution
  8. Symbolic Name Resolution
    1. Scope
    2. Rule
    3. Procedure
    4. Branch-walk rule
    5. Distinguishing name resolution from open-leaf enumeration
  9. Current Trunk and Forks
  10. Worked Example: Fork with a Closed Leaf
  11. IANA Considerations
  12. Security Considerations
  13. Normative References

Boundaries and dependencies

Required emphasis points

Known reviewer watch points

Keep these explicit so the document does not drift back into source-familiarity assumptions: