agent-security-hardening
AFaffaan-m/ECC314k4,125 new stars in the last 7 days
Record, re-answer, or weigh one box design decision as an entry in docs/design/cli/decisions.md. Use when the user settles a choice ("we decided ...", "record that", "why did we ..."), when a change reverses an earlier decision, or when the user asks to evaluate a hard choice ("should we do A or B", "weigh the options for ...", "make the call on ...").
docs/design/cli/decisions.md records why box is the way it
is. A reader can scan its headings and learn the design. Each entry states one decision as it
stands today. Git history holds how it got there.
| Mode | When | Output |
|---|---|---|
| Record | The user decided a choice that passes What earns an entry. | One new or rewritten entry. |
| Weigh | The user asks for help with an open, hard choice. | A local draft and a recommendation. The entry follows only after the user decides. |
An entry records a constraint that future work must respect: a "never", an "only", or a trade-off between two goals (safety, operator effort, the Box Core contract) that a later change could pick differently by accident. Write one only when it decides a change to a different feature, command, or key than the one it came from. Judge it by its title and first sentence.
Test: "Which change to another part of box does this entry refuse or redirect?"
These are not entries:
pack.toml or plugin.toml
(Pack comments).A choice that fails the test is one to three sentences in the pull request body: the choice and why, and, where it helps, what was tried first or what it costs.
decisions.md by topic, not by wording. If an entry already answers the question,
rewrite that entry. See Re-answering.git grep each symbol, flag, path, and variable. A name that
does not exist is worse than no name. Name only what the decision is about. An entry does not
copy the current list of keys, tables, or flags, or a default value: link the owner
(Where each fact lives), so a new key or a renamed
flag does not change the entry.just prose..agents/drafts/decisions/<YYYY-MM-DD>-<slug>.md. It is git-ignored, so
the argument can be as long as it needs.decision-critic agent on it in
a fresh context. Fix each blocker, or say in the report why you left it.<a id="each-run-gets-its-own-box"></a>
### Each run gets its own box, and only the operator removes an old one
Each `box run` creates a new instance with its own run directory and an empty `box_dir`. Two
runs of one profile can then run at the same time, and a `when temporal` rule sees only its own
run.
**Rejected.** One `box_dir` for each profile: Box Core locks `box_dir`, so a second run fails.
**Cost.** Run directories stay after a run stops, about 2 MB each, until the operator runs
`box profile clean`.
docs/design/cli/decisions.md#<anchor>. When the title changes, keep the anchor.Rejected. is the alternative that lost and why, in one sentence. Add a second only when a
reader would really propose it. If it was tried and reverted, say so.Cost. is what the decision costs: a limit, a risk, or a thing a contributor must not do.
Leave it out only when there is none.Rewrite the entry so it states what is true now. Do not add a second entry beside it, and do not add a note. A reader who must combine an old entry and its correction reads the design wrong.
<a id> anchor.Rejected., and Cost. where the
change makes them false.
If the old answer is now the rejected one, say it was tried and why it failed.file.rs:LINE.
Git holds the history, and the code and its tests hold the behavior.writing.md, and make the first
sentence carry the point.AFaffaan-m/ECC314k4,125 new stars in the last 7 days
Audit the whole repo: find bugs, security holes and performance bottlenecks. Get a ranked report in plain English.
DIDietrichGebert/ponytail202k4,780 new stars in the last 7 days
GAgarrytan/gstack143k636 new stars in the last 7 days
Harden code against the OWASP Top 10: input handling, authentication, sessions and dependencies.
ADaddyosmani/agent-skills122k1,627 new stars in the last 7 days
ADaddyosmani/agent-skills122k1,627 new stars in the last 7 days
RUruvnet/RuView106k693 new stars in the last 7 days