# HSS Config (hss.jsonc) (/docs/hss-config)



## What is it? [#what-is-it]

`hss.jsonc` is the **HSS project metadata file** written to your project root when you create a project. It captures the stack choices you selected (frontend, backend, API, DB/ORM, auth, storage, email, addons, etc.). The file uses JSONC (JSON with comments) and includes a `$schema` URL for editor hints.

Where: `./hss.jsonc`

## Why it exists [#why-it-exists]

* Required for the `add` command to detect your current stack
* Helps validate compatibility and pre‑fill sensible defaults

If `hss.jsonc` is missing, the `add` command cannot run because the project cannot be detected.

## Safe to delete (with a caveat) [#safe-to-delete-with-a-caveat]

It’s safe to delete for normal development; the generated code in `apps/*` and `packages/*` remains the source of truth. However, if you plan to use the `add` command later, you must keep `hss.jsonc` so the CLI can detect your project.

## Format [#format]

The file is JSONC with comments enabled and includes a `$schema` URL for tooling.

```jsonc
// HSS project metadata
//
// Keep this file to use the `add` command.
// Add addons: bunx create-hackhaton-space-stack@latest add
//
// Docs: https://hackhaton-space.vercel.app/docs
// Stack Builder: https://hackhaton-space.vercel.app/builder
{
  "$schema": "https://r2.hackhaton-space.vercel.app/schema.json",
  "version": "x.y.z",
  "createdAt": "2025-01-01T00:00:00.000Z",
  "reproducibleCommand": "bun create hackhaton-space-stack@latest my-app --frontend tanstack-router ...",
  "frontend": ["tanstack-router"],
  "backend": "hono",
  "runtime": "bun",
  "database": "sqlite",
  "orm": "drizzle",
  "api": "trpc",
  "auth": "better-auth",
  "payments": "none",
  "storage": "none",
  "email": "none",
  "addons": ["turborepo"],
  "addonOptions": {
    "wxt": {
      "template": "react",
    },
  },
  "examples": [],
  "dbSetup": "none",
  "dbSetupOptions": {
    "mode": "manual",
  },
  "webDeploy": "none",
  "serverDeploy": "none",
  "packageManager": "bun",
}
```

Notes:

* Values mirror what you selected during project creation
* `reproducibleCommand` contains the normal CLI command generated when the project was created
* Deeply nested structured options remain in `addonOptions` or `dbSetupOptions` and may not be fully represented in the one-line command
* `addonOptions` stores nested configuration for prompt-driven addons
* `dbSetupOptions` stores structured database setup behavior for automation
* The file may be updated when you run `add` (addons and addon-specific config)

See also: [`add` command](/docs/cli#add)
