Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

1.0 KB
Raw Blame
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,
};