All Docs/Inventory

Inventory

The inventory is your project's list of where things live: the live app, the staging site, the database, the hosting account, the published package, the app store listing. Each entry says what something is for, which environment it serves, who provides it and where to find it. Your team, Dev and your agents all read the same entries, so nobody has to ask where the staging site is, and an agent doesn't guess at an address.

The inventory also keeps your project's dependency judgements: an update you've decided not to take yet, or a security advisory you've looked at and accepted, with the reason and what would change the decision.

You'll find it under Knowledge → Inventory in the project sidebar. The page carries a Beta badge. Everyone on the project can read it.

An entry records what someone noted down. It isn't a check that the address works or that the service is up, and being listed here gives nobody access to it.

What an entry records

Each entry is a short index card:

FieldWhat it holds
NameWhat you call it, such as "Customer web app".
What it is forA short summary of what the resource is for and who owns or pays for it.
KindWeb app, Website, API, App store listing, Test build, Package, Release, Repository, Database, Server, Hosting, Dashboard, Storage, Logs and monitoring, Domain, Service or Other. A site, the server it runs on and the dashboard that manages it are separate entries.
EnvironmentProduction, Staging, Preview or Development. Tick every one it serves, or none if it isn't tied to one.
LocationA Web address, an Identifier (such as a project name, bundle ID or package name), or No location. Where it is, never how to get in.
ProviderWho hosts or supplies it.
Shared hostThe machine or account it shares with other entries, if any.

Keep an entry short. Detailed settings, setup steps and procedures belong in a document or memory that you link to the entry (see Link documents and memories to an entry).

An in-use entry for something you ship, such as a web app, website, app store listing, test build, package or release, that has a web address also appears on the project's Overview as a link to where the project is delivered.

Find an entry

The page lists the entries in use, most recently changed first. Use the environment menu (All environments) to show one environment, and turn on Retired & replaced to include entries the project has stopped using. Those are muted and labeled, so they can't be mistaken for something current.

Each card shows the environment, the kind, the name and purpose, and the location. Use the copy icon to copy an address or identifier, or open a web address in a new tab.

Suggestions that nobody has accepted yet are listed apart, under Awaiting review, with a Proposed label.

Add an entry

Press Add an entry at the top of the page, fill in the fields, and press Add entry. It's recorded straight away.

If your role sends changes for review, the button reads Suggest an entry and the form ends with Send for review. The suggestion appears under Awaiting review and isn't part of the inventory until a Maintainer accepts it.

You don't have to use the form. Tell Dev in any session where something lives, for example "our staging site is at staging.example.com", and ask it to record it. Your agents can record entries the same way when you ask them.

Entries added when you connect an integration

When you connect a repository, a database, a log provider or a deployment target to the project, DevSpec records it in the inventory straight away. There's nothing to approve.

You connectThe entry records
A repositoryIts name, GitHub as the provider, and its web address
A databaseIts name, provider, the environment you chose, and an identifier such as the project reference or host and database name
A log providerIts name, provider, the environment you chose, and an identifier such as the datasets or projects it reads
A deployment targetIts name, host and environment. Add its web address yourself.

Only details that are safe to keep are recorded. Passwords, tokens and keys you give a connection never reach the inventory.

If the inventory already has an entry for that connection, with the same address, or the same name, kind and provider in the same environment, DevSpec fills in that entry instead of adding a second one. Different environments always stay separate: connecting a staging database next to a recorded production one adds a staging entry.

Keep passwords and keys out of the inventory

The inventory never holds secrets. DevSpec refuses anything that looks like a password, a token, a key, a connection string, a web address with a user name or password in it, an address with a token or signature in it, or a webhook address that is itself a secret. Images, HTML and script links are refused too, because entries are plain words.

When something is refused, nothing is saved. The message names the field and what to record instead, and never repeats what you typed. Record where something is, such as the host, project reference or database name, and keep credentials in your password manager.

Change an entry

Click Show details on an entry, then Change. Edit the fields, add an optional note under Why the change? (optional), and press Save change. The change is saved as a new version, and the earlier one stays in the entry's history.

If your role sends changes for review, the control reads Suggest a change. The entry shows Change waiting for review, and it keeps saying what it said before until a Maintainer accepts the change.

Retire or replace an entry

When the project stops using something, open the entry with Show details and press Retire. Choose No longer in use, or Replaced by another entry and pick the entry that took its place. Add an optional reason and press Retire entry.

A retired or replaced entry keeps its history and leaves the list of entries in use. Turn on Retired & replaced to see it. A replaced entry names the entry that replaced it. To bring one back, open it and press Mark as in use.

Remove an entry recorded by mistake

Retire an entry the project used to use. Remove one that should never have been recorded: open it, press Remove, add an optional reason and press Remove entry. It leaves the inventory, and its history stays readable.

See an entry's history

Open an entry with Show details and press Show history. Every version is listed with who made it, the reason they gave and who accepted it. Read this version shows the entry as it stood then, and What changed from version N shows each field that changed.

Entry ID copies the entry's ID, so you can point one of your agents at exactly this entry.

Link documents and memories to an entry

An entry stays short; the detail lives in documents and memories. Open the entry with Show details and, under Reads together with, press Link a document or memory. Search for the document or memory, add a note on why they belong together, and press Link. You can also link documents and memories while adding or changing an entry.

Click a linked record to read it without leaving the page. You can edit a link's note or remove the link at any time without changing either record.

When Dev or your agents are shown an entry, they're pointed to its linked documents and memories too, so a runbook or setup guide comes up with the thing it describes.

Who can change the inventory

RoleWhat happens
Maintainer and ContributorAdd, change, retire, bring back and remove entries, and link documents and memories, straight away.
Reviewed ContributorSuggests entries and changes. Each waits in Review for a Maintainer, and the inventory stays as it is until it's accepted.
ViewerReads the inventory, without adding or changing entries.

Dev and your agents work with your role when you ask them to record or change an entry. An agent working on its own in an automation suggests entries rather than recording them, with one exception: an update it holds back during a dependency update is recorded straight away (see Record a dependency judgement). See Organizations, members and roles.

When an entry is flagged as possibly outdated

DevSpec can flag an entry that may be out of date. The card shows a Possibly outdated chip, and opening it shows the reason under Flagged for a look. A flag is a question, not a finding that the entry is wrong, and nothing about the entry has changed.

Flagged entries also appear in Review under Possibly outdated, with the entry's fields. Read the reason, then:

  • If the entry is still right, choose Still accurate in Review and say why. A Maintainer's ruling applies directly; other roles propose it.
  • If it's wrong, choose Open in Inventory to go straight to the entry, then change, retire or remove it there.

Record a dependency judgement

A dependency judgement records a decision about one dependency: an update the project is deliberately holding back, or a security advisory someone looked at and accepted. Judgements are listed under Dependencies on the Inventory page, grouped by package. A dependency with no entry there hasn't been judged.

To record one, press Record a dependency judgement (or Suggest a dependency judgement, if your role sends changes for review), choose Update held back or Security advisory accepted, and fill in:

  • Package, Ecosystem (such as npm, pip, go or cargo), the Current version, and Declared in (optional) when more than one file declares it.
  • Version not taken, for an update held back.
  • Advisories, for an advisory accepted, such as a GHSA or CVE ID, and Accepted until (optional).
  • Reason: why the update is held back, or why the advisory doesn't affect how the project uses the package.
  • Waiting on (what would change this judgement): at least one condition, such as a newer release coming out, another dependency reaching a version, a missing feature arriving, the project moving off the version judged, how the dependency is used changing, or, for an advisory, its severity or affected range changing or an exploit becoming known. Press Add another condition for more.

Each judgement shows who decided it and when, and recognized advisory IDs link to their public pages. A retired judgement is labeled No longer stands, and its history shows Stands for the versions when it applied.

Your agents record judgements too. When an agent checking a Dependabot or Renovate update finds it can't land yet, it holds the update back with its reason and conditions, and that counts straight away. When an agent judges a security advisory not to be a real risk, its acceptance waits in Review for a person, because accepting a risk is a person's call.

While a held-back judgement stands, the update it covers isn't raised again. A newer version than the one judged, or a judgement marked worth another look, retired or replaced, is checked as normal. A judgement still waiting in Review holds nothing back.

When a dependency judgement is worth another look

DevSpec marks a judgement Worth another look when something touches one of its conditions:

  • a push that changes the project's dependency files or lockfiles;
  • a new or updated Dependabot or Renovate pull request for that dependency;
  • a change to the advisory's alert, such as its severity, its affected range, or a known exploit;
  • its Accepted until date passing;
  • 30 days passing without anyone confirming it.

A condition written in your own words, such as a missing feature arriving, isn't checked automatically.

The mark shows on the judgement with what touched it. It never changes the decision. Open the judgement and, if the reason still stands, press Still stands — update date: the judgement is dated today and the mark clears. If your role sends changes for review, the control reads Suggest confirming it still stands. If the reason doesn't hold any more, change or retire the judgement.

How Dev and your agents use the inventory

You don't have to tell Dev or your agents where things are. When a conversation or a task turns to something in the inventory, they're shown the entries in use that match, with their environments and any linked documents and memories, and they can search the inventory whenever they need to. Mentioning an address puts its entry first. Retired and replaced entries are left out unless someone asks for them, so an old address doesn't creep back into new work.

Searches that include the inventory are charged like any other search, as Running your project. See Billing, usage and limits.