Skip to content

Commit e60c89a

Browse files
committed
chore: shrink AI session backup PR comment
1 parent a1c3847 commit e60c89a

1 file changed

Lines changed: 3 additions & 12 deletions

File tree

scripts/session-backup-gist.js

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -423,21 +423,12 @@ const buildSnapshotReadme = ({ backupRepo, source, manifestUrl, summary, session
423423
"",
424424
].join("\n");
425425

426-
const buildCommentBody = ({ backupRepo, source, manifestUrl, readmeUrl, summary }) => {
426+
const buildCommentBody = ({ source, manifestUrl, readmeUrl, summary }) => {
427427
const lines = [
428428
"## AI Session Backup",
429-
"",
430-
"A snapshot of the AI session context used during development has been saved.",
431-
"",
432-
`Backup Repo: ${backupRepo.fullName}`,
433-
`Source Commit: ${source.commitSha}`,
434-
`Created At: ${source.createdAt}`,
429+
`Commit: ${source.commitSha}`,
435430
`Files: ${summary.fileCount} (${formatBytes(summary.totalBytes)})`,
436-
"",
437-
`README: ${readmeUrl}`,
438-
`Manifest: ${manifestUrl}`,
439-
"",
440-
"This snapshot metadata was used during development.",
431+
`Links: [README](${readmeUrl}) | [Manifest](${manifestUrl})`,
441432
];
442433

443434
lines.push(`<!-- docker-git-session-backup:${source.commitSha}:${source.createdAt} -->`);

0 commit comments

Comments
 (0)