Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .vault/src/main.rs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
notes:
- id: "4c019c16-fbed-4374-99a4-7b508c1f801e"
source_file: src/main.rs
anchor:
type: Line
line: 10
column: 5
content: new content
created_at: "2026-06-03T15:06:39.025847Z"
updated_at: "2026-06-03T15:09:37.992766Z"
Comment on lines +1 to +10
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check if .vault/ is in .gitignore

if [ -f .gitignore ]; then
  echo "=== Checking .gitignore for .vault/ ==="
  rg -n '\.vault' .gitignore || echo "No .vault/ entry found in .gitignore"
else
  echo ".gitignore file not found"
fi

echo ""
echo "=== Other .vault files in the repository ==="
fd -H -t f . .vault/

Repository: FrilLab/frilvault

Length of output: 220


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== .gitignore relevant lines ==="
if [ -f .gitignore ]; then
  rg -n 'vault|\.vault' .gitignore || true
  echo ""
  echo "=== Full .gitignore (bounded) ==="
  # Print only around the vault lines to keep output small
  rg -n 'vault|\.vault' .gitignore | cut -d: -f1 | head -n 20 | while read -r ln; do
    start=$((ln-3)); end=$((ln+3))
    sed -n "${start},${end}p" .gitignore
    echo "----"
  done
else
  echo ".gitignore not found"
fi

echo ""
echo "=== Check whether .vault/src/ is ignored by git ==="
git ls-files --others -i --exclude-standard -- .vault/src/ || true

echo ""
echo "=== Show what exists under .vault/ ==="
fd -H -t f .vault || true

Repository: FrilLab/frilvault

Length of output: 529


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== Check if .vault/src/main.rs.yml is tracked ==="
git ls-files -- .vault/src/main.rs.yml || true

echo ""
echo "=== Check ignore status for .vault/src/main.rs.yml (git check-ignore) ==="
git check-ignore -v -- .vault/src/main.rs.yml || echo "git reports: not ignored"

echo ""
echo "=== Check ignore status for the directory .vault/src/ ==="
git check-ignore -v -- .vault/src/ || echo "git reports: .vault/src/ not ignored"

echo ""
echo "=== List .vault files known to git (tracked only) ==="
git ls-files -- '*.yml' -- .vault || true

echo ""
echo "=== List .vault files on disk (bounded) ==="
# Avoid large output; just show the file we know about if present
if [ -f .vault/src/main.rs.yml ]; then
  echo "Found: .vault/src/main.rs.yml"
fi

Repository: FrilLab/frilvault

Length of output: 562


Clarify whether committing .vault/src/main.rs.yml is intentional (it is tracked and not ignored)

  • .gitignore only ignores .vault/cache and .vault/index (notes are commented out), and .vault/src/main.rs.yml is tracked and not excluded by git.
  • If .vault/src/* is meant to be user-specific/private, add the proper ignore rule (or move it to examples//fixtures/).
  • If it’s an intentional checked-in artifact (e.g., note/anchor fixture), add a brief README/comment explaining purpose and how updates should be handled to avoid churn/merge conflicts.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.vault/src/main.rs.yml around lines 1 - 10, The .vault/src/main.rs.yml note
file is currently tracked which may be accidental; decide whether it should be
private or a checked-in fixture and act accordingly: if it should be private,
add a rule to .gitignore to exclude `.vault/src/` or `.vault/src/main.rs.yml`
(or re-enable the existing notes ignore), or move the file into an explicit
examples/ or fixtures/ directory; if it is an intentional artifact (e.g., test
fixture or anchor note like id 4c019c16-fbed-4374-99a4-7b508c1f801e), commit a
short README or comment near `.vault/src/main.rs.yml` explaining its purpose and
update process to prevent accidental edits and churn.

201 changes: 167 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[workspace]
resolver = "2"

members = ["apps/frivault-cli",
"crates/frilvault-core"
members = [
"apps/frilvault-cli",
"crates/frilvault-core",
]
12 changes: 12 additions & 0 deletions apps/frilvault-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "frilvault-cli"
version = "0.1.0"
edition = "2024"

[dependencies]
clap = { version = "4", features = ["derive"] }
anyhow = "1"
uuid = { version = "1", features = ["v4", "serde"] }


frilvault-core = { path = "../../crates/frilvault-core" }
16 changes: 16 additions & 0 deletions apps/frilvault-cli/src/cli/add.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
use clap::Args;

#[derive(Debug, Args)]
pub struct AddCommand {
#[arg(long)]
pub file: String,

#[arg(long)]
pub line: u32,

#[arg(long)]
pub column: u32,

#[arg(long)]
pub content: String,
}
10 changes: 10 additions & 0 deletions apps/frilvault-cli/src/cli/delete.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
use clap::Args;

#[derive(Debug, Args)]
pub struct DeleteCommand {
#[arg(long)]
pub file: String,

#[arg(long)]
pub id: String,
}
7 changes: 7 additions & 0 deletions apps/frilvault-cli/src/cli/list.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
use clap::Args;

#[derive(Debug, Args)]
pub struct ListCommand {
#[arg(long)]
pub file: String,
}
Loading