export class StubReviewReportGateway {
    report = {
        content: '# Stub report',
        path: '/tmp/project/.claude/reviews/2026-05-22-MR-42-review.md',
    };
    readStrategy = null;
    lastReadJobType = null;
    readCallCount = 0;
    setReport(report) {
        this.report = report;
        this.readStrategy = null;
    }
    setReadStrategy(strategy) {
        this.readStrategy = strategy;
    }
    read(location) {
        this.lastReadJobType = location.jobType;
        this.readCallCount += 1;
        if (this.readStrategy !== null) {
            return this.readStrategy(location);
        }
        return this.report;
    }
    buildPath(location) {
        const suffix = location.jobType === 'followup' ? 'followup' : 'review';
        return `${location.localPath}/.claude/reviews/${location.isoDate}-MR-${location.mergeRequestNumber}-${suffix}.md`;
    }
}
//# sourceMappingURL=reviewReport.stub.js.map