Intelligence

Artifacts

Browse the repository, read documents, and manage the governance folders. Source, runtime, and infrastructure are read-only.

Repository
.gitignoreDockerfilenext-env.d.tsnext.config.mjspackage-lock.jsonpackage.jsonpostcss.config.mjsREADME.mdtailwind.config.tstsconfig.jsontsconfig.tsbuildinfo
README.md
CONSTITUTION_COMPLIANCE_AUDIT_V1.mdREADME.md
repositories/aaf-holdings/hq01/components/shared/source-ref.tsx
590 B
import Link from "next/link";
import { FileCode } from "lucide-react";

/** Shows which repository file backs the current record, linking to Artifacts. */
export function SourceRef({ path }: { path: string }) {
  return (
    <Link
      href={`/artifacts?file=${encodeURIComponent(path)}`}
      className="inline-flex items-center gap-1.5 rounded-md border border-border bg-secondary/50 px-2.5 py-1 font-mono text-[11px] text-muted-foreground transition-colors hover:border-foreground/20 hover:text-foreground"
    >
      <FileCode className="h-3 w-3" />
      {path}
    </Link>
  );
}

root · /srv/aaf