I would say that you are right in the sense of Vauban style approaches. Looking at something like Fort Wagner will not really show that in practice, no constant creeping closer of the lines before the assault. What we see there is more of a straight charge up the beach to overrun the enemy, who had supposedly been suppressed by artillery fire. The earthwork fortifications and bombproofs allowed the Confederates to survive the hours of pre-assault bombardment, then scramble out to smash the assault when the bombardment lifted.
My Dad did a lot of that type of assault in his war, on Leyte and Okinawa. I remember him telling me about his regiment's attack on Kakazu Ridge (his division's second attack, the 383rd having lost about 300 in the first attempt). The "softening up" consisted of bombardment by all the division's artillery, the Corps artillery, naval bombardment that included the 8" guns of a heavy cruiser and close air support. The Japanese came out of their holes when the bombardment lifted. The battle went on all day with the Americans repulsed at the end. Then the Japanese counterattacked that night. Dad's regiment took about 400 casualties, and Dad told me once that his life was saved by a man named Buford T. Anderson, who was later awarded the Medal of Honor.
What I think about earthworks, siege artillery and the Civil War was that the change of scale to massive and continuous trench warfare, with multiple lines to provide depth and bombproofs to allow the defenders to survive, had finally put an end to the calculus of the Age of Vauban. Breeching batteries (the type that McClellan was so intent on developing at Yorktown) would not cause wide ruptures in the defensive front for attackers to pour through. Defenders were becoming inured to that type of fighting and would continue to resist. The guns themselves could still plough up the earth and smash a single position, but they could not simply blast their way through the opposition.
This is exactly what was happening. Field fortifications have long been known. Roman legions entrenched their camp every night on campaign in the days of Julius Caesar. Abercrombie incompetently smashed his army into Montcalm's position (trenches with wooden breastworks and an abatis out front) at Ticonderoga in 1758 -- the bloodiest battle of the French and Indian War. The American Rebels dug in on Bunker (Breed's) Hill in 1775.
What is really changing in 1862-65 is that large armies are developing experience with technologically more advanced weapons. Other technological advancements and trends allow them to support those large armies in the field over long periods of time. RRs and steamboats keep the troops supplied with food and ammunition. The entrenched positions become stronger and more resistant to fire. The troops become more used to this type of warfare. Movement and breakthroughs become more difficult. Building up siege batteries could blow your way through a point -- and the enemy would pull back to another point, just as strong as the one you just took, and you'd have to move the battery and try again to gain a few hundred yards.