Skip to content

Commit 8520ed5

Browse files
montfortclaude
andauthored
docs: add Copyright + StrayMark notice; SPDX headers on Rust sources (#17)
* docs: add StrayMark/AI notice + Copyright section to README; SPDX headers on sources - README: add "Built with AI · Powered by StrayMark" and "Copyright" sections mirroring the format used in StrangeDaysTech/arborist-metrics, adapted to this CLI's surface (clap, table/JSON/CSV output, self-update, 29-test integration suite). - Add SPDX-License-Identifier + Copyright header to every Rust source under src/ and tests/cli/ (in line with the Rust ecosystem convention and the identical change made in arborist-metrics v0.1.3). - tests/fixtures/*.rs intentionally left untouched — those files are inputs to the analyzer in integration tests; modifying them would change the expected metrics. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * style: restore trailing newlines stripped by SPDX header script The shell loop that prepended the SPDX header used `$(cat ...)` which strips trailing newlines, leaving every patched file without its final `\n`. cargo fmt --check (run in CI) flagged all 20 files. Running cargo fmt restores the trailing newline; no semantic changes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 0596c35 commit 8520ed5

21 files changed

Lines changed: 87 additions & 0 deletions

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,23 @@ File bugs and feature requests at [GitHub Issues](https://github.com/StrangeDays
296296

297297
We welcome patches! Please read [CONTRIBUTING.md](CONTRIBUTING.md) before submitting a PR. All contributors must sign the **Contributor License Agreement (CLA)** — the CLA bot will guide you on your first pull request.
298298

299+
## Built with AI · Powered by StrayMark
300+
301+
`arborist-cli` is an experiment in **disciplined AI-assisted development**.
302+
The implementation — the `clap`-derived CLI surface, the three output
303+
formats (table / JSON / CSV), the directory traversal layer, self-update
304+
from GitHub Releases, and the 29-test integration suite — was authored
305+
largely by AI agents under human direction.
306+
307+
To make that velocity sustainable, we use **[StrayMark](https://straymark.dev)**:
308+
a CLI for *cognitive discipline in AI-assisted engineering*. It turned every
309+
architectural choice into an AIDEC record and every implementation block into
310+
an AILOG — all under `.straymark/`, append-only and audit-ready. The
311+
governance artifacts emerged **alongside** the code, not as homework after.
312+
313+
> StrayMark is built by Strange Days Tech — the same team behind `arborist-cli`.
314+
> It is the tool we made to solve our own problem.
315+
299316
## License
300317

301318
Licensed under either of
@@ -306,3 +323,13 @@ Licensed under either of
306323
at your option.
307324

308325
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
326+
327+
---
328+
329+
## Copyright
330+
331+
**`arborist-cli`** is © 2026 **[Strange Days Tech S.A.S. de C.V.](https://strangedays.tech/)** — original author and intellectual-property holder of the source code.
332+
333+
The CLI is released under the dual MIT / Apache-2.0 license above; this notice records authorship and does **not** modify those license terms. Each source file carries an SPDX header reflecting the same.
334+
335+
> Built by **[Strange Days Tech](https://strangedays.tech/)** — México.

src/about.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>
3+
14
pub fn print() {
25
let version = env!("CARGO_PKG_VERSION");
36
let description = env!("CARGO_PKG_DESCRIPTION");

src/analysis.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>
3+
14
use std::io::Read;
25
use std::path::{Path, PathBuf};
36

src/cli.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>
3+
14
use std::path::PathBuf;
25

36
use clap::{Parser, Subcommand, ValueEnum};

src/error.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>
3+
14
use std::process::ExitCode;
25

36
#[derive(Debug, thiserror::Error)]

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>
3+
14
pub mod about;
25
pub mod analysis;
36
pub mod cli;

src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>
3+
14
use std::process::ExitCode;
25

36
use clap::Parser;

src/output/csv_output.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>
3+
14
use std::io;
25

36
use arborist::FileReport;

src/output/json.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>
3+
14
use std::io::{self, Write};
25

36
use arborist::FileReport;

src/output/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>
3+
14
pub mod csv_output;
25
pub mod json;
36
pub mod table;

0 commit comments

Comments
 (0)