{
  "schemaVersion": 1,
  "id": "atlas-synthetic-git-graph",
  "project": {
    "name": "Atlas 研发协作",
    "owner": "研发团队",
    "slug": "atlas-synthetic",
    "description": "输入校验、报告摘要与研发协作记录。",
    "defaultBranch": "main",
    "visibility": "内部",
    "license": "MIT"
  },
  "branches": [
    "main",
    "feature/report",
    "fix/validation"
  ],
  "files": [
    {
      "path": "README.md",
      "type": "file",
      "content": "# Atlas 研发协作\n\n提供输入校验、报告摘要和开发记录管理。\n\n## 仓库结构\n\n- src：输入校验与报告摘要\n- docs：交互验收清单",
      "commit": "graph-003"
    },
    {
      "path": "src/validation.js",
      "type": "file",
      "content": "export const validateName = name =>\n  typeof name === \"string\" && name.trim().length > 0;",
      "commit": "graph-010"
    },
    {
      "path": "src/report.js",
      "type": "file",
      "content": "export const summarize = (records = []) => ({\n  total: records.length,\n  completed: records.filter(record => record.done).length\n});",
      "commit": "graph-009"
    },
    {
      "path": "package.json",
      "type": "file",
      "content": "{\n  \"name\": \"atlas-synthetic\",\n  \"version\": \"0.1.0\",\n  \"private\": true\n}",
      "commit": "graph-005"
    },
    {
      "path": "docs/review.md",
      "type": "file",
      "content": "# 交互验收清单\n\n- 选择提交并查看文件差异\n- 按作者搜索提交\n- 切换分支并保持父子关系\n- 在窄屏内部滚动提交图\n- 通过键盘选择提交",
      "commit": "graph-011"
    }
  ],
  "commits": [
    {
      "sha": "graph-011",
      "branch": "main",
      "parent": "graph-008",
      "message": "补充窄屏与键盘操作验收项",
      "author": "陈序",
      "date": "2026-10-22",
      "changes": [
        {
          "path": "docs/review.md",
          "before": "# 交互验收清单\n\n- 选择提交并查看文件差异\n- 按作者搜索提交\n- 切换分支并保持父子关系",
          "after": "# 交互验收清单\n\n- 选择提交并查看文件差异\n- 按作者搜索提交\n- 切换分支并保持父子关系\n- 在窄屏内部滚动提交图\n- 通过键盘选择提交"
        }
      ]
    },
    {
      "sha": "graph-010",
      "branch": "fix/validation",
      "parent": "graph-007",
      "message": "处理非字符串输入",
      "author": "周禾",
      "date": "2026-10-21",
      "changes": [
        {
          "path": "src/validation.js",
          "before": "export const validateName = name => name.trim().length > 0;",
          "after": "export const validateName = name =>\n  typeof name === \"string\" && name.trim().length > 0;"
        }
      ]
    },
    {
      "sha": "graph-009",
      "branch": "feature/report",
      "parent": "graph-006",
      "message": "为报告摘要提供空列表默认值",
      "author": "林月",
      "date": "2026-10-20",
      "changes": [
        {
          "path": "src/report.js",
          "before": "export const summarize = records => ({\n  total: records.length,\n  completed: records.filter(record => record.done).length\n});",
          "after": "export const summarize = (records = []) => ({\n  total: records.length,\n  completed: records.filter(record => record.done).length\n});"
        }
      ]
    },
    {
      "sha": "graph-008",
      "branch": "main",
      "parent": "graph-005",
      "message": "整理交互验收清单",
      "author": "陈序",
      "date": "2026-10-19",
      "changes": [
        {
          "path": "docs/review.md",
          "before": null,
          "after": "# 交互验收清单\n\n- 选择提交并查看文件差异\n- 按作者搜索提交\n- 切换分支并保持父子关系"
        }
      ]
    },
    {
      "sha": "graph-007",
      "branch": "fix/validation",
      "parent": "graph-005",
      "message": "修正空白名称的校验",
      "author": "周禾",
      "date": "2026-10-18",
      "changes": [
        {
          "path": "src/validation.js",
          "before": "export const validateName = name => name.length > 0;",
          "after": "export const validateName = name => name.trim().length > 0;"
        }
      ]
    },
    {
      "sha": "graph-006",
      "branch": "feature/report",
      "parent": "graph-004",
      "message": "在摘要中统计完成数量",
      "author": "林月",
      "date": "2026-10-17",
      "changes": [
        {
          "path": "src/report.js",
          "before": "export const summarize = records => ({ total: records.length });",
          "after": "export const summarize = records => ({\n  total: records.length,\n  completed: records.filter(record => record.done).length\n});"
        }
      ]
    },
    {
      "sha": "graph-005",
      "branch": "main",
      "parent": "graph-003",
      "message": "添加项目元信息",
      "author": "陈序",
      "date": "2026-10-16",
      "changes": [
        {
          "path": "package.json",
          "before": null,
          "after": "{\n  \"name\": \"atlas-synthetic\",\n  \"version\": \"0.1.0\",\n  \"private\": true\n}"
        }
      ]
    },
    {
      "sha": "graph-004",
      "branch": "feature/report",
      "parent": "graph-003",
      "message": "增加报告摘要模块",
      "author": "林月",
      "date": "2026-10-15",
      "changes": [
        {
          "path": "src/report.js",
          "before": null,
          "after": "export const summarize = records => ({ total: records.length });"
        }
      ]
    },
    {
      "sha": "graph-003",
      "branch": "main",
      "parent": "graph-002",
      "message": "补充仓库结构说明",
      "author": "陈序",
      "date": "2026-10-14",
      "changes": [
        {
          "path": "README.md",
          "before": "# Atlas 研发协作\n\n提供输入校验、报告摘要和开发记录管理。",
          "after": "# Atlas 研发协作\n\n提供输入校验、报告摘要和开发记录管理。\n\n## 仓库结构\n\n- src：输入校验与报告摘要\n- docs：交互验收清单"
        }
      ]
    },
    {
      "sha": "graph-002",
      "branch": "main",
      "parent": "graph-001",
      "message": "建立输入校验模块",
      "author": "陈序",
      "date": "2026-10-13",
      "changes": [
        {
          "path": "src/validation.js",
          "before": null,
          "after": "export const validateName = name => name.length > 0;"
        }
      ]
    },
    {
      "sha": "graph-001",
      "branch": "main",
      "parent": null,
      "message": "初始化仓库",
      "author": "陈序",
      "date": "2026-10-12",
      "changes": [
        {
          "path": "README.md",
          "before": null,
          "after": "# Atlas 研发协作\n\n提供输入校验、报告摘要和开发记录管理。"
        }
      ]
    }
  ]
}
