Files
ECC/scripts/lib/feedback-links.js
haelyraandGitHub f1fec0e539 feat: add retention feedback loop and honest support matrix (#2681)
* feat: add retention feedback loop

* test: retire obsolete README parity row guard

* fix: harden public feedback guidance

* fix: let feedback CLI output flush

* test: keep feedback help coverage focused
2026-08-04 21:42:25 -04:00

40 lines
1.0 KiB
JavaScript

const REPOSITORY_ISSUES_URL = 'https://github.com/affaan-m/ECC/issues/new';
const FEEDBACK_ROUTES = Object.freeze({
problem: `${REPOSITORY_ISSUES_URL}?template=install-problem.yml`,
feedback: `${REPOSITORY_ISSUES_URL}?template=quick-feedback.yml`,
feature: `${REPOSITORY_ISSUES_URL}?template=feature-request.yml`,
});
function getFeedbackPayload() {
return {
schemaVersion: 'ecc.feedback.v1',
privacy: 'public-github',
diagnosticsUploaded: false,
routes: { ...FEEDBACK_ROUTES },
};
}
function problemReportLines() {
return [
'Report this problem (public GitHub issue):',
FEEDBACK_ROUTES.problem,
'ECC does not upload diagnostics. Redact paths, repository names, prompts, and secrets before sharing output.',
];
}
function exitFeedbackLines() {
return [
'Optional 20-second exit feedback (public GitHub issue):',
FEEDBACK_ROUTES.feedback,
'ECC does not upload diagnostics or block uninstall.',
];
}
module.exports = {
FEEDBACK_ROUTES,
exitFeedbackLines,
getFeedbackPayload,
problemReportLines,
};